Re: DateTime values on URL

From: Date: Thu, 21 Dec 2000 15:20:18 +0000
Subject: Re: DateTime values on URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31436@lists.php.net to get a copy of this message
N> I have one php that calls another and passes a DateTime value like '2000-12-12 N> 09:15:14' to the other script. N> When I run that with MS Internet Explorer it is OK but when I run it with Netscape it trims N> the time part of it. N> I think it is so because it has a blank space (ASCII 32) between the date and time part. So I N> need to replace the ASCII 32 values with %20 to pass it correctly. N> I have had the same difficultie when doing dlls for IIS under Windows NT. Once I created a N> function to replace blank spaces with %20 it was fixed. N> my url has something like this N> <href="scrp2.php4?DateTime=2000-12-12 09:15:14"> and I need to make it N> <href="scrp2.php4?DateTime=2000-12-12%2009:15:14"> N> with a %20 replacing the ASCII 32 blank space. N> How can I do that? try rawurlencode and rawurldecode they are in the manual -- DSig David Tod Sigafoos mailto:dsig@teleport.com Using 'The Bat' 1.48 Beta/11 ````` ( O O ) _______oOOo__( )__oOOo_______

« previous php.general (#31436) next »