Re: [PHP] Making thumbs same size

2007-06-04 Thread Christian Haensel
Morning :o) This is what I am using --- SNIP $ratio_orig) { $width = $height*$ratio_orig; } else { $height = $width/$ratio_orig; } // Resample $image_p = imagecreatetruecolor($width, $height); $image = imagecreatefromjpeg($filename); $dest_path = "../_images/ne

Re: [PHP] Project Management

2007-05-24 Thread Christian Haensel
off :oP Cheers for your comments! Chris - Original Message - From: "Edward Kay" <[EMAIL PROTECTED]> To: Sent: Thursday, May 24, 2007 12:00 PM Subject: RE: [PHP] Project Management -----Original Message- From: Christian Haensel [mailto:[EMAIL PROTECTED]

[PHP] Project Management

2007-05-24 Thread Christian Haensel
Morning guys, this is not exactly a PHP question, but as I am sure that I am talking to more or less professional developers, I thought I might ask you. As I am working on some... well, for my standards... huge project, I thought that some kind of project management software would / could be

Re: [PHP] Database error: Invalid SQL:

2007-05-23 Thread Christian Haensel
Usually you need to specify the type: inner join, left join, right join, straight join etc. That sounds like the good old times when we did air-to-air refueling :oP Sorry, had to :P - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "wisuttorn" <[EMAIL PROTECTED]> Cc:

Re: [PHP] PHP & MySQL Problem

2007-05-21 Thread Christian Haensel
* Have a great coding-day :o)) Chris - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Christian Haensel" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, May 22, 2007 2:42 AM Subject: Re: [PHP] PHP & MySQL Problem On Mon, May 21, 2007 2

Re: [PHP] PHP & MySQL Problem

2007-05-21 Thread Christian Haensel
webdeveloper and work at that job all day long... geez! Anyhow, thanks for your help guys... time for Aspirin over here... laterz! Chris - Original Message - From: "Zoltán Németh" <[EMAIL PROTECTED]> To: "Christian Haensel" <[EMAIL PROTECTED]> Cc: Sent: Monda

Re: [PHP] PHP & MySQL Problem

2007-05-21 Thread Christian Haensel
7;]; I am s stuck here, it ain't even funny anymore *g* And my boss is, of course, waiting for a result. Howcome people don't get that programming sometimes really IS leaning back and closing your eyes *gr* :oP Thanks for trying to help me :o) Chris - Original Message -

Re: [PHP] PHP & MySQL Problem

2007-05-21 Thread Christian Haensel
n there. So no changes to what I've had before... but there should be changes *g* I hope anybody can find some sense in what I'm writing here... hardly makes sense to me :oP Cheers! - Original Message - From: "Zoltán Németh" <[EMAIL PROTECTED]> To: &q

[PHP] PHP & MySQL Problem

2007-05-21 Thread Christian Haensel
Good morning friends, I have a script that collects data from a form and puts together a mysql query to search a database. Now, everything worked fine until I added a few new form fields... now the $_POST['var'] don't reach the script... I have about 20 to 25 form fields which are all taken i

Re: [PHP] Re: showing source

2007-05-18 Thread Christian Haensel
Why don't you use: highlight_file(__FILE__) ? OMG I have been coding that thing for MONTHS now... just to get syntax highlighting for my tutorial blog... maybe I shouldn't write tutorials... maybe I should rather read them *g* Thanks for this short, but awesome answer :o) I wasn't the one a

Re: [PHP] using preg_match

2007-05-16 Thread Christian Haensel
Hi Ed, did you try the backslash as escape character? Works for me :o) Maybe try http://de3.php.net/manual/en/function.preg-match.php too see some examples. Good luck Chris - Original Message - From: "Ed Curtis" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 16, 2007 2:12 PM Sub

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Christian Haensel
t; with the big boys. Go play outside :o) Mr DoD *ROFL* - Original Message - From: "Brad Sumrall" <[EMAIL PROTECTED]> To: "'Christian Haensel'" <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2007 9:06 AM Subject: RE: [PHP] RE: Bounty FYI When did I

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Christian Haensel
You forgot one: Don't spam! Regards, Chris - Original Message - From: "Brad Sumrall" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 15, 2007 8:55 AM Subject: [PHP] RE: Bounty FYI Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! -- PHP

[PHP] Image Resize with LibGD

2007-05-08 Thread Christian Haensel
Good morning, I am using imagecreatetruecolor() and imagecopyresampled() to resize oversized images and am overlaying them with an transparent PNG to add a watermark. That works just well for oversized images. Now, let's say I have a small image and would like to stretch it by 50 to 100% of

Re: [PHP] PHP & MySQL -> Field Title

2007-04-30 Thread Christian Haensel
t;You can be dumb as heck, ás long as you find a way to resolve your problems" :o) It works, and it took me just about 10 minutes of research and another 10 of writing :o) Hope your weather is just as good as ours here... All the best! Chris - Original Message - From: "Olive

[PHP] PHP & MySQL -> Field Title

2007-04-29 Thread Christian Haensel
Good Morning guys and girls As I am rather lazy, I don't wanna do a data readout on my MySQL table in the following way with mysql_fetch_assoc() $data_item1=$data['xitem1']; $data_item2=$data['yitem2]; I am trying to do the following: I have the correct number of fields

Re: [PHP] echo or print ?

2007-04-17 Thread Christian Haensel
Thanks mate, that clarifies that. And now I know why I use echo all the time *g* Have a great day,... greetings from sunny germany :o) Chris - Original Message - From: "Dimiter Ivanov" <[EMAIL PROTECTED]> To: "Christian Haensel" <[EMAIL PROTECTED]> Cc

[PHP] echo or print ?

2007-04-16 Thread Christian Haensel
, just the regular print. :o) All the best! Chris ---- Christian Haensel /voodoo.css #GeorgeWBush { position:absolute; bottom:-6ft; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php