Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Multiple Page With Same Address


I have several pages which supposed to execute in sequential order,reserve.php,reserve2.php,reserve3.php,...How could I resolve them in same address as reserve.php and execute in proper order?




View Complete Forum Thread with Replies

Related Forum Messages:
Send Mail To Multiple Address
I have a very big problem.
I must send a single mail to multiple receivers. The number of
receivers are very big: approximately 6000 users, but this number
increase each year.
I find a lot of suggestion: insert all e-mail address (or part of them)
in the field BCC.
But I use a hosting server, for this reason I don't know if this
solutions is possible.
I can use my computer, but I don't know is SMTP of my ISP can support
this kind of feature.

View Replies !
Regular Expression For Multiple Email Address
i have the following regular expression working for a single email address however when sending emails the to field in the form can take two or more email address which are sepearted by ,(comma) but the regular expression does't work for this. hERE IT IS:

if (eregi ('^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+.[a-z]{2,4}$', stripslashes(trim($_POST['to'])))) {
}

View Replies !
Restricting A Page To 1 IP Address
I just made an Upload page on my website and I want it to only work on my IP Address... How do I do that?

View Replies !
Retrieve Page Address
i have a website www.myweb.com. I want to retrieve the page address in a php variable in each page. Like, when anyone enter www.myweb.com/page1.php, then a variable (say $site) in that page will return the address, i.e. I want echo $site;  //return www.myweb.com/page1.php or page1.php Is it possible in php?

View Replies !
Fetch The Page Address
In a page, for instance /article.php?id=34 , I have included another file; showgraph.php. This fil requires parameters, like ?graph=5

Inside showgraph.php there is a link that points to ?graph=5&rows=3 , to make the same file reload with new parameters.

When showgraph.php is called from index.php or another file that does not requires input parameters, this works just fine; the page index.php?graph=5&rows=3 loads ok. Code:

View Replies !
URL Of The Page Display In The Address Field?
When redirecting from one page to another using the header function, the URL from the previous page remains in the browser's address field. How do I get rid of this and have the URL of the page display in the address field?

For instance, if I am at http://abc/index.php?user=abc and have a header function in that particular script that redirects to http://sano/home.php, how do I get http://abc/home.php to show up in the address field instead of http://abc/index.php?user=abc?

View Replies !
Determine Complete Address Used To Get To A Page
In particular, how dow I know if a page was requested using http or https?
I have some pages that need https, so if they were requested via http, I
need to redirect using https.

View Replies !
PHP Page That Displays Html Based On The Address Enterd
I would like to have a PHP page that displays html based on the address enterd. For example:

index.php?example=a would show a page with <body>Example1234</body> whereas index.php?example=b would show a page with <body>Example5678</body>.

I've done this before, but I can't remember the code I used.

View Replies !
Sendmail Page: How Do I Hide My E-mail Address From Spam Bots?
how to make a sendmail script without having to place my e-mail out on the web page where a spam bot can get to it? I need to hide my e-mail address on the hosting away from the spam bots.

View Replies !
Use A Script That Has A Mail() Function And The Address Is To An Address Of The Same Domain As The Site
I just moved my php site to a new host. The previous host and the new one are both running the PHP 4.3.11. The sendmail path is the same.

If I use a script that has a mail() function and the address is to an address of the same domain as the site, it works ok. If it is to an outside address, it disappears. Though it returns it was a successful send.

View Replies !
Mail() Bounces To Server Address Instead Of From Address
All email sent from php mail() that bounces is being returned to my servers admin email address instead of the "From" or "reply-to" address.

What needs to be put in my header code to ensure that this does not happen?

View Replies !
Multiple Forms In 1 Page
im having a bit of trouble with my form, its for an invoice system

I have 2 tables:
Invoices - invoice_id*, cust_id and date
invoice_items - invoice_item_id*, invoices_invoice_id(links to invoice_id in invoices table) item_item_id(links to item_id in item table) description, weight, price

I am trying to create the form for the page so that all the information can be entered at once, but i dont think its possible, because an invoice must be created first then invoice_items added using that invoice id.
how can i get my form to do this? i need it to insert the invoice into the database then take that invoice_id and add it to the item details on the page?

this is what ive written so far but now im stuck on the invoice_id bit Code:

View Replies !
Are Multiple GD Generated Images Possible On One Page?
I've been experimenting with generating PNG files via PHP and GD. All was going fine, until I tried to put more than one image on a single page.

