Finally I solved the problem by using
fopen( "http:remote_url", "wb" ) ;
This actually behaves like a GET call, so appended variables can be passed to the
remote script.
Cheers
Ignatius
______________________
----- Original Message -----
From: Ignatius Reilly
To: Seairth Jacobs ; [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 8:55 AM
Subject: Re: [PHP-WIN] Re: header("location:...") through proxy?
I use the GET call to pass URL parameters to a remote script that executes. So it is
a form of a RPC.
local script: header( "location:http://remote_script.php?foo=bar")
The remote script is with my ISP; it is a way for me to program scheduled tasks on a
shared server at my ISP (obviously I do not have access to task scheduling there)
It works well without a proxy, but now I am looking for a way to do the same through
a proxy.
Thanks
Ignatius
__________________________
"Seairth Jacobs" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could you give more details? The "location" header is a response header
> only. Why would you be generating this from a cron job?
>
> ---
> Seairth Jacobs
> [EMAIL PROTECTED]
>
>
> "Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
> 006601c2657e$cf478250$0100005a@server">news:006601c2657e$cf478250$0100005a@server...
> Hello,
>
> I need to use header("location:some_url") from a cron job (to do some
> maintenance work on remote files)
>
> my problem is that there is a proxy between me and some_url, so the GET
> request fails
>
> Anybody knows how to do this?
>
> Thanks
>
> Ignatius
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>