/dev/vcs include screen scrape for CMS application.
Posted: Fri Oct 28, 2005 10:16 am
In my error logs I get :
[client IP] PHP Warning: main(/dev/vcs6): failed to open stream: Success in /var/www/html/symon/format.php on line 8
[client IP] PHP Warning: main(): Failed opening '/dev/vcs6' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/symon/format.php on line 8
Any direction would be appreciated. Here is the code in the file:
I have set permissions to the vcs6 file of 644
Running centos4.2 / php-4.3.9-3.8 / httpd-2.0.52-19.ent.centos4
I have disabled SELinux.
Tried : Setting permissions to 777 and changing ownership of files.
This code works fine on another machine I have : RedHat8.0 / php-4.2.2-8.0.5 / httpd-2.0.40-8
Does anyone know if php changed security from 4.2 to 4.3 and what settings I might need to fix this stream issue or possibly a work around. Much Thanks!!
Any direction would be appreciated. Here is the code in the file:
Code: Select all
ob_start(); //start output buffering
include ("/dev/vcs6"); //all output goes to buffer
$buf = ob_get_contents(); //assign buffer to a variable
ob_end_clean(); //clear buffer and turn off output buffering
echo $buf;Running centos4.2 / php-4.3.9-3.8 / httpd-2.0.52-19.ent.centos4
I have disabled SELinux.
Tried : Setting permissions to 777 and changing ownership of files.
This code works fine on another machine I have : RedHat8.0 / php-4.2.2-8.0.5 / httpd-2.0.40-8
Does anyone know if php changed security from 4.2 to 4.3 and what settings I might need to fix this stream issue or possibly a work around. Much Thanks!!