Re: Hi
| From: | Zoltán Németh | Date: | Mon, 23 Apr 2007 12:20:45 +0000 |
| Subject: | Re: Hi | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253514@lists.php.net to get a copy of this message | ||
2007. 04. 23, hétfő keltezéssel 22.09-kor Nathan Wallis ezt írta:
> Hi guys and girls,
>
>
>
> I have question for you all.
>
>
>
> I have developed a flash application which is a test for students. For each
> test their is an accompanying excel spreadsheet that has information related
> to each question they have answered and whether they got it right or wrong.
> I am receiving whether the student got the question right or wrong in PHP
> from FLASH. That part is complete. The other part I have complete is PHP
> emailing the teacher with an attached excel spreadsheet renamed to the
> studentsname_results.xls....the last part I want to complete is that of the
> students results being inputted into the correct column in the spreadsheet
> and then being attached to the email.
>
>
>
> I am guessing I would be best to not attach a physical file that resides on
> the server but build the data up inside PHP to resemble the file format I am
> trying to generate and attach that to my email.
>
>
>
> Two questions.
>
>
>
> Can someone tell me the best format to be sending (i.e. the format that has
> the best support for PHP) and also is this method dependent on the web
> server being windows or linux based. I am no expert but from what I can
> gather I take it that COM object support is really just for windows based
> web servers.
yes, COM is only for windows.
I would use csv if you don't need fancy formatting and stuff like that,
just the data itself. csv can be built very easily as it is a simple
text file basically.
greets
Zoltán Németh
>
>
>
> Thanks and all the best,
>
>
>
> Nathan
>