Maybe you need to send the following header as well (before your line):

header("HTTP/1.1 304 Found")

--
---
Seairth Jacobs
[EMAIL PROTECTED]


"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
012101c265f2$f3d24550$0100005a@server">news:012101c265f2$f3d24550$0100005a@server...
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
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to