HI people,
I am trying to read a file using "file" and I am passing the following string
for the input file parameter:
http://maggie.sdcwa.org/eng/list/client_find_project_list.phtml?proj_name=CATHODIC PROTECTION OF RAMONA PIPELINE PHASE 2&show=1
phpinfo shows:
_GET["proj_name"] CATHODIC
_SERVER["SERVER_PROTOCOL"] PROTECTION OF RAMONA PIPELINE PHASE 2&show=1 HTTP/1.0
Somehow the variables data being passed as an argument are split.
You can't pass a space, so you need to replace all spaces in the argument with the html entity equivalent, in this case %20, before you try to pass it. You can do this with str_replace().
New York PHP
http://www.nyphp.com/training - In-depth PHP Training Courses
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php