php-general Digest 2 Sep 2008 14:23:37 -0000 Issue 5659

2008-09-02 Thread php-general-digest-help
php-general Digest 2 Sep 2008 14:23:37 - Issue 5659 Topics (messages 279243 through 279275): Re: newbie - PHP escaping trigger happy 279243 by: Eric Butera Re: Shared memory, mutex functionality and spawning threads. Is it possible using PHP? 279244 by: Micah Gersten

[PHP] Re: Shared memory, mutex functionality and spawning threads. Is it possible using PHP?

2008-09-02 Thread Colin Guthrie
Kent Larsson wrote: Thank you for your answer. I was hoping there were a solution. :-/ It would have been nice as PHP has a large install base and is a quite common element in cheap web hosting solutions. Has anyone else got any more comments or suggestions? In absence of shared memory and

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 4:39 AM, Dave M G [EMAIL PROTECTED] wrote: 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

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Jochem Maas
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 the code looks like

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

2008-09-02 Thread Jochem Maas
Robert Cummings schreef: 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 $lockfile ( touch $lockfile run some php rm -f

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Richard Heyes
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. Try another detection script. Eg my own:

[PHP] Google Chrome

2008-09-02 Thread Richard Heyes
Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? http://www.google.com/googlebooks/chrome/ -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General

Re: [PHP] Google Chrome

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 12:21 PM, Richard Heyes [EMAIL PROTECTED] wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? http://www.google.com/googlebooks/chrome/ -- Richard Heyes HTML5

Re: [PHP] Google Chrome

2008-09-02 Thread Per Jessen
Richard Heyes wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? Can anyone say even more money effort wasted on testing webpages :-( /Per Jessen, Zürich -- PHP General Mailing List

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
why not wait by the real thing is out? By the looks of it, the release is imminent. -- 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] Google Chrome

2008-09-02 Thread Stut
On 2 Sep 2008, at 12:34, Per Jessen wrote: Richard Heyes wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? Can anyone say even more money effort wasted on testing webpages :-(

Re: [PHP] Google Chrome

2008-09-02 Thread Per Jessen
Stut wrote: On 2 Sep 2008, at 12:34, Per Jessen wrote: Richard Heyes wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? Can anyone say even more money effort wasted on testing webpages

Re: [PHP] Google Chrome

2008-09-02 Thread Luke
isn't the webkit based on KHTML? 2008/9/2 Stut [EMAIL PROTECTED] On 2 Sep 2008, at 12:34, Per Jessen wrote: Richard Heyes wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? Can anyone say

Re: [PHP] Google Chrome

2008-09-02 Thread shiplu
Google Chrome is not released yet, is it? Didn't get any download link. :-S -- A K M Mokaddim http://talk.cmyweb.net http://twitter.com/shiplu Stop Top Posting !!

Re: [PHP] Google Chrome

2008-09-02 Thread Per Jessen
Luke wrote: isn't the webkit based on KHTML? It's a fork of KHTML, yes. /Per Jessen, Zürich -- 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 Diogo Neves
On Tue, Sep 2, 2008 at 12:44 PM, shiplu [EMAIL PROTECTED] wrote: Google Chrome is not released yet, is it? Didn't get any download link. :-S Was what i said... it's a rumor... let da thing came out and u'll see your websites after... -- A K M Mokaddim http://talk.cmyweb.net

Re: [PHP] Google Chrome

2008-09-02 Thread Jochem Maas
Richard Heyes schreef: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? http://www.google.com/googlebooks/chrome/ to quote Han Solo : I have a bad feeling about this -- PHP General Mailing List

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
Can anyone say even more money effort wasted on testing webpages :-( Webkit-based, so no need to add any more testing than you do now. Are you going to take the gamble? :-) -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General

Re: [PHP] Google Chrome

2008-09-02 Thread Richard Heyes
Google Chrome is not released yet, is it? Didn't get any download link. :-S Can't find any download link. It maybe a few hours away. http://news.cnet.com/8301-17939_109-10030025-2.html -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP

Re: [PHP] Google Chrome

2008-09-02 Thread Jochem Maas
Richard Heyes schreef: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? http://www.google.com/googlebooks/chrome/ I've been reading this ... very well done all in all, on page 37 they say But Google

Re: [PHP] Google Chrome

2008-09-02 Thread Stut
On 2 Sep 2008, at 12:59, Richard Heyes wrote: Can anyone say even more money effort wasted on testing webpages :-( Webkit-based, so no need to add any more testing than you do now. Are you going to take the gamble? :-) I'll decide when I can play with it and the official announcement

[PHP] geolocation

2008-09-02 Thread clive
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 the information, I

Re: [PHP] geolocation

2008-09-02 Thread Schiz0
On Tue, Sep 2, 2008 at 9:05 AM, clive [EMAIL PROTECTED] wrote: 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

Re: [PHP] geolocation

2008-09-02 Thread Per Jessen
clive wrote: 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. We use the information from http://countries.nerd.dk/ - it's a simple DNS lookup. /Per Jessen, Zürich --

Re: [PHP] Recommendation

2008-09-02 Thread Dan Joseph
On Sat, Aug 30, 2008 at 8:38 AM, tedd [EMAIL PROTECTED] wrote: Hi gang: At 1:16 PM +0100 8/30/08, Stut wrote: Now, about that recommendation for my linked in profile... ;) That's not a bad idea. Daniel and I did an exchange a while back. I think it might help to land clients if we can

Re: [PHP] Re: skinning a cat

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 07:52 +0200, Per Jessen wrote: Lupus Michaelis wrote: Robert Cummings a écrit : Try running that on windows. No problem http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx And of course, there's also Cygwin. *lol* And I quote: Per

Re: [PHP] Google Chrome

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 12:36 +0100, Stut wrote: On 2 Sep 2008, at 12:34, Per Jessen wrote: Richard Heyes wrote: Hi, Looks like Google chrome is being released today (or soon). IE, Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser war? Can anyone say even more

Re: [PHP] geolocation

2008-09-02 Thread Jignesh Thummar
You can use this one also http://ip-to-country.webhosting.info/ This is being used by php.net site - to find country specific mirror. You can get sample code here : http://www.ruturaj.net/tutorials/php/ip-to-country Regards, Jignesh On Tue, Sep 2, 2008 at 2:18 PM, Per Jessen [EMAIL PROTECTED]

Re: [PHP] Re: skinning a cat

2008-09-02 Thread Per Jessen
Robert Cummings wrote: On Tue, 2008-09-02 at 07:52 +0200, Per Jessen wrote: Lupus Michaelis wrote: Robert Cummings a écrit : Try running that on windows. No problem http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx And of course, there's also Cygwin.

Re: [PHP] Google Chrome

2008-09-02 Thread Eric Butera
On Tue, Sep 2, 2008 at 10:12 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must not remember IE 5.5 on IE and IE 5.5 on Mac. They were quite different in annoying little places. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP It is pretty sweet

Re: [PHP] Re: skinning a cat

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 16:23 +0200, Per Jessen wrote: Robert Cummings wrote: On Tue, 2008-09-02 at 07:52 +0200, Per Jessen wrote: Lupus Michaelis wrote: Robert Cummings a écrit : Try running that on windows. No problem

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

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:

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

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 dull with IE8

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 Graphing for IE7, FF,

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

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] 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] 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 opinion. Cheers,

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 send

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 to

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 suggested

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

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 Listphp-general@lists.php.net Subject: [PHP] newbie - PHP

