Re: [PHP] spider

2008-03-21 Thread tedd
At 1:52 PM -0400 3/21/08, tedd wrote: Hi gang: How do you spider a remote web site in php? You guys are always doing this. I ask a simple question like what's a + b and you guys high-jack the thread and start discussing the quadratic equation. :-) I knew sometime I would have to figure

Re: [PHP] spider

2008-03-21 Thread tedd
to be set to 0777, then that's a security issue, isn't it? 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] Double click problem [SOLVED]

2008-03-22 Thread tedd
they get the notice. I might be able to put a hidden input field to cancel the notice, but like everything -- one thing leads to another. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Double click problem [SOLVED]

2008-03-22 Thread tedd
At 7:21 AM + 3/22/08, Lester Caine wrote: tedd wrote: Hi gang: This is probably trivial for most of you, but here's my solution to the problem I presented earlier. The problem was, I just wanted to be certain that if a use clicked a button that they could only do it once. Sounds simple

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread tedd
At 11:22 AM -0400 3/22/08, Greg Bowser wrote: Yeah. I always forget to reply to all. I always reply to all and then cut out everything that isn't [EMAIL PROTECTED] I know, there's probably a better way, but that's what I do. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Procmail Recipe to INSERT reply-to header (was: strange list behavior when replying to message on list)

2008-03-22 Thread tedd
At 2:30 PM -0400 3/22/08, Mark Weaver wrote: tedd wrote: At 11:22 AM -0400 3/22/08, Greg Bowser wrote: Yeah. I always forget to reply to all. I always reply to all and then cut out everything that isn't [EMAIL PROTECTED] I know, there's probably a better way, but that's what I do

Re: [PHP] Manipulating PDF

2008-03-23 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: [PHP] Array and Object

2008-03-24 Thread tedd
is a subset of UTF-8 -- what you find (characters) in Latin 1 is the same as in UTF-8. If you have a code point (character) that lies outside of the range of Latin 1, then there is no solution. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] Array and Object

2008-03-24 Thread tedd
, then there is no solution. Cheers, tedd I'm not stopping you. When you figure out how to decode UTF-8 to Latin, I would like to see it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Beware of round() function

2008-03-26 Thread tedd
interesting is that the round function has a bias to round down. I've proved it, but it takes a lot of calculations to demonstrate any significant difference. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-26 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: [PHP] Cookie Trouble: getting the information back out...

2008-03-26 Thread tedd
, but for the life of me I can't see it. Therefore the shoe that I'm compelled to clean and shine keeps dipping itself back into the mud. Well, if it's any solace to you I remember facing the same problem and finally resorted to a refresh. But it did slow me down a bit. Cheers, tedd

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread tedd
and consider it; 2) If I use a single quote, then I know that statement does not contain a variable -- it's a form of documentation for me. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread tedd
. parsing foo and 'foo' is all the same a good read about it: http://blog.libssh2.org/index.php?/archives/28-How-long-is-a-piece-of-string.html greets, Zoltán Németh I read it, but it still doesn't disprove the premise. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread tedd
consider the escape concerns. 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] munge / obfuscate ?

2008-03-28 Thread tedd
At 9:27 PM -0400 3/27/08, Robert Cummings wrote: $sekret = 'the brown cow stomped on the wittle bug'; :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: putting variables in a variable

2008-03-28 Thread tedd
$image.jpg is image1.jpg or image2.jpg or image3.jpg 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] Google Pagerank script

2008-03-30 Thread tedd
It used to work, but now it doesn't. Anyone care to tell me why it doesn't work anymore and how to fix it? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

Re: [PHP] new lines in textareas?

2008-03-30 Thread tedd
Show the code. 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] Problem in a generate password function

2008-03-31 Thread tedd
Neat -- thanks, 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] phone number allocation manager

2008-04-01 Thread tedd
communications. Your job is going to be difficult, I 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] phone number allocation manager

2008-04-01 Thread tedd
that come-off hold. Knowing that you're more cerebral than that, what am I missing? 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] April Fools Easter Egg

