Re: [PHP] simple question...

2001-09-20 Thread Ker Ruben Ramos
again.. one more thing How do I know how many days date differ? let's say '2001-09-01' and '2001-09-08'. Just looking for the fastest way of code to run. - Original Message - From: "* R&zE:" <[EMAIL PROTECTED]> To: "Ker Ruben Ra

Re: [PHP] simple question...

2001-09-20 Thread Ker Ruben Ramos
One more thing... If I got '2001-09-01' Is there a fast way of incrementing the month of it? making it '2001-10-01' ? - Original Message - From: "* R&zE:" <[EMAIL PROTECTED]> To: "Ker Ruben Ramos" <[EMAIL PROTECTED]>; <[EMAIL PRO

[PHP] simple question...

2001-09-20 Thread Ker Ruben Ramos
ey guys.. how do i check if the postdata is a valid time format? something like '2001-09-15' I hate it when they'll be entering garbage in it... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

[PHP] check if user exists

2001-08-01 Thread Ker Ruben Ramos
how do i check if user exist? I tried... $result = mysql_query("SELECT count(uname) FROM users WHERE uname=\'$username@$domain\'"); if(isSet($result)) return("Username already exists.\n"); but still wont work.. :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] command output

2001-07-09 Thread Ker Ruben Ramos
ey guys.. anyone know of doing something like with net.yahoo.com/cgi-bin/trace.sh?ip_here .. something that prints out every result of the traceroute command... not showing the result after command exited -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Safe_mode in certain directories

2001-06-21 Thread Ker Ruben Ramos
Ey guys!       How do set only safe_mode = On in certain directories while others are Off. And vice versa.   Thank You.

Re: [PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
oops :) sorry... used the wrong lists - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Ker Ruben Ramos" <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 10:59 PM Subject: Re: [PHP] Attachments in POP > > Why are attachments

[PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
Why are attachments in POP cannot be viewed in latest IMP? but if I use IMAP, it works just fine.

[PHP] safe_mode

2001-06-20 Thread Ker Ruben Ramos
If i had safe_mode = On; in php.ini, How do i set to have a certain directory that have safe_mode=Off ?

Re: [PHP] ereg questions

2001-05-24 Thread Ker Ruben Ramos
Thanks alot, now i know what are thos \\$NUM but one more thing, where're those \\0 come from? just found it on some scripts using \\0. seems to confuse me a bit. Thanks - Original Message - From: "Dan Lowe" <[EMAIL PROTECTED]> To: "Ker Ruben Ramos"

Re: [PHP] ereg questions

2001-05-23 Thread Ker Ruben Ramos
lt;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 1:19 AM Subject: Re: [PHP] ereg questions > On Thu, 24 May 2001 01:01:16 +0800, Ker Ruben Ramos > ([EMAIL PROTECTED]) wrote: > >How do i change all '' to ' >href="file.php?file=anything

[PHP] ereg questions

2001-05-23 Thread Ker Ruben Ramos
How do i change all '' to '' any help out there?

[PHP] security

2001-05-21 Thread Ker Ruben Ramos
ey guys, what are the functions that's disabled if "safe_mode" is On? also, what I just did now is disabling the functions exec() and system() just to prevent shell commands. but, how do i disable something like `ls -l /` ? the backticks. Thanks guys