Re: [PHP] Newbie - Undefined Index Variable

2008-03-08 Thread tedd
; $action = isset($_SESSION['action']) ? $_SESSION['action'] : null; If you expect anything to be provided via GET, POST, or SESSION, then use one of these to initialize it. The null, of course can be changed to whatever default value you want. Cheers, tedd -- --- http

Re: [PHP] programming and design fees

2008-03-08 Thread tedd
it takes you, but rather on how well your work works. On most projects, while I make deadlines, I put in many more hours than I bill out. But then again, I love the work. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] send form by email with image spam controler

2008-03-08 Thread tedd
find similar example ? especially about image checking... Here's a few. http://webbytedd.com/aa/assorted-captcha/ BUT, all can be broke by a spammer. There is no solution. So, make it as simple as can be for those who have problems with that sort of thing. Cheers, tedd -- --- http

RE: [PHP] programming and design fees

2008-03-08 Thread tedd
numerous times and the scope has explode out over 100 pages, with all sorts of custom interaction (if this happens send this email, if that happens send another). It has become a real pain and I am definitely not making the $75 / hr i initially scoped. But as tedd mentioned, I too love the work

Re: [PHP] Links hierarchy maintenance

2008-03-08 Thread tedd
for the header, one for the footer and one for the navigation, which is usually called by the header. If something changes in navigation, I change one file and it's done throughout the site. Look into includes. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Generating JavaScript menus on-the-fly

2008-03-08 Thread tedd
At 1:42 PM -0600 3/8/08, Ken Kixmoeller.com wrote: On Mar 8, 2008, at 9:17 AM, tedd wrote: At 3:01 PM -0600 3/7/08, Ken Kixmoeller wrote: Hey - - -- - -- -- I keep a profile of a user's rights and responsibilities in tables. Since this profile defines what a user can do in the system I am

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread tedd
menus, do you mean like this: http://webbytedd.com/clients/beckyscan/about-company.php It's still just css and php -- simply a logic problem. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Links hierarchy maintenance

2008-03-10 Thread tedd
No offense meant, but if you're concerned about the if overhead then I question if you would understand how the double menu works. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Question about user management...

2008-03-10 Thread tedd
have to be concerned about it nor worry about someone guessing it, if that becomes a problem. Am I right? Cheers, tedd PS: Oh, I just received the following email and thought I would pass it on: HELLO, MY NAME IS AGNES IN SEARCH OF A MAN WHO UNDERSTANDS THE MEANING OF LOVE AS TRUST

Re: [PHP] Question about user management...

2008-03-10 Thread tedd
At 4:13 PM -0400 3/10/08, Jason Pruim wrote: On Mar 10, 2008, at 4:07 PM, tedd wrote: define(ADMIN, md5(uniqid(rand(), true));); define(GENERAL_USER, md5(uniqid(rand(), true));); define(LEVEL_ONE_USER, md5(uniqid(rand(), true));); define(LEVEL_TWO_USER, md5(uniqid(rand(), true));); define

Re: [PHP] Question about user management...

2008-03-12 Thread tedd
suggestion to use a string is a little less disturbing. 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] save image in database vs folder

2008-03-12 Thread tedd
needs are better served by using the file system while others are better served by using a database. There's plenty of discussion on this in the archives. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
the opposite way. Yeah, but those are mostly Dutch -- you never know where they're going. :-) It's a bit different here in Lansing -- with most being politicians, we all drive in circles. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
degree, 0% overcast, 0% humidity day... *grumble* I only do that when my kids (now adults) are in the car. You have to live up to expectations. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Know a JS list serve

2008-03-13 Thread tedd
a rather good list (not too much traffic, but still ...) http://lists.evolt.org/mailman/listinfo/javascript I second that -- good people. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread tedd
a password confirmation. The encryption seems to be an unnecessary overkill. So what if a malicious user uses a cookie to pretend to be a real user IF before they can get access to sensitive data they have to enter a correct password? Please explain. Cheers, tedd -- --- http://sperling.com

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 10:06 AM -0400 3/13/08, Thijs Lensselink wrote: Quoting tedd [EMAIL PROTECTED]: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 10:40 AM -0400 3/13/08, Jason Pruim wrote: On Mar 13, 2008, at 9:25 AM, tedd wrote: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever

Re: [PHP] PHP Ajax progress bar

