Re: [PHP] Data from DB

2003-02-17 Thread David A Dickson
On Mon, 17 Feb 2003, Miguel Brás wrote: > Hello gents, > > I have a table with users and passwords with over than 100 rows. > I have 7 specific users that I wanna display on a page, as well their data. > > How can I display this specific users on the page? A little more information is need: 1.

[PHP] Locale install

2003-02-17 Thread David A Dickson
The system I am wroking on only has english locales. How do I install the french locales? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mktime() Algorithm

2002-02-06 Thread David A Dickson
I need to create a function in another programming language that takes the same input as the php mktime() function and produces the exact same output as the php mktime() function. Does anybody out there know what the algorithm is? -- David A Dickson [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] where can I find a good documentation on regular expressions?

2001-07-05 Thread David A Dickson
On Thu, 05 Jul 2001 14:33:55 Mick Foster wrote: >where can I find a good documentatio on regular expressions? >I´m desperate in need of it... Try the manual at www.php.net/manual/en Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ -- PHP General Mailing L

Re: [PHP] split() function

2001-07-04 Thread David A Dickson
Thanks that helped, this is what I used: if (ereg("&", $field)) $line = explode("&", $field); else $line = explode("//", $field); On Thu, 5 Jul 2001 05:29:11 ReDucTor wrote: >$line2 = explode("", $field); >for($i = 0; $i < sizeof($line2); $i++){ > if($line2[$i] == "&") > $useand = 1; >

Re: [PHP] split() function

2001-07-04 Thread David A Dickson
1 04:50:29 ReDucTor wrote: >$line = explode("[(&|//)]",$field); should work, or you might have to put > but thats not \ so you shouldn't need to comment out the slash... >- Original Message - >From: David A Dickson <[EMAIL PROTECTED]> >To: php-g

[PHP] split() function

2001-07-04 Thread David A Dickson
7; separator but if I do split('[&//]', $field); it splits on the '/' not the '//'. Can I do this in one function call to split() or will I have to do it twice? --- : David A. Dickson : Web Designer for the offices of Principal and Provost : McGill University : Tel 51

[PHP] Security of PHP code

2001-07-04 Thread David A Dickson
Is it possible for others to view the php code for pages I have written? I thought I heard someone say before that they could write a simple script to accomplish this. If anyone knows of any tacticts people might use to attack my code please post them hee. : David A. Dickson : [EMAIL PROTECTED

[PHP] HTTP authentication logout

2001-07-03 Thread David A Dickson
endPage(); } ?> For the logout option I tried just setting $PHP_AUTH_USER="" and $PHP_AUTH_PW="" but that didn't work. Any ideas on how I can do this? --- : David A. Dickson : [EMAIL PROTECTED] Get 250 color business cards for FREE! http://businesscards.lycos.com