Posted by Carl on 10/07/62 11:36
NC wrote:
> Alex wrote:
>
>>I have a local php file and I need to get info back from php file
>>on the server. How do I invoke remote a php? I can access this remote
>>php thru a simple url and it prints some info on the web page. How do I
>>get this info back to store as a variable in local php?
>
>
> $info = file_get_contents('http://remoteserver.com/script.php');
>
> Cheers,
> NC
>
Much cleaner than my suggestion.
Thanks,
Carl.
Navigation:
[Reply to this message]
|