Re: DateTime values on URL

From: Date: Thu, 21 Dec 2000 15:24:12 +0000
Subject: Re: DateTime values on URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31435@lists.php.net to get a copy of this message
rather rawurlencode() / rawurldecode() - RFC compliant At 16:14 21.12. 2000, Pavel Kalian wrote the following: -------------------------------------------------------------- >urlencode() / urldecode() is what you're looking for... > >Pavel > >----- Original Message ----- >From: "Nando2" <nando@antunes.eti.br> >To: "PHP-GENERAL" <PHP-GENERAL@lists.php.net> >Sent: Thursday, December 21, 2000 4:11 PM >Subject: [PHP] DateTime values on URL > > >Hello everyone! > >I have one php that calls another and passes a DateTime value like >'2000-12-12 09:15:14' to the other script. > >When I run that with MS Internet Explorer it is OK but when I run it >with Netscape it trims the time part of it. > >I think it is so because it has a blank space (ASCII 32) between the >date and time part. So I need to replace the ASCII 32 values with %20 to >pass it correctly. > >I have had the same difficultie when doing dlls for IIS under Windows >NT. Once I created a function to replace blank spaces with %20 it was >fixed. > >my url has something like this > ><href="scrp2.php4?DateTime=2000-12-12 09:15:14"> and I need to make it > ><href="scrp2.php4?DateTime=2000-12-12%2009:15:14"> > >with a %20 replacing the ASCII 32 blank space. > >How can I do that? > >Is there any function under PHP to do that? > >Thank you, > >Carlos Fernando. > > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz

« previous php.general (#31435) next »