<img src="draw.php?text=Picture1"><br>
<img src="draw.php?text=Picture2"><br>
<img src="draw.php?text=Picture3"><br>

The example above produced 3 images, but they all have 'Picture3' on them. Seems like theres only 1 temp storage area for the images?

View Replies !
Create Web Page In Multiple Language
i want to craete site which shows the contents as per the langauge i
choose. so can anyone give me idea that how this is possible. i know
tha problem but i don't have any idea about soultion. so pls reply me
if u know

View Replies !
Update Multiple Records From One Page
Recently, I had a request to create a page in our database web interface where we can update multiple customer records from one page.

Here's the flow of what we want to do:
1. Search for a customer by name.
2. Bring up a list of the matching customers and the data that is to be changed in text boxes in a table - one customer per row with 6 fields for each that can be modified (6 text boxes).
3. People can update the appropriate fields and click submit button.
(** this is done to this point **)

We may be returning as many as 250 records per search, so efficiency would be pretty important. I am not sure where to go from here. I would guess I should build and array of keys and values from the HTTP_POST_VARS that are submitted and then loop through them to UPDATE the database to the new values. I don't know how to do this, though.

View Replies !
Multiple Page Gallery Without Database
I have 20 images and 20 thumbs. same filenames but in different folders. I have 20 thumbs per page, but if i want to have more, there has to be a link to 2nd page, which shows thumbs from 021.jpg till xxx.jpg. If possible also third and fourth pages. I dont want to use a database. The questions is how to achieve this?

View Replies !
Generating Multiple Output On One Page
I'm building a website in PHP and Javascript. The registration
portion is divided into 2 sections:
1. In one, I get info about the visitor. This is sent via POST to a php
script which is section 2.
2. In the second section, I get some specific information about their
pets and make suggestions. I'm having problems with section 2, and I
hope y'all can help.

The core of the PHP script in Section 2 consists of the following:

<?php
for ($n=1; $n <= $num; $n++) {

print "Please enter age of pet #$n:" ;
print "<INPUT type='text' name='petage'&nbsp &nbsp &nbsp" ;
$div = $n . "ajaxDiv" . ";";
$_ENV['div'] = $div;
print "DIV IS: $div<br><br>";
print "<INPUT TYPE='button' onClick='ajaxFunction()' NAME='$age'
VALUE='Done!'>" ;
print "<INPUT TYPE='reset' NAME='Clear' VALUE='Reset form'>
<br><br>" ;
print "<div id='$div'></div><br><br>" ;

}

ajaxfunction() looks like:
if(ajaxRequest.readyState == 4){
var div = "<?php echo $_ENV['div']; ?>";
if (div = "") {
div = "1ajaxDiv";
}
var ajaxDisplay = document.getElementById('div');
ajaxDisplay.innerHTML = ajaxRequest.responseText;
}
}
// Get pet stores based on zipcode
var zipcode = "<?php echo $zip; ?>"
var querystring = "?zipcode=" + zipcode;

ajaxRequest.open("GET", "getstores.php" + querystring, true);
ajaxRequest.send(null);

The idea is that the user fills in the age of their pet, I look in my
DB and spew out the names and addresses of vets and pet stores in the
area. Thanks to ajaxfunction(), I can do this through:
print "<INPUT TYPE='button' onClick='ajaxFunction()' NAME='$age'
VALUE='Done!'>" ;

The function calls another PHP script and outputs the data in the same
HTML file.

So here is my issue. This code works fine when there is only one pet.
If there are more than one, then clicking on the second button results
in no output at all.

I was thinking of enclosing it in a form like so:
<form method="post" action="/cgi-bin/samescript.php">
loop to output buttons
</form>

Meaning call the same script after clicking the first button, second
button and so on.

But I would then need to change:
print "<INPUT TYPE='button' onClick='ajaxFunction()' NAME='$age'
VALUE='Done!'>" ;

View Replies !
Multiple Submit Buttons On One Page
i have a table created through echo's which display data from the database.  The database has multiple items in the thing, so i have lots of rows. Each row has a submit button on it with a different hidden ID, which is $row[0], which is the ID of the items that are being displayed.

Displaying all the data and having the submit buttons isnt the problem. The problem is clicking the button. I'm not sure how to manage the data at the end. At the moment I have: Code:

View Replies !
Multiple Forms, Different PHP Documents, Same Page?
In a PHP file 'main.php' I have

<?php
include 'header.php';
include 'login.php';
include 'body.php';
include 'footer.php';?>

Login.php has a form on it to allow the user to log in to the site.

