I'm having a small problem understanding Alpha channels. I thought that the
Alpha Channel was the level of transparency but the following code does not
seem to work.
$DI = 50;
$MOD = 127/$DI;
ImageAlphaBlending($im, true);
for ($x=0; $x$DI; $x++) {
$AL = 127-$MOD*$x;
I'm working on getting some image creation scripts done and I have one
requirement that I'm not sure how to handle. I have a base image that I can
create with no problem. The problem comes in that I want to set some text
in the exact center of the image. Is there some sort of formula I can
I have a question about global vars. Why is it that I have to declare a var
global if I'm using it across included files. For example the only why I
can get this var to work is by making it global.
main.php
?php
include loader.inc;
include builder.inc;
include render.inc;
?
loader.inc
?php
Does anyone know of a good site for GD 2.x formulas using Alpha channels?
Currently I'm trying to make a color gradiant, but in an oval rather than a
line. I have a tools that can do this on an image, but my goal is to allow
the color to be dynamic so I need to build it on the fly.
-Jim
);
?
rw-r--r-- abc abc /var/www/htdocs/test/noowner.php script
rw-r--r-- user user /var/www/htdocs/test/owener.php script
My configuration: Apache 2.0.40 and PHP 4.2.3, the same problem on Apache 2.0.39 and
PHP 4.2.2.
Do you know, where the problem is?
Thanks,
Rudolf Wolf
should I use, please let me
know!
Ps: I am not looking for a way of not knowing PHP and use it: but I am
looking for a way to create a site ASAP, since I believe that what I plan
to do serves a need.
--
White Wolf aka Attila @ LMF
ICQ#: 26070936
http://wwp.icq.com/26070936
If I'm not online send
Scott Fletcher wrote:
Double and Float are not exactly the same thing.
Double is --- 11.123
Float is -- .00238823993
I am absolutely new to PHP but what is above (since PHP seems to take most
of its low-level terminology from C) is a fixed point number and the next
is a floating point
Scott Fletcher:
Okay, correction...
Double -- 11.1237
Float -- 0.
Cheers! It's the way it work in C Programming... Double won't be as
long
or as infinite as the floating point.
Absolutely wrong (if you would be in a C newsgroup you
Ojmyster wrote:
Hi,
Is there any way I can get the 'GNU Readline' libruary on my Windows 2000
installation of PHP4? As far as I can see its only available for *NIX OSs
and BSD. Is is available on win32?
http://ftp.unicamp.br/pub/gnu-win32/release/readline/
3rd hit on Google...
WW
--
PHP
/test/noowner.php script
rw-r--r-- user user /var/www/htdocs/test/owener.php script
My configuration: Apache 2.0.40 and PHP 4.2.3, the same problem on Apache 2.0.39 and
PHP 4.2.2.
Do you know, where the problem is?
Thanks,
Rudolf Wolf.
--
PHP General Mailing List (http
UNREADABLE;
include (owner.php);
?
The result is:
Script print to browser UNREADABLE and correctly include the file owner.php to
browser. I think, that it means the file is readable.
Thanks
Rudolf Wolf.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
I've googled for this one and so far have come up empty handed.
I am in need of a PHP script that will take any POST data and parse it into
a file and email it out to users. The data needs to be completely
changeable, whether I have 20 items or 400, I just want to throw everything
to the script
I have been looking at a number of scripts and they all seem to use
something like a config.php file where there is a var called something like
$dbpasswd but the password is still clear text. While I understand that the
file only sets vars and it can be put outside the document root so that
I realize the key needs to be stored somewhere which is part of the problem
of how to make it a bit more secure. I just don't feel safe if a password
in a flat file in clear text. Ideally the database should support something
like an ssh style public/private Key auth where the private Key is
gt;[snip]
gt;I realize the key needs to be stored somewhere which is part of the
gt;problem of how to make it a bit more secure. I just don't feel safe if
gt;a password in a flat file in clear text. Ideally the database should
gt;support something
gt;like an ssh style public/private Key auth
gt;So host your own server. That way nobody but you has access to it.
gt;Then you could store the password wherever you want, unecrypted, and it
gt;wouldn't matter. If you're running an application that's that security
gt;conscious, you shouldn't be using a shared server anyway.
I do run my own
What you need to do is set your SMTP server inside the php.ini file...
[mail function]
SMTP = smtp.server.com ; for win32 only
sendmail_from = [EMAIL PROTECTED] ; for win32 only
;sendmail_path = ;for unix only, may supply arguments as well ; (default is
sendmail -t)
The test string I used
Why not just shell it out?
?php
$users = passthru('ls /var/spool/mail');
echo $users;
?
Robert
-Original Message-
From: Jesus [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 11:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] List of Users
Hi need some clue about of
(Unix) (Red-Hat/Linux)
mod_ssl/2.7.1 OpenSSL/0.9.5a DAV/1.0.2 mod_perl/1.24 configured -- resuming
normal operations
When I try running the .pl file from the shell, it works fine. When I
connect via the web, it dies. Can *ANYONE* help me??
Thanks!
David Wolf
--
PHP General Mailing List (http
i want that a select query display me all words beginning with an a ..
like select * from tbl_lit where lit_source = c* ..
thnx bSue
Try this one .. :) ..
mysql_connect($host, $user, $pswd);
mysql_select_db($db);
$query = SELECT username,password FROM users WHERE username='$username'
AND
password='$password';
$result = mysql_query($query);
$num = mysql_num_rows($result);
-Ursprüngliche Nachricht-
Von: Hawk
Is it possible to send with mail an attachment .. if yes, how ???
Greetings
wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
401 - 422 of 422 matches
Mail list logo