|
Posted by Jerry Stuckle on 03/03/07 03:29
Justin wrote:
> Harlow... i need some help on these... im actually trying to do a page
> using php... the function is to receive certain parameters from a 3rd
> party provider... and i need to redirect my page to another page after
> certain validation. it's ok when i use the url to do the testing...
> the validation part works fine... scenario as below:
>
> if situation a, echo abc
>
> if situation b, echo abc then refresh to another page.
>
> the problem is after the 3rd party call my page the refresh doesnt
> work... after doing some amendments, it redirects to another page but
> doesnt echo abc... so any other way to redirect the page??? tried
> output buffer start and flush but still couldn.... SOS...
>
> Regards,
> Justin
>
You can use header() calls to redirect, but it is incompatible with
echo(). You can't send ANY output to the browser before a header() call.
But if you're redirecting, any output you send would not be displayed
anyway - so why bother sending it?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|