Re: [PHP] Can't find my error

2010-05-07 Thread tedd
At 11:53 AM -0400 5/7/10, Robert Cummings wrote: tedd wrote: At 6:40 AM -0400 5/7/10, David McGlone wrote: On Thursday 06 May 2010 23:47:23 Jim Lucas wrote: Robert Cummings wrote: David McGlone wrote: On Thursday 06 May 2010 20:49:47 Jason Pruim wrote: On May 5, 2010, at 9:02 PM, David

RE: [PHP] Can't find my error [X-PHP]

2010-05-07 Thread tedd
service from a Vietnam Vet (something that was lacking for us at the 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] Re: Really impressive work

2010-05-06 Thread tedd
At 9:43 PM -0400 5/5/10, Robert Cummings wrote: Nathan Rixham wrote: tedd wrote: Hi gang: I found something that really impressed me -- please review this: http://palomarjewelry.com/product/id/19/collectionId/1/typeId/3 -snip- I would use PNGs with alpha transparencies. You have X images

Re: [PHP] Two color rows in table inside while iteration [X-PHP]

2010-05-06 Thread tedd
At 12:07 AM +0200 5/6/10, Michiel Sikma wrote: On 2 May 2010 19:11, tedd mailto:tedd.sperl...@gmail.comtedd.sperl...@gmail.com wrote: government rant -snip- Yes, it would be nice if the people who work for the government also had to live under the same rules as the rest of us

RE: [PHP] In need of CVS/SVN checkout script for Production servers [solved]

2010-05-06 Thread tedd
At 5:43 PM -0700 5/5/10, Daevid Vincent wrote: -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Wednesday, May 05, 2010 8:19 AM To: Daevid Vincent; php-general@lists.php.net Subject: RE: [PHP] In need of CVS/SVN checkout script for -snip- stuff which fell

RE: [PHP] In need of CVS/SVN checkout script for Production servers [solved]

2010-05-05 Thread tedd
think, but I don't want to be too abrasive. :-) 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] Inserting rows with missing IDs

2010-05-05 Thread tedd
a number table!) best, nathan And if they really want just a sequential number ID that they DO NOT depend upon, they can always drop the id from the table and then recreated it -- that way it will be automatically renumbered. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] how to check for bandwidth limitations when uploading files?

2010-05-05 Thread tedd
will be to pay a premium for faster network access, i suppose. but i'd just like to be able to produce some numbers or evidence that that's the actual problem. thoughts? rday You might want to test your connection, such as: http://www.speakeasy.net/speedtest/ Cheers, tedd -- --- http

[PHP] Really impressive work

2010-05-05 Thread tedd
this? Or is there a better way? 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] Inserting rows with missing IDs

2010-05-03 Thread tedd
should rethink how you pull your data. 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 login suggestions

2010-05-03 Thread tedd
to handle this type of problem. 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: Object or such for building a directory tree?

2010-05-02 Thread tedd
At 1:49 AM +0200 5/2/10, Michelle Konzack wrote: Hello tedd, Am 2010-05-01 11:54:45, hacktest Du folgendes herunter: Now on to your problem. You want to take a multidimensional array that contains the names of directories and names of the files contained therein and show them in a file tree

Re: [PHP] Two color rows in table inside while iteration [X-PHP]

2010-05-02 Thread tedd
At 11:53 PM -0400 5/1/10, Paul M Foster wrote: On Fri, Apr 30, 2010 at 01:52:25PM -0400, tedd wrote: All the code I provide on this list and on my various web sites is for free for anyone, except for governments (i.e., local, state, federal, other), to use, review, and/or comment

Re: [PHP] Any One See where this is going wrong?

2010-05-01 Thread tedd
, but then later he test for different image types. What's the reason for that? And I don't see where he provides the values for $newWidth and $newHeight used in the resample. Here's a simpler example: http://webbytedd.com/b/thumb/ Just add the png type to the header content. Cheers, tedd

Re: [PHP] Object or such for building a directory tree?

2010-05-01 Thread tedd
a better functional solution (i.e., client-side with less trips to the server). Namely have PHP create the array and then have javascript show it. This is what I found: http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/ It works for me. Cheers, tedd -- --- http

Re: [PHP] Any One See where this is going wrong?

2010-05-01 Thread tedd
. If you expect us to help you but you won't accommodate a simple, and appropriate request, then don't expect any more help from me. bye! tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Any One See where this is going wrong?

