On Saturday 04 January 2003 11:00, Leif K-Brooks wrote:
> But it shouldn't get to the database insert because of the redirect
> either... I only added the die; when it still inserted with the redirect.

As you have already found out, the code _does_ continue to execute after the 
header() redirect.

Try this:

  if (not_lowercase) {
    insert_into_db();
    header();
    die();
  }

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

/*
because of network lag due to too many people playing deathmatch
*/


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

Reply via email to