2008-04-01 Thread tedd
At 4:33 PM +0200 4/1/08, Paul Scott wrote: On Tue, 2008-04-01 at 10:28 -0400, tedd wrote: You got me. Wobbly PHP logo on mine (PHP-5.2.5 debian) --Paul Ahhh, now I see it. The one I was checking was 4 something. tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread tedd
At 9:23 AM -0500 4/1/08, Ray Hauge wrote: Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com You got me. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] Dynamic dropdown lists (select)

2008-04-06 Thread tedd
At 12:51 PM +0200 4/4/08, Angelo Zanetti wrote: Hi all, I am looking at options for creating a dynamic dropdown list. Angelo Try this: http://webbytedd.com/cc/dynamic-option/index.php The javascript is there: http://webbytedd.com/cc/dynamic-option/a.js Cheers, tedd -- --- http

Re: [PHP] Search engines and cookies

2008-04-07 Thread tedd
SE's shouldn't complain. 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] New Ajax search component

2008-04-08 Thread tedd
As long as we're raining on parades ;) http://developer.yahoo.com/yui/autocomplete/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php And to continue: http://www.webbytedd.com/c/ajax-pop-down/ Cheers, tedd -- --- http://sperling.com

Re: [PHP] New Ajax search component

2008-04-08 Thread tedd
At 4:17 PM -0600 4/8/08, Nathan Nobbe wrote: On Tue, Apr 8, 2008 at 3:53 PM, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: As long as we're raining on parades ;) http://developer.yahoo.com/yui/autocomplete/http://developer.yahoo.com/yui/autocomplete/ -- PHP General Mailing List

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread tedd
unobtrusive in html. But as long as php presents html, then html will be sub-set of php to 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

[PHP] $_SESSION problem

2008-04-10 Thread tedd
the same php-info -- so, why do they behave differently re sessions? Note that [1] will retain the session values throughout the entire session, while [2] does not and loses session values. Why? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] $_SESSION problem

2008-04-11 Thread tedd
At 5:10 PM -0600 4/10/08, Nathan Nobbe wrote: On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 4:29 PM, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: you might just dump out the session component of the php

Re: [PHP] $_SESSION problem

2008-04-11 Thread tedd
At 5:05 PM -0600 4/10/08, Nathan Nobbe wrote: On Thu, Apr 10, 2008 at 4:29 PM, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Hi gang: I'm stumped and in need of some expert explanation. I have prepared two demos (showing code) for your enjoyment: [1] http://www.webbytedd.com/x

[PHP] Quarters

2008-04-11 Thread tedd
Hi gang: Check out my new game: http://webbytedd.com/quarters/ What do you think? Cheers, tedd PS: I originally wrote the game for the Mac over eight years ago. -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] $_SESSION problem [SOLVED (sort-of)]

2008-04-11 Thread tedd
At 10:12 PM -0400 4/10/08, Eric Wood wrote: tedd wrote: [1] http://www.webbytedd.com/x/index.php [2] http://sperling.com/x/index.php Both of these demos have the exact same code; and are on the same server; with exactly the same php-info -- so, why do they behave differently re sessions

[PHP] Quarters -- ERRORS --

2008-04-11 Thread tedd
is: if (document.getElementById) { document.getElementById(id).checked = true; } else { inset solution here. } All the code has to do is to set a simple checkbox to 'on' in IE. Anyone have any ideas? Cheers, tedd PS: I'm going to post this on a js list as well. PPS: You have to wonder

[PHP] $_SESSION problem [NOW SOLVED]

2008-04-11 Thread tedd
At 11:33 AM -0400 4/11/08, Daniel Brown wrote: On Fri, Apr 11, 2008 at 10:29 AM, Ford, Mike [EMAIL PROTECTED] wrote: Sounds like a register_globals=On issue It does to me, as well. I know, Tedd, that on the php1.net site that you mentioned to me off-list, I'm about 99% positive

[PHP] Quarters [SOLVED]

