Parse error
Posted: Sat Jan 08, 2005 6:34 pm
im getting a parse error on a line where only a ?> is :\ does anyone know why?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
What's generating that error as it's not a PHP one unless you've not posted the full exact error?error deleting file
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Its not a sort code and it is because before i tried to implement a password protection on the script but it didn't work so i had to un-mod everything i modded up taking out all the username and password things but now after i un-modded everything i have
error deleting file.
stuck up there its not a PHP error i think im missing somethingCode: Select all
if(isset($unlink)) {
unlink("$filename");
}
elseif(file_exists($filename))
{
print "error deleting file.";
}
else
{
print "successful deletion.";
}Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]