RE: [PHP] PHP REDIRECT
| From: | Chris | Date: | Mon, 16 Feb 2004 19:05:21 +0000 |
| Subject: | RE: [PHP] PHP REDIRECT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177843@lists.php.net to get a copy of this message | ||
Ahh, ok, I understand. Thanks
Chris
> -----Original Message-----
> From: Raditha Dissanayake [mailto:jabber@raditha.com]
> Sent: Monday, February 16, 2004 10:51 AM
> To: Chris; php-general@lists.php.net
> Subject: Re: [PHP] PHP REDIRECT
>
>
> Nopes,
>
> What happens is that the gateways include your page instead of posting
> to your page.
>
> For example if you visit a site that uses worldpay as a payment service
> provider you will see their banner on the thank you page after
> payment is made. In such cases the header functions will not work
> because it's too late to send them.
>
> hope this is a better explaination.
>
> best regards
> raditha
>
>
> Chris wrote:
>
> >I'm not quite following you here. I understand that no solution is always
> >the correct one. Everything has exceptions...
> >
> >If the page you want to redirect from has PHP, just dont' use the <meta
> >http-equiv=...>, set the header with PHP instead. As far as I
> can see that
> >should always be possible.
> >
> >
> >
> >>-----Original Message-----
> >>From: Raditha Dissanayake [mailto:jabber@raditha.com]
> >>Sent: Monday, February 16, 2004 10:07 AM
> >>To: php-general@lists.php.net
> >>Subject: Re: [PHP] PHP REDIRECT
> >>
> >>
> >>Hi Chris and Chris and et al.
> >>
> >>It's not often that i disagree with the other chris but one occaision
> >>where meta refresh turns out to be the only solution is when working
> >>with some payment gateways where instead of doing a simple old post to
> >>your return page they include it inside their own thank you page so the
> >>headers will not work.
> >>
> >>Lame? well some of the best known gateways are doing it.
> >>
> >>
> >>
> >>Chris wrote:
> >>
> >>
> >>
> >>>Heh, I was on my way to bed and didn't think about that. (And
> my 'answer'
> >>>was a bit abrupt as well)
> >>>
> >>>Ah well, booboo's happen. I've always been an advocater of doing
> >>>
> >>>
> >>things the
> >>
> >>
> >>>*right way*, and in this case, the Refresh header would seem to
> >>>
> >>>
> >>be the right
> >>
> >>
> >>>way.
> >>>
> >>>JUST SAY NO to meta http-equiv tags! :)
> >>>
> >>>Chris (the other one)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: Chris Shiflett [mailto:shiflett@php.net]
> >>>>
> >>>>
> >>>>
> >>--
> >>Raditha Dissanayake.
> >>------------------------------------------------------------------------
> >>http://www.radinks.com/sftp/ |
> >>http://www.raditha.com/megaupload
> >>Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
> >>Graphical User Inteface. Just 150 KB | with progress bar.
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> >
> >
>
>
> --
> Raditha Dissanayake.
> ------------------------------------------------------------------------
> http://www.radinks.com/sftp/ |
> http://www.raditha.com/megaupload
> Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
> Graphical User Inteface. Just 150 KB | with progress bar.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php