atchua Posted January 18, 2007 Share Posted January 18, 2007 i'm currently writing 2 scripts... 1 is for extracting records from the database and writes it onto an excel file while the second will just be called after the first script finishes. it will then get the written excel file and send it through the mail() function in php to different recipients.the issue that i'm encountering is that sometimes the attachment that we receive is incomplete even though the actual file written is complete. we are thinking of the following possibilities:a) the second script sends the file even though the first script has not yet finished writing the file orb) there is some certain limit on the size of the file attachment in the mail() functioni have been encountering this problem for weeks and haven't figure out the reason as to why sometimes the attachment receive is incomplete or /cut short. have also tried inserting some delay in between the scripts but the same thing is observed.thanks in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.