Re: [PHP] Reminder On Mailing List Rules

2010-10-26 Thread tedd
At 11:23 PM -0400 10/24/10, Paul M Foster wrote: On Fri, Oct 22, 2010 at 12:35:43PM -0400, tedd wrote: At 4:54 PM -0400 10/21/10, Marc Guay wrote: Toilet seat. Up or down. Same thing? Sort of. No, everything down (seat and top) is the rule in my house. You should see how women often

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
, but isn't it a bit eerie that many of us hit that same point almost simultaneously? Richard Lynch, Lester Caine, Jochem Maas, Jim Lucas, the Nathans (Rixham and Nobbe), yourself, myself - even Tedd Sperling and Jason Pruim, among many others - seemed to all fall off the face of the virtual earth at about

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
to stop posting -- I'm always making a fool of myself. That's just another way to learn. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 6:05 PM +0100 10/21/10, Ashley Sheridan wrote: And thanks for remembering I'm a guy, been called a girl on this list more than once! :p Thanks, Ash You're not! :-) Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 3:01 PM -0500 10/21/10, Jay Blanchard wrote: [snip] Orwellian! [/snip] Nazi's did it! Why? Top posting is bad! I read some place that the first one to mention Nazi's lose the argument. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 4:54 PM -0400 10/21/10, Marc Guay wrote: Toilet seat. Up or down. Same thing? Sort of. No, everything down (seat and top) is the rule in my house. You should see how women often react when I tell them to put the top down -- it's like my dog hearing a high note. Cheers, tedd

Re: [PHP] Formatting an ECHO statement.

2010-10-19 Thread tedd
are addressing. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread tedd
At 9:47 AM -0400 10/18/10, Steve Staples wrote: or create a style sheet, with a class definition for italic. Steve. +1 The best practices way to do it. Don't style output in an echo statement, but rather put styling in a css sheet, It's much cleaner there. Cheers, tedd -- --- http

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-09 Thread tedd
At 4:30 PM +0100 10/8/10, Nathan Rixham wrote: tedd wrote: Now, back to the question at hand -- what price would you sell a line of your code for? Interesting case and question Tedd! Quite sure we all realise the answer is not black and white but various shades of grey, and I wouldn't fancy

Re: [PHP] What other languages do you use?

2010-10-09 Thread tedd
-job/client requires it) (2) about to jump in to another language Best, Nathan Nathan: I am assuming, perhaps wrongly, you are asking about programming languages -- is that correct? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] What other languages do you use?

2010-10-09 Thread tedd
At 4:21 PM +0100 10/9/10, Nathan Rixham wrote: tedd wrote: At 6:30 PM +0100 10/8/10, Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? I guess it may also be interesting to know if: (1) there's any particular

[PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread tedd
dollar amount would you place on your line of code? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread tedd
At 1:30 PM -0400 10/7/10, Daniel P. Brown wrote: On Thu, Oct 7, 2010 at 13:20, tedd tedd.sperl...@gmail.com wrote: Hi gang: Hi, Tedd! What's it like over there in Australia, where it's already Friday? ;-P -- /Daniel P. Brown LOL I'm sorry -- I seldom know what day it is. I

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread tedd
a certain amount per line. Now, back to the question at hand -- what price would you sell a line of your code for? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread tedd
and entitle it index.php (without quotes) 2. Enter ?php phpinfo();? (without quotes) 3. Save the file. 4. Upload the file to your host. 5. Open a browser and enter the url (i.e., http://yourdomain.com/index.php) What do you see? Cheers, tedd -- --- http://sperling.com/ -- PHP General

Re: [PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread tedd
At 1:56 PM -0400 10/5/10, tedd wrote: At 12:54 PM +0100 10/5/10, Col Day wrote: Hi Shreyas, Ok, as far as I can tell the script should show This is an HTML line reflecting that I am seeing the HTML part of the script followed by This is a PHP line to show that PHP is installed and working

Re: [PHP] cant find uploaded file in /tmp.

2010-10-04 Thread tedd
on the list have written their own, and Tedd most likely has an example somewhere too! Thanks, Ash Ash: Thanks for the plug. The code is pretty simple. If the simple script the OP used did indeed move the file to the tmp directory, then it should be there for him to see. I suspect that: 1

[PHP] Friday's Post

2010-10-01 Thread tedd
Hi gang: What do you people think of the .NET framework? Please provide your thoughts as to cost, maintenance, benefit, and whatever else you think important. Thanks, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] if/elseif being treated as if/if

2010-09-27 Thread tedd
At 11:48 AM +0100 9/27/10, Ford, Mike wrote: -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: 25 September 2010 16:02 One can make the argument that the ELSE IF statement first surfaced circa 1977 in FORTRAN 77 and the CASE statement came later in FORTRAN

Re: [PHP] SEO Experts?

2010-09-26 Thread tedd
and don'ts would be appreciated. Thanks. Dave. Dave: That's far too broad a question. SEO can't be broken down into a few do's and don'ts that can be listed on a post. That's like asking Anyone have any do's and don'ts about PHP? Please be reasonable with your questions. Cheers, tedd

Re: [PHP] Array question

2010-09-26 Thread tedd
in calling it PHP magic because I have not seen this in other languages. Understand? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] if/elseif being treated as if/if

2010-09-25 Thread tedd
At 3:54 PM -0400 9/24/10, Bob McConnell wrote: From: tedd At 2:23 PM -0400 9/24/10, Bob McConnell wrote: A switch works when a single test can dispatch all possible branches. If you have a series of tests where each looks for a different subset of conditions, you need an elseif

RE: [PHP] if/elseif being treated as if/if

2010-09-25 Thread tedd
that the ELSE IF statement first surfaced circa 1977 in FORTRAN 77 and the CASE statement came later in FORTRAN 90 circa 1991. But I know I was using computed GOTOs and GOSUBs long before then. In any event, to me the computed GOTO is more like the CASE statement than ELSE IF. Cheers, tedd

Re: [PHP] Database Administration

2010-09-24 Thread tedd
they only see their own data For legal reasons. Each client must have separate data. I need to be able to box up all the client data (containing multiple app instances) and be 100% sure that I am giving them all their data and nobody else's. On 23 September 2010 18:04, tedd tedd.sperl...@gmail.com

Re: [PHP] if/elseif being treated as if/if

2010-09-24 Thread tedd
. It is *much* easier for me to use, understand, and document a switch statement than an elseif. Your mileage may vary. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Administration

2010-09-24 Thread tedd
At 2:09 PM -0400 9/24/10, Bastien Koert wrote: @tedd, He wants not techie users to create new systems for their clients when they sign up. It involves creating a DB and he's wondering about security for that. The main part of the app needs the least priv's to run (select, update, insert

RE: [PHP] if/elseif being treated as if/if

2010-09-24 Thread tedd
) { case $a $b: /* whatever break; case $c == 1: /* whatever break; case $d == 'this works': /* whatever break; } Granted, it's not the normal way a switch works in some other languages, but it does work in PHP. :-) Cheers, tedd -- --- http://sperling.com

Re: [PHP] Database Administration

2010-09-24 Thread tedd
At 2:36 PM -0400 9/24/10, Bastien Koert wrote: On Fri, Sep 24, 2010 at 2:26 PM, tedd tedd.sperl...@gmail.com wrote: At 2:09 PM -0400 9/24/10, Bastien Koert wrote: @tedd, He wants not techie users to create new systems for their clients when they sign up. It involves creating a DB

Re: [PHP] Database Administration

2010-09-23 Thread tedd
for acceptable users -- there's a big difference. So, what you need to define is what the client and his users want to do. From that, we can determine what they need. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Auto-generating HTML

2010-09-21 Thread tedd
);?/h1 As such, all my code (html, css, php, mysql, javascript) is not complex, nor unreadable, and is easily maintainable. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Administration

2010-09-21 Thread tedd
database creation in phpMyAdmin. From there I populate with php. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
the image, they have it. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
about this sort of thing, so I'm making assumptions here. It's the difference between lossless and lossy compression. The first meaning no loss in data and the second is loss of data. PNG and jpeg is lossless whereas gif is lossy. Cheers, tedd -- --- http://sperling.com/ -- PHP

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
pictures and 2) the others don't know you have embedded a copyright. tom While it won't defeat smart bad people, it will cause them to pause: http://webbytedd.com/b/protect-image/ Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] How to store data that doesn't change?

2010-09-16 Thread tedd
then the others. What other pros and cons are there. Make it's a Constant -- it's simply a Global that doesn't change. I typically hold such things in a global configuration file that can be included when needed. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http

Re: [PHP] 1984 (Big Brother)

2010-09-14 Thread tedd
, they investigate and find a better solution. If it's the public sector, they will probably require water based fire extinguishers. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adjusting Session Times

2010-09-14 Thread tedd
the script pull the time-limit from the database and store that value in a SESSION. Either way would work. In any event, this is what I do. Cheers, tedd == code ?php $redirect = 'http://yourdomain.com/admin/logon.php'; // standard security $secure = isset($_SESSION['security

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
I have to figure out how to do that. Thanks, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
shuts down. That will cost $x. Your choice. We've been working on the mind-reading extension to PHP, but it's not finished yet. Customer: Thanks for your opinion. We'll be in touch. Customer to his secretary: Let's find someone who knows how to do this. Cheers, tedd -- --- http

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread tedd
. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
. So, what methods would you suggest? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
totally closed to the outside world other than to their internal employees? Or is this something that can only be provided by a LAN with no Internet connection? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the server being totally closed to the outside

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 1:40 PM -0400 9/12/10, Joshua Kehn wrote: On Sep 12, 2010, at 1:33 PM, tedd wrote: So, can I do what I do (i.e., programming) without having a host? Can I install a local server at my clients location and interface all their computers to use the server without them ever being connected

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
to the outside world other than to their internal employees? Or is this something that can only be provided by a LAN with no Internet connection? Cheers, tedd Hey, one I can answer! The short answer is Yes. It can be done in a firewall: for instance, take the following network setups. 1

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread tedd
At 1:47 PM -0400 9/12/10, Jason Pruim wrote: On Sep 12, 2010, at 1:33 PM, tedd wrote: So, can I do what I do (i.e., programming) without having a host? Can I install a local server at my clients location and interface all their computers to use the server without them ever being connected

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread tedd
At 4:05 PM -0500 9/12/10, Tamara Temple wrote: Sounds like there are some security concerns here. On Sep 12, 2010, at 11:32 AM, tedd wrote: I have a client who wants his employees' access to their online business database restricted to only times when he is logged on. (Don't ask why) I do

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread tedd
scripts check the data again and respond accordingly. Here are a couple of examples: http://webbytedd.com/c/form-calc/ http://webbytedd.com/c/form-submit/ Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread tedd
progressive enhancement to your form to help your users *IF* you want. You should *always* validate all the information coming from the outside world. The question of *if* you want to do both is your choice without any debate. Those are only choices that you can elect to follow or not. Cheers, tedd

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread tedd
At 1:09 PM -0400 9/11/10, Jason Pruim wrote: Hey tedd, Thanks for the response but for this particular project I'm avoiding using anything but standard HTML since it will be used almost exclusively by people using screen readers and other assistive technology so I'm going a little old school

Re: [PHP] newbie question about code

2010-09-10 Thread tedd
is to Javascript as Ham is to Hamster. In other words, the two aren't related. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: PHP list posting confirmation for vicki.stanfield....@dfas.mil

2010-09-08 Thread tedd
, and resolve their problems. You will do much better at getting your question answered by following normal practices for most all list servers. IOW, briefly describe your problem in the subject line and submit your problem. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List

[PHP] a test (list is too quite)

2010-09-04 Thread tedd
Hi gang: Just checking to see if I am still receiving postings. :-) Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a test (list is too quite)

2010-09-04 Thread tedd
At 12:47 PM -0400 9/4/10, chris h wrote: Evidently all is well in the world of php... :) If it was so, we would all be out of work. Instead, I think it's the lull before the storm. I'll ask a question to stir things up. :-) Cheers, tedd -- --- http://sperling.com/ -- PHP General

Re: [PHP] Questions about $_SERVER

2010-09-03 Thread tedd
time and comment. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure Communication?

2010-09-03 Thread tedd
, if not, it isn't. That's what we do for a living. I will say it was learning experience, in that aspect it was academic. :-) Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure Communication?

2010-09-03 Thread tedd
At 2:23 AM +0200 8/30/10, Bostjan Skufca wrote: Hi tedd! Reading this thread I assume you are doing RPC stuff when you are expressing yourself as the access to database, which normaly describes direct access to database. In your case, you should divide the phrase hacked server into two

Re: [PHP] Questions about $_SERVER

2010-08-29 Thread tedd
Secure Communication? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Questions about $_SERVER

2010-08-29 Thread tedd
At 11:54 AM -0400 8/29/10, Jason Pruim wrote: On Aug 29, 2010, at 10:55 AM, tedd wrote: To all: My post about SERVER globals was simply an observation that the SERVER global report of host and remote was not symmetric -- for example you could obtain both the IP and Domain Name of the host

[PHP] Secure Communication?

2010-08-29 Thread tedd
? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure Communication?

2010-08-29 Thread tedd
At 10:31 AM -0700 8/29/10, Jim Lucas wrote: Per Jessen wrote: tedd wrote: Hi gangl: I realize that the problem stated herein has been solved by others, so I'm not claiming I've done anything new -- it's only new to me. It was a learning experience for *me* and my solution may help others

Re: [PHP] Secure Communication?

2010-08-29 Thread tedd
that and not rely upon the host to do that for you. Like I said, it would be nice to have a server guru wade in on this to clarify things. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Questions about $_SERVER

2010-08-28 Thread tedd
? Is that possible? Thanks, Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Questions about $_SERVER

2010-08-28 Thread tedd
At 9:41 PM +0200 8/28/10, Per Jessen wrote: tedd wrote: So, how can I identify the exact location of the 'server_addr' and of the 'remote_addr' on shared hosting? Is that possible? $_SERVER['SERVER_NAME'] will tell you the name of the virtual host - I don't know if that is what you're

Re: [PHP] Questions about $_SERVER

2010-08-28 Thread tedd
At 12:15 AM +0200 8/29/10, Peter Lind wrote: On 28 August 2010 23:45, tedd tedd.sperl...@gmail.com wrote: So, I'm trying to figure out a compliment to $_SERVER['SERVER_NAME'] such as something like $_SERVER['REMOTE_NAME']. Is there such a beast? You're not making any sense

Re: [PHP] two questions on serverside validation

2010-08-26 Thread tedd
important than cutting a few nanoseconds off compute time. After all, just displaying that information (i.e., echo) will take far more time and even vary more than that between monitors. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread tedd
/scale/make-secure. -- SEO stuff does not apply here. 3. Investigate Agile development. 4. Host? Roll the dice like the rest of us. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread tedd
on https. Thanks again! Tim Tim: That's a different question -- you should post another question rather than continue the old thread regarding something else. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread tedd
At 9:58 AM -0400 8/26/10, Bob McConnell wrote: From: tedd 4. Host? Roll the dice like the rest of us. Before you can select a hosting provider, define what you want. Are you looking for a cage with power and network connections, a VM that you can load up and manage, or a fully managed

Re: [PHP] Dear Lazy Web: Pseudo Randomisation Strategies on Listing Websites

2010-08-20 Thread tedd
web site may be showing one set of ads for CA, another for MO, and another for MI all at the same local time. 3. And other such considerations -- it might be worth the cost to purchase and review. They did a pretty in-depth study of how to track and optimize ad sales. Cheers, tedd

[PHP] openssl_pkey_new question

2010-08-19 Thread tedd
Hi gang: I'm trying to keep my questions simple. Does the function openssl_pkey_new use 40, 56, 128, 256, or what bit encryption? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] It's Friday (a MySQL Question) [Solution]

2010-08-17 Thread tedd
At 5:48 PM -0400 8/13/10, tedd wrote: Normally if I want to dump a MySQL database, I read the database via a PHP script (i.e., list tables and fetch rows) and save the results as a text file -- after which I download the file -- it's not a big deal. However while I was doing my daily read

[PHP] mysqldump

2010-08-17 Thread tedd
different variations of the syntax using exec(), but nothing produces any subsistent output. What am I doing wrong? As for accessing a command line, I am still in the dark as to how to do that. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] mysqldump

2010-08-17 Thread tedd
At 2:17 PM -0400 8/17/10, Robert Cummings wrote: On 10-08-17 02:08 PM, tedd wrote: Hi gang: At 6:11 PM -0400 8/13/10, Daniel P. Brown wrote: Easiest method, from the command line on the server from which you want to dump the database: mysqldump -u user -p database_name

Re: [PHP] mysqldump

2010-08-17 Thread tedd
user -ppassword database_name outfile.sql and see if that gets you anywhere. Bingo -- that worked. It's interesting that a space is optional between -u and user, but required to be absent between -p and password. Seems not symmetrical to me. Many thanks. Cheers, tedd -- --- http

[PHP] How safe is a .htaccess file?

2010-08-17 Thread tedd
Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff? Can a .htaccess file be viewed remotely? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] How safe is a .htaccess file?

2010-08-17 Thread tedd
At 4:23 PM -0400 8/17/10, Robert Cummings wrote: On 10-08-17 04:17 PM, tedd wrote: Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff? Can a .htaccess file be viewed remotely? It depends on the server configuration. I think

Re: [PHP] PHP Reference

2010-08-14 Thread tedd
syntax as javascript, you can get the same performance. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] It's Friday (a MySQL Question)

2010-08-14 Thread tedd
At 6:53 PM -0400 8/13/10, chris h wrote: Tedd I don't know if this will resolve your issue or not, but have you looked into using mysqldump? http://dev.mysql.com/doc/refman/5.1/en/mysqldump.htmlhttp://dev.mysql.com/doc/refman/5.1/en/mysqldump.html That's what I use for my backups. Chris

[PHP] It's Friday (a MySQL Question)

2010-08-13 Thread tedd
? If so, how did you do it? If at all possible, please provide code (MySQL/PHP) and not command-line statements. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] It's Friday (a MySQL Question)

2010-08-13 Thread tedd
At 6:11 PM -0400 8/13/10, Daniel P. Brown wrote: On Fri, Aug 13, 2010 at 17:48, tedd t...@sperling.com wrote: SELECT * FROM table_reference INTO OUTFILE 'file_name' It looked to be bit simpler/shorter than my code, so I tried it. But it reports: Access denied for user 'me

RE: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread tedd
of storing SS number online is not prohibited by law, then what are the appropriate due diligence steps necessary to protect such data? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encryption/Decryption Question

2010-08-12 Thread tedd
, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encryption/Decryption Question

2010-08-12 Thread tedd
at night. If the DB was ever compromised, I would NOT HAVE CONFIDENCE IN THE ENCRYPTION'S ABILITY TO PROTECT THE SS#'s. The probabilities are just to poor when compared to other, better algorithms/schemes available. What do you recommend? Do you have code/reference? However, if this is just a Tedd

Re: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread tedd
At 2:59 PM +0100 8/12/10, Richard Quadling wrote: On 12 August 2010 14:45, tedd t...@sperling.com wrote: At 5:30 PM -0700 8/11/10, Daevid Vincent wrote: -Original Message- 2. Were told it was a social security number (i.e., in the form of 123-45-6789). Stop. Why

RE: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread tedd
? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread tedd
might also hash the foreign link. But I have to think about that. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagettftext Angle Problem

2010-08-12 Thread tedd
World...); imagegif ($im); imagedestroy ($im); You must use arial.ttf for the above -- in fact, that might be your problem, the font you are using may be that way. Here's an example of this working: http://webbytedd.com/b/timed-php/ Cheers, tedd -- --- http://sperling.com/ -- PHP General

Re: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread tedd
just have a SSN and an id). Regards, -Josh No, the problem here is to keep the database from containing any raw SS#. It is absolutely necessary to encrypt the data. The question is: 1. Is it legal? 2. How to do it? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List

Re: [PHP] imagettftext Angle Problem

2010-08-12 Thread tedd
something to do with it. Anyway you could pass along the arial font you're using so I can test that possibility? Thanks! Floyd Floyd: It's clearly a font problem. The arial.ttl font is easily found on the net, such as: http://www.fontemple.com/key-arial_ttl_download.html Cheers, tedd

[PHP] Encryption/Decryption Question

2010-08-11 Thread tedd
, tedd PS: No, the SS number in question is not 123-45-6789. :-) -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd
At 11:17 AM -0400 8/6/10, Joshua Kehn wrote: On Aug 6, 2010, at 11:12 AM, tedd wrote: At 10:30 AM -0400 8/6/10, Joshua Kehn wrote: On Aug 6, 2010, at 7:27 AM, tedd wrote: There is something wrong with having a little fun? Yes, it's a waste of time -- humbug! Tedd- I guess

Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd
At 12:33 PM -0400 8/7/10, Daniel P. Brown wrote: On Sat, Aug 7, 2010 at 09:47, tedd tedd.sperl...@gmail.com wrote: No, writing it provided me with the experience of developing a rule-based AI solution to a real-world problem and I received a little money for my efforts. Experience

Re: [PHP] PHP The Anthem

2010-08-07 Thread tedd
At 1:54 PM -0400 8/7/10, David Hutto wrote: On Sat, Aug 7, 2010 at 1:46 PM, tedd tedd.sperl...@gmail.com wrote: Experience and money are never a waste of time *to me*. but did they make money off of the video, was it branded? If not, then it was a great promo, even without seeing it, I've

Re: [PHP] PHP The Anthem

2010-08-06 Thread tedd
this. Besides IMO, this is another example of hip-flop. 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] Quotes vs. Single Quote

2010-08-06 Thread tedd
. As I always say, neither CSS, PHP, or any web language exist in a vacuum. It always best to use whatever language that makes your life (and others) simpler. Cheers, tedd PS: Considering that this is Friday. I have a grammar question for the group. I said above: neither CSS, PHP, or any web

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread tedd
At 9:09 AM -0400 8/6/10, Andrew Ballard wrote: On Fri, Aug 6, 2010 at 8:31 AM, tedd tedd.sperl...@gmail.com wrote: While it may not be obvious, the statement: table border=1 is flawed (IMO). The best way to handle this is to define a class (or id) for the table in a css file

Re: [PHP] Protecting PHP scripts called via AJAX from evil

2010-08-06 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] PHP The Anthem

2010-08-06 Thread tedd
At 10:30 AM -0400 8/6/10, Joshua Kehn wrote: On Aug 6, 2010, at 7:27 AM, tedd wrote: There is something wrong with having a little fun? Regards, -Josh Yes, it's a waste of time -- humbug! Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-07-30 Thread tedd
via: http://validator.w3.org/check?uri=yoursite You knows what weirdness can happen if your page doesn't validate -- it does make a difference. You could provide a url so we could look for ourselves. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http

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