2010-05-01 Thread tedd
At 3:18 PM -0400 5/1/10, Gary wrote: As far as the whole top posting. I have been posting on this board for 2 years (give or take), in fact have had a number of exchanges with tedd, (so I was a little surprised at his response). I have never heard the term top posting, I had not been asked

Re: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread tedd
At 10:34 AM -0400 4/30/10, Paul M Foster wrote: On Thu, Apr 29, 2010 at 05:34:38PM -0400, tedd wrote: Please critically review my example. +1 This thread came up before, and tedd's solution was the least complex, as far as I could tell. I shamelessly stole his code and regularly use

Re: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread tedd
have 100 pages of the above embedded code and the client says Hey, let's change the color of that table -- then you are going to have to change 100 pages of code whereas if you followed best practices then you would change only one rule in css. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread tedd
At 7:26 PM +0100 4/30/10, Ashley Sheridan wrote: On Fri, 2010-04-30 at 13:59 -0400, tedd wrote: At 4:37 PM +0200 4/30/10, Jay Ess wrote: Paul M Foster wrote: +1 This thread came up before, and tedd's solution was the least complex, as far as I could tell. I shamelessly stole his code

Re: [PHP] Security/Development Question

2010-04-29 Thread tedd
and that is NOT good. 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] Two color rows in table inside while iteration

2010-04-29 Thread tedd
to know is what do you suggest to do a two color row format. Thanks!, Juan Juan: Everyone has done this at one time or another -- this is my solution. http://webbytedd.com/b/color-rows/ Plus, it validates and keeps things simple. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Two color rows in table inside while iteration

2010-04-29 Thread tedd
At 11:01 AM -0300 4/29/10, Juan Rodriguez Monti wrote: 2010/4/29 tedd tedd.sperl...@gmail.com: At 8:29 AM -0300 4/28/10, Juan Rodriguez Monti wrote: Hello Guys, I would like to implement a two color row table for some queries that I'm doing. I use PHP to query a DB, then I use while

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
reporting and make alterations as to how to handle errors in one file. The difference between development and live is a simply a change in one script. Error handling is almost an art form. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
acceptable and the end-users were less inclined to throw the game into a wall. So with respect to software engineering, how users view what's going on is important. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Error handling strategies (db related)

2010-04-27 Thread tedd
getting married. 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] Error handling strategies (db related)

2010-04-27 Thread tedd
(and clients) read those books, we would have less problems dealing with users. 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] Error handling strategies (db related)

2010-04-27 Thread tedd
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote: I'm still shocked you guys are still writing code that has errors in it, what's worse is you know about the errors, and instead of fixing them you're just telling the user about it! :p Here's my code that doesn't contain errors: ?php ?

Re: [PHP] Error handling strategies (db related)

2010-04-27 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] php quiz script/tutorial

2010-04-27 Thread tedd
. The database design takes some thought to set up correctly. In the end, there is not really anything that hard about this, it's just collecting information from the user via a form and storing that information in a database. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread tedd
of my database. In my view, the database is there to deliver content not code. I have entire sites that spring from a single index.php page that is loaded with different content depending upon what the user wants -- the site looks big, but consists of a single page. Cheers, tedd

Re: [PHP] Structured PHP studying

2010-04-25 Thread tedd
to consider: 1) What you created; 2) and the technology of the 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

[PHP] What's your game? (X-PHP)

2010-04-25 Thread tedd
tag is special tedd What's your game? 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] Math Question....

2010-04-23 Thread tedd
on. The group size solution would be a number with a zero remainder OR with a remainder closest to your group size. That would be my first blush solution. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

[PHP] Remote Key Question

2010-04-23 Thread tedd
, but perhaps more authors -- so how do I record the authors in the article table? As it is now, I use the remote key for each author and separate each key by a comma in the author field of the article table. For example: author table: id - name - bio 1 - tedd - tedd's bio 2 - Rob - Rob's bio 3 - Daniel

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread tedd
. Thanks, Ash Or the next wonderful thing, whatever that may be from M$. As I saw in a recent cartoon (with a W.C. Fields imitation) Yes, my little chickadee with a couple of shots of bourbon and if you squint your eyes just right, System 7 looks a lot like Mac OS X. Cheers, tedd -- --- http

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread tedd
questions if i don't find any answer already on this list. Cheers from Switzerland Welcome Nick. Do you own a bank? :-) 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] replying to list (I give up)

2010-04-21 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] Date Math

2010-04-20 Thread tedd
this will work, but the question of what constitutes a month might come into play. 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] solution

