php-general Digest 9 Feb 2008 11:36:12 -0000 Issue 5283

2008-02-09 Thread php-general-digest-help
php-general Digest 9 Feb 2008 11:36:12 - Issue 5283 Topics (messages 268978 through 269002): php 4.x + mysql 5 268978 by: ahlist 268980 by: Jim Lucas 268996 by: ahlist issues with calling methods twice in a row 268979 by: nihilism machine 268982 by:

Re: [PHP] Re: Order directory output

2008-02-09 Thread Børge Holen
On Saturday 09 February 2008 02:22:28 Shawn McKenzie wrote: Pastor Steve wrote: Hi, thanks for all your help today. I have the following code and I am trying to order the output. Currently it seems really random. Can anyone point me in the right direction? ?php $dir =

Re: [PHP] Posting Summary for Week Ending 8 February, 2008: php-general@lists.php.net

2008-02-09 Thread Børge Holen
OI, I'm topposting in irritation herer ;) I've actuallly sent a couple of sarcasting mails and their not even counted. damn you dan. damn you btw, how did you build the sarcasms detect script? ;D my oh my I'm in good mood this morning. On Friday 08 February 2008 22:00:40 PostTrack [Dan Brown]

[PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Mary Anderson
Hi all, I am getting tired of writing echo statements for almost every parameter, then deleting them while I am writing code. I would really like a debugger which would work with my browser. I have run across an open source one, Xdebug, and would like to hear of other's experience with

Re: [PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Nathan Nobbe
On Feb 9, 2008 11:48 AM, Mary Anderson [EMAIL PROTECTED] wrote: Hi all, I am getting tired of writing echo statements for almost every parameter, then deleting them while I am writing code. I would really like a debugger which would work with my browser. I have run across an open

[PHP] Re: issues with calling methods twice in a row

2008-02-09 Thread Nathan Rixham
Evening, with a great deal of assuming, I would assume that you are saving all these new users to database, in that database you have a unique key on the email address (as you should) and because you're using the same email address, the insert's are getting ignored. ie function runs, but no

Re: [PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Nathan Rixham
zend studio with zend debugger? Nathan Nobbe wrote: On Feb 9, 2008 11:48 AM, Mary Anderson [EMAIL PROTECTED] wrote: Hi all, I am getting tired of writing echo statements for almost every parameter, then deleting them while I am writing code. I would really like a debugger which would

Re: [PHP] php 4.x + mysql 5

2008-02-09 Thread Nathan Rixham
save passwords as sha2 or such like instead? further, it would appear that since the old password new password is set mysql server side, then php will have no bearing what so ever on how passwords are saved, seeing as it's mysql which will run the password() function and not php :) ps too

[PHP] Re: php file extension

2008-02-09 Thread Nathan Rixham
Often people install php4 and 5 on the same server, then configure .php to use the latest version of php(5) and anything with extension php4 to use the old`e php4. Thus, the file contents remain the same, however the way they are executed depends entirely on the server(s) config. Nathan

Re: [PHP] re: php file extension

2008-02-09 Thread Nathan Nobbe
and if you want even more superfluous information windows, more specifically, ntfs, doest support files with only capitalization differences in the file names. eg. WindowsSucks.txt windowssucks.txt -nathan

Re: [PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Nathan Nobbe
On Feb 9, 2008 3:02 PM, Nathan Rixham [EMAIL PROTECTED] wrote: It suddenly dawned on me that you are doing an echo for every paremeter, a debugger will never completely alleviate the need for this, however try using: print_r(get_defined_vars()); instead, that way you get everything output

Re: [PHP] PHP debugger recommendations, anyone?

2008-02-09 Thread Nathan Rixham
It suddenly dawned on me that you are doing an echo for every paremeter, a debugger will never completely alleviate the need for this, however try using: print_r(get_defined_vars()); instead, that way you get everything output that you could need, it's often also worth putting an exit(); after

Re: [PHP] Re: Order directory output

2008-02-09 Thread Børge Holen
On Saturday 09 February 2008 17:47:24 you wrote: The output is: 04.txt 01.txt 03.txt 02.txt 05.txt When the files are named: 01.txt 02.txt 03.txt 04.txt 05.txt jup fifo. first on the filesystem first out. Thanks, -- Steve M. on 2/9/08 5:36 AM Børge Holen ([EMAIL

[PHP] Better DB Class MySQL

2008-02-09 Thread nihilism machine
Looking to really beef up my DB class, any suggestions for functions to add that will be more time saving for a web 2.0 app, or ways to improve existing methods? thank you everyone in advance. ?php class db { // Members public $db_user = ; public $db_pass = ;

Re: [PHP] Better DB Class MySQL

2008-02-09 Thread Larry Garfield
http://www.php.net/pdo All the cool kids are doing it. On Saturday 09 February 2008, nihilism machine wrote: Looking to really beef up my DB class, any suggestions for functions to add that will be more time saving for a web 2.0 app, or ways to improve existing methods? thank you everyone in

Re: [PHP] Better DB Class MySQL

2008-02-09 Thread Nathan Nobbe
On Feb 9, 2008 7:03 PM, nihilism machine [EMAIL PROTECTED] wrote: Looking to really beef up my DB class, any suggestions for functions to add that will be more time saving for a web 2.0 app, or ways to improve existing methods? thank you everyone in advance. first of all, as a matter of

Re: [PHP] Better DB Class MySQL

2008-02-09 Thread Robert Cummings
On Sat, 2008-02-09 at 18:39 -0600, Larry Garfield wrote: http://www.php.net/pdo All the cool kids are doing it. I always told the cool kids to kiss my buttocks. You too can set yourself apart from the sheeple :) Cheers, Rob. -- ..

Re: [PHP] urgent !!! Please Help preg_replace !!!!!!!!!!!!!!!!!!!!!

2008-02-09 Thread Robert Cummings
On Sun, 2008-02-10 at 14:33 +0800, LKSunny wrote: //please run this script, you can get what problem i got $html = eof a href=aaa.htmlaaa/a a href=bbb.htmlcfdfd/a a href=aaa.htmlsfs sfsrbbb sfds/a a href=aaa.htmlcc gd c/a a href=aaa.htmlddd 123/a eof; /* i want replace