[PHP] Re: Where is php.ini located by default?
i think the easiest way to see php setting is by running info.php script. if it's not on your webserver, just create one php file with content like this : ? echo phpinfo() ?; -toto- idban secandri writes: On Saturday 28 April 2001 01:23, you wrote: It's /usr/local/lib/php.ini NEW: Unix install paths changed Please note that the PHP 4.0.5 release will have a new set of installation paths for any Unix-like operating systems. The default php.in path is now /usr/local/etc (previously /usr/local/lib) PEAR will be placed in /usr/local/share/php/pear (previously /usr/local/lib/php) shared extensions can be found in/usr/local/lib/php http://www.zend.com/zend/week/week34.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: check if an url is valid
there is no pure fopen function available to connect to other site. because basically fopen use to open file (file open). fopen in php just try to facilite programmer with human friendly name, but inside, when the argument is url, it'll make standard socket connection like any other tcp/ip connetion. -toto- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] database server comparation
Hi is there one one know about any site explain comparation among database server software from various perspective. thanx. -toto- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Many email... and just one mail function
all you need is to write cron file (with your preferable script) running every week. Than read customer list information (connect to pop server, or customer database, or if every customer has an email, just read from customer table), then use your preferable smtp mail to send an email to that customer. maybe it's not as fast as you want, but it won't take your web server to handle the job. -toto- Marian Vasile writes: Guyz I have a huge database wih emails. Now I want to send them news weekly and I can't how I can send many emails using mail() function ??? but in a faster manner that ussualy ?... is that possible ? I'm not talking about SPAM here... I have registered users... :) How I can send all these 30.000 email addresses ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Newbie question: Page Counter
this counter'll increment the counter, no matter where are you go the page from. If you only want that the counter increment for the first time visitor visit the website, put the code at mainpage file, and check also the page referrer weather it's a local url or not. -toto- Adam writes: make a file called counter.php and include this text: //-counter.php-- ---// ?php //Simple PHP counter, v0.1. Send comments to [EMAIL PROTECTED] if (file_exists('count.inc')) { $fil = fopen('count.inc', r); $dat = fread($fil, filesize('count.inc')); echo $dat+1; fclose($fil); $fil = fopen('count.inc', w); fwrite($fil, $dat+1); } else { $fil = fopen('count.inc', w); fwrite($fil, 1); echo '1'; fclose($fil); } php? //-- --// then make a file called count.inc and chmod it to 777 so anyone can write to it. insert a number into the file. //--count.inc--- --// some value -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Regular Expressions?
(eregi("([0-9][a-z][A-Z]\.[0-9][a-z][A-Z]", $myArray[x])) and don't use character '^' in front of the pattern. -toto- Jason Caldwell writes: I'm looking to compare if my array values match any digits or alpha characters with a dot between them... so, if I think I understand Regular Expressions (from what I could gather from PHP.net and Core PHP Programming by Leon Atkinson.) I want to match any of the following: 1.1 or a.a or . or .-- any number of digits (0-9) or alpha (a-z) on either side of the dot. if(eregi("^([0-9][a-z]\.[0-9][a-z]", $myArray[x])) Is this correct? I think I'm missing something. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]