Imrie Posted August 8, 2007 Author Share Posted August 8, 2007 There is an errpr: "Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fhlinux164/m/mysimtractor.com/user/htdocs/form1.php on line 72" line 72 is: if (!is_uploaded_file($file_tmp)) { Link to comment https://forums.phpfreaks.com/topic/63865-upload-script-help-needed/page/2/#findComment-318659 Share on other sites More sharing options...
Imrie Posted August 8, 2007 Author Share Posted August 8, 2007 Sorry forget that^^^^^^^^^^^^^^^^^ this is the error: Parse error: syntax error, unexpected T_ELSE in /home/fhlinux164/m/mysimtractor.com/user/htdocs/test.php on line 131 line 131 is: //////////////////////////////////////////////////////////////////////////////// //else if the form didn't submitted then show it. else{ echo " <h3>Select files to upload!.</h3> Max file size = ". $size_bytes / 151024 ." KB"; echo " <form method="post" action="$_SERVER[php_SELF]" enctype="multipart/form-data">"; echo " <select name="options"> <option value="CLAAS_Cougar ">CLAAS_Cougar </option> <option value="CLAAS_Disco ">CLAAS_Disco </option> (else{) thanks, Link to comment https://forums.phpfreaks.com/topic/63865-upload-script-help-needed/page/2/#findComment-318678 Share on other sites More sharing options...
MadTechie Posted August 8, 2007 Share Posted August 8, 2007 the following doesn't make sense } echo "»<a href='".$_SERVER['PHP_SELF']."'>back</a>"; //////////////////////////////////////////////////////////////////////////////// //else if the form didn't submitted then show it. else{ what are you trying to do here ? Link to comment https://forums.phpfreaks.com/topic/63865-upload-script-help-needed/page/2/#findComment-318858 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.