Re: [PHP] Re: how to display images stored in DB*

2007-03-02 Thread tedd
s. I seldom use dB's to store images either, but on occasion it is "preferable" and is certainly not "bad" practice to do so, as Mark claims. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (ht

Re: [PHP] Re: how to display images stored in DB

2007-03-02 Thread tedd
the database was the easy way out, I started using the filesystem cuz of both a limitation in a forum AND a few mails from you. But easier... NO. Børge: I'm lost. As a newbie, is storing an image in a dB a "good" thing or a "bad" thing? tedd -- --- http://sperling.com ht

Re: [PHP] Re: how to display images stored in DB**

2007-03-03 Thread tedd
>> > At 10:01 AM -0500 3/1/07, markw@mohawksoft.com wrote: tedd said: >Well... it's not just me, but from what I've learned and read over the > years. > > Your claim is that in ALL cases using a file system to store images is preferable to using a database.

Re: [PHP] Image storing

2007-03-05 Thread tedd
At 8:55 PM +0100 3/5/07, Børge Holen wrote: This dude is just trying to start another skirmishand probably a riot. Was there something I missed. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: pictures stored in PostgreSQL DB

2007-03-06 Thread tedd
that after the abstract creativity takes place, it is verified against the science. All hogwash -- and not even well said. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $35 to the first person who can do this XML-parsing PHP script

2007-03-10 Thread tedd
At 10:16 PM -0500 3/8/07, Rob Gould wrote: I have to say this is the most helpful listserve I've ever joined! Such friendly people and such good information. What?!? That's the first time I've heard that -- we're slipping guys. We've got to stamp out that image befo

Re: [PHP] Joke of the day problem

2007-03-10 Thread tedd
p.net/manual/en/function.date.php tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array mysteries

2007-03-11 Thread tedd
=> "Donnerstag" ,5 => "Freitag" ,6 => "Samstag" ); return $wdays[$weekday]; } $day = convert_from_weekday(0) // $day = "Sonntag" Tijnema: That's also a shorter version of a simple switch statement. I haven't thought of, or seen

RE: [PHP] php and javascript error

2007-03-11 Thread tedd
t, while it's shorter, it's still NOT advisable to use the shorter tags. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Save and Continue

2007-03-11 Thread tedd
them? It sounds like characters out of an old Navy WWII "Don't go on shore-leave without protection" film. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and javascript error

2007-03-11 Thread tedd
At 3:25 PM +0100 3/11/07, Tijnema ! wrote: On 3/11/07, tedd <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: At 5:28 PM +0100 3/7/07, <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] wrote: > PS: If you want your code to validate, change the & to & Add the

Re: [PHP] Array mysteries

