NYCPHP Meetup

NYPHP.org

[nycphp-talk] Parameter Question

Jerry Kapron nyphp at NewAgeWeb.com
Thu Apr 10 16:32:06 EDT 2003


Jeremy,
Some characters need to be URL-encoded in order to be included in a URL.
# should be represented as %23.. in your case:
program.php?letter=%23

These should help:
http://www.ittc.ukans.edu/~paden/reference/guides/Encode/url.html
http://www.w3schools.com/html/html_ref_urlencode.asp
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1738.html

cheers,
Jerry


--
42.7% of all statistics are made up on the spot.

-----Original Message-----
From: Jeremy Rutz <rutzj at yahoo.com>
To: NYPHP Talk <talk at nyphp.org>
Date: Thursday, April 10, 2003 1:38 PM
Subject: [nycphp-talk] Parameter Question


>
>I'm trying to pass the parameter '#' between PHP programs, as in:
>
>program.php?letter=#
>
>and I'm finding the '#' parameter does not get passed, although other
alphanumeric characters do. I just need confirmation '#' is a reserved
character that cannot be used as a parameter. Also, what other restrictions
are placed on parameters? Do they have to be alphanumeric?
>
>Thanks,
>
>Jeremy
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Tax Center - File online, calculators, forms, and more
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---
>
>




More information about the talk mailing list