Hi can someone please tell me how to make the colour attribute of an image transparent.
The PHP Documentation is all well and good, but not one person on it is talking sense.
http://www.php.net/manual/en/function.imagecolortransparent.php
Thanks,
Dan
On Sun, 23 May 2004, Daniel Anderson wrote:
>
> The PHP Documentation is all well and good, but not one person on it is talking
> sense.
>
$color = imagecolorallocate( $img_resource, 255, 255, 255 ); // white
imagecolortransparent( $img_resource, $color );
Al you have to do is say which color y
The reason why popen() does not work for you is because you are calling
popen() with the wrong set of arguments.
You need to specify the they way you want to use the pipe.
You read a command just like a file, typically like:
$cmd = "dir *.txt 2>NUL"; // supress stderr
if ($pipe = popen($cmd, "
That did the trick.
Many thanks!
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: 23 May 2004 12:01
To: '[EMAIL PROTECTED] '
Subject: RE: [PHP-WIN] Prevent error output from shell_exec
The reason why popen() does not work for you is because you are cal
I know. ;)
-Original Message-
From: Paul J. Smith
To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
Sent: 23-5-2004 14:38
Subject: RE: [PHP-WIN] Prevent error output from shell_exec
That did the trick.
Many thanks!
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visi