Body.php has a form on it to allow a user to post a message.

What I'm finding is that the 'submit' button on 'body.php' actually calls the form from 'login.php'. Does PHP have issues when there are 2 separate forms doing 2 saperate things displayed on the same page - is there anything I need to look out for?

View Replies !
Multiple Tables Print To One Page
Is it possible to print information from multiple databases on one page/form.  For example, I want to print information that is in three databases, and I want to be able to print a few related fields on one page.  Is that possible?

View Replies !
Multiple Page Link Exchange
I am in need of a PHP Link Exchange script (preferably free) that is not for single pages.  The use of this script will be for having 4 pages on the website - the home page with paid links for $1, and then 3 other pages for free link exchange (Free Links Page 1, ...2... and so on)

If you know of a script out there then please post a link to it here. It would be a huge help to me and I greatly appreciate it. I saw one almost a year ago on the HotScripts Most Poplar page, but cannot remmeber it nor find it in HotScripts now.

View Replies !
Parse Multiple Entries On A Page
I'm trying to parse multiple entries on a page, i've managed to get it working for the first entry, but can't seem to figure out a while statement that will run through all the entries on the page: Code:

View Replies !
Multiple Listboxes On Page Won't Work...
I'm coding in PHP4 and MYSQL4 and there is a teensy bit of JS in there as well. I'm haveing trouble with my dropdown lists as when there is more than one on the page it just says 'error on page' when I click the button to add to quote.

The user is supposed to be able to select whatever product they want from the dropdown, click a button to add the selection to the quotation.

This adds the product to the quotation page through a IFRAME so that the user doesn't have to change pages when they order something and can continue with their quote. Code:

View Replies !
ODBC Multiple Page Results
I am querying a database which is great, but I want to make it more efficient by displaying the results on multiple pages, prime example google, page 1 of 5 or how many is needed. Especially at times when I am retrieving over a 2000 records at a time. I have managed to find a solution for use with MySQL, but I am querying MS Access via ODBC. Now in terms of coding I am not sure if it is the same, or ODBC takes its own format, because I know it does usually.

View Replies !
Multiple Index Page Work
I'm trying to figure out how/what this site is doing to have a dozen different index.php pages. All the pages are: domain-name.com/index.php=page-name I'm guessing that this is being done to gain some advantage in search engine results. Is this right.

View Replies !
Email Address Is Invalid Address
we are trying to use it andwe give it a perfectly valid "From address" and it comes back saying  the email address is invalid  address. Any ideas?

View Replies !
Generating Multiple PHP Pages W/ Different Quries On Each Page
I'm writing a guestbook. So far, so good, except now I need multiple pages. How would I write my scrpt to automatically generate multiple pages (or the same page, just changing query variables on it)?

For example, if I limit a page to 10 posts and the page exceeds 10 posts, and I press "Next page", I want it to display the next 10 posts.

View Replies !
Refreshing Page Making Multiple Entries
I have a form which accepts input from the user and then inserts data into mysql. The problem is, after user inputs data and a new page is loaded; if the user again presses "refresh" button, the same entries are re-entered into database.

View Replies !
Updating Multiple Rows With One .html Page
I am trying to create a form to update multiple entries in a mysql databse. This code below is rough, but it is working to the point wher it pulls the data, displays it in the text areas (but it does not go past the first white space in displaying, that needs to be fixed), and then I can alter the text fields, check a box, and hit submit, and it will update the fields, but the new value is size=20. I also can't update more than one record at a time, which defeats the purpose. Code:

View Replies !
Results From Multiple Search Engines In One Page.
I am trying to build a script wherein the user can search multiple search engine like google, yahoo, msn from one page and the results get displayed in one page. Some thing like this link. Code:

View Replies !
Multiple Variables Insertions From One Page In To One Field
Basically what I'm trying to do is to have a insertion webpage, which can access 2 fields. The first field is "User" and the second field is "FileName".

I want to be able to have multiple "FileName" insertions with only one "User" insertion. So that the input into the "User" insertion field will be the same for each of the different "FileName" insertions. Code:

View Replies !
Userlist With Multiple Pages But You Are Showen The Page You Are On.
What im trying to do is when my user clicks on the member list. Instead of it just showing the first page. It shows the page that he is on.

So if there is 23 pages and he is on page 5. Then when he clicks on member list I show him page 5 and he can navigate from there.

Varible would be Total rows. and 100 rows per page. I know this is simple math to get the job done but I cant see how to do it in php. Any ideas?

