(Solved) Re: [PHP-WIN] Re: header("location:...") through proxy?

From: Date: Fri, 27 Sep 2002 14:13:52 +0000
Subject: (Solved) Re: [PHP-WIN] Re: header("location:...") through proxy?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16040@lists.php.net to get a copy of this message
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 ; php-windows@lists.php.net 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" <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 (#16040) next »