php-general Digest 23 Dec 2007 14:59:32 -0000 Issue 5196

2007-12-23 Thread php-general-digest-help
php-general Digest 23 Dec 2007 14:59:32 - Issue 5196 Topics (messages 266230 through 266236): Re: Assign variable to a block of html code 266230 by: php mail Aspect Oriented framework 266231 by: php mail html to doc and pdf ?? 266232 by: Me2resh Lists imap_mail()

php-general Digest 24 Dec 2007 05:02:35 -0000 Issue 5197

2007-12-23 Thread php-general-digest-help
php-general Digest 24 Dec 2007 05:02:35 - Issue 5197 Topics (messages 266237 through 266252): Re: html to doc and pdf ?? 266237 by: Bastien Koert questions about php's configure script ... (somewhat Mac OS X related) 266238 by: Jochem Maas PHP interprocesss communication

RE: [PHP] Sending SMS via PHP

2007-12-23 Thread Bastien Koert
Sending proper SMS messges requires that you use an SMS gateway or buy a cellular modem. SMS is essentially XML will the message body limited to 160 characters. do some googling to get more information bastien Date: Sun, 23 Dec 2007 08:30:29 +0330

RE: [PHP] html to doc and pdf ??

2007-12-23 Thread Bastien Koert
PDF is easy, there are many packages and classes that can convert the html to PDFs. A quick google will give you lots of results like www.fpdf.org http://www.digitaljunkies.ca/dompdf/ etc word docs will be harder to create bastien

[PHP] questions about php's configure script ... (somewhat Mac OS X related)

2007-12-23 Thread Jochem Maas
having gone through configure and compile hell getting php built on Mac OS X Leopard I have become a little more familiar with the intricasies of compiling software ... undoubtly I still have a heap to learn. to that end I was hoping someone could shed some light on the following queries 1.

[PHP] PHP interprocesss communication

2007-12-23 Thread Christophe Gosiau
Hi, I'm trying to write the following program: A browser connects to an apache web-server where a PHP application is running. Most of the actions of the application are Mysql database actions. There are however also actions that needs to be done on the client side but that are not possible

[PHP] Try{} Catch()

2007-12-23 Thread Al
Try() and Catch() seems neat; but, I've not found it to be very practical. Anyone using it? How? Al... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Try{} Catch()

2007-12-23 Thread Martin Alterisio
It's not supposed to be practical, it's just a way to handle errors. You shouldn't rely on try/catch for algorithm implementation. You create exceptions for errors and unexpected behavior. Then in some other part of the system you use try/catch to prevent the code from terminating abruptly. You

Re: [PHP] Try{} Catch()

2007-12-23 Thread Al
I understand it's intended use and how to use it, have just not found a good use for it yet. Martin Alterisio wrote: It's not supposed to be practical, it's just a way to handle errors. You shouldn't rely on try/catch for algorithm implementation. You create exceptions for errors and

[PHP] Re: Try{} Catch()

2007-12-23 Thread Christophe Gosiau
Try{} catch{} makes more sense when your application is Object Oriented and you use the MVC model. Your library performs some actions but when an error occures, it can't write directly to your browser. Your modules speak with your library and checks if an error occures.. If so a decent error

[PHP] Asynchronous socket connection timing issue.

2007-12-23 Thread Nicolas Le Gland
Hello everyone here. This is my first post in this newsgroup, I hope I won't be to much off-topic. Feel free to redirect me to any better group. I am getting strange timing issues when failing to asynchronously connect sockets on closed or filtered ports, but I'm quite unsure if this is a PHP

[PHP] Php exec

2007-12-23 Thread mattias
If i use courier-mta Can i create a php script wich create mailboxes? And users Hope any understand -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php exec

2007-12-23 Thread Christophe Gosiau
Try to configure courier te read his mailboxes/users from mysql? mattias schreef: If i use courier-mta Can i create a php script wich create mailboxes? And users Hope any understand -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 5.3.0

2007-12-23 Thread Jaden Abbott
Anyone know when PHP 5.3.0 will be out? 5.2.5 is Current and a lot of the documentation on php.net is showing that it will be implemented in 5.3.0 such as namespaces. Joshua - Never miss a thing. Make Yahoo your homepage.

SV: [PHP] Re: Php exec

2007-12-23 Thread mattias
Yes i have looked in that but not understadn anything -Ursprungligt meddelande- Från: Christophe Gosiau [mailto:[EMAIL PROTECTED] Skickat: den 23 december 2007 23:37 Till: php-general@lists.php.net Ämne: [PHP] Re: Php exec Try to configure courier te read his mailboxes/users from

RE: [PHP] about __get,__set Overloading, read-only properties

2007-12-23 Thread ked
I think you misread my pure-hearted thankfulness.I am sorry for my ambiguous sentence. Last reply mean : I'm happy to known that we have the same idea, just like a student got teacher's praise . Merry Christmas Eve! -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED]

RE: [PHP] Try{} Catch()

2007-12-23 Thread ked
use it just like in JAVA, It offers a uniform/good way to manage exception in app. e.g. function getObjFromDB($key) { if (strlen($key)!=0 ) throw new Exception (need condition .); if (!mysql_connect(...)) throw new Exception (can't connect to db .); . } function foo () { $err=''; for

[PHP] is there have something in php that allows method redispatch?

2007-12-23 Thread Wan Chaowei
hello all, i'm poor in english and php. i want to kown is there have something in php that allows method redispatch? like this http://search.cpan.org/~dconway/NEXT-0.60/lib/NEXT.pm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is there have something in php that allows method redispatch?

2007-12-23 Thread Wan Chaowei
hello all, i'm poor in php and english,I want to know is there have something in php that allows method redispatch? like this http://search.cpan.org/~dconway/NEXT-0.60/lib/NEXT.pm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending SMS via PHP

2007-12-23 Thread VamVan
Hi Bastien, I have actually implemented sending SMS using PHP by installing NOW SMS gateway. You can find all the information regarding it on www.nowsms.com. They have a software that you can buy and configure on your server. I wrote scripts that can help sending single SMS, BULK SMS, User