Re: Re: header("location:...") through proxy?

From: Date: Fri, 27 Sep 2002 13:49:54 +0000
Subject: Re: Re: header("location:...") through proxy?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16037@lists.php.net to get a copy of this message
Maybe you need to send the following header as well (before your line): header("HTTP/1.1 304 Found") -- --- Seairth Jacobs seairth@seairth.com "Ignatius Reilly" <ignatius.reilly@free.fr> wrote in message 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" <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 > >

« previous php.windows (#16037) next »