2008-04-12 Thread tedd
work for some browsers -- but failed in IE. However, once that was fixed, the critter works for most current browsers (IE6+, Safari , FF, Opera). For those interested, here's the finished version: http://webbytedd.com/quarters/ Thanks for all the help. Cheers, tedd -- --- http

Re: [PHP] Quarters -- ERRORS --

2008-04-14 Thread tedd
What you talkin' bout? Document.getElementById() works fine in IE5 and later. There must be some other error. The error was that I was passing the id as an array and not as a string. What's interesting is that only IE's would not accept that mistake. Cheers, tedd -- --- http

Re: [PHP] Writing MySQL Update Query with NULL value

2008-04-14 Thread tedd
=$suffix; Why the {}? 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] Need a simple one time search utility

2008-04-14 Thread tedd
At 3:16 PM -0400 4/14/08, Daniel Brown wrote: ... while I'm on my honeymoon. I probably won't be any higher than fifth place. ;-P On my honeymoon, I couldn't help but place first. ;-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread tedd
At 3:07 PM -0400 4/14/08, Wolf wrote: Between you and Tedd having basic coding/spelling issues, I sure hope it's because you were at the Van Halen Concert!! ;) Tsk, tsk. Just you wait until the next time you post. Tsk, tsk indeed. ;-) Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Quarters

2008-04-14 Thread tedd
Really? I was starting to think that the secret was the coins that kept magically reappearing. I gave up. (That was in IE, bearing through the JavaScript error alert boxes.) Andrew Andrew: Try it again: http://webbytedd.com/quarters/ The js errors have been fixed. Cheers, tedd

Re: [PHP] Quarters

2008-04-15 Thread tedd
At 8:40 PM +0200 4/15/08, Zoltán Németh wrote: tedd írta: Hi gang: Check out my new game: http://webbytedd.com/quarters/ What do you think? that's cool, the only problem is that I lost ten times out of ten ;) maybe on the weekend I give it a deeper analysis and so I can figure out

Re: [PHP] Most viewed?

2008-04-15 Thread tedd
html to show how many transactions, if you want. This is an example of using a file: http://www.webbytedd.com/b/readwrite-download/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Quarters

2008-04-15 Thread tedd
At 5:43 PM -0400 4/15/08, Wolf wrote: Dang it! You beat me to it! Hey Tedd, Make it rotate between [EMAIL PROTECTED] and [EMAIL PROTECTED] You guys make me laugh. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

[PHP] PHP Speech

2008-04-15 Thread tedd
presenting the page and javascript can't touch the server, right? So, how does one delete the wave file? The only way I can see is to set up a cron job to delete all wave files after a certain time, but that's kind-of lame. Is there another way? Cheers, tedd -- --- http://sperling.com

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread tedd
be 3000X2000 pixels in image size, even if the jpeg file containing the image is only 200 KB. When working with the image, it gets uncompressed and takes up a lot of memory. You might want to look into using javascript to trim the file down to a respectable size before uploading. Cheers, tedd

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread tedd
At 9:41 AM -0400 4/16/08, Andrew Ballard wrote: On Wed, Apr 16, 2008 at 7:56 AM, tedd [EMAIL PROTECTED] wrote: At 6:48 PM +0900 4/16/08, Dave M G wrote: PHP list, I have a PHP script that resizes an image. It takes just about whatever size and shrinks and crops it down to 320X240

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread tedd
At 10:53 AM -0400 4/16/08, Andrew Ballard wrote: On Wed, Apr 16, 2008 at 9:59 AM, tedd [EMAIL PROTECTED] wrote: I saw one the other day that caught my eye -- will look into it. The first problem I see implementing the approach is the JavaScript sandbox. JavaScript is allowed to read

[PHP] Double billing problem

2008-04-19 Thread tedd
? Is this a race issue or something similar? And more importantly, what can I do about it? Cheers, tedd PS: I have directed the question to PayPal as well. -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] php framework vs just php?

