Posted by Richard Lynch on 02/08/05 21:36
> I have to get an URL parameter via fsockopen connection.
> I shall connect with fsockopen to a given link and get back this link
> with an URL parameter cnr=xxxxxx
> Who can I do this?
> And who can I "read" this URL parameter?
What's "cnr" ???
If you can get the fsockopen to work, and it doesn't return FALSE, then
you should be able to use http://php.net/fread (and other file functions)
to read and write data.
The "cnr" bit is not clear... Do you just mean:
<?php
$socket = fsockopen("http://example.com/?cnr=xxxxxx") or die("Could not
open URL");
?>
That should work just fine.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|