2007-03-11 Thread tedd
At 3:05 PM +0100 3/11/07, Tijnema ! wrote: On 3/11/07, tedd <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: At 10:05 AM +0100 3/11/07, Tijnema ! wrote: - You could define $wdays inside the function function convert_from_weekday ($weekday) { $wdays = array (0 =>

Re: [PHP] Array mysteries

2007-03-11 Thread tedd
At 12:02 PM -0500 3/11/07, Edward Vermillion wrote: On Mar 11, 2007, at 10:02 AM, tedd wrote: At 3:05 PM +0100 3/11/07, Tijnema ! wrote: On 3/11/07, tedd <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: At 10:05 AM +0100 3/11/07, Tijnema ! wrote: - You could define $wday

Re: [PHP] php 4 and 5

2007-03-12 Thread tedd
At 8:14 AM +0800 3/12/07, [EMAIL PROTECTED] wrote: Dear All, What different between 4 and 5 ? Edward. 1 tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] FW: looking for two remote functions

2007-03-13 Thread tedd
ile still has to be stored somewhere and be subject to whatever hard disk schemes that storage device uses. So, the reported size will vary regardless of where you store it. The only place where I see that term as being relevant is in data transmission where the "absolute" file siz

Re: [PHP] variables in CSS in PHP question/problems

2007-03-14 Thread tedd
nt to place this at the top of your css files: and then add this to your .htacces file: SetHandler application/x-httpd-php After that, you can set variables within your css files by echo() ?> hth's tedd -- --- http://sperling.com http://ancientstones.com http://earthstone

Re: [PHP] Redirecting in a PHP script

2007-03-15 Thread tedd
What, are you crazy???! That's going to melt-down the entire Internet! :-) :-) :-) Yeah, I remember similar comments about using a mouse -- hey, things change. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www

Re: [PHP] php search engine

2007-03-19 Thread tedd
be off-base here, (not a soundex example) but if a site search is all your after, try this one: http://sperling.com/examples/search/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] time or date picker ?

2007-03-20 Thread tedd
can i find one for free ? thanks -- Alain Alain: You can choose -- php, flash, or javascript. http://xn--nvg.com/calendar Let me know which one you want. tedd ps: If you can't read the above url, get opera. -- --- http://sperling.com http://ancientstones.com http://earthsto

Re: [PHP] Random Unique ID

2007-03-22 Thread tedd
ie as to the right way to go about doing this? Best, Craig Craig: Simple. Generate a "random unique ID" via whatever method you want. However, before using, search your dB to see if it's already in use. If it is, then generate another one and repeat. Cheers, tedd -- ---

Re: [PHP] Random Unique ID

2007-03-22 Thread tedd
At 4:28 PM +0100 3/22/07, Németh Zoltán wrote: 2007. 03. 22, csütörtök keltezéssel 11.24-kor tedd ezt írta: At 11:18 AM -0600 3/21/07, [EMAIL PROTECTED] wrote: >Hello, >I want to add a random unique ID to a Mysql table. Collisions >are unlikely but possible so to handle those

Re: [PHP] Random Unique ID

2007-03-22 Thread tedd
At 4:53 PM +0100 3/22/07, Németh Zoltán wrote: 2007. 03. 22, csütörtök keltezéssel 11.42-kor tedd ezt írta: > As for efficiency, that's probably not even worth mentioning in this case. why not? you would use 2 sql queries while I would use one most of the time and 2 in case of

Re: [PHP] Random Unique ID

2007-03-23 Thread tedd
At 9:15 AM +0100 3/23/07, Németh Zoltán wrote: 2007. 03. 22, csütörtök keltezéssel 12.58-kor tedd ezt írta: At 4:53 PM +0100 3/22/07, Németh Zoltán wrote: >2007. 03. 22, csütörtök keltezéssel 11.42-kor tedd ezt írta: > > > As for efficiency, that's probably not even wo

Re: [PHP] Performance: While or For loop

2007-03-24 Thread tedd
;s a trade-off that's not worth it. Q: Do they teach this stuff in college now or are the teachers still only measuring performance in myopic terms of saving memory and time? Not a criticism, just a question. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://ear

Re: [PHP] preview string with strlen PHP (help)

2007-03-24 Thread tedd
e: a) don't change you email and continue receiving email thinking Nemeth is your first name; b) or change your email address. As us USA types are told, we all have to adapt to global conventions. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earths

Re: [PHP] Performance: While or For loop

2007-03-24 Thread tedd
At 2:24 PM -0400 3/24/07, Robert Cummings wrote: On Sat, 2007-03-24 at 10:21 -0400, tedd wrote: At 7:47 PM -0500 3/23/07, Richard Lynch wrote: >Folks: > >How often do you use a loop of any kind in PHP with enough iterations >that this is even significant? > >Write t

Re: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread tedd
n working on an audio Captcha. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: My own "captcha" from 2 years ago......

2007-03-25 Thread tedd
from the database using the ID and compare it to the one entered in the form. Tijnema What about an audio Captcha? Your thoughts? tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] My own "captcha" from 2 years ago......

2007-03-25 Thread tedd
At 10:49 AM -0400 3/25/07, Jake McHenry wrote: Do I call the image creation file in an html Jake The audio is for visually impaired and unless their also deaf, they have sound turned on. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General

Re: [PHP] Re: My own "captcha" from 2 years ago......

2007-03-25 Thread tedd
At 5:05 PM +0200 3/25/07, Dotan Cohen wrote: On 25/03/07, tedd <[EMAIL PROTECTED]> wrote: What about an audio Captcha? Your thoughts? tedd I do a lot of my browsing at the university library. I can't have any sound being made there each time I must enter a capcha. Don'

RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd
ss than 32768 if you're running windows -- maybe that's the problem. But, I would look to my rand() for an answer. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OT: firstname-lastname fun - SOLVED :) (was: Re: [PHP] preview string with strlen PHP (help))

2007-03-26 Thread tedd
meth is a family name - so I reversed it now greets Zoltán Németh Hey Németh: Good ! ;-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd
efresh the page and new values are shown because it's the tag that causes the captcha.php script to run. Don't mind the Audio Captcha there, I have a better one. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] syntax question

2007-03-26 Thread tedd
At 3:59 PM +0100 3/26/07, Ross wrote: Can I put post values directly into insert statements? $query = "INSERT INTO categories (category_name) VALUES ('$_POST['cat_name'])"; Open to sql injection. tedd -- --- http://sperling.com http://ancientstones.com http:

Re: [PHP] Re: My own "captcha" from 2 years ago......

2007-03-26 Thread tedd
it. Anything a computer can put create, another computer can interpret. The technology lag between one to the other is always only temporary and therein lies some temporary relief. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP G

RE: [PHP] My own "captcha" from 2 years ago......

2007-03-26 Thread tedd
script can just use session_start() and get the secret key. Yep, that's the way to do it. Create a key at the start, place it in a session, call your Captcha image maker via src, and display the image. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://

RE: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread tedd
At 12:54 PM +0100 3/27/07, Ford, Mike wrote: On 24 March 2007 16:28, tedd wrote: > 2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: > > YES this works thank nemeth: > > your welcome but please call me Zoltán ;) > (my first name is Zoltán. in Hungary

Re: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread tedd
these? I'm easily confused anyway. If people want to call me sperling instead of tedd (it's better than other things I've been called) it doesn't make any difference to me and I wasn't the one complaining anyway. If a US company wants to use [EMAIL PROTECTED], then as we

Re: [PHP] Form Handler Script Security Discussion

2007-03-29 Thread tedd
code :) I'm just about done with my Audio CAPTCHA and will be posting it in a few minutes. Would like to get your thoughts. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Audio CAPTCHA review request

2007-03-29 Thread tedd
is php in it, so I guess it's on topic. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread tedd
nt at times and can't always hear things the first time. But like i said, personal preference :) Just click the "Speak Key" again -- it will repeat the same key as many times as you want. http://sperling.com/examples/captcha/ If you want a new key, just refresh the page.

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread tedd
because when he returns to the site, the CAPTCHA would have changed? Can you explain how that works? It's definitely an interesting field. I think using the common sense techniques you (tedd) have used combined with a better CAPTCHA method, you could actually create something fairly

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread tedd
that may not type as "slow" as we do. :-) We didn't see your script yet, so i don't know what extra security you added. But it's good to have these things in mind. I plan on making the script public. I just need to stamp out these types of fires first.

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread tedd
ll.. that's the point, namely to make it difficult. As I've said before, anything a computer can generate another computer can interpret -- it just takes time and effort. Thanks for your review, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com --

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-30 Thread tedd
any event, I think this may be a bit more difficult to crack than something that replies upon javascript -- what do you think? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Alternative/Addition to using a CAPTCHA

2007-03-30 Thread tedd
r sighted users. I think that what Steve suggest may have some merit. I need to think of some examples. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] tabbed navegation PHP

2007-03-30 Thread tedd
.php?page=default">about Of should I stick to just static html :( Dwayne Dwayne: I already did it, see this: http://sperling.com/examples/smart-menu/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (ht

Re: [PHP] Audio CAPTCHA review request

2007-03-30 Thread tedd
re than we imagine. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-03-30 Thread tedd
lot to do if anyone wants to hire me for this type of research. I hate it when employers get something worthwhile, think that's all there is, and then vanish without investigating it further. There's so much more. Oh well, they have the money and I don't. Cheers, tedd -

RE: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-31 Thread tedd
IE 6. In fact, just consider using *anything* but IE (IMO). See below screen-shots: http://www.browsercam.com/public.aspx?proj_id=336219 Everything that has a blue dot works AND everything except for IE 5.5 and IE 6 has a blue dot. Cheers, tedd -- --- http://sperling.com ht

