Re: [PHP] Temporary MySQL Tables

2002-03-21 Thread ruler
Perhaps you can check the data of the fields before it goes to the next form. For example, if (ereg(^.*[^a-zA-Z0-9\-].*$, $Username)) { die(Your username contains invalid characters. Only alphanumeric characters and dashes are allowed.); } Hope that helps. - Original Message - From:

Re: [PHP] mysql_connect() help

2002-03-08 Thread ruler
What I did is made a symlink from /var/run/mysql.sock to /tmp/mysql.sock example: ln -s /var/run/mysql.sock /tmp/mysql.sock Or if /var/run/mysql.sock doesn't exist, find / -name mysql.sock Then symlink that to /tmp Hope that helps. - Original Message - From: Ellis M. Mendez-Hidaka