1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    one of my php3 page passes values to another php3 page.


    What are the commands to get/process the passed value?

    both the scripts or PHP3.

    Any help is appreciated.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    The value will automatically be available to your script as a variable.

    With the URL:


    The "searchit.php3" script will automatically have a variable called "$variable" whose value will be "value".

    PS - If the value that you are passing is generated by user input, make sure you use the function urlencode() for your query string and the function addslashes() for your database query.

    $url = "www.pricelane.com/searchit.php3?variable=" . urlencode(value);

    For more info:

Similar Threads

  1. Replies: 10
    Last Post: February 9th, 2004, 10:51 AM
  2. Apache Error : Unable to fork new process??
    By Nicolino07 in forum Apache Development
    Replies: 0
    Last Post: February 5th, 2004, 12:14 PM
  3. How to kill child process when father dies?
    By ba_nesto in forum Perl Programming
    Replies: 6
    Last Post: December 31st, 2003, 06:15 AM
  4. Replies: 3
    Last Post: October 8th, 2003, 01:52 AM
  5. Replies: 1
    Last Post: July 26th, 2003, 06:53 PM

IMN logo majestic logo threadwatch logo seochat tools logo