2008-03-13 Thread tedd
, then that certainly could be done between each file. 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] php cron to check and remove files

2008-03-13 Thread tedd
them? Why not give your approved images a prefix and just delete everything that doesn't via a cron? 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

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread tedd
At 3:16 PM + 3/13/08, Stut wrote: tedd wrote: Nice article. Thanks. I question the reason why you would want to encrypt the cookie considering that before the user is going to be provided access to sensitive data that you require a password confirmation. The encryption seems

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-13 Thread tedd
on this planet. 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] maintaining [user] state without a session ...

2008-03-13 Thread tedd
At 4:01 PM + 3/13/08, Stut wrote: tedd wrote: Then, when the user returns, you simply check the cookie with what's stored in the dB and continue as before. If the check fails (no session id or it has been altered), then start again. Because that negates the whole point of doing it which

Re: [PHP] convert numerical day of week

2007-05-25 Thread tedd
What a hoot! When I saw the the number of post to this thread, I figured someone got their shorts in a knot. Only a bunch of geeks could get into this much discussion of what day of the week it is. Aren't we a sad lot? Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Form Validation Issues

2007-05-25 Thread tedd
greatness thrust upon them. Unknown Hi Jim: You might try the array below and the quote above, I believe, was Douglas MacArthur of WWII fame. Cheers, tedd $states = array( 'AL' = 'Alabama', 'AK' = 'Alaska', 'AS' = 'American Samoa', 'AZ' = 'Arizona', 'AR' = 'Arkansas', 'CA' = 'California

Re: [PHP] Include file questions

2007-05-25 Thread tedd
include php files so that they cannot be run directly. 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] Include???

2007-05-25 Thread tedd
never use ^^ to show something. :-) 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] Include???

2007-05-25 Thread tedd
At 9:49 AM -0400 5/25/07, Robert Cummings wrote: On Fri, 2007-05-25 at 09:42 -0400, tedd wrote: At 3:28 PM +0100 5/23/07, Richard Davey wrote: if ($_POST['status_code'] == 'C') ^^ Read-up on the if/else structure and comparison operators. You'd never use

Re[2]: [PHP] Include???

2007-05-25 Thread tedd
At 2:46 PM +0100 5/25/07, Richard Davey wrote: Hi Tedd, Friday, May 25, 2007, 2:42:34 PM, you wrote: At 3:28 PM +0100 5/23/07, Richard Davey wrote: if ($_POST['status_code'] == 'C') ^^ Read-up on the if/else structure and comparison operators. You'd never use

Re: [PHP] Form Validation Issues

2007-05-26 Thread tedd
tedd wrote: SNIP on topic stuff Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown Hi Jim: You might try the array below and the quote above, I believe, was Douglas MacArthur of WWII fame. Is that the same Douglas

Re: [PHP] Too many records to display in one web page

2007-05-26 Thread tedd
level ? any experience on doing this ? Thanks a bunch Eduardo Eduardo: Yes, look into LIMIT in MySQL. Such as: $dbQuery=SELECT $id FROM $dbtable ORDER BY title LIMIT $offset, $rowsPerPage; Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

[PHP] Upload a ppt file

2007-05-28 Thread tedd
Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Does any have any references or an example to show me? Thanks, Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Upload a ppt file

2007-05-29 Thread tedd
At 11:07 PM +0200 5/28/07, Tijnema wrote: On 5/28/07, tedd [EMAIL PROTECTED] wrote: Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Duh! Thanks for the hints -- it was stupid

[PHP] Re: How can I DomDocument-renameNode?

2007-06-03 Thread tedd
= nodeChangingArea.getElementsByTagName(p); var oldGraf = allGrafs.item(inChoice); nodeChangingArea.replaceChild(newGraf,oldGraf); } tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Making thumbs same size

2007-06-04 Thread tedd
and height size, but doesnt work.. Probably I am not undersatnding hoy to use the resampling() tool. here is my code. Humani: -snip- Don't scale, resample. See here: http://www.webbytedd.com/b/thumb/index.php Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Making thumbs same size

2007-06-05 Thread tedd
At 9:56 AM -0400 6/4/07, Robert Cummings wrote: On Mon, 2007-06-04 at 09:50 -0400, tedd wrote: Don't scale, resample. See here: http://www.webbytedd.com/b/thumb/index.php Hi Tedd, In your script you have: ini_set( 'register_globals', '0' ); The line is pointless, it can't

