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

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

[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 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

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] 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] 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] 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] 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] 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] 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] 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: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 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] 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] 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] 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

[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] 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] 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] 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] 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] 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

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] 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] 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] 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
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

[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] 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

Re: [PHP] Google Chrome

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 4:10 PM, Douglas Temple <[EMAIL PROTECTED]> wrote: > Once. > > 'Nuff said. > I used to hate it. After using it for a while though I noticed that it rendered pages faster than all the other browsers I use. Too bad the developer console isn't as nice as firebug though. :) -

Re: [PHP] Google Chrome

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 21:10 +0100, Douglas Temple wrote: > Once. .. twice, three times a lady?? > 'Nuff said. Sorry, not enuff for me... not sure how it applies to the thread. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (

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

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 16:10 -0400, Eric Butera 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 for reasons just like

Re: [PHP] Google Chrome

2008-09-02 Thread Douglas Temple
Once. 'Nuff said.

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

2008-09-02 Thread Eric Butera
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 for reasons just like the /tmp issue. It happens >> without you needing to configur

Re: [PHP] Google Chrome

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 4:04 PM, Douglas Temple <[EMAIL PROTECTED]> wrote: > Beta or not, it's still amazingly fast. > Despite the fact you can't scroll up with the mouse wheel... > Ever use Safari? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

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

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 12:58 -0700, mike wrote: > As an additional note suhosin can transparently encrypt and decrypt > your session data for reasons just like the /tmp issue. It happens > without you needing to configure anything (except to enable or disable > it) I think it is enabled by def

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

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:45 -0500, Micah Gersten wrote: > Take a look at this: > http://us2.php.net/manual/en/function.session-save-path.php This won't help since the OP mentioned he was worried about code injection exposing the contents of $_SESSION. Cheers, Rob. -- http://www.interjinn.com App

Re: [PHP] Google Chrome

2008-09-02 Thread Douglas Temple
Beta or not, it's still amazingly fast. Despite the fact you can't scroll up with the mouse wheel...

Re: [PHP] Google Chrome

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 20:38 +0100, 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 :( Oh well, guess I'll have to run it in vmware. Fortunately I have a dedicate 1TB drive for vmware applia

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

2008-09-02 Thread mike
As an additional note suhosin can transparently encrypt and decrypt your session data for reasons just like the /tmp issue. It happens without you needing to configure anything (except to enable or disable it) I think it is enabled by default. On Sep 2, 2008, at 12:35 PM, "Dan Joseph" <[EMA

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
> I got the linux version coming soon message myself. It will probably > be instructions on how to install wine, right? ;) Or Windows... :-) -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
> www.google.com/chrome > > Now is the time ;) Sadly, my bedtime looms. Tomorrow I think... -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-09-02 Thread Micah Gersten
Take a look at this: http://us2.php.net/manual/en/function.session-save-path.php Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com k bah wrote: > Hi, > > I noticed session files are kept on /tmp for a while, and even if they were > immediately deleted, well,

Re: [PHP] Google Chrome

