[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] What can cause session_destroy to fail?

2007-06-11 Thread Jim Lucas
Mattias Thorslund wrote: Hi, One of my clients just received a PHP warning that session_destroy() failed. Using the default session handler (with tmp files), what are the most likely things that can cause session_destroy() to return false? Thanks for any suggestions. Mattias The session was

[PHP] Re: Not getting expected result from file()

2007-06-11 Thread kvigor
Found out the issue this afternoon. I realized that my .txt file was tab delimited and not space delimited. So I changed $space to equal $tab and query was successful! All is working now. Thanks to all who replied. I appreciate all. "David Robley" <[EMAIL PROTECTED]> wrote in message news:[

Re: [PHP] Login page error

2007-06-11 Thread Janet Valade
The error comes from having output before the session_start(). This means that anything before the space. Janet Humani Power wrote: Hi! Im trying to make a login page. I have searched for examples that makes me check the user name with a database, and the one that suits better is this code.

Re: [PHP] Login page error

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 21:28 -0500, Humani Power wrote: > > [-- SNIIP --] > > I have searched for possible answers, and all I have found is that I > should not send any output before the session_start(); But in this > code the session_start(); output is before anything else. > can yo

[PHP] weird. iceweasel crash my laptop after i use costum sessions

2007-06-11 Thread jeffry s
i am using my laptop with PHP 4+ and mysql 5+, everything start to be weird after i implement my costume sessions (storing in database). i only use one database connection for the whole website. what i mean is, the session and every query connect to mysqlserver using the same user. I am not sure

[PHP] What can cause session_destroy to fail?

2007-06-11 Thread Mattias Thorslund
Hi, One of my clients just received a PHP warning that session_destroy() failed. Using the default session handler (with tmp files), what are the most likely things that can cause session_destroy() to return false? Thanks for any suggestions. Mattias -- PHP General Mailing List (http://www.php

Re: [PHP] MySQL UTF-8 vs Extended ASCII

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 7:34 pm, Larry Garfield wrote: > You may find this useful: > http://us.php.net/manual/en/function.mb-convert-encoding.php > > It is frequently reasonably good at guessing the incoming character > set, at > least the one time we used it at work. Try running all pages/strings >

Re: [PHP] MySQL UTF-8 vs Extended ASCII

2007-06-11 Thread Larry Garfield
The underlying problem is that there is no one "Extended ASCII". There's a dozen or so different schemes for the 129-255 range, all of them incompatible. That's why Unicode now exists. :-) I've been tracking this issue myself on my blog, which may be of background use for you (especially some

[PHP] MySQL UTF-8 vs Extended ASCII

2007-06-11 Thread Richard Lynch
This may actually be a MySQL question... Or not. I'm scraping about 55,000 pages from a website into a MySQL database. Some of these pages have "extended ASCII" values in their content, or, in some cases, just plain junk ASCII values, as far as I can tell. For example, decimal 163 is sometimes

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 12:59 pm, Daniel Brown wrote: >> > http://pilotpig.net/captcha-example.php I would be hard-pressed to answer correctly, I think. Which doesn't matter. Any multiple-choice CAPTCHA is pointless. Spammers would consider at 33% success ratio WONDERFUL. Their entire bu

Re: [PHP] call to undefined function which is defined

2007-06-11 Thread Jim Lucas
Bing Du wrote: Hi, RHEL 4 PHP 4.3.9 Apache 2.0.52 Without knowing much about the web application we use, can anybody tell me what kind of situation could trigger the following 'call to undefined function' error? PHP Fatal error: Call to undefined function: encryptchar code() in /data/www/htm

Re: [PHP] Re: Not getting expected result from file()

2007-06-11 Thread Richard Lynch
trim is probably sub-optimal, as you MIGHT have leading/trailing whitespace as part of the actual data at some point. You should trim off ONLY one last newline character, no more, no less. I dunno why it's not working still though... On Mon, June 11, 2007 12:14 am, kvigor wrote: > OK, I trimmed

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 9:05 am, Stefanos Harhalakis wrote: > There is no need to include the DST information since when on DST > the client > will be sending the propper offset. For example, EET+2EEST is +0200 > during > winter and +0300 during DST. I think you are over-simplifying things too muc

Re: [PHP] "tail" solution for PHP5 wanted

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 11:37 am, Michelle Konzack wrote: > * Do not Cc: me, because I am on THIS list, if I write here.* Actually, not everybody who posts here is subscribed... :-v But I did remember to not Cc: you this time. > I am working again on my PHP Admin interace an need a "tail"

Re: [PHP] Persistent MySQL Connection

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 12:53 pm, PHP Mailing List wrote: > Can I maintain just one mysql connection resource to all my pages per > user session. As far as I knows create connection is more expensive > than > executing queries ? > > Any reference how to make efficient for connection resources ? Yes,

[PHP] Re: "tail" solution for PHP5 wanted

2007-06-11 Thread Darren Whitlen
Michelle Konzack wrote: * * Do not Cc: me, because I am on THIS list, if I write here.* * Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe. * * Ne me mettez pas en Cc:, je suis sur CETTE liste, si j'ecris

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 16:37 -0400, Daniel Brown wrote: > On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > > > > * At peak performance, and of course there's OS running etc. > > > > Yes, but I don't think you understand that it was just an idea in > the infantile stages. I'm going to try to kn

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > > > >To be a bit ea

[PHP] call to undefined function which is defined

2007-06-11 Thread Bing Du
Hi, RHEL 4 PHP 4.3.9 Apache 2.0.52 Without knowing much about the web application we use, can anybody tell me what kind of situation could trigger the following 'call to undefined function' error? PHP Fatal error: Call to undefined function: encryptchar code() in /data/www/html/typo3_src/typo3

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: I think he means something like on the nvidia driver download page [1] This is only possible with javascript, you could take a look at the page I gave to see how they did it ;) But Javascript != PHP, so if this is what you want, you're on the wrong list... Tijnema [1] http://ww

