Re: [PHP] Nasty hacker spammer script

2009-05-11 Thread Ashley Sheridan
On Mon, 2009-05-11 at 17:59 -0600, The Doctor wrote: [snip][/snip] You find this on your server? Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Phpster
On May 11, 2009, at 17:53, "Miller, Terion" > wrote: Bastien, could you give me an example of what you mean? would it be $Name = "" like that? Thanks for the ideas everyone! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Tr

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Miller, Terion
Bastien, could you give me an example of what you mean? would it be $Name = "" like that? Thanks for the ideas everyone! > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Try Imitliazing the variables at the top of the loop

[PHP] Re: Mail subject encoding breaks

2009-05-11 Thread Manuel Lemos
Hello, on 05/11/2009 12:25 PM Thodoris said the following: > This script seems to work ok in a freebsd development server I have but > a linux production machine breaks the subject's encoding for some > unexpected reason. The subject has a mix of English and Greek characters > that FreeBSD seems t

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Phpster
On May 11, 2009, at 16:01, "Miller, Terion" > wrote: The error I get is from my INSERT statement It does insert the records up to C page though... The problem area: // Build your INSERT statement here $query = "INSERT into warrants (wid, name, age, warrant, bond, wnumbe

[PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-11 Thread Nathan Rixham
דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 4096); $white = imagecolorallocate($im, 0, 0, 0); $r =

[PHP] Re: Can includes be used for head tags?

2009-05-11 Thread Nathan Rixham
Gary wrote: Thank you to everyone again for your help... Gary ""Gary"" wrote in message news:52.b9.21821.82558...@pb1.pair.com... I was thinking of creating a php include for the tags for a site. Is this possible? Gary just an idea.. if you ran the content of the page through a sem

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Miller, Terion
The error I get is from my INSERT statement It does insert the records up to C page though... The problem area: // Build your INSERT statement here $query = "INSERT into warrants (wid, name, age, warrant, bond, wnumber, crime) VALUES (";$query .= " '$wid', '$name', '$age

RE: [PHP] Watermarking of images

2009-05-11 Thread Ashley Sheridan
On Mon, 2009-05-11 at 12:27 -0700, Daevid Vincent wrote: > > -Original Message- > > From: Robert Cummings [mailto:rob...@interjinn.com] > > Sent: Monday, May 11, 2009 10:27 AM > > To: tedd > > Cc: php-general@lists.php.net; Michael A. Peters > > Subject: Re: [PHP] Watermarking of images >

[PHP] Re: Can includes be used for head tags?

2009-05-11 Thread Gary
Thank you to everyone again for your help... Gary ""Gary"" wrote in message news:52.b9.21821.82558...@pb1.pair.com... >I was thinking of creating a php include for the tags for a site. >Is this possible? > > Gary > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RES: [PHP] CURL problems still

2009-05-11 Thread Jônatas Zechim
Hey Guy, try to change the 'max_execution_time' ini_set('max_execution_time','1800'); -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: segunda-feira, 11 de maio de 2009 16:41 Para: PHP-General List Assunto: [PHP] CURL problems still I'm back.

[PHP] CURL problems still

2009-05-11 Thread Miller, Terion
I'm back. I thought I had this script working but it seems to always stop at the end of the C's, so I can get it to go thru pages A-C then it stops, I have tried setting the time-out to a very large amount but it never continues to run past the same spot, it gathers all records to the end of C, th

RE: [PHP] Watermarking of images

2009-05-11 Thread Daevid Vincent
> -Original Message- > From: Robert Cummings [mailto:rob...@interjinn.com] > Sent: Monday, May 11, 2009 10:27 AM > To: tedd > Cc: php-general@lists.php.net; Michael A. Peters > Subject: Re: [PHP] Watermarking of images > > On Mon, 2009-05-11 at 13:01 -0400, tedd wrote: > > At 12:04 AM -07

Re: [PHP] Watermarking of images

2009-05-11 Thread Robert Cummings
On Mon, 2009-05-11 at 10:39 -0700, Michael A. Peters wrote: > tedd wrote: > > At 12:04 AM -0700 5/11/09, Michael A. Peters wrote: > >> That site is also coded in php so I'm guessing that the watermark is > >> added using a php technology. > >> > >> Can someone enlighten me on how that is done? > >

Re: [PHP] Watermarking of images

2009-05-11 Thread Michael A. Peters
tedd wrote: At 12:04 AM -0700 5/11/09, Michael A. Peters wrote: That site is also coded in php so I'm guessing that the watermark is added using a php technology. Can someone enlighten me on how that is done? Also, while not php related, could someone enlighten me of a really good font to us

Re: [PHP] Watermarking of images

2009-05-11 Thread Robert Cummings
On Mon, 2009-05-11 at 13:01 -0400, tedd wrote: > At 12:04 AM -0700 5/11/09, Michael A. Peters wrote: > >That site is also coded in php so I'm guessing that the watermark is > >added using a php technology. > > > >Can someone enlighten me on how that is done? > > > >Also, while not php related, cou

Re: [PHP] Can includes be used for head tags?

2009-05-11 Thread tedd
At 12:41 PM -0400 5/11/09, Gary wrote: I was thinking of creating a php include for the tags for a site. Is this possible? Gary Gary: Certainly -- I do that with my sperling.com site. Every page has it's own set of meta tags. Cheers, tedd -- --- http://sperling.com http://ancient

RE: [PHP] Can includes be used for head tags?

