Re: Re: header("location:...") through proxy?
| From: | Ignatius Reilly | Date: | Fri, 27 Sep 2002 06:55:50 +0000 |
| Subject: | Re: Re: header("location:...") through proxy? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16028@lists.php.net to get a copy of this message | ||
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" <seairth@seairth.com> wrote in message news:20020927034509.87586.qmail@pb1.pair.com...
> 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
> seairth@seairth.com
>
>
> "Ignatius Reilly" <ignatius.reilly@free.fr> wrote in message
> 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
>
>