CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Player1005

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    Now it looks as if the upload would have been succesful.
    But how can I upload a file?
  2. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    I added Pipes:
    $content="line1\r\nline2" ;
    print "<br>|".$content."| ";

    and the Result is:
    |line1 line2|
  3. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    is see.. this is step by step now :-)

    the response is (after print $content)

    'hello''hello''hello'
    "hello"
    \'hello\'\'hello\'\'hello\'
    \"hello\"

    (no error messages)
  4. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    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...
  5. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    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..)
  6. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    well... with str_replace AND addslashes it looks as if the upload would work.

    but it is not possilbe to download the set again...
  7. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    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...
  8. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    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...
  9. Replies
    19
    Views
    3,772

    Re: Writing BLOB with ODBC and PHP to Access

    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...
  10. Replies
    19
    Views
    3,772

    Writing BLOB with ODBC and PHP to Access

    Hi,

    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...
  11. Replies
    12
    Views
    50,973

    Re: AJAX does not work with FireFox

    hhhmmm. strange.
    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
    ...
  12. Replies
    12
    Views
    50,973

    Re: AJAX does not work with FireFox

    Hi,

    I am accessing the site with localhost as well.
    Since I am not a JS-Crack: where do I find that JS console?!?

    Thx,
    PL
  13. Replies
    12
    Views
    50,973

    AJAX does not work with FireFox

    Hi guys,

    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...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured