mysql_real_escape_string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following PHP command

$new_maintainers_notes =
mysql_real_escape_string($new_maintainers_notes);

returned this error while running in a ***cron***.  

Warning: mysql_real_escape_string(): Access denied for user:
'actsmin@localhost' (Using password: NO)
in /home2/actsmin/actsministries-www/memberservices/administration/ministry_directory_annual_review_maintenance.php on line 39

Warning: mysql_real_escape_string(): A link to the server could not be
established
in /home2/actsmin/actsministries-www/memberservices/administration/ministry_directory_annual_review_maintenance.php on line 39

where

$new_maintainers_notes = "Listing has been set for it's annual review";



But when I return it from the web --- ie http://www........... no
error.  

Any idea why the cron is upset?

Ron

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux