Re: This makes NO SENSE!!!!!

From: Date: Thu, 27 Dec 2001 16:13:48 +0000
Subject: Re: This makes NO SENSE!!!!!
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-78849@lists.php.net to get a copy of this message
Other Vital Info that probably would be helpful? the code below is on: Apache 1.3 on Win2K PHP 4.0.6 the machine this is intended for I believe runs on Linux(not sure what version), apache 1.3, php 4.0.1pl1 ----- Original Message ----- From: "Andrey Hristov" <ahristov@icygen.com> To: <php-general@lists.php.net> Sent: Thursday, December 27, 2001 7:29 AM Subject: Re: [PHP] This makes NO SENSE!!!!! > What PHP version do you use(4.1.0?) > > Regards, > Andrey Hristov > ----- Original Message ----- > From: "Bogdan Stancescu" <mgv@fx.ro> > To: "Chris Cocuzzo" <cuzo@mediaone.net> > Cc: <php-general@lists.php.net> > Sent: Thursday, December 27, 2001 2:18 PM > Subject: Re: [PHP] This makes NO SENSE!!!!! > > > > Most probably you have some kind of slashing in there. Check it out by also > > echoing $date from php and if nothing looks wrong, take a look at the source > > code. > > > > HTH > > > > Bogdan > > > > Chris Cocuzzo wrote: > > > > > hey- > > > > > > ok. I have the following code. > > > <?php > > > > > > if($submit) { > > > > echo("Input date: $date<br>\n"); > > > > > > > > $arradate = explode("/",$date); > > > $uxdate = mktime(0,0,0,$arradate[0],$arradate[1],$arradate[2]); > > > print $uxdate; > > > } > > > else { > > > ?> > > > <form action="strtotime.php" method="POST"> > > > file://name of file is > > > strtotime.php > > > <input type="text" name="date" size="30"> > > > <input type="submit" name="submit" > > > value="submit"> > > > <? > > > } > > > ?> > > > > > > > > -- > > 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 > > > > > > > -- > 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 >

« previous php.general (#78849) next »