php-general Digest 11 Sep 2005 14:03:45 -0000 Issue 3676

2005-09-11 Thread php-general-digest-help
php-general Digest 11 Sep 2005 14:03:45 - Issue 3676 Topics (messages 222133 through 222143): Date/Time Display for recurring monthly event 222133 by: Aragon.HELP 222140 by: Burhan Khalid 222141 by: Burhan Khalid creating a login/registration/admin function/app

php-general Digest 12 Sep 2005 05:04:00 -0000 Issue 3677

2005-09-11 Thread php-general-digest-help
php-general Digest 12 Sep 2005 05:04:00 - Issue 3677 Topics (messages 222144 through 222152): Re: Stripping control M character (^M) 222144 by: Burhan Khalid Best way to update PHP on RH 9 222145 by: Todd Cary 222146 by: Greg Donald 222149 by: bruce PHP

Re: [PHP] Convert a timestamp to RFC822??

2005-09-11 Thread Kevin Waterson
This one time, at band camp, Brian Dunning [EMAIL PROTECTED] wrote: I get my timestamp from the db in this format (I don't have control over this): 2004-05-14 13:24:48 I need to convert it to RFC822 to make it a valid RSS pubDate field like this: Wed, 02 Oct 2002 13:00:00 GMT

[PHP] PHP page counter

2005-09-11 Thread Michelle Konzack
G'Morning *, Does anyone know, where I can get a PHP-Code for a high performance page counter ? I need one, which can handle very high traffic (15.000 Hits/h) becase my own one sucks (locking). :-/ It can be text/plain or php-gd based. Greetings Michelle -- Linux-User #280138 with the Linux

[PHP] date of file?

2005-09-11 Thread sub
In addition to reading the names of the files in a directory, I also need to read the date the file was modified. Right now I've got this: if ($handle = opendir($path)) { $b=0; while (false !== ($file[$b] = readdir($handle))) { $b++; } closedir($handle); } What

[PHP] Re: date of file?

2005-09-11 Thread Michelle Konzack
Am 2005-09-11 03:08:22, schrieb [EMAIL PROTECTED]: In addition to reading the names of the files in a directory, I also need to read the date the file was modified. filemtime() Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt.

Re: [PHP] Date/Time Display for recurring monthly event

2005-09-11 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Having a heck of time getting anything to work, can anyone make a suggestion to the following. I need a webpage that displays 5 recurring meeting dates, i.e. the second Wednesday, Thursday, and Friday of each month in five different locations. ?php echo Current

Re: [PHP] Date/Time Display for recurring monthly event

2005-09-11 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Burhan, Thank you for replying, it is very much appreciated. Perhaps I did not state what I needed as well as I should have. I'm looking for the code which displays the date of the second Thursday of each month on a web page. I have to insert this code at 5

[PHP] date and time conversion

2005-09-11 Thread babu
Hi, how to convert DD.MM.YYand HH:MM:SS into mysql date( '-MM-DD' ) and time format. I think the time is same as HH:MM:SS. Are there any php built in functions , or need to convert them using regular expressions. thanks babu - How

Re: [PHP] date and time conversion

2005-09-11 Thread Burhan Khalid
babu wrote: Hi, how to convert DD.MM.YYand HH:MM:SS into mysql date( '-MM-DD' ) and time format. I think the time is same as HH:MM:SS. [EMAIL PROTECTED] ~ $ php -r 'echo date(Y-m-d,strtotime(str_replace(.,/,12.12.05))).\n;' 2005-12-12 Hope that helps :) See http://php.net/date

Re: [PHP] Stripping control M character (^M)

2005-09-11 Thread Burhan Khalid
Philip Hallstrom wrote: Hello All, I'm having some issues with carriage returns. Specifically the control M character (^M). I have attempted to clean and validate the file I'm creating. Here's the code. while ($row = mysql_fetch_array($result)){ // assign and clean vars $artist =

[PHP] Best way to update PHP on RH 9

2005-09-11 Thread Todd Cary
I have RH 9 on our server and if I try to use a rpm for php-4.3.9 or greater, there are many unresolved dependencies. What is the best way around this problem? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to update PHP on RH 9

2005-09-11 Thread Greg Donald
On 9/11/05, Todd Cary [EMAIL PROTECTED] wrote: I have RH 9 on our server and if I try to use a rpm for php-4.3.9 or greater, there are many unresolved dependencies. What is the best way around this problem? There are at least a couple ways around this problem. 1) Follow the rpm dependencies

[PHP] PHP Sessions

2005-09-11 Thread Chris Wagner
hello, i recently started using PHP's sessions. i am finding that the sessions seem to expire after 20 or 30 minutes -- or, at least the variables which i set, within $_SESSION, are getting cleared after this relatively short amount of time. before calling session_start(), i do a few

Re: [PHP] PHP Sessions

2005-09-11 Thread Jasper Bryant-Greene
Chris Wagner wrote: i recently started using PHP's sessions. i am finding that the sessions seem to expire after 20 or 30 minutes -- or, at least the variables which i set, within $_SESSION, are getting cleared after this relatively short amount of time. before calling session_start(), i do a

RE: [PHP] Best way to update PHP on RH 9

2005-09-11 Thread bruce
3rd way... if you have linux (and you do!) you can get yum. yum install php provided you have your yum paths/repos set properly, it'll more or less walk through the dependency issues for you... what ever you do, you can/should be expecting that some app will scream that you're now using a

[PHP] Payflow Pro compile error

2005-09-11 Thread Dan Harrington
Greetings, It seems that I've gone around and around on this issue starting with PHP3 every time I install a new server. And here I am again. OS: Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux php-5.0.4 library with pfpro listed in /etc/ld.so.conf and I

Re: [PHP] Payflow Pro compile error

2005-09-11 Thread Vizion
On Sunday 11 September 2005 16:46, the author Dan Harrington contributed to the dialogue on- [PHP] Payflow Pro compile error: Greetings, It seems that I've gone around and around on this issue starting with PHP3 every time I install a new server. And here I am again. OS: Linux

Re: [PHP] PHP page counter

2005-09-11 Thread Vedanta Barooah
there is one here : http://www.phpclasses.org/browse/package/2212.html see if it suffices your need, thanks, vedanta On 9/11/05, Michelle Konzack [EMAIL PROTECTED] wrote: G'Morning *, Does anyone know, where I can get a PHP-Code for a high performance page counter ? I need one, which can