Re: [PHP] Making thumbs same size

2007-06-05 Thread tedd
At 3:33 PM +0200 6/5/07, Zoltán Németh wrote: 2007. 06. 5, kedd keltezéssel 09.17-kor tedd ezt írta: At 9:56 AM -0400 6/4/07, Robert Cummings wrote: On Mon, 2007-06-04 at 09:50 -0400, tedd wrote: Don't scale, resample. See here: http://www.webbytedd.com/b/thumb/index.php PS

Re: [PHP] Making thumbs same size

2007-06-05 Thread tedd
5 pounds she'll do some serious damage to your ankles and maybe to your pant leg too, if she stands on her rear legs. Thanks for your reviews. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

[PHP] Display Errors (was thumbs)

2007-06-05 Thread tedd
routines accordingly? Just opening the idea for discussion. 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] checking the aspect ratio of an images

2007-06-08 Thread tedd
is based upon approximate calculations. 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] customer ids

2007-06-08 Thread tedd
do. 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] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread tedd
-Stut: Would the ftp commands (ftp_login, etc.) in php work for this? 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] PHP5 or PHP4 this is the question

2007-06-09 Thread tedd
-- duh, again! 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] Going from simple to super CAPTCHA

2007-06-10 Thread tedd
routines for various photographic effects, such as Fish-Eye or Oval Cut-Outs or whatever -- rather than beating the dead horse CAPTCHA. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread tedd
that leaves me. 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] Transparent image resizing using php 4.4.x

2007-06-10 Thread tedd
(). 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] Going from simple to super CAPTCHA

2007-06-10 Thread tedd
high-jacking. But even that can be broken, am I not correct? My point was not about the security of my method, but rather the accessibility of it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Going from simple to super CAPTCHA

2007-06-10 Thread tedd
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 if you still think your Audio CAPTCHA isn't hard to crack, then just let me know and i'll start cracking

Re: [PHP] Transparent image resizing using php 4.4.x

2007-06-10 Thread tedd
relevant. As such, if you redefine the color that you want to be transparent at 0,0 -- then the imagecolortransparent() function has an easier time of it. At least, that's my take on it -- could be wrong. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread tedd
weakness? Cheers, tedd PS: I know, better minds have reviewed this issue before, but this is now. -- --- 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] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
place any type of picture, any number of pictures, anywhere and ask the user to click on one (i.e., click on the apple) -- there's nothing to MD5, is there? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
://sperling.com/examples/dot-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] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
At 7:51 PM +0200 6/11/07, Tijnema wrote: It would definitly be an interesting challenge, but you don't have time, or is that an excuse..? :P What about you tedd? Tijnema Eager Beaver, huh? Good for you! After you crack my dot-captcha, I'll make up another. :-) Rob provided an interesting

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
? Such as: A then .6 seconds (time delay random from .1 to 2 seconds) AS then 1.1 seconds ASD Would there be a consistent time difference between the way a computer would read/respond to the letters as compared to a human? I dunno, but it's food for thought. Cheers, tedd -- --- http

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
for the item -- the moon is a good example of that (i.e., close to the horizon is larger than high in the night sky). These are just food for thought. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
At 12:42 PM +0100 6/12/07, Stut wrote: tedd wrote: At 7:38 PM +0200 6/11/07, Tijnema 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 is uncrackable ;) As I

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
At 2:12 PM +0100 6/12/07, Stut wrote: The submit image is bigger than the circle, and I'm guessing Tedd is checking the coords passed through. -Stut Yes, that's all the technique does for now. It just checks the submit x and submit y and determines if those coordinates lie within

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
not be within reason for spammy? Would it be too much to ask the user to click three times? I dunno, but for myself, I would rather find something and click it three times than to decipherer and enter several screwy letters. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
not find him. I think you invented a CAPTCHA that keeps most everyone out. 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] Going from simple to super CAPTCHA OT

2007-06-12 Thread tedd
simple that way. Cheers, tedd PS: The comments could be trimmed a bit, tho. And, we don't have to cc everyone in the thread. -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread tedd
someone would suggest Where's Waldo? 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] create file permission problem

