ok, here is the query string again and some comments
$query = "INSERT INTO uploads VALUES (0, '$filename', '$p_path', '$v_path', '$time');";
$filename: normal filename, only allowed characters
$p_path: the physical path, for example: C:\test
$V_path: virtual path on server, for example: /upload
$time: unix timestamp
the error message i get is:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1122407156')' at line 1
update: problem resolved! 🙂
your hint made me think...
i added "addslashes()" to the vars in my query and now it works
thx for your help.
yeah...