Hello Børge,
Tuesday, January 13, 2004, 12:19:24 PM, you wrote:
BS> thaks for clarifying that to me. The only problem now is that I get a
BS> timeout in my script because fopen() failed to open the stream.
You can increase the timeout limit of a script.
If you cannot be sure the other web site
Hi Richard,
thaks for clarifying that to me. The only problem now is that I get a
timeout in my script because fopen() failed to open the stream.
I have checked that the address is okay. I manage to open another
site, but not this file which is on my ISP. Actually, manual telnet to
port 80 of m
Børge Strand wrote:
Here's what I do next with it. Only now this file
(www.boggle.no/test6.php) times out in the brower.
Do you see something that it obviously wrong here?
' . "\n";
print 'test6.php';
$fp = fopen("http://www.boggle.no/message.txt";, "r");
$contents = fread($fp);
pr
Hello Børge,
Tuesday, January 13, 2004, 10:32:08 AM, you wrote:
BS> Do you see something that it obviously wrong here?
You need to loop through the data as it comes back from the fopen
function.
' . "\n";
print 'test6.php';
$fp = fopen("http://www.boggle.no/message.txt";, "rb");
Thanks Richard,
> BS> My php program uses sends send some information to a .cgi file
> BS> possibly on a different site. That file uses GET to fetch the
> BS> information and prints it out as it would if accessed through a
> BS> browser. But instead I want my php program to intercept this and par
Hello Børge,
Tuesday, January 13, 2004, 10:05:10 AM, you wrote:
BS> My php program uses sends send some information to a .cgi file
BS> possibly on a different site. That file uses GET to fetch the
BS> information and prints it out as it would if accessed through a
BS> browser. But instead I want
Børge Strand wrote:
Hi,
In my php code, how can I fetch the input from another website and
parse its output without sending it to the client?
What I want to do is this:
My php program uses sends send some information to a .cgi file
possibly on a different site. That file uses GET to fetch the
in
Hi,
In my php code, how can I fetch the input from another website and
parse its output without sending it to the client?
What I want to do is this:
My php program uses sends send some information to a .cgi file
possibly on a different site. That file uses GET to fetch the
information and print
8 matches
Mail list logo