User Profile
Collapse
-
I guess every string will get corrupted if i am going to submit it in this window. The point is there is no spaces anywhere in the string as they have been replaced by %20 character. -
previous string got corrupted a little bit:
string used in file() function:
http://www.m-w.com/cgi-bin/dictionary%3Fhd wd%3Danother%26 listword%3Danot her%26jump%3Dan other%5B1%2Cadj ective%5D%26lis t%3Danother%5B1 %2Cadjective%5D %3D42705%3Banot her%5B2%2Cprono un%5D%3D42730%3 Banother-guess%3D42749%3 Bone%20another% 3D799389%26book %3DDi ctionaryLeave a comment:
-
Thanks,
urlencode or rawurlencode does solve the problem with error code 400. However , the newly formated string cannot be found. Here is what i get :
The requested URL /cgi-bin/dictionary?hdwd =another&listwo rd=another&jump =another[1,adjective]&list=anothe r[1,adjective]=42705;another[2,pronoun]=42730;another-guess=42749;one another=799389& book=Dictionary
was not found on this...Leave a comment:
-
Gives an answer of 1 , Enabled i guess
Btw, i can open a typical url like www.yahoo.com or www.m-w.com using file function no problem , it's the particular string that gives me problem for some reason.
thanks anyway,...Leave a comment:
-
Please help, php file function problem
Hi,
I am using PHP 5.0 file() function to get content of a web page
here is the string i use with the file function:
$str="http://www.m-w.com/cgi-bin/dictionary?hdwd =another&listwo rd=another&jump =another[2,pronoun]&list=anothe r[1,adjective]=42705;another[2,pronoun]=42730;another-guess=42749;one another=799389& book=Dictionary ";
file($str)
I get an error:...
No activity results to display
Show More
Leave a comment: