Re: Strings with leading zeros

From: Date: Thu, 28 Dec 2000 20:44:08 +0000
Subject: Re: Strings with leading zeros
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-32146@lists.php.net to get a copy of this message
On Thu, Dec 28, 2000 at 02:37:24PM -0600, Charlie Llewellin wrote: > It comes back to me as a key value pair (expire=01102001) in a URL. It never > gets to my database. I am trying to set a cookie to expire at a future date > based on this field. A number starting with a zero is interpreted as a octal number. Drop the leading zero and it would be a decimal number. -Egon -- http://www.linuxtag.de/ http://php.net/books.php http://www.concert-band.de/

« previous php.general (#32146) next »