file get contents - PHP changes the file_get_contents param url -


i'm using following line page content:

$handle = file_get_contents(     "http://www.mywebsite.com/index.php?show=users&action=msg&section=send",      null,      null,      1000,      19000); 

and then, i'm getting following message:

warning: file_get_contents(http://www.mywebsite.com/index.php?show=users&action=msg §ion=send): failed open stream: http request failed! http/1.0 403 forbidden

(please take note @ bolded part).

what happened it? why changes url param?

i don't think php changing querystring parameters.

if reading message in browser, should matter of how output html formatted. so, 403 error getting should not related unwanted url transformation.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -