Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
[SOLVED] Just wanted to let you all know I resolved all my problems. AUTH_USER holds a value once I go into IIS/Default Website and go tot he properties of my application folder. Deselect the Anonymous Access and check Intergrated Windows Authentication. For my connection issue I needed version

[PHP] Using DOM textContent Property

2008-09-02 Thread Tim Gustafson
Hello, I am writing a filter in PHP that takes some HTML as input and goes through the HTML and adjusts certain tag attributes as needed. So, for example, if tag is missing the "title" attribute, this filter adds a title attribute to the tag. I'm doing this all using PHP 5 and the DOM parsing

Re: [PHP] Secure way to handle pw on session.

2008-09-02 Thread Micah Gersten
If one does not know where the session data is, one cannot inject code to expose it. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Robert Cummings wrote: > On Tue, 2008-09-02 at 14:45 -0500, Micah Gersten wrote: > >> Take a look at this: >> http://us2.ph

Re: [PHP] Secure way to handle pw on session.

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 16:22 -0500, Micah Gersten wrote: > If one does not know where the session data is, one cannot inject code > to expose it. PHP knows where the session data is, the very function you gave provides the path to it also. If you've got code injection then you've got someone who ca

Re: [PHP] Secure way to handle pw on session.

2008-09-02 Thread Micah Gersten
I thought he'd be more worried about something like 'cat /tmp/sess_*'. Also, you can enable the save_path in the ini file or htaccess file and then disable the PHP function in the ini file. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Robert Cummings wrote

Re: [PHP] Using DOM textContent Property

2008-09-02 Thread Nathan Nobbe
On Tue, Sep 2, 2008 at 3:18 PM, Tim Gustafson <[EMAIL PROTECTED]> wrote: > And then I tried looking at the textContent property of each node, but it > seems that higher-level nodes include all the text of their children nodes > (which is what the DOM documents say it should). But there doesn't ap

Re: [PHP] Google Chrome

2008-09-02 Thread TG
Mouse wheel works fine for me. - Original Message - From: "Douglas Temple" <[EMAIL PROTECTED]> To: "Robert Cummings" <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Date: Tue, 2 Sep 2008 21:04:30 +0100 Subject: Re: [PHP] Google Chrome > Beta or not, it's still amazingly fast. > Despite

Re: [PHP] Secure way to handle pw on session.

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 9:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Tue, Sep 2, 2008 at 4:06 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > On Tue, 2008-09-02 at 12:58 -0700, mike wrote: > >> As an additional note suhosin can transparently encrypt and decrypt > >> your session data f

[PHP] PHP 5.3.0alpha2

2008-09-02 Thread Lukas Kahwe Smith
Hello! Johannes has packed PHP 5.3.0alpha2 yesterday, which you can find here: http://downloads.php.net/johannes/ Windows binaries (optimized for various versions of Windows) are available from the new website dedicated to PHP's windows binaries: http://windows.php.net/downloads.php Please t

RE: [PHP] Using DOM textContent Property

2008-09-02 Thread Tim Gustafson
> if a node has children, then its not a leaf, so i imagine > you could continue to traverse until you reach the leaf > that actually has the address needing magical conversion. I tried that. $Element->hasChildNodes() returns true for just about everything except tags like and that have no corr

[PHP] Re: [PHP-DEV] PHP 5.3.0alpha2

2008-09-02 Thread Lukas Kahwe Smith
On 03.09.2008, at 00:27, Lukas Kahwe Smith wrote: Hello! Johannes has packed PHP 5.3.0alpha2 yesterday, which you can find here: http://downloads.php.net/johannes/ Windows binaries (optimized for various versions of Windows) are available from the new website dedicated to PHP's windows b

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Govinda
You guys got me on the right track, but: On my Mac OS10.5.4/Apache2/webmin local (dev) setup (of which I know very little) I managed to find "php.ini.default", make a copy while renaming to "php.ini", open the copy (php.ini), and change that "on" to an "off" (the only one of the 3 that was

[PHP] PHP: Mulitiple Arrary Sort

2008-09-02 Thread Vernon
I've gotten the one array down and I've figured out how to sort that array, however, I need to sort the array by the modified date of the file. Here's what I got so far: "; } } } ?> Any ideas on how to fix this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Recommendation

2008-09-02 Thread Dan Joseph
On Tue, Sep 2, 2008 at 3:08 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote: > [snip] > ... > [/snip] > > Who is going to create the group? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Well, I guess if no one is volunteering, I can c

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Seung Park
1) did you restart the server to take advantage of the new settings? 2) are you sure you're running the php.ini at all? (run phpinfo() from a page to make sure that the server has read the right copy of php.ini) On Tue, Sep 2, 2008 at 4:12 PM, Govinda <[EMAIL PROTECTED]> wrote: > You guys go

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Govinda
On Sep 2, 2008, at 6:02 PM, Seung Park wrote: 1) did you restart the server to take advantage of the new settings? no. That was it. Solved. Sorry for what turned out to be OT. When we're that green, we don't know OT from T. 2) are you sure you're running the php.ini at all? (run phpi

