Upload to email attachment

    Date: 07/30/07 (PHP Community)    Keywords: php, html


    This has me scratching my head... I have no idea why the sending of the file is failing.

    I found a script here
    http://www.trap17.com/index.php/form-php-mail-attachment_t28987.html

    It seems to work except the file doesnt arrive in the email

    Here are the relevent headers from the email

    Content-Type: ;
    name=""
    Content-Disposition: attachment;
    filename=""
    
    Attachment converted: Kobol:Untitled (TEXT/ttxt) (0048378B) 
    
    
    Email message here

    there is an attachment "untitled" and its size is zero.

    If you go here
    http://tfcdesign.fatcow.com/demos/form_upload_to_attachment/index.php

    you can send me a graphic and see the headers as they are before the email is sent.

    Any helpful tips are appreciated!

    UPDATE: it seems to be working with a jpeg... but not a gif... OK it seems it was the particular gif file I was using. SHEESH.
    OK - one last issue - if the file size is over 1MB or so, the email fails to send. Any ideas?

    Source: http://community.livejournal.com/php/578438.html

« Last fatal error? || Google Search Customized »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home