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

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -