ive been getting loads of errors on a script that im trying to install.. so far ive fixed a few of them but now im stuck here

Parse error: syntax error, unexpected T_RETURN in /home/wwwulti/public_html/network/install/index.php on line 668

[img]http://www.daniweb.com/forums/attachment.php?attachmentid=8340&stc=1&d=1227550169[/img]

looks like the same things guna happen on line 670

any help?

In PHP if it says there is an unexpected T_<something> on a line the error is usually in the lines ABOVE that line, not ON the line so.

no help then :(

You image attachment didn't work. Just copy and paste the code, there is no reason to use images

ok heres the code..

if ($info!="rwxrwxrwx")
		return false;
	else
		return true;

}//verify_folder_permissions

function clean_folder($folder,$total){

ok heres the code..

if ($info!="rwxrwxrwx")
		return false;
	else
		return true;

}//verify_folder_permissions

function clean_folder($folder,$total){

I Think this code is missing some brackets {}.
Try This

if ($info!="rwxrwxrwx"){
		return false;
	}else{
		return true;

}//verify_folder_permissions

function clean_folder($folder,$total){
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.