Using PHP 4.2.2 on Linux RH8:

In a PHP script run from command line,

        require_once("gibberator_data.php") or die("No Data file found\n");

Causes:

[EMAIL PROTECTED] gibberator]# ./gibberator.php 
<br />
<b>Fatal error</b>:  Failed opening required '1'
(include_path='.:/php/includes;/usr/share/phpwebtools') in
<b>/home/gibberator/gibberator.php</b> on line <b>13</b><br />

However 

        require_once("gibberator_data.php"); 

Works just fine.

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

Reply via email to