Re: [PHP] Re: Alternative/Addition to using a CAPTCHA

2007-03-31 Thread tedd
At 3:48 PM -0400 3/30/07, Jason Pruim wrote: On Mar 30, 2007, at 3:17 PM, tedd wrote: At 12:54 PM -0400 3/30/07, <[EMAIL PROTECTED]> wrote: Maybe I'm missing something.. if the intent is to have 'hidden' fields that a user would end up submitting but a bot wouldn't.

Re: [PHP] Re: Alternative/Addition to using a CAPTCHA

2007-03-31 Thread tedd
nough off-topic chatter. Thanks for all the review and comments. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security Best Practice: typecast?

2007-04-01 Thread tedd
continents. The "current" range is less than 0x (65k), so I don't think you would have problems limiting it to that figure. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-04-01 Thread tedd
NLY able vision users. Those with impaired vision or limited cognitive or physical skills would be also blocked and therein lies the rub. Thus, my continued work to find a solution as with my recent work on my audio CAPTCHA, regardless of speech recognition techniques. I just need a way for visi

Re: [PHP] Audio CAPTCHA review request

2007-04-01 Thread tedd
asks for it again. But, in support of your claim, I think you are probably correct -- I just don't know for sure. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get free broadband internet from google!

2007-04-01 Thread tedd
magine why Google would have that on their site, so in that aspect, it got me. Nice April fool joke. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP sample code for XMLHttprequest with jQuery

2007-04-01 Thread tedd
ing php to generate a XMLHttprequest, but I am mixing languages, see: http://xn--nvg.com/thickbox If you can't read it, try it with a better browser. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/)

[PHP] imagecreate() question

2007-04-02 Thread tedd
ge whereas imagecreatetruecolor() returns a "black" page. Q: Is there a problem with a "blank" page? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagecreate() question

2007-04-02 Thread tedd
At 4:27 PM +0100 4/2/07, Richard Davey wrote: tedd wrote: In the php manual it says: imagecreate() returns an image identifier representing a blank image of specified size. We recommend the use of imagecreatetruecolor(). Q: Why the recommendation? Because the need to create 256 colour

RE: [PHP] Audio CAPTCHA review request

2007-04-04 Thread tedd
e be acceptable for the blog owner to put up a color-blind CAPTCHA? Interesting topics for discussion, but probable not for this list. Thanks everyone. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-04 Thread tedd
accessible to screen readers. It's not foolproof, but it appears to work in that regard. Interesting discussion -- thanks for your perspective. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dynamic web interface and size

2007-04-04 Thread tedd
low the table to accommodate the screen width OR force one line per field and expand the table beyond the screen width. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help me to solve this math maze

2007-04-04 Thread tedd
provided a solution, here's mine. What's left over send to me. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread tedd
ay to "show" them to screen readers. In addition, even OS's make it hard for user to even enter/use those type of characters (except for Mac of course). There has to be some commonality -- any suggestions? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread tedd
recognition routines would have a lot of trouble with these as my imagination and coding can change with much less effort. It makes for an interesting problem. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://w

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread tedd
contribute to a blog for example. However, a spammer could do the same. But, if you pass all requesting emails through a spam filter, like spamcop.net, then that should reduce spam to an acceptable level. Perhaps I don't fully understand the problem, but there are many things here to

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread tedd
to it using my keyboard! :B Cheers, Rob. Rob: How do you do that? Is there a php or javascript solution? I'm open to suggestion. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread tedd
ever, I don't see how adding javascript to move the mouse around presents a security issue -- can anyone explain? As I see it, server-side can still filter out what's input. In the end, it's either right or not. Cheers, tedd -- --- http://sperling.com http://ancientsto

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread tedd
be one, but that appears easy to crack. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread tedd
At 7:54 PM +0200 4/5/07, Tijnema ! wrote: About your dot-captcha program tedd, it's another trick, it hasn't been used yet, so somebody needs to look at it to crack. Like Jochem said, if someone really wants to break it, he will do it. Making a real though CAPTCHA isn't that har

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread tedd
o, but wouldn't work. The "best" solution was to use text of the language to spell the language. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread tedd
ny other. However, it would be a simple matter for spammy to download all the keys from my site and use them thus defeating the whole idea, duh. So, if I was to support this method, then each capatcha user would have to come up with their own questions, which could be problematic

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread tedd
h would be the key. How would a bot read that? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Idea/Suggestion for PHP App

