Re: [PHP] 1984 (Big Brother)

2010-09-19 Thread tedd
At 12:03 PM -0400 9/18/10, chris h wrote: But Tedd, I'm still thinking that a "dead man's switch" is the way to go. :) Chris et al: I think the method I'll recommend to the client is to have the entire office tied to his computer. When it's on, everything is up and when it's off, everythi

Re: [PHP] Checking file type when uploading

2010-09-19 Thread tedd
At 1:40 PM -0700 9/17/10, Catherine Madsen wrote: Hi! I have created a form following the PHP manual to upload files and need to restrict the upload to only PDF. How do I check the file type ($_FILES['userfile']['type']?) and where: on the form page or on the validation page? I want to be able

Re: [PHP] GD Watermark Question

2010-09-19 Thread tedd
At 6:03 PM -0400 9/17/10, Gary wrote: Is there a way to insert a watermark on an image as it is being uploaded to the image file, then removed when it is called from a database to be viewed on a website? The rational behind this is I have a photographers site I am doing, and I am limiting the si

[PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
At 6:21 PM -0400 9/17/10, Gary wrote: ""Gary"" wrote in message news:1f.27.30333.1d5e3...@pb1.pair.com... Is there a way to insert a watermark on an image as it is being uploaded to the image file, then removed when it is called from a database to be viewed on a website? The rational behin

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
At 6:56 PM -0400 9/17/10, TR Shaw wrote: On Sep 17, 2010, at 6:49 PM, Ashley Sheridan wrote: > At the end of the day, if you want to prevent people downloading your images, then just don't show them the image. Actually you can. Serve up an image from the DB and add watermark or whatever o

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
At 12:36 AM +0100 9/18/10, Ashley Sheridan wrote: I know this is getting a little off-topic here, but surely the way a jpeg destroys data in an image would destroy the stenography information too? To the human eye all would appear normal, but the copyright info would be lost? I don't know much

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread tedd
At 7:56 PM -0400 9/17/10, TR Shaw wrote: Nevertheless, I say again the key is to add something is that if an employee of a customer who purchases the image and resells it that you have a possibility to prove. Yes really smart bad people can defeat but 1) most of these aren't stealing your pi

Re: [PHP] GD Watermark Question

2010-09-19 Thread Peter Lind
On 19 September 2010 16:05, tedd wrote: > At 6:03 PM -0400 9/17/10, Gary wrote: >> >> Is there a way to insert a watermark on an image as it is being uploaded >> to >> the image file, then removed when it is called from a database to be >> viewed >> on a website? >> >> The rational behind this is

Re: [PHP] Re: GD Watermark Question-

2010-09-19 Thread TR Shaw
On Sep 19, 2010, at 11:50 AM, tedd wrote: > At 12:36 AM +0100 9/18/10, Ashley Sheridan wrote: >> >> I know this is getting a little off-topic here, but surely the way a >> jpeg destroys data in an image would destroy the stenography information >> too? To the human eye all would appear normal, b

[PHP] PHP Email Question

2010-09-19 Thread Joe Jackson
Hi Sorry for the simple question but I am trying to get my head around PHP. I have a sample PHP script that I am trying to use to send a php powered email message. The snippet of code is shown below mail('em...@address.com', 'Subject', $values['message'], "From: \"{$values['name']}\" <{

Re: [PHP] PHP Email Question

2010-09-19 Thread Bostjan Skufca
You should format the email message content first, like this: $msgContent = "Name: ". $values['name'] ."\n"; $msgContent .= "Address: ". $values['address'] ."\n"; Then you should send a this content, like this: mail('em...@address.com', 'Subject', $msgContent, "From...); b. On 20 September 2010

Re: [PHP] PHP Email Question

2010-09-19 Thread TR Shaw
On Sep 19, 2010, at 6:00 PM, Joe Jackson wrote: > Hi > > Sorry for the simple question but I am trying to get my head around PHP. I > have a sample PHP script that I am trying to use to send a php powered email > message. The snippet of code is shown below > >mail('em...@address.com',