[PHP] PHP generated JavaScript

2006-02-19 Thread Tim Burgan
Is is possible to make an external Javascript with PHP. Am I doing this correcT? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive permissions

2006-02-19 Thread Curt Zirzow
On Sat, Feb 18, 2006 at 06:07:16PM -0500, tedd wrote: > >On 2/18/06, tedd <[EMAIL PROTECTED]> wrote: > >> Hi gang: > >> > >> Question: I know you can set a directory to have certain permissions, > >> but how do you set the permissions to be recursive? In other words, > >> for example, if you set th

Re: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Delamatrix
Thanks for all the help! I'll check it out. - Delamatrix Weber Sites LTD wrote: Maybe this can help : Authentication script to authenticate users in Active Directory through LDAP. http://www.weberdev.com/get_example-3261.html Sincerely berber Visit the Weber Sites Today, To see wher

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread Gerry Danen
How would a bot find it though? On 2/19/06, comex <[EMAIL PROTECTED]> wrote: > > You got me. Where are you hiding it? > > In test.js: > http://www.xn--ovg.com/no_bot/rpc.php?action=one > > Unless you hide it in a different place each time, how useful is that? -- PHP General Mailing List (http://w

Re: [PHP] Looping from A to Z

2006-02-19 Thread Jim McIntyre
>>Good afternoon. I'm having trouble getting PHP to loop from A >>through Z. Here is what I tried, coming from a C background: >> >>for ($l = "A"; $l <= "Z"; $l++) >> echo $l; >> >>// Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!) >> >>Interestingly, i

Re: [PHP] Recursive permissions

2006-02-19 Thread Chris
I am aware of how to change the contents of a directory to a specific chmod using a recursive php routine, but I was looking for a simpler way. That's the only way. Doing it through ftp, the ftp program does the recursive stuff - not the ftp server. -- PHP General Mailing List (http://www.

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread comex
> You got me. Where are you hiding it? In test.js: http://www.xn--ovg.com/no_bot/rpc.php?action=one Unless you hide it in a different place each time, how useful is that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread Gerry Danen
You got me. Where are you hiding it? Gerry On 2/19/06, tedd <[EMAIL PROTECTED]> wrote: > Manuel: > > >A good CAPTCHA must be fuzzy. If you know other fuzzy CAPTCHA besides > >these, it may help to sharing that knowledge. > > Try this: > > http://xn--ovg.com/no_bot > > The point of CAPTCHA is to p

Re: [PHP] Looping from A to Z

2006-02-19 Thread tedd
Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++) echo $l; // Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!) Interestingly, if I make it a "

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread tedd
Manuel: A good CAPTCHA must be fuzzy. If you know other fuzzy CAPTCHA besides these, it may help to sharing that knowledge. Try this: http://xn--ovg.com/no_bot The point of CAPTCHA is to provide something that a bot can't figure out, but a human can, right? Well, for a bot to figure out t

[PHP] Re: Looping from A to Z

2006-02-19 Thread Al
Richard K Miller wrote: Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++) echo $l; // Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!) Intere

Re: [PHP] Looping from A to Z

2006-02-19 Thread Philip Hallstrom
Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++) echo $l; // Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!) Interestingly, if I make it a "les

[PHP] Looping from A to Z

2006-02-19 Thread Richard K Miller
Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++) echo $l; // Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ. (26 * 26 results!) Interestingly, if I make it a

RE: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Weber Sites LTD
Maybe this can help : Authentication script to authenticate users in Active Directory through LDAP. http://www.weberdev.com/get_example-3261.html Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. Search for PHP Code from your browser http://toolbar.w

Re: [PHP] regular pattern to mat ch �

2006-02-19 Thread Curt Zirzow
On Sat, Feb 18, 2006 at 10:42:04PM +0100, Patrick wrote: > im trying to get my regular pattern to allow ������ but it refuses to, > i have something like this: > > [^a-zA-Z������0-9-_ ] > > But this dosent seem to work, anyone got any ideas? Quite a few actually: - you

Re: [PHP] Subtracting Large Numbers

2006-02-19 Thread Rory Browne
I would guess integer overflow. On 2/17/06, Bruce <[EMAIL PROTECTED]> wrote: > > I am puzzled by the following code: > > print "MaxInt=".PHP_INT_MAX; > $AA = -190668411; > $BB = -2181087916; > print "AA=$AA"; > print "BB=$BB"; > $AA = (int)$AA + (int)$BB; > print "AA+BB=$AA"; > ?> > > On some sys

[PHP] DOM XML : set_attribute()

2006-02-19 Thread Jils Abhilash
Hi, I am working with PHP 4.3 on windows. I am using PHP DOM functions to update the XML file. When I try to set the attribute of a particular node, the subsequent get returns the set value, but it doesn't reflect in the memory structure. echo "###",$build_node->get_attribute('path'); => this r

Re: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Kim Christensen
On 2/19/06, Golden Butler <[EMAIL PROTECTED]> wrote: > I'm currently running OpenLDAP with some users populated in the > database. I would like to use PHP to create a web page where my ldap > users can enter their username and password credentials to log into our > intranet. Can someone point me

Re: [PHP] Recursive permissions

2006-02-19 Thread Kim Christensen
On 2/19/06, tedd <[EMAIL PROTECTED]> wrote: > Perhaps this is something limited to GoLive and not an option in > setting chmod's via php's built-in functions. This is clearly depending on the host OS/ftp daemon and what permission is set on the upload folder. What GoLive! probably does with that c