2008-04-22 Thread tedd
use for specific needs. That collection grows daily. You might try what I do, which is to review every problem presented on this list and make a demo of the solution. It's a lot of work, but you'll build a library of stuff that you can use over and over. Cheers, tedd -- --- http

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread tedd
will notice much difference. 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] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread tedd
, the character (code-point) ñ does not appear in ASCII, so that doesn't 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] Re: php framework vs just php?

2008-04-23 Thread tedd
. Anyways, back to work. -Stut Well put. Not speaking for you, but if we had listened to the there's only one way to do it types, we wouldn't have PC's on our desks but rather terminals. As they say in PERL, there's always more than one way to do it. Cheers, tedd -- --- http

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread tedd
At 5:24 PM +0300 4/22/08, Sancar Saran wrote: Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... Yes, and I'm programming with it. But, that's what jQuery and I call a library. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] the most amazing php code i have ever seen so far

2008-04-24 Thread tedd
The most amazing code I have ever seen? That's easy -- just about anything that Stut, Rob or Daniel provides. I have a whole library of their routines. Good stuff! Cheers, tedd PS: And no, don't ask for it. -- --- http://sperling.com http://ancientstones.com http://earthstones.com

Re: [PHP] check if any element of an array is not empty

2008-05-01 Thread tedd
. -afan You can create an empty array and check to see if the difference via array_diff. 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] Phpstop.com project - wanna be a writer?

2008-05-05 Thread tedd
.net/ Just not ready to launch yet. 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] Web page excerpt editor

2008-05-05 Thread tedd
up their own site, but not having well formed html can create problems. I am open to comments and suggestions. 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] Phpstop.com project - wanna be a writer?

2008-05-05 Thread tedd
At 3:12 PM +0200 5/5/08, Chris Haensel wrote: ROFL! I can not believe Mr Tedd THE Sperling has been thinking bout the same thing. Well, you are going to do it webbased, aren't ya? I was thinking to have it in PDF magazine style. Maybe I can have you as a writer? ;o) And maybe 2 or 3 more

Re: [PHP] Web page excerpt editor

2008-05-06 Thread tedd
At 9:52 AM -0400 5/5/08, Jason Pruim wrote: On May 5, 2008, at 9:43 AM, tedd wrote: I've been trying to come up with an alternative -- here's my twist: http://www.webbytedd.com/a/easy-page-db Please note the [Edit Mode] link on the top right of the page. I'm not willing to share the code

Re: [PHP] Web page excerpt editor

2008-05-06 Thread tedd
At 11:19 AM -0400 5/5/08, Eric Butera wrote: On Mon, May 5, 2008 at 9:43 AM, tedd [EMAIL PROTECTED] wrote: FCKEditor and TinyMCE are impressive in what they do, but they produce a mix of css and html -- that's not good in my book. This is an interesting idea. Most clients don't want

Re: [PHP] Web page excerpt editor

2008-05-06 Thread tedd
At 8:49 AM -0400 5/6/08, Jason Pruim wrote: On May 6, 2008, at 8:41 AM, tedd wrote: My only quandary was -- do I allow them to input html or not. I misunderstood what you were going for... But this does give me another idea... Why not give them very simple things like [bold][/bold

Re: [PHP] Where to start!

2008-05-06 Thread tedd
design, then pick up a couple books on MySQL and learn what people are arguing about. However, realize that you can get something working quite well without being a database expert. It's easy to get it to work -- but, to get it to work well, takes a bit more effort. Cheers, tedd

Re: [PHP] Where to start!

2008-05-06 Thread tedd
At 10:14 AM -0400 5/6/08, Andrew Ballard wrote: On Tue, May 6, 2008 at 9:21 AM, tedd [EMAIL PROTECTED] wrote: I will respectfully (though strongly) disagree here, tedd. If you are building a guest book and all you need is a place to store and retrieve stuff, store it in a file rather than

Re: [PHP] GD - JPEG to PNG with transparency and color

2008-05-07 Thread tedd
); $osy=imagesy($original); $wsx=imagesx($watermark); $wsy=imagesy($watermark); imagecopy($original, $watermark, ($osx-$wsx)/2, ($osy-$wsy)/2, 0, 0, $wsx, $wsy); //center imagepng($original, trans.png); The code works here: http://webbytedd.com/b/watermark/ Cheers, tedd -- --- http