2010-04-19 Thread tedd
to change the #div with Js enabled content and no js. That's the best way to go. After all, the only real way to detect Javascript is to *use* Javascript :) Michiel The best way is to *attempt* to use it thus providing progressive enhancement *if* it's there. Cheers, tedd -- --- http

Re: [PHP] Adding reCAPTCHA to form using PHP

2010-04-19 Thread tedd
impaired users out. That's not good. Here's an assortment of CAPTCHA's, but I think the Question CAPTCHA is the best. http://webbytedd.com/aa/assorted-captcha/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Adding reCAPTCHA to form using PHP

2010-04-19 Thread tedd
At 2:10 PM -0400 4/19/10, Andrew Ballard wrote: On Mon, Apr 19, 2010 at 12:50 PM, tedd tedd.sperl...@gmail.com wrote: At 12:21 PM -0400 4/19/10, Ernie Kemp wrote: Need help with reCAPTCHA. Never installed it before. When Submit is clicked the quoterequest-redirect.php is run but I think

Re: [PHP] How to do i18n better?

2010-04-19 Thread tedd
/ Click the flag of your choice. However, I have no idea of the quality of the translation. 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] How define if javascript is on with php

2010-04-17 Thread tedd
turned off and those who have javascript turned on, can enjoy an enhanced version of the presentation, but not have something provided that other's can't get. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Basic switch statement

2010-04-16 Thread tedd
At 9:06 AM -0400 4/16/10, Robert Cummings wrote: It runs in a terminal! Cheers, Rob. That's not good. Airport security frowns on that. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] How define if javascript is on with php

2010-04-16 Thread tedd
and removing or hiding it client side works just as well as redirecting to an alternative page. Michiel Paulo: I agree. Here's a working example with everything you need: http://sperling.com/examples/javascript-detection/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Zip Search

2010-04-16 Thread tedd
At 3:21 PM -0400 4/15/10, Jack wrote: Hello All, Can anyone recommend a good open source zip code search application and database? Thanks, Jack Do you mean something like this: http://php1.net/b/zipcode/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Basic switch statement

2010-04-15 Thread tedd
, there is no phpEdit version for the Mac. Currently, I use GoLive (without all the WYSIWYG bloatware), but it limitations are showing. I like Eclipse, but the learning curve is high and has more features than I need. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Basic switch statement

2010-04-14 Thread tedd
types of logic puzzles do much to measure anything other than people's ability to solve logic puzzles. IMO, it's interviewers leap of faith to think logic puzzles are a good indicator of programming prowess. To many of us, programming is just doing over until it works. Cheers, tedd

Re: [PHP] Basic switch statement

2010-04-14 Thread tedd
to read and understand. 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] Solution

2010-04-13 Thread tedd
.'); include(closedb.php); I don't see any reason to separate the attributes of the person into two different tables. Why do that? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread tedd
, or has the user simply clicked the submit button and the page has been refreshed. IOW, how has the user left the page? So, OP explain what you are trying to do? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Basic switch statement

2010-04-13 Thread tedd
? And, if there is a syllabus, can I have a copy? 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] Saving form data into session before leaving a page

2010-04-13 Thread tedd
At 12:40 PM -0400 4/13/10, Robert Cummings wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why

Re: [PHP] Solution

2010-04-13 Thread tedd
At 12:26 PM -0400 4/13/10, Gary wrote: Tedd I had four tables. name, (fname, lname) address(street, town, state, zip), contact(phone, fax, email), comments (comments). It was done this way because it is strictly a learning exercise. I had never created a DB with multiple tables, so I wanted

Re: [PHP] Solution

2010-04-13 Thread tedd
At 3:09 PM -0400 4/13/10, Andrew Ballard wrote: On Tue, Apr 13, 2010 at 2:50 PM, tedd tedd.sperl...@gmail.com wrote: For example, a user has name, address, height, weight, color, language, etc. Those things can be listed in a single table. And now for the universal DBA answer - it depends

Re: [PHP] PHP MYSQL sorting

2010-04-12 Thread tedd
to get the data again OR you can simply sort the data yourself using sort(). Here's another idea using jQuery: http://webbytedd.com/jquery/sortable-table/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Inserting into multiple tables

2010-04-12 Thread tedd
the items' ID. None of the above requires some special way to inserting data into multiple tables -- you just record the sales. Sales table Sales ID -- Customer ID -- Item ID -- and probably the date. 1234 -- 6789 -- 101112131415 -- 4/12/10 Cheers, tedd -- --- http://sperling.com

