[PHP] Trouble with thumbnail generation using GD

2004-04-21 Thread Haddad Said
Hi, i was trying to create thumbnail using a tutorial on image galleries, I am having problems creating thumbnail images using GD. The thumbnail is created with the sizes prorerly, however the image is black. I have posted a temporary php file i created to investigate the problem below. I suspect

Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
I just found out the $_POST['language'] is always assigned the value Array. Since a user must choose either of the options and not both, I would rather do this without arrays, is there another way? "Haddad Said" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
Yes I changed that, but now it always echoes EngP=0 "Mark Heintz Php Mailing Lists" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 27 Jun 2002, Haddad Said wrote: > > > in query.php i have this piece of code;

Re: [PHP] passing variable arguments from

2002-06-27 Thread Haddad Said
I choose, what is wrong here?? "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, June 26, 2002, at 02:51 PM, Haddad Said wrote: > > > Hi, i am having a problem passing variables from a drop down men

[PHP] passing variable arguments from

2002-06-26 Thread Haddad Said
Hi, i am having a problem passing variables from a drop down menu in a form; one two So how will the values of $example be assigned in test.php? THanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Remote cgi script function

2002-06-24 Thread Haddad Said
Thanks John, See when i echo $contents, the page displayed contains backgrounds and other text from the remote site, how can i crop only the returned query and display it in a page with my backgrounds etc thanks "John Holmes" <[EMAIL PROTECTED]> wrote in message 000a01c21aef$f58fc0a0$b402a8c0@m

[PHP] Remote cgi script function

2002-06-23 Thread Haddad Said
Hi, I am new to php, I would like to create a function that when called sends text from a text box as a query to a remote cgi script ,e.g http://www.anydomain.com/cgi-bin/script.cgi, and return the results as a variable so that i can echo the returned variable to an html page. I would apprecia