Re: [PHP] Google Chrome

2008-09-02 Thread Haig Dedeyan
On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: Does anyone know what this implies? It's the 2nd section from their license agreement: "By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce

Re: [PHP] Google Chrome

2008-09-02 Thread Diogo Neves
On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan <[EMAIL PROTECTED]> wrote: > On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: > > Does anyone know what this implies? It's the 2nd section from their license > agreement: > > "By submitting, posting or displaying the content you give Google a > perp

Re: [PHP] Google Chrome

2008-09-02 Thread Haig Dedeyan
On September 2, 2008 09:33:30 pm Haig Dedeyan wrote: > On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan <[EMAIL PROTECTED]> wrote: > > On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: > > > > Does anyone know what this implies? It's the 2nd section from their > > license agreement: > > > > "By subm

Re: [PHP] Google Chrome

2008-09-02 Thread Diogo Neves
On Wed, Sep 3, 2008 at 2:36 AM, Haig Dedeyan <[EMAIL PROTECTED]> wrote: > On September 2, 2008 09:33:30 pm Haig Dedeyan wrote: > > On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan <[EMAIL PROTECTED]> > wrote: > > > On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: > > > > > > Does anyone know what

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-02 Thread Chris
// if $files[] exists, sort it and print all elements in it. if(is_array($files)){ //HERE IS MY CURRENT SORT WHICH I KNOW I NEED TO CHANGE BUT AM UNSURE HOW sort($files); foreach($files as $file){ $completeFileName = $dir . $file; //I WANT TO SORT BY THIS echo date("m-d-Y", filemtime($completeFi

Re: [PHP] Secure way to handle pw on session.

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 5:58 PM, Diogo Neves <[EMAIL PROTECTED]> wrote: > > > On Tue, Sep 2, 2008 at 9:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >> >> On Tue, Sep 2, 2008 at 4:06 PM, Robert Cummings <[EMAIL PROTECTED]> >> wrote: >> > On Tue, 2008-09-02 at 12:58 -0700, mike wrote: >> >> As an add

Re: [PHP] Recommendation

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 7:55 PM, Dan Joseph <[EMAIL PROTECTED]> wrote: > On Tue, Sep 2, 2008 at 3:08 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote: > >> [snip] >> ... >> [/snip] >> >> Who is going to create the group? >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit:

Re: [PHP] Recommendation

2008-09-02 Thread Shawn McKenzie
Dan Joseph wrote: What about also creating a PHP General List group? Has anyone created Groups on linkedin before? Maybe we could get quite a few people "linked" thru one? Well, if you go to groups, groups directory here are already quite a few PHP groups. That's why I haven't joined one.

Re: [PHP] PHP: Mulitiple Arrary Sort

2008-09-02 Thread Jim Lucas
Vernon wrote: I've gotten the one array down and I've figured out how to sort that array, however, I need to sort the array by the modified date of the file. Here's what I got so far: "; } } } ?> Any ideas on how to fix this? Thanks We need to see what is in the array, not just how you th

Re: [PHP] Google Chrome

2008-09-02 Thread Per Jessen
Stut wrote: > On 2 Sep 2008, at 20:23, Diogo Neves wrote: >> Now is the time ;) > > Indeed: http://www.google.com/chrome > > But only for Windows for now :( > I guess we'll have to wait a little longer then ... /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Individual bulk e-mails - performance question (was "skinning a cat") :-)

2008-09-02 Thread Micah Gersten
Robert Cummings wrote: > On Mon, 2008-09-01 at 14:34 +0200, Merlin Morgenstern wrote: > >> Per Jessen schrieb: >> >>> Jochem Maas wrote: >>> >>> > lockfile=/var/lock//file > # clear out a lock older than 60mins > find $lockfile -cmin +60 | xargs rm > test ! -f $lockf

[PHP] Re: Using DOM textContent Property

2008-09-02 Thread Lupus Michaelis
Tim Gustafson a écrit : $Elements = $HTML->getElementsByTagName("*"); for ($X = 0; $X < $Elements->length; $X++) { ... SNIP ... } Why don't use the XPath ? This query fetch all a element

Re: [PHP] Individual bulk e-mails - performance question (was "skinning a cat") :-)

2008-09-02 Thread Robert Cummings
On Wed, 2008-09-03 at 00:55 -0500, Micah Gersten wrote: > Robert Cummings wrote: > > On Mon, 2008-09-01 at 14:34 +0200, Merlin Morgenstern wrote: > > > >> Per Jessen schrieb: > >> > >>> Jochem Maas wrote: > >>> > >>> > > lockfile=/var/lock//file > > # clear out a lock older t

Re: [PHP] Google Chrome

2008-09-02 Thread Jochem Maas
Haig Dedeyan schreef: On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: Does anyone know what this implies? It's the 2nd section from their license agreement: "By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclu

<    1   2