Re: [PHP] Sort two coupled arrays [my solution]

2010-04-09 Thread tedd
At 10:26 AM -0400 4/8/10, Robert Cummings wrote: tedd wrote: At 8:28 AM -0400 4/8/10, Andrew Ballard wrote: On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote: rsort(array_combine(array2, array1)); you should expect array( 'Personal Email' = 75, 'USPS mail' = 40

Re: [PHP] Sort two coupled arrays {my solution]

2010-04-08 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] Sort two coupled arrays {my solution]

2010-04-08 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

[PHP] Sort two coupled arrays

2010-04-07 Thread tedd
, the order of Array 2 depends upon the order of Array 1 -- the two arrays are coupled. I've solved this problem, but my solution is pretty lame. There has to be a better/slicker way. Suggestions? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] Sort two coupled arrays {my solution]

2010-04-07 Thread tedd
was hoping that someone might present something clever. 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: imagecopyresize

2010-04-06 Thread tedd
Hi: Here's my code for doing watermarks: 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] Updating HTML on page

2010-04-06 Thread tedd
. etc., etc. Ideally without refreshing the page each time. Is this where I need to figure out Ajax and incorporate it with PHP? Exactly. Here's an example: http://webbytedd.com/b/timed-php/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

[PHP] GetElementByClass?

2010-04-03 Thread tedd
and parse out what is between the p tags, but I was hoping for a GetElementByClass way to do this. So, is there one? Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
At 8:11 AM -0600 4/3/10, Peter Pei wrote: On Sat, 03 Apr 2010 08:58:44 -0600, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sat, 2010-04-03 at 10:29 -0400, tedd wrote: -snip- Now, I can extract each question by using javascript -- document.getElementById(question).innerHTML

Re: [PHP] GetElementByClass?

2010-04-03 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] GetElementByClass?

2010-04-03 Thread tedd
: document.getElementById(question).innerHTML; While you are using a getElementById, which returns an ID, but adding .innerHTML will return the class value. Try it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
At 5:16 PM +0200 4/3/10, Piero Steinger wrote: Hi You could replace the class with id and then go on with JavaScript. A possible better way are regular expressions... Greetz Piero I can go with javascript as-is (what I showed) and don't have to change any html. Cheers, tedd

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
and not step through the questions like I would have to do using javascript to approve (trigger) each step. But my main reason for posting was to see if PHP had DOM operators like javascript. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
At 9:14 AM -0600 4/3/10, Peter Pei wrote: Somejavascript engine already support GetElementByClass, for example Opera does. My example shows how, namely: document.getElementById(question).innerHTML; will return the value within the class. Cheers, tedd In your original post, you said

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
At 12:18 PM -0400 4/3/10, tedd wrote: At 8:14 AM -0600 4/3/10, Peter Pei wrote: No javascript's getElementByID() won't work here. As question is a class, not an ID. But like what was mentioned here, you can use getElementByClass() with Opera, and that will work. Sort of. Like I said

Re: [PHP] GetElementByClass?

2010-04-03 Thread tedd
At 10:03 AM -0600 4/3/10, Nathan Nobbe wrote: -snip- code Your code worked like a charm. Thanks. Now, I can extract each question by using javascript -- document.getElementById(question).innerHTML; tedd, are you slipping? i thought you were searching by the class attribute, lol. Yeah

Re: [PHP] MySQL query not working!

2010-03-31 Thread tedd
to drop tables from your database. In short, never trust anything coming from client-side. Here's a reference on the subject: http://en.wikipedia.org/wiki/SQL_injection There are many others. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

Re: [PHP] PHP GUI library/package

2010-03-31 Thread tedd
application from my php scripts, but I am clueless as to how to do this. If anyone has done this on a Mac, I would be very interested in knowing how you did it. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http

Re: [PHP] Re: using UID in DB

2010-03-31 Thread tedd
second, then my method would not be a solution. As such, the solution should be tailored to the problem. 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: using UID in DB

2010-03-31 Thread tedd
At 11:08 AM -0700 3/31/10, Tommy Pham wrote: On Wed, Mar 31, 2010 at 10:23 AM, tedd tedd.sperl...@gmail.com wrote: At 5:56 PM -0700 3/30/10, Tommy Pham wrote: On Tue, Mar 30, 2010 at 2:27 PM, Nathan Rixham nrix...@gmail.com wrote: nope never been able to find any significant advantage

Re: [PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-27 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] Top vs. Bottom Posting