Re: [PHP] Where to start!

2008-05-07 Thread tedd
At 1:49 PM -0400 5/6/08, Robert Cummings wrote: On Tue, 2008-05-06 at 13:42 -0400, tedd wrote: Rob, who I respect greatly, said that 90 percent of what you are doing should be decided before you start programming. But, I never work that way either. I always jump right in and use

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread tedd
At 12:34 PM -0400 5/7/08, Robert Cummings wrote: The exception being when it performs cleanup. Cleanup should be relegated to a cron job. Rob: What clean-up? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 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] $_SESSION v. Cookies

2008-05-07 Thread tedd
At 4:22 PM -0400 5/7/08, Robert Cummings wrote: On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: At 12:34 PM -0400 5/7/08, Robert Cummings wrote: The exception being when it performs cleanup. Cleanup should be relegated to a cron job. Rob: What clean-up? All the inactive session files

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread tedd
At 9:18 PM +0100 5/7/08, Richard Heyes wrote: Perhaps touch might help. Touch my ass. ROFLMAO (I've been waiting for years to use that one) It won't work? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Recursion... Sort of...

2008-05-09 Thread tedd
are and there is something that bothers me about that approach... Unless that really is the easiest way. Thanks in advance! Matt If the CRM app uses a browser, then it sounds like a problem that could be solved via css -- parent/child relationships. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread tedd
by the $PieceWeight? $PieceWeight is a static number. Is $PieceWeight is a static number? The last time I checked, the cost per oz for shipping depends upon the weight. The more weight, the less the cost per ounce. Is that not true? --- As for the code, that's pretty simple. Cheers, tedd

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread tedd
At 1:29 PM -0400 5/9/08, Jason Pruim wrote: Hey tedd On May 9, 2008, at 1:21 PM, tedd wrote: At 12:56 PM -0400 5/9/08, Jason Pruim wrote: Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's

[PHP] Re: unsubscribe

2008-05-09 Thread tedd
intelligence? 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: unsubscribe

2008-05-09 Thread tedd
At 3:45 PM -0600 5/9/08, Nathan Nobbe wrote: On Fri, May 9, 2008 at 2:57 PM, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: It's interesting when people are smart enough to subscribe, but dummy-up when exiting. Do you think this list saps intelligence? im getting dumber by the day

[PHP] A Little Something.

2008-05-10 Thread tedd
Hi gang: This is what I did this morning: http://webbytedd.com/bb/tribute/ It speaks for itself. 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] Re: unsubscribe

2008-05-12 Thread tedd
not using it. But that's just me ;) Depends on how OOP-dependent you are. I, for one, don't use classes in my own personal stuff. It's not that I can't, it's just that I prefer not to use them. I'm a OOPoholic and I've been OOP free for 10 years, three months and four days. Cheers, tedd

Re: [PHP] Re: A Little Something.

2008-05-12 Thread tedd
-- the page works with javascript on or off. Now, with all of that said -- which of you javascript experts can tell me what I can do to stop the warnings that are generated by Google's UrchinTracker code? Thanks and Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Replacing accented characters by non-accented characters

2008-05-12 Thread tedd
and Localization. Looks to me like you're trying to fit a gross into a dozen -- that's a lossy process that's probably not going to do what you want. /rant Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Re: A Little Something.

2008-05-12 Thread tedd
to keep track of visitors to your web site. Now, how is that a security threat? Or is the claim that any site that uses js is a security threat? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] using variable in php form before the form is POSTed

2008-05-13 Thread tedd
that I can use the same script to present different forms based upon which step in the form processing the user is on (i.e., step=1, step=2, step=3 and so on). Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Re: A Little Something.

2008-05-13 Thread tedd
. No big deal -- I'll just conclude that urchin isn't a security problem and there is nothing I can do about the warnings it generates. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Re: A Little Something.

