January 23rd, 2006, 12:47 PM
Now it looks as if the upload would have been succesful.
But how can I upload a file?
January 23rd, 2006, 12:23 PM
I added Pipes:
print "<br>|".$content."| ";
and the Result is:
January 23rd, 2006, 11:38 AM
is see.. this is step by step now :-)
the response is (after print $content)
(no error messages)
January 23rd, 2006, 09:28 AM
Then I am getting a datatype mismatch error:
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Datentypen in Kriterienausdruck unverträglich., SQL state...
January 23rd, 2006, 06:59 AM
I download it and save it to my desktop. when i try to open it i am getting "can't read file header" (a gif picture..)
January 23rd, 2006, 03:40 AM
well... with str_replace AND addslashes it looks as if the upload would work.
but it is not possilbe to download the set again...
January 22nd, 2006, 03:40 PM
I am getting an error when I dont use addslashes().
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntaxfehler in Zeichenfolge in Abfrageausdruck...
January 22nd, 2006, 12:16 PM
yes, you are right!
I changed that to
$content = addslashes($content);
$content = str_replace("'", "''", $content);
Now it looks as if the upload would work, but am not...
January 21st, 2006, 12:06 PM
nope... doesn't work.
when i try to upload a word document with 20kB i get this error:
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntaxfehler...
January 8th, 2006, 09:55 AM
i want to write into a ACCESS DB over ODBC.
I am using that code:
i got that code from here -> http://www.php-mysql-tutorial.com/php-mysql-upload.php
it was originally a code for...
January 1st, 2006, 03:29 PM
I think i found the bug.
FireFox doesn't like it when I set the 'asyncron' state on 'false' to tell the script to wait for the reply of the serverrequest.
so instead of
January 1st, 2006, 03:14 PM
I am accessing the site with localhost as well.
Since I am not a JS-Crack: where do I find that JS console?!?
January 1st, 2006, 03:08 PM
i got a little problem. my ajax code doesn't work proper
with IE it works great, but with FF it doesn't at all.
for info: the php i call gives back text with the 'echo'-method. so no...