[PHP] Alpha Channel Question

2002-07-02 Thread Anzak Wolf
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;

[PHP] Images with GD

2002-05-17 Thread Anzak Wolf
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

[PHP] Global vars

2002-06-02 Thread Anzak Wolf
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

[PHP] GD 2.x formulas

2002-06-03 Thread Anzak Wolf
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

[PHP] Safe mode and directory permission

2002-09-23 Thread Rudolf Wolf
); ? 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

[PHP] Looking for advice on a non-profit site development

2003-01-13 Thread White 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

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread White Wolf
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

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread White Wolf
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

[PHP] Re: GNU Readline 4 Win32

2003-01-29 Thread White Wolf
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

[PHP] Please help - Safe mode and directory permission

2002-10-04 Thread Rudolf Wolf
/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

[PHP] Function is_readable doesn't work correctly

2002-10-08 Thread Rudolf Wolf
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

[PHP] Automatic Form processor

2004-10-19 Thread Lone Wolf
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

[PHP] Password encyption

2004-07-02 Thread Anzak Wolf
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

Re: [PHP] Password encyption

2004-07-02 Thread Anzak Wolf
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

RE: [PHP] Password encyption

2004-07-02 Thread Anzak Wolf
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

RE: [PHP] Password encyption

2004-07-02 Thread Anzak Wolf
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

RE: [PHP] Re: mail() function problem

2004-09-01 Thread Lone Wolf
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

RE: [PHP] List of Users

2004-09-02 Thread Lone Wolf
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

[PHP] Problems

2001-01-26 Thread David I Wolf
(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

[PHP] sql question

2002-01-15 Thread Wolf-Dietrich von Loeffelholz
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

AW: [PHP] password=password('$password') ----- ? help me... :P

2002-01-19 Thread Wolf-Dietrich von Loeffelholz
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

[PHP] mail() + attachement

2002-04-20 Thread Wolf-Dietrich von Loeffelholz
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

<    1   2   3   4   5