On Saturday 04 January 2003 13:44, Leif K-Brooks wrote:

As I understand it, your situation is this:

a) all your pages are named in lowercase

b) if someone tries to access a non-existent page on your site (eg using a URI 
which is not fully lowercase) they'll hit your 404.php

> But I only want it to insert if the page was all lowercase when they
> went to it. 

But if the page was all lowercase they wouldn't be hitting your 404.php page 
in the first place? Or am I missing something?

> I understand it continuing after redirecting, but why after
> die()ing too?  Putting the insert code into an else statment solved the
> problem, but it's ugly, and the question still remains... why does it do
> this?

It cannot continue after a die(), unless there's a bug in PHP. If you still 
think that it does then post your full code and the circumstances under which 
it happens.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
My nose feels like a bad Ronald Reagan movie ...
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to