Re: [PHP] *Cannot connect to db

2002-12-18 Thread bbonkosk
the '@' sign suppresses the error/warning messages. Perhaps you would want to leave that off in a development environment. It may lead to some good keys to finding the solution.. -Brad > mySQL; php running in safe mode; compared to the other code on the same > server. here is mine - I don't ge

[PHP] *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
mySQL; php running in safe mode; compared to the other code on the same server. here is mine - I don't get any connection. What could be wrong? Also, what does this @ sign mean before the mysql_connect? function dbopen(){ $tablename = "balzerdez02"; $dbname = "marketingcompany"; $hostname=

[PHP] Cannot connect to db when running PHP as Cron

2001-07-17 Thread Reuben D Budiardja
Hello, I have a php script that connect to database and retrieve something, or do something with the db. I can run the script from the command line, it works just fine. But when I run it as cron, it gives error cannot connect to the database. Here is the script looks like: Here is the cront