2007-04-06 Thread tedd
-- don't do it. As with ALL programming problems -- start small, reduce all problems into smaller problems that you can solve. Then assemble the small solutions together after careful consideration of what you're trying to do. Cheers, tedd -- --- http://sperling

Re: [PHP] Idea/Suggestion for PHP App

2007-04-06 Thread tedd
that? I had a good friend who said -- "A program is nothing more than three steps: input; calculation; and display." I've always found that's a good start. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (ht

Re: [PHP] Idea/Suggestion for PHP App

2007-04-06 Thread tedd
erspective to design patterns. I'm one of those types that think nothing is impossible with the right money and enough time. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Idea/Suggestion for PHP App

2007-04-06 Thread tedd
Google it. It's surprising how many examples you can find to review as to how others implemented that small piece of code. This is truly a resource that has never been there for programmers before. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -

Re: [PHP] Submitting as POST. Why?

2007-04-07 Thread tedd
At 9:11 PM -0400 4/6/07, Robert Cummings wrote: On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote: > With POST, everything stays hidden, mostly untamperable, and Bullshit. It is VERY easy to tamper with post data. Please provide an example. Cheers, tedd -- --- http://sperling.

[PHP] MD5 & bot Question

2007-04-07 Thread tedd
At 11:56 PM +0100 4/6/07, Tijnema ! wrote: On 4/6/07, tedd <[EMAIL PROTECTED]> wrote: At 2:55 PM +0100 4/6/07, Tijnema ! wrote: I know, but animated gifs are still quite easy to read with a bot. Really? What if I a created a box surrounded by letters, like so: A B C D E F G H I H

Re: [PHP] MD5 & bot Question

2007-04-07 Thread tedd
At 10:33 PM +0200 4/7/07, Tijnema ! wrote: On 4/7/07, tedd <[EMAIL PROTECTED]> wrote: At 11:56 PM +0100 4/6/07, Tijnema ! wrote: On 4/6/07, tedd <[EMAIL PROTECTED]> wrote: At 2:55 PM +0100 4/6/07, Tijnema ! wrote: I know, but animated gifs are still quite easy to read with a b

Re: [PHP] MD5 & bot Question

2007-04-07 Thread tedd
d out a fix -- try it again. :-) http://sperling.com/a/arrows/ A little knowledge is a dangerous thing. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-08 Thread tedd
ess, there is something here that I don't understand (which very well could be), I can't see how anyone, without massive computer resources, could break that. Am I wrong? Cheers, tedd PS: I love these types of discussions -- --- http://sperling.com http://ancientstones.com h

Re: [PHP] MD5 & bot Question

2007-04-08 Thread tedd
At 12:38 AM +0100 4/8/07, Stut wrote: tedd wrote: Okay, I think I figured out a fix -- try it again. :-) http://sperling.com/a/arrows/ A little knowledge is a dangerous thing. Give up now, while you're still sane. Think about what you're trying to do. You're trying

Re: [PHP] MD5 & bot Question

2007-04-08 Thread tedd
At 6:33 PM +0200 4/8/07, Tijnema ! wrote: On 4/8/07, tedd <[EMAIL PROTECTED]> wrote: Remember, I could also use a jpeg file and have millions of colors to chose from. Unless, there is something here that I don't understand (which very well could be), I can't see how anyone,

Re: [PHP] MD5 & bot Question

2007-04-08 Thread tedd
thing) My attempt here was only to show that a MD5 solution could become so vast that there would be no point in pursuing that avenue. As for other ways to crack this, of course there ARE other easier ways. Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] MD5 & bot Question

