Ok,
Basically I'm working on a tool that runs in "batch" mode, just like sending out spam, however it is connecting to a sybase db.
I currently have the page set up to run from the command line so that I can add it to the crontab later on.
The problem I'm having is that PHP is failing on:
[27-Aug-2002 15:46:58] PHP Fatal error: Call to undefined function: sybase_connect() in /www/htdocs/CHOMP/include/procs.inc on line 64
If I run this page normally using a browser and executing it through apache, it runs fine, no sybase_connect() errors.
Actually, all sybase related functions do not work from the command line.
My page is set up like the following:
#!/usr/local/bin/php -q
is the very first line. and so I run it ./test_file.php
and then said errors show up. What am I doing wrong? Anyone have experience with this?
-Nate