Re: [PHP] Updating dropdown list

2007-06-11 Thread Philip Thompson
On Jun 11, 2007, at 1:52 PM, Jay Blanchard wrote: [snip] Without refreshing the page would require JavaScript, but if it doesn't matter if the page is refreshed, you could use PHP. [/snip] Or a combination, using AJAX. Or you could use CSS and JS. Use PHP to populate all your lists (may

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > > >To be a bit easier, I whipped up a quick example on the web. It's >

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 14:57 -0400, Daniel Brown wrote: > On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > > > >To be a bit easier, I whipped up a quick example on the web.

Re: [PHP] Updating dropdown list

2007-06-11 Thread Paul Novitski
At 6/11/2007 11:38 AM, Ashley M. Kirchner wrote: I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this something I need

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > >To be a bit easier, I whipped up a quick example on the web. It's > > > > just static images, not a working system, but you'll

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: Tijnema wrote: > But Javascript != PHP, so if this is what you want, you're on the > wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 20:47 +0200, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > > >To be a bit easier, I whipped up a quick example on the web. It's > > > > > just static images, not a working system, b

Re: [PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
Tijnema wrote: But Javascript != PHP, so if this is what you want, you're on the wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here first to see if I can get it accomplished with PHP. :) -- PHP General Maili

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: > > I have a page containing two drop down lists. I need to figure out > a way to populate/update the second drop down list based on a selection > of the first one (the data for both

RE: [PHP] Updating dropdown list

2007-06-11 Thread Jay Blanchard
[snip] Without refreshing the page would require JavaScript, but if it doesn't matter if the page is refreshed, you could use PHP. [/snip] Or a combination, using AJAX. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Updating dropdown list

2007-06-11 Thread Jim Lucas
Ashley M. Kirchner wrote: I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this something I need to do in JavaScript?

Re: [PHP] "tail" solution for PHP5 wanted

2007-06-11 Thread Tijnema
On 6/11/07, Michelle Konzack <[EMAIL PROTECTED]> wrote: * * Do not Cc: me, because I am on THIS list, if I write here.* * Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe. * * Ne me mettez pas en Cc:, je s

Re: [PHP] Updating dropdown list

2007-06-11 Thread Daniel Brown
On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this somethin

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > >To be a bit easier, I whipped up a quick example on the web. It's > > > just static images, not a working system, but you'll see what we're > > > getting at here: > > >h

[PHP] Updating dropdown list

2007-06-11 Thread Ashley M. Kirchner
I have a page containing two drop down lists. I need to figure out a way to populate/update the second drop down list based on a selection of the first one (the data for both drop down lists is in a MySQL database). Is this something I need to do in JavaScript? Or can I somehow trick PH

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > >To be a bit easier, I whipped up a quick example on the web. It's > > > just static images, not a working system, but you'll see what we're > > > getting at here: > > >http://pilotpig.net/captcha-example.php > > > > > > > You

Re: [PHP] MySQL Connection in Session ?

2007-06-11 Thread Stut
PHP Mailing List wrote: Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? No, you can't store resources (of which mysql connections are one example) in sessions. Any reference h

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
>To be a bit easier, I whipped up a quick example on the web. It's > just static images, not a working system, but you'll see what we're > getting at here: >http://pilotpig.net/captcha-example.php > You could even use a color check here to see which color matches the best ;) Tijnema

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > Tijnema <[EMAIL PROTECTED]> spake the following lore: > Convert image to fixed width + fixed height + default depth, then do > some work on it :P > > Tijnema > Yeah, what work? Best of luck with getting a system to reliably translate one

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
The (things I thought were subtle) jokes aside, hopefully the examples can be used as some kind of point-of-reference for those who may follow along in the future. When they Google for a solution like the one we're discussing and the words of this motley crew come up as one of the first result

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 13:59 -0400, Daniel Brown wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 13:52 -0400, Daniel Brown wrote: > > > > Tijnema <[EMAIL PROTECTED]> spake the following lore: > > > > Convert image to fixed width + fixed height + default dept

[PHP] "tail" solution for PHP5 wanted

2007-06-11 Thread Michelle Konzack
* * Do not Cc: me, because I am on THIS list, if I write here.* * Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe. * * Ne me mettez pas en Cc:, je suis sur CETTE liste, si j'ecris ici. * ***

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 13:52 -0400, Daniel Brown wrote: > > Tijnema <[EMAIL PROTECTED]> spake the following lore: > > Convert image to fixed width + fixed height + default depth, then do > > some work on it :P > > To be a bit easier, I whi

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 13:52 -0400, Daniel Brown wrote: > > Tijnema <[EMAIL PROTECTED]> spake the following lore: > > Convert image to fixed width + fixed height + default depth, then do > > some work on it :P > > To be a bit easier, I whipped up a quick example on the web. It's > just static i

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 19:51 +0200, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 19:38 +0200, Tijnema wrote: > > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > > Well, if you think this is the uncrackable* solution, create it a

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
Tijnema <[EMAIL PROTECTED]> spake the following lore: Convert image to fixed width + fixed height + default depth, then do some work on it :P Tijnema Yeah, what work? Best of luck with getting a system to reliably translate one Jell-o blob of an image into another accurately and reliably.

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 19:38 +0200, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Well, if you think this is the uncrackable* solution, create it and > i'll see if I can crack it ;) > > Tijnema > > * I hope you do

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 19:38 +0200, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Well, if you think this is the uncrackable* solution, create it and > i'll see if I can crack it ;) > > Tijnema > > * I hope you don't mean the same uncrackable as AACS did: > "HD-DVD i

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 13:29 -0400, Robert Cummings wrote: > On Mon, 2007-06-11 at 18:57 +0200, Tijnema wrote: > > On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > > > Tijnema wrote: > > > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > > > not if you are morphing/changing the

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 18:57 +0200, Tijnema wrote: > On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Tijnema wrote: > > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > not if you are morphing/changing the image each page

Re: [PHP] MySQL Connection in Session ?

2007-06-11 Thread Satyam
In most systems, database connections are pooled, meaning that when you give them up, they are not completely closed but the sql client software keeps them in a pool available for the next script asking for a similar connection, thus saving on the time to establish a connection.It is the co

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 18:57 +0200, Tijnema wrote: > On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Tijnema wrote: > > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > not if you are morphing/changing the image each page load. > > > > > > > remember, change height, width, col

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Lester Caine
Stefanos Harhalakis wrote: On Monday 11 June 2007 18:15, Lester Caine wrote: calender of events over a change in daylight saving I NEED to know !!! I believe that I finally understand your thoughts. You mean that you need to use the timezone information to know when in the future the time w

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Stefanos Harhalakis
On Monday 11 June 2007 18:15, Lester Caine wrote: > calender of events over a change in daylight saving I NEED to know !!! I believe that I finally understand your thoughts. You mean that you need to use the timezone information to know when in the future the time will change (or in the past).

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
Nah, that's what we have you for! ;-P Just for that, I'm top-posting, too. Gotta' love Mondays On 6/11/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote: On Tuesday 12 June 2007 00:22, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Crayon Shin Chan
On Tuesday 12 June 2007 00:22, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: [snip] Tijnema, Daniel Brown, and any other guilty ones, please trim your posts! -- Crayon -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: >> > Gnag: >> > >> > I know we can beat this thing to death, as we have in previous >> > threads and I don't anyone wants to t

[PHP] MySQL Connection in Session ?

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Jim Lucas
Tijnema wrote: On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > Gnag: > > I know we can beat this thing to death, as we have in previous > threads and I don't anyone wants to travel previously traveled ground. > > However, Rob said: > > "A g

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > > Gnag: > > > > I know we can beat this thing to death, as we have in previous > > threads and I don't anyone wants to travel previously travele

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > Gnag: > > I know we can beat this thing to death, as we have in previous > threads and I don't anyone wants to travel previously traveled ground. > > However, Rob said: > > "A good captcha will

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-11 at 12:01 -0400, Robert Cummings wrote: > > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > > > Gnag: > > > > > > I know we can beat this thing to death, as we have in p

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 12:01 -0400, Robert Cummings wrote: > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > > Gnag: > > > > I know we can beat this thing to death, as we have in previous > > threads and I don't anyone wants to travel previou

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Jason Pruim
On Jun 11, 2007, at 12:01 PM, Robert Cummings wrote: What did you hear ringing? Possible answers... a bell, the telephone, an alarm, etc. The problem then becomes an issue of people who can't spell or are terrible at recognizing everyday things. To combat that, wouldn't you be able t

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 12:01 -0400, Robert Cummings wrote: > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > > Gnag: > > > > I know we can beat this thing to death, as we have in previous > > threads and I don't anyone wants to travel previously traveled ground. > > > > However, Rob said: > > >

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: > Gnag: > > I know we can beat this thing to death, as we have in previous > threads and I don't anyone wants to travel previously traveled ground. > > However, Rob said: > > "A good captcha will try to exploit a computer's weaknesses." > > So, le

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Tijnema
On 6/11/07, Stefanos Harhalakis <[EMAIL PROTECTED]> wrote: On Monday 11 June 2007 16:05, Lester Caine wrote: By the way, what makes you think that most people have an invalid timezone configured? Windows XP have NTP support that is enabled by default. Without a proper timezone this should res

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Lester Caine
Stefanos Harhalakis wrote: On Monday 11 June 2007 16:05, Lester Caine wrote: Hope this clears things a bit... As I actually USE a clients time offset, I know what the problem is. The DATA is ALL stored as UTC time data, so it does not matter who enters it. It will be stored without a tim

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread tedd
Gnag: I know we can beat this thing to death, as we have in previous threads and I don't anyone wants to travel previously traveled ground. However, Rob said: "A good captcha will try to exploit a computer's weaknesses." So, let's expound on that -- what do you consider to be a computer's we

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 6/10/07, tedd <[EMAIL PROTECTED]> wrote: > > >Tedd: > > > > > >Please don't spread the code of your Audio CAPTCHA, we had a big > > >discussion about it, and we concluded that it was quite easy

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Stefanos Harhalakis
On Monday 11 June 2007 16:05, Lester Caine wrote: > Timezone information is only of use for the CURRENT day - even if it is > wrong. It is ESSENTIAL that any changes also include the daylight saving > information. Since this is not included, all current sites handling event > related information in

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Daniel Brown
On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/10/07, tedd <[EMAIL PROTECTED]> wrote: > >Tedd: > > > >Please don't spread the code of your Audio CAPTCHA, we had a big > >discussion about it, and we concluded that it was quite easy to crack. > >I remember i've cracked some other CAPTCHAs, but

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Lester Caine
Stefanos Harhalakis wrote: On Sunday 10 June 2007, Richard Lynch wrote: On Sat, June 9, 2007 8:06 am, Stefanos Harhalakis wrote: Timezone: +0200 that will specify their timezone offset. This way scripts will be able to provide appropriate date/time strings/representations and/or content. It's

Re: [PHP] Formatting output

2007-06-11 Thread Stut
[EMAIL PROTECTED] wrote: I would like to format the output of a PHP page into a single line and use gzip compression too. I know that i can use something like this to get in a single line ( will workout on this function later to remove spaces ). And gzip compression is used with Is there a

[PHP] Formatting output

2007-06-11 Thread listas
Hello, I would like to format the output of a PHP page into a single line and use gzip compression too. I know that i can use something like this to get in a single line ( will workout on this function later to remove spaces ). And gzip compression is used with Is there a way to "mix" those

Re: [PHP] Re: Sample

2007-06-11 Thread Frank Arensmeier
Thats nice! Could "correct" mine also? ;-) //frank 11 jun 2007 kl. 11.01 skrev [EMAIL PROTECTED]: I have corrected your document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Re: Not getting expected result from file()

2007-06-11 Thread Frank Arensmeier
If you are not able to get anything into your DB (and your connection is ok), then two things might be wrong: your input or the query string itself. Echo out the query string and try to use the query "manually" (directly with a MySQL client). If the query string is ok, you might check you

[PHP] Re: Sample

2007-06-11 Thread edk
I have corrected your document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php