Re: [PHP-DB] Session start

2010-05-14 Thread Dustin Simpson
Barry, session_start(); will not wipe clean the user's session so there is something else going on. Does the login.html authentication script correctly set $_SESSION['username'] ? Also, it has been my experience that code like isset($_SESSION['username']) is better if you replace

[PHP-DB] Re: **{SPAM}** [PHP-DB] numeric string to single digit array

2008-03-25 Thread Dustin Simpson
Richard, Someone might have a quicker/better way, but what about: Thanks, --Dustin Richard Dunne wrote: Can anyone tell me how how to convert a string of integers into an array of single digit integers. i.e. "1223123" into ['1','2,','2','3','1,'2','3'] ? When I retreive a column of

Re: [PHP-DB] Autorunning a file

2007-10-09 Thread Dustin Simpson
Alexander, Assuming you are on a *nix machine and php is installed in /usr/local you could schedule a cron job with the command: /usr/local/bin/php phpfile.php where phpfile.php is the file you want to execute. Hope this helps. Thanks, --Dustin Alexander wrote: Is there anyway