Re: [PHP] GMT

2004-01-11 Thread Sascha Kaufmann
Hello, you can use gmdate() http://ch2.php.net/gmdate regards Sascha Hassan Shaikh wrote: Hi, My hosting provider is located somewhere in Houston, TX (EV1). I am using PHP and MySQL and need to store all dates/time in GMT (considering DST also). Appreciate any help! Once the date/time is in G

Re: [PHP] combining values

2005-03-01 Thread Sascha Kaufmann
$birthday = $day.'.'.$month.'.'.$year; William Stokes wrote: Hello, I need to collect persons birth date from web form. The form is this kind: Birthday date month year Then I need to combine these in to a one $variable. Something like this... $birthday = $day . $month . $year; How can I add th

Re: [PHP] enrypt and decrypt

2004-11-03 Thread Sascha Kaufmann
Hey, take a look at MCrypt http://ch.php.net/mcrypt regards Sascha Merlin wrote: Hi there, I would like to encrypt some info and later be able to decrypt it. As I saw there is only one way encryption possible with encrypt. Has anybody an idea how to do a 2 way encrypten? Thank you for any help, M

Re: [PHP] running number

2005-07-25 Thread Sascha Kaufmann
try mySQL's auto increment attribute http://dev.mysql.com/doc/mysql/en/example-auto-increment.html Roger Thomas wrote: > I am required to write a user registration script that captures the basics > like name, phone number etc etc. I would also have to write to mySQL database > a number that is