View Replies !
Multiple Page Generation Based On Post-length
Ok, first I'd like to apologize if this has been covered before, but I couldn't find it via the search options and it's been a long time since I've been here.

I'll give you a summary of what I'm trying to do, and you all can point me in the best direction on how to go about it!

I'm trying to design an online article posting section, where the members can post articles about things. The problem that arises imediately, is post length. What if someone posts a "3 page" article by word-processing-program standards, and then outputted this to the website? It would be a really long page and if the page was setup with a specific UI size design in mind, it would blow this apart.

I'm sure you can understand what I mean.

So, I need to be able to get the post's length, figure out how many pages I'll need to break that length up, then break it apart for output to the screen in segments with links for next page continuing the article.

Now, the post's length isn't hard, (strlen) and figuring out how many pages isn't that hard, dividing the post's length by the desired amount of characters wanted in the UI.

The part I'm stumped on is breaking apart the post into many peices that break at 'spaces' not in the middle of words, and that continue where the last one left off, not leaving any words out.

If this has already been covered, or someone knows of another site that has it, please post it!
If someone knows of a really simple way to do this, by all means, dazzle me!

View Replies !
Preventing Multiple Data Insertion On Page Reload
I am developing a PHP-mysql database. It is noted that when the
browser window is refreshed the data is inserted again in the
database. unfortunately there is no unique keys that I can use to
verify the existance of the data, so as to prevent the multiple
insertion. Is there any other way to prevent it otherthan introducing
another field for this purpose and verifying its existance?

View Replies !
Multiple Instances Of Body Tags In A Page Due To The Includes Each Having A Set.
This is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

View Replies !
Multiple Array Selection From Database Instead Of In-Page Arrays
Have posted before, but will simplify problem here. For original post go to
http://forums.devshed.com/t80025/s.html

I have setup 2 arrays like so in my one page script:

Code: ( php )

View Replies !
Eliminating Passed URL Variables For Multiple Listings On A Page
I have a page with a list of several users, each hyperlinked to another page of 'more info' about that user. The hyperlink contains the UserNumber, UserRegion, and UserStatus, and the receiving page picks up the data in the passed URL. This works well, but I'd like to eliminate the passing of these variables in the URL.

One way is to make a graphic ('More Info') that can be clicked to submit a form. Each 'More info' graphic from the dynamically created page could hold the UserNumber, but how can I pass several variables with a single click? On some pages, there can be 100+ users, and I hate to have 100+ separate forms and hidden fields.

I thought of using session variables, how can I know which user was clicked to set the session variables?

View Replies !
Multiple Object Oriented Forms Within The Same Page Layout ?
I am looking for a php class and page layout framework allowing smooth
object oriented insertion of several, possibly different, forms within
the same page layout.

All of that while retaining the very desirable properties of a great
php class :
- self contained
- auto validation
- contextual error messages
- build in input types
- etc.

I looked at hundreds of form classes and frameworks on the web, but
couldn't find any that would fit all of these simple requirements.

Does such a framework exists somewhere ?

May I point out that I am definitely NOT looking for multi page forms,
the kind used to make wizards or assistants.

View Replies !
Multiple Navigation Tables On One Page (master - Slave)
I just wanted to refresh only part of the page, i.e., table2 on my php page. here is my javascript code which performs the refresh it works fine and my php file display all the records. the only problem is: I have got two tables on the same page and i only want to refresh the second table when i click the a row of my first table rows. Code:

View Replies !
Combining Text From Multiple Webpages Into One Single Page
I want to write a PHP script that will in essence copy text from a number of webpages and paste it into just one single page - i.e combining all the text of the seperate pages into one big page.

The layout of each page is the same, so if it was possible to set markers between which the text would be copied (i.e from after the heading adverts to just before the links at the bottom of the page) that would be good. The pages URLS are in ascending order, e.g www.site.com/1/, www.site.com/2/, www.site.com/3/ and so on. So maybe a loop that will count up until the 'file not found' error occurs, indicating the end of that set of pages. Code:

View Replies !
Send Email - Page Where You Enter An Email Address And Click Send.
I am interested in creating an "email -this" type ability for a website. I am sure most people have seen an "email -this story" type link that is standard on most news web sites. You click such a link and then it takes you to a page where you enter an email address and click send. The link for the story and the title are not editable. Does anyone know where I can find example code of how to do this with php, and any explanation of how this works.

