1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I send some information from one page to
    another page using following code in php3

    header ("Location: welcome.php3?q=$uid")

    Here anything work properly.But if the string
    means $uid contains string with some white space.The string After the white space it cannot retrived in another page.What can i do for retriving the hole string in the other page.
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power
    I think ,you should use urlencode() fuction for tackling this problem.

    header ("Location: welcome.php3?q=$uid")

    probably you will have to use urldecode() to decodes URL-encoded string in welcome.php3.

    Good Luck!!

    SR -

    "The fear of the LORD is the beginning of knowledge..."

    [This message has been edited by Shiju Rajan (edited May 29, 2000).]

Similar Threads

  1. encrypt and decrypt query string
    By Saneesh in forum PHP Development
    Replies: 6
    Last Post: March 11th, 2006, 12:55 AM
  2. array explode ( string separator, string string [, int limit])
    By beemee_freeserv in forum HTML Programming
    Replies: 4
    Last Post: February 5th, 2004, 10:56 AM
  3. $_GET and QUERY_STRING - losing query string value on form submit
    By getting_there in forum PHP Development
    Replies: 3
    Last Post: February 5th, 2004, 03:54 AM
  4. mgetty+sendfax on RH9
    By ayrin in forum Linux Help
    Replies: 0
    Last Post: January 31st, 2004, 02:11 AM
  5. CGI.pm and query string problems
    By andyg1 in forum Perl Programming
    Replies: 7
    Last Post: January 12th, 2004, 03:27 AM

IMN logo majestic logo threadwatch logo seochat tools logo