RE: [PHP-DB] connection to smtp

2001-03-30 Thread Greg Donald
No, the mail() function will not work without a valid MTA. I believe the default is sendmail. But yeah, you can change that in the php.ini file. > -Original Message- > From: fam.paauwe [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 30, 2001 1:20 PM > To: [EMAIL PROTECTED] > Subject: [

Re: [PHP-DB] IP-Banning

2004-08-23 Thread Greg Donald
Ps however. > 2.What is the best way to ban IP ranges? There are several packages in PEAR for use with IPs: http://pear.php.net/packages.php?catpid=16&catname=Networking -- Greg Donald -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: Another newbie question -- ANSWERED!!

2004-09-07 Thread Greg Donald
On Tue, 2004-09-07 at 12:16, Pete Holsberg wrote: > Also, should I have back tics around a column name > EVERYWHERE it's used in a SELECT (in this case, following > ORDER)? Only if you plan to use keywords as field names, otherwise it's pointless. -- Greg Donald -- PHP Da

Re: [PHP-DB] Session End

2002-02-17 Thread Greg Donald
es.cookies.php -------- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Beginner query about mysql...

2002-02-17 Thread Greg Donald
mysql-insert-id.php -------- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Greg Donald
if you had posted some code, someone might have seen the error... :( Anyway, here is how i do it: if($db = mysql_pconnect($dbhost, $dbuser, $dbpasswd)){ mysql_select_db($dbname, $db); } else { echo mysql_error(); exit; } ------

Re: [PHP-DB] I cant get the logic for this...

2002-02-18 Thread Greg Donald
rrent and start a new one. Then, you need to test that variable again when you run out of mysql_num_rows(), and fill the 1 or 2 needed cells with   Also, you might wanna look around for some table building classes if your data is always gonna be really abstract.

Re: [PHP-DB] Tutorial?

2002-03-03 Thread Greg Donald
javascript is. -- ------- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] WHERE clause

2002-03-03 Thread Greg Donald
use is optional. -- ------- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ --- -- PHP Database Mailing List (http://www.php.net/) To uns

Re: [PHP-DB] Differences between two mySQL Databases

2002-06-25 Thread Greg Donald
sql -uuser -ppass database2 -e 'desc sometable' > sometable2 && diff sometable1 sometable2 > difference cat difference -- --- Greg Donald http://destiney.com/public.key ---