View Replies !
Dynamic Form Fields/multiple Page Form?
It is for a friends out of print booksite, where visitors can request multiple books to be searched by adding one at a time to a cart (javascript), then once all added they submit to another form where they enter their personal details and all is sent through. The problem is at the moment they cannot change whats in the cart without refreshing the browser window and losing everything.

1) present for asking how many books they want to search for
2) display multiple rows of the same input fields depending on how many books they say they want to have searched for?i.e

title|author|publisher|etc
title|author|publisher|etc
title|author|publisher|etc

3) when these are submitted they could see these above the next part of the form where they enter their details with the option to go back and delete/amend.
4) send all the info to my colleague.

if so has anyone seen a similar script that I could take a look @ to see if I can hack it to suit my needs?

View Replies !
Can You Pull Multiple Pages Somehow Using Multiple Curl_exec's Before Calling Curl_close?
so after mulling over some way to use keep-alives with fsockopen I figured it would be easier to just switch to CURL which happens to support a ton of stuff including persistent connections.

I did some reading and all I could find was to take advantage of persistent connections one only has to specify multiple URLS with setopt before calling exec:

curl_setopt($ch, CURLOPT_URL, "http://www.example/");
curl_setopt($ch, CURLOPT_URL, "http://www.example.com/anotherpage.html");

and so on...

I put together a test script to see how the output would look but all I found was the last URL being displayed where I expected to see all specified pages spit out one after another in one page.

Am I doing this wrong, or maybe my home wamp setup isn't configured properly?

Perhaps the persistent connection thing is for the same curl session.. can you pull multiple pages somehow using multiple curl_exec's before calling curl_close? or are you supposed to call curl_close once the page is downloaded and before doing functions on the output?

View Replies !
Selecting Multiple Values From Multiple Tables Using Checkboxes
I've been struggling with this for a bit but cannot seem to find a simpler, cleaner way of doing this.

a. I have a Table A - Customers , Table B - Contacts .
b. I have a form where a user types the first few alphabets of a customer name and then gets a list of contacts, cities.
c. The user is supposed to select multiple options from this list and then send that data to another form for processing.

I'm able to only pass data from Table A, not from B . Could someone please have a look at the 2 snippets of code and advise? And is there a way both these php scripts could be combined in a single one ? Code:

View Replies !
Grabbing Data From Multiple Tables For Multiple Requests
Here's what I'm trying to get at.

A table that displays all the Process Server's name, the number of summons's he has out within 7 days, 7-14 days and 15+ days...pretty simple, it's just a report so management can stay on top of how many papers are out.

I've got the server_information table with the server name and ID. and a case_information table with the serverID.

I've got a while loop that displays all the server's name, the problem is when I try to get the # of cases....here's what i've got so far. Code:

View Replies !
Multiple-combo - Multiple Mail Recipients
I am new to scripting but trying to create a page that lets users create an e-mail (mailto after having chosen from two drop-down menus (arrays).

I have managed to do so in HTML by using a Java script borrowed from Randall Wald (http://www.rwald.com).

However, I don't want the e-mail addresses to appear in the page to avoid spam. Is there a way to do so by using PHP?

P.S.: The first array contains (University A, University B) and the second array (Faculty, Staff, Students), i.e. 6 different e-mail addresses

View Replies !
To Search Multiple Words In Multiple Fields
I have a $phrase made of some words.Every query has a number variable of words. I would sort of my_table all records that have at least 1 word of the $phrase into field_a AND/OR field_b of my_table.

View Replies !
Multiple Users, Multiple Tables, One Form
I have a small group of users that will submit their 'goals' via one form (placed in a postnuke block). I have created one table (mysql) for each user to collect collect their goals. I need some direction in writing the php that will submit the form data to the correct table based upon the users Postnuke login.

View Replies !
Multiple Row Inserst From Multiple Line Textbox
I've been search for some help with this because I know someone has done it before. I'm trying to have a textbox and insert into a table one entry from each line of the textbox.
So if the textbox contained:

This info
That info

It would insert into the table
----------------
|1|This info|
|2|That info|
---------------

View Replies !
Extracting Multiple Multiple Matches Using Regex
I have used simple regex for extracting URLs from a page or string of text, but it would be useful to get both the URL and the text within the A ref tag Code:

View Replies !
Multiple Multiple Select Boxes
I'm looking to have multiple multiple-select-boxes on a page. But I
can only get the contents from the last selected value within a box,
via PHP. I've tried numerous methods. What am I doing wrong?

You can see ALL the values present in the url:
http://myserver/test.php?notify_use..._updcats=Update
e.g.......

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved