[geeklog-users] Re: com_Refresh

Lucas Gonze lgonze at panix.com
Mon Dec 8 13:18:54 EST 2003


Doh.  The answer was in the function comment:

* This function COM_passes a meta tag to COM_refresh after a form is 
sent.  This is
* necessary because for some reason Nutscrape and PHP4 don't play well 
with
* the header() function COM_100% of the time.

On Monday, Dec 8, 2003, at 13:13 America/New_York, Lucas Gonze wrote:

> I need to ask about the reasoning behind this:
>
> function COM_refresh( $url )
> {
>     return "<html><head><meta http-equiv=\"refresh\" content=\"0; 
> URL=$url\"></head></html>\n";
> }
>
> This is broken in my site for reasons I don't yet understand.  One 
> possible fix is to use the HTTP Location: header, but that brings up 
> the issue of why you guys didn't do that in the first place.  My guess 
> is that the Location: header led to bugs that I don't know about...  
> Yes?
>
>




More information about the geeklog-users mailing list