php-general Digest 30 Oct 2010 13:58:40 -0000 Issue 7012

2010-10-30 Thread php-general-digest-help
php-general Digest 30 Oct 2010 13:58:40 - Issue 7012 Topics (messages 309145 through 309148): Re: Watermark with GD 309145 by: Adam Richardson 309146 by: Gary 309147 by: Tamara Temple 309148 by: tedd Administrivia: To subscribe to the digest, e-mail:

Re: [PHP] Watermark with GD

2010-10-30 Thread Tamara Temple
On Oct 29, 2010, at 2:44 PM, Gary wrote: Adam Richardson simples...@gmail.com wrote in message news:aanlkti=kenxt7yewrztcm4+hyifrlqhozxse7ufmq...@mail.gmail.com... On Fri, Oct 29, 2010 at 3:05 PM, Gary gp...@paulgdesigns.com wrote: I am trying to get the watermark to work, however I am having a

Re: [PHP] Watermark with GD

2010-10-30 Thread tedd
At 3:05 PM -0400 10/29/10, Gary wrote: I am trying to get the watermark to work, however I am having a problem in that the image is being called from a database (image sits in images file). The script in question is this $image = imagecreatefromjpeg($_GET['src']); However it produces an error

[PHP] a loop constructing the URLs and make PHP to fetch up to 100 pages [ a seven liner]

2010-10-30 Thread jobst müller
dear list - good Morning! i want to parse the site - and get the results out of it: http://www.educa.ch/dyn/79363.asp?action=search therefore i need to loop over the line 2 - don ´ i!? ?php $data = file_get_contents('http://www.educa.ch/dyn/79363.asp?action=search'); $regex = '/Page 1 of

Re: [PHP] Watermark with GD

2010-10-30 Thread Gary
tedd tedd.sperl...@gmail.com wrote in message news:p06240800c8f1d19b9...@[192.168.1.2]... At 3:05 PM -0400 10/29/10, Gary wrote: I am trying to get the watermark to work, however I am having a problem in that the image is being called from a database (image sits in images file). The script in

Re: [PHP] Watermark with GD

2010-10-30 Thread Gary
Tamara Temple tamouse.li...@gmail.com wrote in message news:7f666311-4bc8-4064-8c70-4f2597e7b...@gmail.com... On Oct 29, 2010, at 2:44 PM, Gary wrote: Adam Richardson simples...@gmail.com wrote in message news:aanlkti=kenxt7yewrztcm4+hyifrlqhozxse7ufmq...@mail.gmail.com... On Fri, Oct 29,

Re: [PHP] Watermark with GD

2010-10-30 Thread tedd
At 10:31 AM -0400 10/30/10, Gary wrote: I was under the impression that the image is stored in a folder called images, in fact the images file do go in, however I have the DB set up for longblob, averaging about 20kb each, so now I am unsure. I exported the sql so perhaps you can tell me.

Re: [PHP] Watermark with GD

2010-10-30 Thread Gary
tedd tedd.sperl...@gmail.com wrote in message news:p06240804c8f1eaf38...@[192.168.1.2]... At 10:31 AM -0400 10/30/10, Gary wrote: I was under the impression that the image is stored in a folder called images, in fact the images file do go in, however I have the DB set up for longblob,

Re: [PHP] Watermark with GD

2010-10-30 Thread Ashley Sheridan
On Sat, 2010-10-30 at 11:50 -0400, Gary wrote: tedd tedd.sperl...@gmail.com wrote in message news:p06240804c8f1eaf38...@[192.168.1.2]... At 10:31 AM -0400 10/30/10, Gary wrote: I was under the impression that the image is stored in a folder called images, in fact the images file do go

Re: [PHP] Watermark with GD

2010-10-30 Thread Tamara Temple
On Oct 30, 2010, at 9:31 AM, Gary wrote: tedd tedd.sperl...@gmail.com wrote in message news:p06240800c8f1d19b9...@[192.168.1.2]... At 3:05 PM -0400 10/29/10, Gary wrote: I am trying to get the watermark to work, however I am having a problem in that the image is being called from a

[PHP] questions about if statements regarding a checkbox

2010-10-30 Thread Ben Brentlinger
hello, I'd like to know the proper code to use in a php script that processes a form with a checkbox in order to send one email if the checkbox has been checked and another email if the checkbox hasn't. I tried if($check == true) and I tried putting the word true in double quotes, and both

Re: [PHP] questions about if statements regarding a checkbox

2010-10-30 Thread Adam Richardson
On Sat, Oct 30, 2010 at 10:05 PM, Ben Brentlinger b...@benbrent.com wrote: hello, I'd like to know the proper code to use in a php script that processes a form with a checkbox in order to send one email if the checkbox has been checked and another email if the checkbox hasn't.  I tried

RE: [PHP] questions about if statements regarding a checkbox

2010-10-30 Thread admin
input type=checkbox name=test If check it will submit the value of 'on' So If($_POST['test'] == on') { Do this }else{ Do this } Richard L. Buskirk -Original Message- From: Ben Brentlinger [mailto:b...@benbrent.com] Sent: Saturday, October 30, 2010 10:05 PM To:

Re: [PHP] questions about if statements regarding a checkbox

2010-10-30 Thread Bastien
On 2010-10-30, at 10:28 PM, ad...@buskirkgraphics.com wrote: input type=checkbox name=test If check it will submit the value of 'on' So If($_POST['test'] == on') { Do this }else{ Do this } Richard L. Buskirk -Original Message- From: Ben Brentlinger

[PHP] include html

2010-10-30 Thread Karl DeSaulniers
Hello, I am looking for a solution to inject some dynamic html into an iframe and rework the css from the results. Is there a way to do this in PHP? I am not talking about just using the src attribute of the iframe either. Basically, I want to call on a web page, grab the html code, replace

Re: [PHP] questions about if statements regarding a checkbox

2010-10-30 Thread Ben Brentlinger
I tried that, but I'm getting the syntax error that says unexpected T_IF. Probably because I'm trying to process this information directly in an email rather letting a mysql database handle the data, which I find harder to set up when writing a script from scratch than it would be to code a

[PHP] search is not case insensitive

2010-10-30 Thread Dr Michael Daly
Hi Using a php search form produces a nil return on any information that is capitalised within a mysql database; retrieval is fine for non-capitalised data. Could someone tweak this please? The relevant code I think is as follows: // Description is a BLOB in MySQL... we need to UPPER the blob