The line isParse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/jsaxon/public_html/imagehost/upload.php on line 44
Code: Select all
$fileOp -> upload_file($_FILES['uploadedfile'], $fileURL, $fileExt, $uploadType);It worked a day ago, and I haven't changed a thing since :\.
Few lines above and below (just incase):
Code: Select all
...
if ($do === null && $exAllowed && $uploadable) {
if ($fileSize <= 1048576) {
$fileOp = new fileOps();
$fileOp -> upload_file($_FILES['uploadedfile'], $fileURL, $fileExt, $uploadType);
if ($fileExt == "jpg" || $fileExt == "jpeg") {
$fileThumb = $fileOp -> resize_jpeg ($fileURL, $fileExt, "_thumb");
$fileNorm = $fileOp -> resize_jpeg ($fileURL, $fileExt, "_normal");
}
...