...

View Full Version : problems with fopen



davehaz
05-09-2006, 04:44 AM
howdy,
I am having a problem opening/creating a file for write, using


$connectfile = "connect".$db_name;
$connectfile .= ".php";
if (!$fp = fopen($connectfile, 'w')) {
echo "Cannot open file ($connectfile)";
exit;
}

I have the permissions set to 777 to make sure that isn't the problem, anybody see a problem here that I am missing?

tia.

davehaz
05-09-2006, 04:58 PM
nevermind, it was a path problem.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum