[PHP] Re: [BULK] [PHP] I'm trying to sending an image via email

2007-12-30 Thread Eddie Dunckley
27;m doing wrong? > > > > -- the code -- > > $msg .= "Content-Disposition: attachment; > > filename=\"".$filename."\"".$eol.$eol; > > $msg .= $f_contents.$eol.$eol; On Mon 31 Dec 07, Eddie Dunckley wrote: > guess/think that should

[PHP] Re: [BULK] [PHP] I'm trying to sending an image via email

2007-12-30 Thread Eddie Dunckley
On Sun 30 Dec 07, tedd wrote: > I'm trying to send an image via email (hmm, must be an echo). > In any event, the following is my main-code (word, dude) and a part > of the email I receive back. The image file IS there. > Any suggestions as to what I'm doing wrong? > -- the code -- > $msg .= "Cont

Re: [PHP] socket_read can not read the whole HTTP page?

2007-12-27 Thread Eddie Dunckley
On Fri 28 Dec 07, Eddie Dunckley wrote: > On Fri 28 Dec 07, ked wrote: > > I wrote those script to get HTTP url content, and it works , but > and change this to > $in .= "Connection: closed\r\n\r\n"; soz that should be close not closed; -- Eddie - Chaos, panic, and d

Re: [PHP] socket_read can not read the whole HTTP page?

2007-12-27 Thread Eddie Dunckley
s to $in .= "GET {$file} HTTP/1.0\r\n"; > $in .= "Connection: Keep-Alive\r\n\r\n"; and change this to $in .= "Connection: closed\r\n\r\n"; -- Eddie Dunckley - [EMAIL PROTECTED] - Realtime Travel Connections IBE Development, www.rttc.co.za, cell 083-379-6891, fax

Re: [PHP] Socket takes a long time to 'finish'

2007-08-29 Thread Eddie Dunckley
ry to add into the header that you prepare and send a Connection: close\r\n -- Eddie Dunckley - [EMAIL PROTECTED] - Realtime Travel Connections IBE Development, www.rttc.co.za, cell 083-379-6891, fax 086-617-7831 Where 33deg53'37.23"S 18deg37'57.87"E Cape Town Bellville Oakdale

Re: [PHP] Forwarding $_POST[]...

2007-08-14 Thread Eddie Dunckley
On Thu 09 Aug 07 20:11, Simon wrote: > The dumbest (but still correct) way to do it is a for() loop that > creates a hidden input with the name/value pair for each variables > you want. Might not be as dumb as one thinks: hidden vars are useful when some misconfigured proxy or round-robin proxy o

Re: [PHP] Problem with filemtime

2007-07-31 Thread Eddie Dunckley
clearstatcache() in here. (and sometimes just for because you might want to emit a buffer, a flush(); > $new_last_modified = filemtime($csv_file); -- Eddie Dunckley - [EMAIL PROTECTED] - Realtime Travel Connections IBE Development, www.rttc.co.za, cell 083-379-6891, fax 086-617-7831 Wh

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Eddie Dunckley
Trek II - The Wrath of Rasmus I vote for Rasmus as President! He can Lead AND Read! -- Eddie Dunckley - [EMAIL PROTECTED] - Realtime Travel Connections IBE Development, www.rttc.co.za, cell 083-379-6891, fax 086-617-7831 Where 33deg53'37.23"S 18deg37'57.87"E Cape Town Bellville

Re: [PHP] Re: converting extended chars to plain ascii

2007-07-20 Thread Eddie Dunckley
str, array("\x92"=>"\\'")); } $str = strtr($str, "\x91\x92\x93\x94\x96\xA1\xAA\xBA\xBF\xC0\xC1\xC2\xC3\xC5\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1" ."\xD2\xD3\xD4\xD5\xD8\xD9\xDA\xDB\xDD\xE0\xE1\xE2\xE3\xE5\xE7\xE8\xE9\xEA\xE