Hello,

  I have PHP as Apache so and I wand to use it in the command line as
  CGI. As apache module I have running with safe mode in the command
  line I want to use PHP without SAFE MODE. My PHP is compiled with so
  modules.

  If I use this construction:

  #!/usr/local/bin/php -c /root/ -q
  <?
    //Set_Time_Limit(0);
    $spojeni = MySQL_Connect("localhost", "user", "pass");

  i got:

Fatal error: Call to undefined function:  mysql_connect() in /root/pokus.php on line 5

  What is wrong?

  Thanks
  Radek

-- 
Regards,
 Bc. Radek Krejča
 Starnet, s. r. o.
 [EMAIL PROTECTED]
 +420 608 470980
 http://www.ceskedomeny.cz
 http://www.skdomeny.com
 http://www.starnet.cz
 ICQ: 65895541 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to