[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: ?php echo Test; ? it prints fine. If I do: Today is: ?php echo

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: ?php if($a = false){echo no good;}else{echo condition true;} ? -Original Message- From: Dan Shirah [mailto:[EMAIL

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 I do:

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 ?php echo substr($_SERVER['AUTH_USER'], 13); ? returns nothing as well.

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] 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 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: ?php echo Test; ? it prints fine. If I do:

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,

Re: [PHP] Confused

2008-09-02 Thread Dan Shirah
Add the following: ?php echo 'pre'.\n print_r( $_SERVER ); echo '/pre'.\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 the

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 browser accessing the site.

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 help I can

Re: [PHP] Confused

2008-09-02 Thread Robert Cummings
On Tue, 2008-09-02 at 14:27 -0400, Dan Shirah wrote: Add the following: ?php echo 'pre'.\n print_r( $_SERVER ); echo '/pre'.\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

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/rsmckenzie -Shawn --

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 call to

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

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 connect

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 the page

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 unsubscribe, visit:

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, $pass)) {

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] 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.com/in/ericbutera Me

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,

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: I'm on

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 when I

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. It is

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() shows that it is

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

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

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. if

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 don't

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 function

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

[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

[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

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. What's the

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] 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 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.net/) To

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.php.net/) To

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

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

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 appliances

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

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

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.php

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 configure

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 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 the /tmp

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

  1   2   >