2007-06-13 Thread tedd
, but that's all. How do you guys create a file and set its permissions working on a virtual host via php? Cheers, tedd PS: If I remember correctly, it was pretty easy in perl. Just try to open/write a file and if it wasn't there, it created one for you. But, it's been years since I did any perl

Re: [PHP] create file permission problem

2007-06-13 Thread tedd
At 1:37 PM -0400 6/13/07, Daniel Brown wrote: On 6/13/07, tedd [EMAIL PROTECTED] wrote: Hi Gang: I'm sure this is obvious to most, but not to me. I working on a virtual host. If I want to save data in a file, I can ftpconnect(); change the permissions of an existing file from 0755 to 0777

Re: [PHP] Address validation API's for PHP

2007-06-14 Thread tedd
no contradiction to what proceeded it and thus an and would be more appropriate. However, the sentence is just plain awkward. I think it would read better as: I am researching and asking this group to provide insight and resources for me to consider. Cheers, tedd -- --- http://sperling.com

Re: [PHP] create file permission problem (solved)

2007-06-14 Thread tedd
Daniel, Robert, Richard, and Al: Thanks, all is better. I can create and change file and folder permission as I want now. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] create file permission problem (solved)

2007-06-15 Thread tedd
At 1:06 PM -0400 6/14/07, Daniel Brown wrote: For the sake of people reading the archives now (and in years to come), what was the cause of the problem, Tedd? Daniel: Ok, good point -- I would have liked to have this example to review. I'm not sure of the problems I had, because

Re: [PHP] create file permission problem (solved)

2007-06-15 Thread tedd
in the show-code folder entitled a.php -- tell me what it says. You have all the tools you need to review the php file.. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] GD Library and outputing image

2007-06-15 Thread tedd
. 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] generating an html intro text ...

2007-06-15 Thread tedd
tags (strip_tags) and go with straight text -- a lot easier. 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] create file permission problem (solved)

2007-06-15 Thread tedd
At 6:56 PM -0400 6/15/07, Daniel Brown wrote: I don't think it's PAM-compliant to use a single-quote character in your passwords, Tedd. ;-P -- Daniel P. Brown Daniel: Bzzzet, thanks for trying. Let me explain again, maybe I did explain myself well. In the show-code folder (link

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread tedd
, 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[6]: [PHP] Need a more elegant way of bitwise ORing values

2007-06-16 Thread tedd
; } Would that not work? 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] PHP Competition - Win a copy of Zend Studio

2007-06-16 Thread tedd
At 1:08 AM +0100 6/16/07, Stut wrote: tedd wrote: At 12:45 PM +0100 6/14/07, Stut wrote: Hi All, I've been asked to be a judge in a PHP competition, and I thought I'd let you all know about it. Zend have donated some prizes, including a copy of Zend Studio Professional with 1 year

Re: [PHP] Updating dropdown list

2007-06-16 Thread tedd
things with it. Like this: http://www.webbytedd.com/a/move/ Couple php, js, css, mysql, and html together, you have yourself a nice package for doing stuff. They all look like parts of a single web language same to me. Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Updating dropdown list

2007-06-16 Thread tedd
ajax solutions, I still use php. Here's an example: http://xn--nvg.com/ajax All the html is provided/generated by php. However, the example is very much out of date with respect to unobtrusive javascript. DOM scripting is mondo kewl. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Undefined index:

2007-06-16 Thread tedd
= isset($HTTP_COOKIE_VARS[LoggedIn]) ? ($HTTP_COOKIE_VARS[LoggedIn]) : not logged in; echo($loggedIn); 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] Updating dropdown list

2007-06-16 Thread tedd
need to do in JavaScript? Or can I somehow trick PHP to do this? Ashley: In this case, I think js would be a better choice. You can get the code here: http://www.webbytedd.com/b/dyn-select/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] The data get lost when click back button

2007-06-16 Thread tedd
. Try Googling sticky forms. http://www.informit.com/articles/article.asp?p=412930seqNum=3rl=1 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] I have a problem with nobody! SOLVED!

2007-06-17 Thread tedd
, $headers, $body); 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: php framework, large site

2007-06-18 Thread tedd
. Additionally, you said: heck build your own computer while you're at it :) Yeah, like this world need another Apple. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: php framework, large site

2007-06-18 Thread tedd
At 1:48 AM +0800 6/19/07, Crayon Shin Chan wrote: On Tuesday 19 June 2007 00:36, tedd wrote: What about the wasted time in searching through billions of half-baked to fully-baked frameworks to find one that works for you? That's really a waste of time. Well search through the fully-baked