2009-05-11 Thread Jay Blanchard
[snip] I was thinking of creating a php include for the tags for a site. Is this possible? [/snip] Here is one model... Hear is head_of_file.php http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; lang="en_US" xml:lang="en_US">

Re: [PHP] Watermarking of images

2009-05-11 Thread tedd
At 12:04 AM -0700 5/11/09, Michael A. Peters wrote: That site is also coded in php so I'm guessing that the watermark is added using a php technology. Can someone enlighten me on how that is done? Also, while not php related, could someone enlighten me of a really good font to use for waterma

Re: [PHP] Can includes be used for head tags?

2009-05-11 Thread Daniel Brown
On Mon, May 11, 2009 at 12:41, Gary wrote: > I was thinking of creating a php include for the tags for a site.  Is > this possible? Of course it would be. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans

[PHP] Can includes be used for head tags?

2009-05-11 Thread Gary
I was thinking of creating a php include for the tags for a site. Is this possible? Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Thodoris
On 11 May 2009 at 18:25, Thodoris wrote: Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: $e->Subject = "This is δφκξγκδφη garbidge κηδφκξγσ"; Hi, I have had success with this in the past: $subject

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Ian
On 11 May 2009 at 18:25, Thodoris wrote: > Hi gang, > I am using phpmailer to send some mail notifications in an intranet > I've made. This is a sample code: > $e->Subject = "This is δφκξγκδφη garbidge κηδφκξγσ"; Hi, I have had success with this in the past: $subject= "This is δφκξ

[PHP] Mail subject encoding breaks

2009-05-11 Thread Thodoris
Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: From = "aco...@host.gr"; $e->FromName = "Test"; $e->Mailer = "mail"; $e->Subject = "This is δφκξγκδφη garbidge κηδφκξγσ"; $e->CharSet = "UTF-8"; $e->Body = "H εργασία id: 122 έκλεισ

Re: [PHP] Watermarking of images

2009-05-11 Thread Lenin
I'm talking about Unicode TTF fonts(OpenType). The characters Like this অ আ ক খ Fonts in www.omicronlab.com or www.ekushey.org Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Watermarking of images

2009-05-11 Thread Robert Cummings
On Mon, 2009-05-11 at 20:06 +0600, Lenin wrote: > Thanks to Robert and congrats Michael :) > > Robert could you suggest about the transperency or translucency in GD? Is this what you're looking for? http://www.php.net/manual/en/image.examples.merged-watermark.php > I also have interest in u

Re: [PHP] Deactivate COM/.NET Extension on Windows Server

2009-05-11 Thread Bastien Koert
On Mon, May 11, 2009 at 3:00 AM, Matthias Burtscher < matthias.burtsc...@gmx.at> wrote: > Hello out there! > > We are experiencing a problem with one of our PHP products (a community > builder solution) on Windows Servers running PHP 5. > > We use the classname "com" in our application, COM/.NET e

Re: [PHP] Watermarking of images

2009-05-11 Thread Lenin
Thanks to Robert and congrats Michael :) Robert could you suggest about the transperency or translucency in GD? I also have interest in using Bangla Font through GD, but I dont know why it doesn't support it. if anyone had suggestions ... -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Watermarking of images

2009-05-11 Thread Michael A. Peters
Robert Cummings wrote: I did something similar to this a long time ago. The trick was to print the text 5 times. 4 times with black. 1 time with white. The 4 black prints are done with a 1 pixel offset in each direction of the compass. This will produce the nice black outline that has the shape

Re: [PHP] Watermarking of images

2009-05-11 Thread Michael A. Peters
Robert Cummings wrote: I did something similar to this a long time ago. The trick was to print the text 5 times. 4 times with black. 1 time with white. The 4 black prints are done with a 1 pixel offset in each direction of the compass. This will produce the nice black outline that has the shape

Re: [PHP] Watermarking of images

2009-05-11 Thread Robert Cummings
On Mon, 2009-05-11 at 00:04 -0700, Michael A. Peters wrote: > I need to know the best way to dynamically watermark images via gd. > > This is an example of what I currently have: > > http://www.shastaherps.org/images/66-3.jpg > > That's using Lucida Mono. A really nice monospace font (very simil

RE: [PHP] New to PHP question

2009-05-11 Thread Robert Cummings
On Wed, 2009-01-28 at 23:42 +, Ashley Sheridan wrote: > > I hate div'itis as well. Some people seem to think it's a big faux pas > to use table tags now, when that couldn't be more wrong. Use tables for > tabular data, CSS for the rest (with as few exceptions - and there are > always some eh -

Re: [PHP] Watermarking of images

2009-05-11 Thread Lenin
I haven't used GD lib yet. But I can suggest one thing, that is printing a layer of color under the text to be printed could be a saver. I dont know how translucency is made but thats another way to make better WaterMarks as well. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Deactivate COM/.NET Extension on Windows Server

2009-05-11 Thread Matthias Burtscher
Hello out there! We are experiencing a problem with one of our PHP products (a community builder solution) on Windows Servers running PHP 5. We use the classname "com" in our application, COM/.NET extension uses the same classname. This is the conflict. Rewriting our application to not use the "c

[PHP] Watermarking of images

2009-05-11 Thread Michael A. Peters
I need to know the best way to dynamically watermark images via gd. This is an example of what I currently have: http://www.shastaherps.org/images/66-3.jpg That's using Lucida Mono. A really nice monospace font (very similar to Apple's Monaco), the font I like to use in text editors, but perha