Re: PHP and extern link
| From: | Robby Russell | Date: | Sun, 19 Sep 2004 09:32:55 +0000 |
| Subject: | Re: PHP and extern link | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197166@lists.php.net to get a copy of this message | ||
On Sun, 2004-09-19 at 02:29, Martin Justra wrote:
> Hi,
> > Did you want to
> >
> > a) redirect the user to https://www.domain.com/...
> >
> > or
> >
> > b) display the contents of https://www.domain.com/...?
> >
> I want to redirect the user. But as soon as I try with fopen (https://.....)
> I get the following error:
>
> Warning:
>
> fopen(https://tto.deutschepost.de/nexttonline/jsp/direct_access.do?v_benutzer=xxx&v_passwort=xxx&v_ic=xxx&v_spr=deu):
>
> failed to open stream: No such file or directory in
> /var/www/catalog/blubb.php on line 2
>
> It seems that fopen is not able to open it, because it is not redirected to
> a file...
>
> Any solutions ?
>
> Martin
try
<?php
header("Location: http://domain.com/");
?>
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
****************************************/
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc