[PHP] monitoring more than two sockets (multitask ?)

2001-07-24 Thread Keith Ng
Hello, I have a simple question. How do I monitor two or more sockets in PHP? Someone told me about register_tick_function() for multi tasking but I played with it and nothing seems to come out of it. I monitored the first opened socket using a while() loop containing a fgets() function. --

Re: [PHP] Parse error..help!

2001-05-18 Thread Keith Ng
> $NL = (\n); > $H = getLastHost(); > $R = getLastRef(); > $To = "[EMAIL PROTECTED]"; > $Sub = "Page Accessed"; > $D = Date("D d M y h:ia",time()); > $Msg = $H + $NL + $R + $NL + $D; > mail

Re: [PHP] Parse error..help!

2001-05-18 Thread Keith Ng
> $NL = (\n); > $H = getLastHost(); > $R = getLastRef(); > $To = "[EMAIL PROTECTED]"; > $Sub = "Page Accessed"; > $D = Date("D d M y h:ia",time()); > $Msg = $H + $NL + $R + $NL + $D; > m

[PHP] Barcode in PDF.

2001-05-17 Thread Keith Ng
Hi, Does anyone know how to go about drawing a barcode in PDFLIB? Regards, Keith Ng ___ Co-founder K-Designs Incorporated [EMAIL PROTECTED] http://www.k-designs.com.sg/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] How can I enable magic_quotes_gpc without editing PHP.ini

2001-05-16 Thread Keith Ng
- > Phone: (+354) 4615501 > Mobile: (+354) 8960376 > Fax: (+354) 4615503 > E-mail: [EMAIL PROTECTED] > Homepage:www.sed.is <- New Homepage! > -- set_magic_quotes_runtime(); Regards, Keith Ng ___

[PHP] PDF

2001-05-16 Thread Keith Ng
hanks very much. Regards, Keith Ng ___ Senior Web Developer K-Systems & Services [EMAIL PROTECTED] http://www.k-systems.com.sg/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] multiline text areas and mysql doesn't work :(

2001-05-13 Thread Keith Ng
e field appears on 1 line. > Any ideas how to get it to store the control chars? > -Ciaron Use nl2br() to format the display properly in HTML. Goto www.php.net/nl2br for more info. So this would work well: Updating the record works because you probably did something like this: Rega