View Single Post
Old 01-15-2005, 08:54 AM  
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
What happens if you run this code?

The hahahaha should be a double =

PHP Code:
if (!$handle fopen ($filename"w")) {
  if(
fwrite ($handle$contenthahahaha FALSE) { 
      echo 
"Data insert failed!"
    die;
  } 
  
  echo 
"Success, wrote ($content) to file ($filename)";
  
fclose ($handle); 

} else {
  echo 
"File open failed!";
  die;

__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote