Re: [PHP] Making thumbs same size

2007-06-04 Thread Christian Haensel
Morning :o) This is what I am using --- SNIP ?php // The file $filename = $_GET['filename']; $file = $_GET['filename']; $target_path= ../_images/news/; $filename = $target_path.$filename; // Set a maximum height and width

Re: [PHP] Database error: Invalid SQL:

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

[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] Project Management

2007-05-24 Thread Christian Haensel
for your comments! Chris - Original Message - From: Edward Kay [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, May 24, 2007 12:00 PM Subject: RE: [PHP] Project Management -Original Message- From: Christian Haensel [mailto:[EMAIL PROTECTED] Sent: 24 May 2007

[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

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
Németh [EMAIL PROTECTED] To: Christian Haensel [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, May 21, 2007 9:36 AM Subject: Re: [PHP] PHP MySQL Problem 2007. 05. 21, hétfő keltezéssel 09.26-kor Christian Haensel ezt írta: Good morning friends, I have a script that collects data

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
sometimes really IS leaning back and closing your eyes *gr* :oP Thanks for trying to help me :o) Chris - Original Message - From: Zoltán Németh [EMAIL PROTECTED] To: Christian Haensel [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, May 21, 2007 9:58 AM Subject: Re: [PHP

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
a 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: php-general@lists.php.net Sent: Monday, May 21, 2007

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
a great coding-day :o)) Chris - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Christian Haensel [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, May 22, 2007 2:42 AM Subject: Re: [PHP] PHP MySQL Problem On Mon, May 21, 2007 2:26 am, Christian Haensel wrote

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

Re: [PHP] using preg_match

2007-05-16 Thread Christian Haensel
Hi Ed, did you try the backslash as escape character? ? $path = testing/realtors/userdata/; if(preg_match(/\/realtors/, $path)) { echo 'Success'; } ? Works for me :o) Maybe try http://de3.php.net/manual/en/function.preg-match.php too see some examples. Good luck Chris - Original

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: php-general@lists.php.net 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!

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Christian Haensel
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 request money? Go hit your Webster's schmuck! -Original Message

[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
Haensel [EMAIL PROTECTED] Sent: Monday, April 30, 2007 1:11 PM Subject: Re: [PHP] PHP MySQL - Field Title Am Montag, 30. April 2007 07:47 schrieb Christian Haensel: but now I have the problem with the field names and all... can someone point me into the right direction? http://www.php.net/manual

[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

[PHP] echo or print ?

2007-04-17 Thread Christian Haensel
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

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-general@lists.php.net Sent