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!!