Re: [PHP] Re: php framework, large site

2007-06-18 Thread tedd
At 2:18 PM -0400 6/18/07, Robert Cummings wrote: On Tue, 2007-06-19 at 01:39 +0800, Crayon Shin Chan wrote: On Monday 18 June 2007 04:00, Robert Cummings wrote: -snip- Looks like someone released the Kraken. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Re: php framework, large site

2007-06-18 Thread tedd
. 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: php framework, large site

2007-06-19 Thread tedd
At 9:35 PM -0400 6/18/07, Robert Cummings wrote: Some of the greatest science comes from those unaware of established rules and theories. There's the quote of the day. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] Re: php framework, large site

2007-06-19 Thread tedd
revolutionary advances. 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: php framework, large site

2007-06-19 Thread tedd
At 2:20 AM +0800 6/20/07, Crayon Shin Chan wrote: On Tuesday 19 June 2007 06:58, tedd wrote: the *majority* of patents for inventions are due to the efforts of a lone risk taker putting his money, time, and effort on the line trying to invent something. I've no idea what the figures

Re: [PHP] Re: php framework, large site

2007-06-19 Thread tedd
- the troll seems to been subdued? That's only because he released the Kracken (AKA Robert) upon himself. Maybe next time, he'll know who not to pick a fight with. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] Interesting article about PHP security exploit by GIF files

2007-06-20 Thread tedd
image buttons that execute code without having to tied them to href= statements. Like a grab this image for that function sort of thing. I see lot's of possibilities. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Interesting article about PHP security exploit by GIF files

2007-06-20 Thread tedd
piece of code that is resampled is going to have a difficult time running. 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] Interesting article about PHP security exploit by GIF files

2007-06-21 Thread tedd
At 9:27 PM +0200 6/20/07, Tijnema wrote: On 6/20/07, tedd [EMAIL PROTECTED] wrote: If you are worried about evil code being in the image, you could always resample the image (larger or smaller). Not that I have personal experience, but I would think that any piece of code that is resampled

Re: [PHP] Counting Capital Letters

2007-06-21 Thread tedd
? Cheers, Rich Rich: Can't say that I have, but try this off the top of my head: 1. Explode the string into two arrays (array1, array2); 2. Lowercase one array; 3. Use array_dif. 4 Count array_dif. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

[PHP] HTML tags in MySQL

2007-06-22 Thread tedd
fixing the dB? Recommendations and suggestions welcomed. 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] Flash / Ajax / PHP

2007-06-30 Thread tedd
with Ajax as data changed, all without the need for flash. But, if you want to investigate the Flash-PHP connection try Google actionscript and php Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] how PHP is batter?

2007-07-03 Thread tedd
At 3:53 PM +0500 7/3/07, Muhammad Hassan Samee wrote: ASP.net VS PHP? how PHP is batter? You take a little flour, milk, egg and mix. Liberally coat the php and then fry. It taste much better than asp and you don't have to risk your life chasing it down. Cheers, tedd -- --- http

Re: [PHP] Swear filter ideas

2007-07-03 Thread tedd
the point home, it might be interesting to write a routine that would take the inferred bad words and replace them with real bad words. Then when someone enters a perfectly non-swearing sentence, it's transformed into something really filthy. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] how PHP is batter?

2007-07-03 Thread tedd
At 7:36 AM -0600 7/3/07, John Meyer wrote: Muhammad Hassan Samee wrote: ASP.net VS PHP? how PHP is batter? Without context that question is meaningless and only serves as troll bait. H, batter as bait -- that's an idea. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] PHP Brain Teasers

2007-07-03 Thread tedd
Ok, I'll play. Phrase: one = rand(1,100); 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] task Scheduler driving me crazy!

2007-07-03 Thread tedd
);? td whatever... /tr See it work here: http://www.webbytedd.com/b/color-rows/ It works better than anything I've read thus far. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: PHP Brain Teasers

2007-07-04 Thread tedd
)) $Lives --; if ($Lives == 0) die(No More Chances); } // Cat TTFN curiosity killed the cat. cat has nine lives. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] Re: PHP Brain Teasers

2007-07-04 Thread tedd
Try this: -(4 * 20 + 7) 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

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