2010-03-26 Thread tedd
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] You didn't used to be so difficult, what changed? (look I'm bottom posting!) I wasn't trying to be difficult! Honest! Yousif hijacked my thread to tell me to bottom post. I did the right thing IMHO, and split

Re: [PHP] Top vs. Bottom Posting.

2010-03-25 Thread tedd
At 6:34 PM -0700 3/24/10, Daevid Vincent wrote: -snip- You didn't used to be so difficult, what changed? For me it's preferable to select windmills that are in my best interest to tilt. Otherwise, what's the point? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread tedd
Hi gang: When I'm confronted with a large number of emails to read under one subject (like this one), I put on the Robert, Stuart, Brown Filter. As such, I only read their post and everything gets to the point quicker and makes more sense. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Wordpress/PHP question

2010-03-22 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 Variable Problem

2010-03-21 Thread tedd
the process simpler for me -- plus I can then keep all my security checks in one location. 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 Variable Problem

2010-03-21 Thread tedd
the code is there. Plus, it will give you a way to go from page to page without leaving the gathering 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

Re: [PHP] blog design issue...

2010-03-20 Thread tedd
to be a small blog to start, but I guess I should always be looking at performance, security, maintainability right? I did read the post that tedd put up about looking at storing variables differently and am considering going that route... But just wanted to know what you all think :) Oh I'm also

Re: [PHP] I need a fresh look at storing variables in MySQL

2010-03-18 Thread tedd
/answer pairs together into a single event (i.e., a vote). 4) Answer -- what we are after. This format lends itself well to analyses using MySQL. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread tedd
of code elegance. I program for myself first and solve the client's problems second. I also realize that I have the privilege of doing so because my needs are few. I probably wouldn't do well in a production oriented environment. Cheers, tedd -- --- http://sperling.com http

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread tedd
of this discussion (on either side of the argument) as religious' or ranting -- it's simply a 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] Spreadsheet_Excel_Reader problem

2010-03-18 Thread tedd
in an exception. I've found that M$ always has a better idea, even if they are the only ones who think so. 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] best way to determine mime type of file these days?

2010-03-18 Thread tedd
/manual/en/ref.fileinfo.php Broken. 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 in HTML code

2010-03-17 Thread tedd
At 8:55 PM -0400 3/16/10, Adam Richardson wrote: That said, I'm not taking exception with those who don't use the short tag, only with those who say I shouldn't. Exception or not, it's still your choice and using short tags can cause problems. My view, why create problems when there is a

Re: [PHP] fresh look at storing variables in MySQL [Solution]

2010-03-17 Thread tedd
At 1:10 PM -0500 3/13/10, tedd wrote: I just completed writing a survey that has approximately 180 questions in it and I need a fresh look at how to store the results so I can use them later. I decided to store all questions/answers pairs in MySQL as individual records. Now I could have

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread tedd
tags and ASP style tags, and can be turned on and off from the php.ini configuration file. As such, while some people find short tags and ASP style tags convenient, they are less portable, and generally not recommended. +1 Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Re: PHP in HTML code

2010-03-16 Thread tedd
for presentation -- This must be old code OR the programmer still doesn't get 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

[PHP] I need a fresh look at storing variables in MySQL

2010-03-13 Thread tedd
answered e1 as 1 how did they answer e2? If there is something wrong with my preference, please let me know. 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

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread tedd
At 8:25 AM + 3/5/10, Ashley Sheridan wrote: If it's spam, it's the first I've seen that actually has something to do with PHP and not drugs, money or sex! Thanks, Ash You mean that PHP is not drugs, money, or sex? What's the purpose then? Cheers, tedd -- --- http://sperling.com

Re: [PHP] Best os shopping cart

2010-03-03 Thread tedd
site, simply a cart to power a subscription sign-up page. Thanks for the advice. Haig Haig: A subscription sign-up page? That doesn't sound like a shopping cart problem. You mean something like this: http://webbytedd.com/b/sub-email/ Cheers, tedd -- --- http://sperling.com http

Re: [PHP] When to use namespaces

2010-03-01 Thread tedd
(www.muze.nl) Tie it to your url, such as: ripcord.muze.nl That would be sufficient and unique as a namespace under your control. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] How to get the 'return type' of a function?

2010-02-23 Thread tedd
; case 1: return 'bar'; } } What should the return type be? -- Daniel Egeberg It can be anything you want to test for -- check out: is_int(); is_nan(); is_float(); is_long(); is_string(); IOW, is_whatever(); Cheers, tedd -- --- http://sperling.com http

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