2008-05-13 Thread tedd
pretty similar. I think I'll name my next pet Peeve. That reminds me that my daughter, when she was a teenager, named our cat Meow. Our neighbors all thought I had lost my mind when I was outside calling the cat. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] JavaScript and PHP

2008-05-14 Thread tedd
value=2 onclick=javascript:GetImage(this);Einstein 2 Note the change of this in your js call -- you can do that and not have to provide the number. Also put in an action=whatever into your form and collect the selection via $_POST['rad']; That will do what you want. Cheers, tedd

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread tedd
At 1:50 PM -0700 5/14/08, Jim Lucas wrote: Just wondering if the mailing list is working. I have not received anything from this list today. -- Jim Lucas If you don't receive this, please let me know. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Validating Form input

2008-05-15 Thread tedd
. Any thoughts? Use javascript to enhance the user experience, but always validate server-side. If you are clever, you can tie the two together via ajax and present a nice data collection scheme that is both user-friendly and secure. Cheers, tedd -- --- http://sperling.com http

RE: [PHP] JavaScript and PHP

2008-05-16 Thread tedd
At 4:01 PM +0100 5/16/08, Ford, Mike wrote: On 14 May 2008 21:21, tedd advised: At 7:31 PM +0100 5/14/08, Mário Gamito wrote: Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net

Re: [PHP] Persistent state applications

2008-05-17 Thread tedd
, tedd PS: Gang -- if I have missed one, please jump in and correct me. -- --- 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] Persistent state applications

2008-05-17 Thread tedd
At 1:22 PM -0700 5/17/08, James Colannino wrote: tedd wrote: James: Hey tedd, thanks for the response! 1. A $_SESSION variable; After googling briefly on the subject of sessions, it looks like this is probably the way I'd want to go. I like this idea, because I can modularize the code

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread tedd
At 8:44 AM -0400 5/19/08, Wolf wrote: It sounds like your code is hokey, since IE is more stringent then other browsers, the code looks to be at fault. The term stringent isn't what comes to mind when I think about IE's. Tim: Did other browsers work? Cheers, tedd -- --- http

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-20 Thread tedd
$ with respect to standards. 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: RES: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread tedd
to run javascript, right? And, you can use javascript and run php, right? So, all you need between the two is communication, right? Think of ajax. Here's an example: http://webbytedd.com/b/timed-php/ It just takes a little work. Cheers, tedd -- --- http://sperling.com http

[PHP] Re: Re: A Little Something.

2008-05-21 Thread tedd
the site, it just enhances the ability for Tedd to analyse how people are using it. Ahh, -- urchinTracker() is from Google. :-) And if used without informing users, it is definitivly a privacy violation. At least in most EU countries like Germany and France. Well then, all web

RE: [PHP] php mysql live feed

2008-05-21 Thread tedd
Hi: The following could be taken from MySQL just as well: http://webbytedd.com/b/timed-php/ 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: A Little Something.

2008-05-29 Thread tedd
At 8:31 PM +0200 5/28/08, Michelle Konzack wrote: I have customers in Iran, Turkey, Syria, Lebanon, Moroco, Germany and Swiss. Sounds like a sandwich. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] UK PHP Host/Developer Required OT

2008-06-12 Thread tedd
, hopefully the site will be accessible globally, right? So, why the need for a specific geographical location for a host? Are there UK laws that require businesses to be totally self-contain within the UK? Or, is this just a limitation of management to understand what the net is? Cheers, tedd

Re: [PHP] Memory cache problem

2008-06-13 Thread tedd
. Is this not true? 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] Strategy to protect images

2008-06-15 Thread tedd
or other such image alteration) to the picture, like so: http://webbytedd.com/b/watermark/ 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] Strategy to protect images

2008-06-15 Thread tedd
At 4:11 PM +0100 6/15/08, Richard Heyes wrote: But, a sophisticated user will find a way around that. A less sophisticated one will use the PrintScr key... :-) -- Richard Heyes Must be a windozes thing. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

<    5   6   7   8   9   10   11   12   13   14   >