[PHP] Get particular section structure of message

2003-09-06 Thread myhan
I make a function to fetch the structure of a particulat section of a message, and I test it with some special mails and it works well. But for I am not so familiar with mime-types, I need more suggest and help. function getCurrentStruct($pi_msgid, $ps_part=1) { //$o_struct =

[PHP] Why? Why this is not an imap_error?

2003-08-30 Thread myhan
Warning: imap_fetchstructure(): Bad message number in e:\testroot\imap\index.php on line 52 I ust imap_fetchstructure function to get the structure of a message, and I want to push the errors into an array. I give a wrong message number and expect cause an imap error, which can be get by using

Re: [PHP] timestamp problem !!

2003-07-14 Thread myhan
mysql's timstamp in this case is in the format: MMDDHHMMSS and it's default value is current time. | TIMESTAMP(14) | MMDDHHMMSS | | TIMESTAMP(12) | YYMMDDHHMMSS | | TIMESTAMP(10) | YYMMDDHHMM | | TIMESTAMP(8) | MMDD | | TIMESTAMP(6) | YYMMDD | | TIMESTAMP(4) |

Re: [PHP] timestamp problem !!

2003-07-14 Thread myhan
The quick and easy to convert a mysql timestamp is to use the UNIX_TIMESTAMP(field_name) function in mysql when you query the data. It converts a 14-digit mysql timestamp to a standard unix timestamp. Myhan [EMAIL PROTECTED] дÈëÏûÏ¢ÐÂÎÅ :[EMAIL PROTECTED] mysql's timstamp in this case

Re: [PHP] $_POST problem

2003-07-09 Thread myhan
I want to know what is the difference between {} and the one without {}.:) I use {} to resolve many problems, but I do now know what is the difference:). thank you! Aaron Axelsen [EMAIL PROTECTED] ??:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try: $img_keywords =