Configuration Issue
OpenBSD 4.0/Apache 1.3/php 5.1
I have installed the newest version of phpAlbum and have had no luck getting it to work. PHP is working fine but when I display the main.php page, all I get is text
Example:
0){ return true; }else{ return false; } } /*assertion*/ /****************************************/ /* Functions */ /****************************************/ function imagecreatefrom($file){ if(strtoupper(substr($file,-3,3))=="JPG" || strtoupper(substr($file,-4,4))=="JPEG"){ $image=imagecreatefromjpeg($file); } if(strtoupper(substr($file,-3,3))=="PNG"){ $image=imagecreatefrompng($file); } if(strtoupper(substr($file,-3,3))=="GIF"){ $image=imagecreatefromgif($file); } return $image; } function image_same_type($file,$image,$quality = 100){ if(strtoupper(substr($file,-3,3))=="JPG" || strtoupper(substr($file,-4,4))=="JPEG"){ imagejpeg($image,null,$quality); } if(strtoupper(substr($file,-3,3))=="PNG"){ imagepng($image); } if(strtoupper(substr($file,-3,3))=="GIF"){ imagegif($image); } } if ( file_exists("config.php")){ include("config.php"); }else{ //generate_header(); error_reporting(0); echo ""; echo "
I have all the permission set correctly and I know that PHP is work, as I can get phpinfo() to display and I have phpMyAdmin working. I am lost as to what to do.
markb

Recent comments
3 weeks 2 days ago
1 year 42 weeks ago
2 years 42 weeks ago
2 years 44 weeks ago
2 years 44 weeks ago
2 years 45 weeks ago
2 years 45 weeks ago
2 years 45 weeks ago
2 years 45 weeks ago
2 years 45 weeks ago