Hello there,
I don't know what changed, but strangely the path to the uploaded files is not stored in the database anymore, the files are uploaded though.
The form code for the file upload is:
The code for field names & allowed exensions is: cvupload:pdf|doc|zip|rar|docx|xls|txt
autogenerated code is:
no on Submit after/before e-mail code.
Maybe I accidently deleted something, but all I want is that the filepaths get stored again in the cvupload & motivationupload fields.
Thank you
Dennis
I don't know what changed, but strangely the path to the uploaded files is not stored in the database anymore, the files are uploaded though.
The form code for the file upload is:
<input type="file" name="cvupload" id="cvupload" />
The code for field names & allowed exensions is: cvupload:pdf|doc|zip|rar|docx|xls|txt
autogenerated code is:
<?php
global $database;
$database->setQuery( "INSERT INTO #__chronoforms_3 VALUES (
'' , '". date('Y-m-d')." - ".date("H:i:«»s"«»)."', '".$_SERVER['REMOTE_ADDR']."' , '".$_POST['first_name']."' , '".$_POST['last_name']."' , '".$_POST['address_1']."' , '".$_POST['address_2']."' , '".$_POST['postal']."' , '".$_POST['city']."' , '".$_POST['country']."' , '".$_POST['email']."' , '".$_POST['confirm_email']."' , '".$_POST['phone']."' , '".$_POST['forum']."' , '".$_POST['accomodation']."' , '".$_POST['private_hosting']."' , '".$_POST['motivationupload']."' , '".$_POST['cvupload']."');" );
if (!$database->query()) {
echo "<script> alert('".$database->getErrorMsg()."'); window.history.go(-1); </script>
";
}
?>
no on Submit after/before e-mail code.
Maybe I accidently deleted something, but all I want is that the filepaths get stored again in the cvupload & motivationupload fields.
Thank you
Dennis