2008-09-02 Thread Dan Joseph
On Tue, Sep 2, 2008 at 3:38 PM, Stut <[EMAIL PROTECTED]> 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 :( > > -Stut > > -- > http://stut.net/ > > -- > PHP General Mailing List (http://www.ph

Re: [PHP] Google Chrome

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 3:38 PM, Stut <[EMAIL PROTECTED]> 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 :( > > -Stut > > -- > http://stut.net/ > > -- > PHP General Mailing List (http://www.php.n

Re: [PHP] Google Chrome

2008-09-02 Thread Thiago Melo de Paula
Yes, and the proxy configuration lauches the IE configuration window! On Tue, Sep 2, 2008 at 4:38 PM, Stut <[EMAIL PROTECTED]> 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 :( > > -Stut >

Re: [PHP] Google Chrome

2008-09-02 Thread Stut
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 :( -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-09-02 Thread Dan Joseph
On Tue, Sep 2, 2008 at 3:27 PM, k bah <[EMAIL PROTECTED]> wrote: > > Hi, > > I noticed session files are kept on /tmp for a while, and even if they > were immediately deleted, well, someone could use one of my php scripts to > inject code and read them, since they belong to the httpd user. > Wh

[PHP] Secure way to handle pw on session.

2008-09-02 Thread k bah
Hi, I noticed session files are kept on /tmp for a while, and even if they were immediately deleted, well, someone could use one of my php scripts to inject code and read them, since they belong to the httpd user. What's the best way to receive passwords thru a form and store them in the $_

[PHP] Re: geolocation

2008-09-02 Thread zerof
clive escreveu: Hi, Have any developed a site that determines a users location based on IP address, Im not looking for accurate locations, just what country they are coming from. I know I could possible get a list of IP blocks allocated to countries or make use of some web server to get th

Re: [PHP] Google Chrome

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 4:33 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > Hi, > > And more about it: > > http://news.bbc.co.uk/1/hi/technology/7593106.stm > > -- > Richard Heyes > > HTML5 Graphing for IE7, FF, Opera and Safari: > http://www.phpguru.org/RGraph > > -- > PHP General Mailing List (ht

Re: [PHP] Confused

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 3:15 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: >> Yea I thought the same that is why I recommended the looking at logs idea. >> >> Perhaps maybe just running form cli will do it: >> >> [EMAIL PROTECTED]:~/Sites$ php5 blah.php >> Point 1 >> Fatal error: Call to undefined funct

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
> > Yea I thought the same that is why I recommended the looking at logs idea. > > Perhaps maybe just running form cli will do it: > > [EMAIL PROTECTED]:~/Sites$ php5 blah.php > Point 1 > Fatal error: Call to undefined function ifx_connect() in > /home/eric/Sites/blah.php on line 3 You probably

Re: [PHP] Confused

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 2:49 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2008-09-02 at 14:46 -0400, Robert Cummings wrote: >> On Tue, 2008-09-02 at 14:43 -0400, Dan Shirah wrote: >> > So you're script runs long enough for you to check? >> > >> > Cheers, >> > Rob.

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
> Does your script, the apache conf, virtual host conf, or a .htaccess > conf modify this setting? perhaps php.ini has more than one > display_errors entries? > > Cheers, > Rob. PROGRESS! It just clicked! About 3 years ago when I setup my first PHP server on Windows I saw someone mention that c

RE: [PHP] Recommendation

2008-09-02 Thread Jay Blanchard
[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

Re: [PHP] Confused

2008-09-02 Thread David Giragosian
On 9/2/08, Dan Shirah <[EMAIL PROTECTED]> wrote: > > > > > Your script is dying then. What does the error log say? Are you sure PHP > > is using the php.ini you think it's using? Double check by using > > phpinfo(). > > > > Cheers, > > Rob. > > > It is VERY strange! phpinfo() shows that it is usin

Re: [PHP] Confused

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 8:04 PM, Robert Cummings <[EMAIL PROTECTED]>wrote: > On Tue, 2008-09-02 at 14:58 -0400, Dan Shirah wrote: > > Your script is dying then. What does the error log say? Are > > you sure PHP > > is using the php.ini you think it's using? Double check by >

Re: [PHP] Confused

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 7:58 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: > > > > Your script is dying then. What does the error log say? Are you sure PHP > > is using the php.ini you think it's using? Double check by using > > phpinfo(). > > > > Cheers, > > Rob. > > > It is VERY strange! phpinfo() s

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:58 -0400, Dan Shirah wrote: > Your script is dying then. What does the error log say? Are > you sure PHP > is using the php.ini you think it's using? Double check by > using > phpinfo(). > > Cheers, > Rob. >

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
> > Your script is dying then. What does the error log say? Are you sure PHP > is using the php.ini you think it's using? Double check by using > phpinfo(). > > Cheers, > Rob. It is VERY strange! phpinfo() shows that it is using C:\Windows\php.ini phpinfo() also shows display_errors = Off but w

Re: [PHP] Recommendation

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:42 -0400, Eric Butera wrote: > On Tue, Sep 2, 2008 at 2:35 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-09-02 at 14:07 -0400, Bastien Koert wrote: > >> On Tue, Sep 2, 2008 at 11:15 AM, Shawn McKenzie <[EMAIL PROTECTED]>wrote: > >> > >> > Eric Butera wrote

RE: [PHP] Recommendation

2008-09-02 Thread Jay Blanchard
[snip] 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? [/snip] I am on LinkedIn and having a group would be very cool. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Recommendation

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 2:35 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2008-09-02 at 14:07 -0400, Bastien Koert wrote: >> On Tue, Sep 2, 2008 at 11:15 AM, Shawn McKenzie <[EMAIL PROTECTED]>wrote: >> >> > Eric Butera wrote: >> > >> >> I'm on there too. >> >> >> >> http://www.linkedin.c

Re: [PHP] Recommendation

2008-09-02 Thread Dan Joseph
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? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:46 -0400, Robert Cummings wrote: > On Tue, 2008-09-02 at 14:43 -0400, Dan Shirah wrote: > > So you're script runs long enough for you to check? > > > > Cheers, > > Rob. > > > > if (!$connect_id = ifx_connect("[EMAIL PROTECTED]", $user, $pa

Re: [PHP] Recommendation

2008-09-02 Thread Bastien Koert
On Tue, Sep 2, 2008 at 11:15 AM, Shawn McKenzie <[EMAIL PROTECTED]>wrote: > Eric Butera wrote: > >> I'm on there too. >> >> http://www.linkedin.com/in/ericbutera >> > > Me too... > > http://www.linkedin.com/in/rsmckenzie > > -Shawn > > > -- > PHP General Mailing List (http://www.php.net/) > To uns

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:43 -0400, Dan Shirah wrote: > So you're script runs long enough for you to check? > > Cheers, > Rob. > > if (!$connect_id = ifx_connect("[EMAIL PROTECTED]", $user, $pass)) { > > Checks to see if it doesn't connect. If it does connect th

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
> > So you're script runs long enough for you to check? > > Cheers, > Rob. if (!$connect_id = ifx_connect("[EMAIL PROTECTED]", $user, $pass)) { Checks to see if it doesn't connect. If it does connect the page continues to process. If it doesn't connect the error is displayed. echo "Unable to c

Re: [PHP] Re: concatenating with "." or ","

2008-09-02 Thread Thodoris
1982 Thank you guys it is a late reply but you really make me feel so young and cunning. -- Thodoris O/H Robert Cummings ??: On Wed, 2008-08-27 at 14:44 -0400, tedd wrote: At 1:24 PM -0400 8/27/08, Robert Cummings wrote: On Wed, 2008-08-27 at 13:17 -0400, tedd wrote: > As i

Re: [PHP] Confused

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 1:46 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: > If it was that simple then the second line: echo "Unable to connect to > Informix Database\n"; would execute upon the connection failing and that > message would be output to my screen. I get Nothing. > > Just as a simple cal

Re: [PHP] Recommendation

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:07 -0400, Bastien Koert wrote: > On Tue, Sep 2, 2008 at 11:15 AM, Shawn McKenzie <[EMAIL PROTECTED]>wrote: > > > Eric Butera wrote: > > > >> I'm on there too. > >> > >> http://www.linkedin.com/in/ericbutera > >> > > > > Me too... > > > > http://www.linkedin.com/in/rsmckenz

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:27 -0400, Dan Shirah wrote: > > > > Add the following: > > > > > > > echo ''."\n" > > print_r( $_SERVER ); > > echo ''."\n"; > > > > ?> > > > > See if the AUTH_USER entry is in there. > > > AUTH_USER shows up, but does not have a value. From the output of phpinfo() > it

Re: [PHP] Creating single row for multiple items.

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 7:17 PM, brian <[EMAIL PROTECTED]> wrote: > Tom Shaw wrote: > >> My array looks very similar to this. I need to create a single row for the >> items that have the same order number for CSV export. I'd prefer to do >> this >> PHP wise instead of SQL. But would appreciate any

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 5:49 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Shawn McKenzie schreef: > >> Jochem Maas wrote: >> >>> Dave M G schreef: >>> PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
> > Add the following: > > > echo ''."\n" > print_r( $_SERVER ); > echo ''."\n"; > > ?> > > See if the AUTH_USER entry is in there. AUTH_USER shows up, but does not have a value. From the output of phpinfo() it says, "No value" How do you know you don't get a connection to the database? What is

Re: [PHP] Creating single row for multiple items.

2008-09-02 Thread brian
Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. $ar = array( array( "order_id" => "34", "orde

Re: [PHP] Confused

2008-09-02 Thread brian
Dan Shirah wrote: All, Okay, I am a bit confused. I'm setting up another server to host PHP pages. I followed everything in the Manual for installing PHP. I'm running Windows Server 2003, IIS6.0 and PHP 5.2.6. And...it kind of works... If I do: it prints fine. If I do: Today is: it print

Re: [PHP] Re: concatenating with "." or ","

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 20:58 +0300, Thodoris wrote: > 1982 > > Thank you guys it is a late reply but you really make me feel so young > and cunning. This begs the question... are you also a linguist? Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP

RE: [PHP] Confused

2008-09-02 Thread Simcha
Ignore my previous email - It was sloppy. I was not focusing on the email. SY -Original Message- From: Simcha [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 8:41 PM To: 'Dan Shirah'; 'PHP List' Subject: RE: [PHP] Confused This does not seem to be an installation problem -

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
If it was that simple then the second line: echo "Unable to connect to Informix Database\n"; would execute upon the connection failing and that message would be output to my screen. I get Nothing. Just as a simple call to returns nothing as well. On 9/2/08, Simcha <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 13:31 -0400, Dan Shirah wrote: > All, > > Okay, I am a bit confused. I'm setting up another server to host PHP > pages. I followed everything in the Manual for installing PHP. I'm running > Windows Server 2003, IIS6.0 and PHP 5.2.6. > > And...it kind of works... > > If

RE: [PHP] Confused

2008-09-02 Thread Simcha
This does not seem to be an installation problem - Your test [(!$connect_id = ] fails, since the connect returns false, so it does not run the condition. Compare: -Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 7:31 PM To: PHP List Subj

[PHP] Confused

2008-09-02 Thread Dan Shirah
All, Okay, I am a bit confused. I'm setting up another server to host PHP pages. I followed everything in the Manual for installing PHP. I'm running Windows Server 2003, IIS6.0 and PHP 5.2.6. And...it kind of works... If I do: it prints fine. If I do: Today is: it prints fine. If I do: Yo

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread seungp
IIRC. That's covered under magic quotes . You should be able to turn that off via a config switch in php.ini or .htaccess. -Original Message- From: Govinda <[EMAIL PROTECTED]> Date: Mon, 1 Sep 2008 20:21:10 To: PHP-General List Subject: [PHP] newbie - PHP escaping trigger happy Just

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Jochem Maas
Shawn McKenzie schreef: Jochem Maas wrote: Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desk

Re: [PHP] Re: skinning a cat

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 18:02 +0200, Per Jessen wrote: > Robert Cummings wrote: > > > You originally said it was overkill to use my lock class and then went > > on to show your shell script doing similar. To which I then responded > > try running the shell script in windows. To which you've now sugg

Re: [PHP] Re: skinning a cat

2008-09-02 Thread Per Jessen
Robert Cummings wrote: > You originally said it was overkill to use my lock class and then went > on to show your shell script doing similar. To which I then responded > try running the shell script in windows. To which you've now suggested > installing cygwin. Well, no I haven't, but feel free

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Richard Heyes
> By the way, another thing I'm trying to do is reliably test to see if a > browser accepts cookies. I just looked through your PHP blog, and didn't see > that specifically listed, but since I'm emailing you already, may I ask if > you have a script that does that? Or a good recommendation? Just s

Re: [PHP] Re: What's with the Rx symbol?

2008-09-02 Thread Andrew Ballard
On Sun, Aug 31, 2008 at 9:53 AM, tedd <[EMAIL PROTECTED]> wrote: > At 2:21 PM -0400 8/30/08, Andrew Ballard wrote: >> >> On Sat, Aug 30, 2008 at 11:38 AM, tedd <[EMAIL PROTECTED]> wrote: >> > I think making the URL RED would be a better warning than showing >> PUNYCODE >>> >>> -- but that's my op

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
Hi, And more about it: http://news.bbc.co.uk/1/hi/technology/7593106.stm -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Shawn McKenzie
Jochem Maas wrote: Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desktop or mobile. Part of

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Dave M G
Richard, Thanks for responding. http://www.phpguru.org/static/browser.html I may just do that. If it works out for my needs, I'll let you know. Really, right now I'm doing browser detection to simply sort incoming browsers into desktops, bots, and mobile. If I can get your script to do tha

Re: [PHP] Recommendation

2008-09-02 Thread Shawn McKenzie
Eric Butera wrote: I'm on there too. http://www.linkedin.com/in/ericbutera Me too... http://www.linkedin.com/in/rsmckenzie -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Google Chrome

2008-09-02 Thread David Giragosian
On 9/2/08, Bastien Koert <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 2, 2008 at 10:52 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > > > If MS doesn't, then why on Earth should we? ;) > > > > Because there aren't enough high horses to go around... :-) > > > > -- > > Richard Heyes > > > > HTML5 Gra

Re: [PHP] Google Chrome

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 11:03 -0400, Bastien Koert wrote: > On Tue, Sep 2, 2008 at 10:52 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > > > If MS doesn't, then why on Earth should we? ;) > > > > Because there aren't enough high horses to go around... :-) > > > > > Just when things were getting dul

Re: [PHP] Google Chrome

2008-09-02 Thread Bastien Koert
On Tue, Sep 2, 2008 at 10:52 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > If MS doesn't, then why on Earth should we? ;) > > Because there aren't enough high horses to go around... :-) > > -- > Richard Heyes > > HTML5 Graphing for IE7, FF, Opera and Safari: > http://www.phpguru.org/RGraph > >

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
> If MS doesn't, then why on Earth should we? ;) Because there aren't enough high horses to go around... :-) -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Recommendation

2008-09-02 Thread Eric Butera
I'm on there too. http://www.linkedin.com/in/ericbutera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >