Re: [PHP] How to implement mass emailing?

2004-10-07 Thread Tumurbaatar S.
Thank you, all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to implement mass emailing?

2004-10-06 Thread Tumurbaatar S.
The scenario is: 1. Site administrator logs into his admin page and writes some message on a form. 2. After clicking submit the web script should broadcast this message to several hundred subscribers. And I'm wonder how to implement this on PHP. Sending an email to each subscribers can take a muc

[PHP] include but not browse

2004-07-05 Thread Tumurbaatar S.
Generally, it isn't a PHP related but... I'm not a Linux/Apache user and know nothing about how to manage permissions there. I need to disable browsing for some of subfolders on my site but php scripts located in these subfolders should be accessible by php's include/require. It's easy to do on Win

[PHP] Remote include

2004-06-09 Thread Tumurbaatar S.
I need to include in my PHP code a script located at a remote web server. The script is also PHP and contains some functions and class definitions. Because the remote server also use PHP, I've changed my include file extension ("php") to something other (e.g. "inc"). Because I'm afraid that the ser

[PHP] Re: Regular Expression

2004-05-05 Thread Tumurbaatar S.
Because the substrings can contain any char-s including commas. Also I use reg exp not for splitting only but for validating whether whole string and the substrings are correctly formatted. Using reg exp requires much less coding than traditional programming. > > Why not just strip out the braces

[PHP] Re: Regular Expression

2004-05-04 Thread Tumurbaatar S.
Forgot about curly brackets. The above example is: /^\{(?:(pattern),)*|(pattern)?\}$/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regular Expression

2004-05-04 Thread Tumurbaatar S.
There's an input string like "{str1,str2,...,strN}". I want to capture all these strings and due to complexity of them I use a preg_match_all() instead of simple split. A pattern for the matching strings is ready but I cannot imagine how to specify that strings are separated by commas and the last

Re: [PHP] Exceptions and builtin functions in PHP5

2004-04-08 Thread Tumurbaatar S.
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > If I understand right, PHP5 has an exception > > handling mechanism but it is only for "manual" using, i.e. > > a programmer can use try/catch but only for own code. > > PHP's built-in functions and functions from extensions still > >

[PHP] Exceptions and builtin functions in PHP5

2004-04-07 Thread Tumurbaatar S.
If I understand right, PHP5 has an exception handling mechanism but it is only for "manual" using, i.e. a programmer can use try/catch but only for own code. PHP's built-in functions and functions from extensions still use old "return value" method. Yes? -- PHP General Mailing List (http://www.ph