2007-04-08 Thread tedd
At 4:38 AM -0700 4/8/07, benifactor wrote: hmm, why don't you md5 more then once.. I read somewhere that MD5'ing anything more than once, does not increase security. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Ma

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
At 1:21 AM -0700 4/9/07, Micky Hulse wrote: Maybe use flash for this... harder to crack? (Of course, Flash will open door to other problems.) Sorry, coming in on this late. Good work Tedd! Very interesting. M: Tijnema showed how MD5 could be used to identify an image file and crack my

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
At 8:49 AM -0400 4/9/07, Robert Cummings wrote: On Mon, 2007-04-09 at 08:46 -0400, tedd wrote: At 1:21 AM -0700 4/9/07, Micky Hulse wrote: >Maybe use flash for this... harder to crack? (Of course, Flash will >open door to other problems.) > >Sorry, coming in on this late. Go

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
At 9:58 AM -0400 4/9/07, Robert Cummings wrote: On Mon, 2007-04-09 at 09:45 -0400, tedd wrote: > >> However, this did make me wonder about the images that M$ and others >> are using for captchas -- like find the kitty in a set of pictures. >> The MD5 application coul

Re: [PHP] Session Authentication

2007-04-09 Thread tedd
At 5:55 PM +0200 4/9/07, Tijnema ! wrote: Cookies are old, so in the time they were introduced, today it is possible to create and modify cookies with some good tools. These tools are illegal, I don't believe that. FireFox probably has most, if not all. Cheers, tedd -- ---

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
At 1:04 PM -0400 4/9/07, Robert Cummings wrote: On Mon, 2007-04-09 at 12:51 -0400, tedd wrote: >We were talking > about M$'s "picture" captcha where they show pictures and ask a question like "Pick the picture that shows a kitty" and NOT an "on the fly&q

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
on I came to in this experiment. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-09 Thread tedd
At 4:39 PM -0400 4/9/07, Robert Cummings wrote: On Mon, 2007-04-09 at 22:27 +0200, Tijnema ! wrote: > This is exactly what tedd did in his last arrow example. He edited the header of the GIF image, and so that would result in different MD5. Finding this part and skipping it in the

Re: [PHP] Session Authentication

2007-04-10 Thread tedd
At 7:07 PM +0200 4/9/07, Tijnema ! wrote: On 4/9/07, tedd <[EMAIL PROTECTED]> wrote: At 5:55 PM +0200 4/9/07, Tijnema ! wrote: >Cookies are old, so in the time they were introduced, today it is possible to create and modify cookies with some good tools. These >tools are illeg

Re: [PHP] mysql if empty

2007-04-10 Thread tedd
WHERE Name = 'larry'"; $result = mysql_query($sql); if ($result == "") { echo "No result found"; } echo "Found"; Try NULL Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-10 Thread tedd
At 8:10 PM -0400 4/9/07, Robert Cummings wrote: On Mon, 2007-04-09 at 17:14 -0400, tedd wrote: At 4:39 PM -0400 4/9/07, Robert Cummings wrote: >On Mon, 2007-04-09 at 22:27 +0200, Tijnema ! wrote: > > > This is exactly what tedd did in his last arrow example. He edited the &

Re: [PHP] MD5 & bot Question

2007-04-10 Thread tedd
At 10:46 PM +0100 4/9/07, Tijnema ! wrote: On 4/9/07, tedd <[EMAIL PROTECTED]> wrote: It doesn't need to be complicated, just random placed pixels on the image from a selection of colors would provide millions of permutations. Cheers, tedd But then OCR would still work, as wh

Re: [PHP] keeping credit card info in session

2007-04-10 Thread tedd
server and are as secure as the server environment. If someone breaches the server environment, then all data could exposed and is an excellent reason why not to store highly sensitive data there. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] MD5 & bot Question

2007-04-10 Thread tedd
ill eventually have it on my site as a style of visual captcha and will have this audio version as well: http://sperling.com/examples/captcha/index.php My intent is to provide several different types of captchas for public use. Cheers, tedd -- --- http://sperling.com http:

Re: [PHP] MD5 & bot Question

2007-04-10 Thread tedd
reason why you need to alter a significant portion of the image so that smaller portions will probably contain some alteration. Thanks for explaining that. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/)

<    2   3   4   5   6   7   8   9   10   11   >