Im tring to write some data to a txt file in linux. See the script below that is the directory i want it to be in. Am i doing it wrong??? this set up works in windows/

thanks

am i misssing brackets or permissions on the directory in linux??

PHP Code:
$myform2 build_form($variable1$variable2,$variable3,$variable4,$variable5,$variable6,$variable7,$variable8,$variable9,$variable10,  $variable11,$variable12,$variable13,$variable14,$variable15,$variable16,$variable17,$variable18,$var  iable19,$variable20,$variable21,$variable22,$variable23,$variable24,$variable25,$variable26,$variabl  e27,$variable28,$variable29,$variable30,$variable31,$variable32,$variable33,$variable34,$variable35,  $variable36,$variable37,$variable38,$variable39,$variable40,$variable42,$variable43,$variable44,$var  iable45,$variable46,$variable47,$variable48,$variable49,$variable50,$variable51,$variable52,$variabl  e53,$variable54,$variable55,$variable56,$variable57,$variable58,$variable59); 

$file $AUTHNO "_" date("Ymd"). ".txt"
$fp fopen("//usr//etc//originalreferrals//$file""w"); 
fputs($fp$myform2); 
fclose($fp);