Re: [PHP] Gradients using GD

2002-06-27 Thread Anzak Wolf
> > After much pain and suffering I figured out how to do dual color >Gradients > > using GD in an oval. While it is not as clean as I'd like it works and >can > > be tweaked as needed. In the process I also found some very cool >Gradient > > effects that could be used as well. I'm currently

[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; $GLColor=

[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 u

[PHP] Global vars

2002-06-01 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 loader.inc builder.inc build_whizzer(); ?> render.inc html(); ?> considering tha

[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] MySQL arrays

2002-03-26 Thread Anzak Wolf
I'm trying to do something a little different in my database class I have a method to do the query and store it in an array. function query ($s = "") { $q = mysql_query($s,$this->database_connect_id); if (!$q) { $tools->error(array("Query Resulted in NULL value"))

RE: [PHP] MySQL arrays

2002-03-26 Thread Anzak Wolf
Sorry my mistake the array is $this->query_id the function is $query I still get the same results though. >From: Rick Emery <[EMAIL PROTECTED]> >To: 'Anzak Wolf' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: [PHP] MySQL arrays >Date: Tue, 26

RE: [PHP] MySQL arrays

2002-03-26 Thread Anzak Wolf
>CHANGE: > > $len = sizeof($this->query_id); > > $len++; > > $this->query_id = array($len=>&$q); > > mysql_free_result($q); > > return $len; > >TO: > $this->query_id[] = $q; > return sizeof($this->query_id); > >second: >$q is a resource, th

[PHP] List server

2002-04-01 Thread Anzak Wolf
I thought I remember reading somewhere about a list server written in PHP. Does anyone know of something like this and is it any good? -Jim _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. --

[PHP] List server

2002-04-02 Thread Anzak Wolf
Since no one seems to have heard of a php driven list server could someone get me started on writting my own by telling me who I would read from stdin. -Jim _ Join the world’s largest e-mail service with MSN Hotmail. http:/

Re: [PHP] List server

2002-04-02 Thread Anzak Wolf
>On Tuesday 02 April 2002 22:10, Anzak Wolf wrote: > > Since no one seems to have heard of a php driven list server could >someone > > get me started on writting my own by telling me who I would read from > > stdin. > >fopen("php://stdin",

Re: [PHP] Assigning unique form names...

2002-04-08 Thread Anzak Wolf
I'm not sure if I can help you much here, but something I might suggest is going to a single page approach. I have a class on www.phpclasses.org that you can download called Command Class. Basicly the idea is that you have a single index.php file which loads your headers and footer informatio

[PHP] Function stored in a database

2002-04-09 Thread Anzak Wolf
I have a question about storing functions. I have some security mode stuff I'm working on and what I'm thinking is that as part of the security mode table I would store a function that could be called if the security mode is called. Something like this. Select s.function from s Security g gro

Re: [PHP] Re: mailing list using mail()

2002-04-10 Thread Anzak Wolf
Is there anyway you could break this up into managable chunks maybe. I'm currently doing something similar in that I'm writing a PHP based list server app that uses a heirarchical grouping system, but mine is broken done into smaller chunks based on group and user permissions. What if you did

Re: [PHP] mailing list using mail()

2002-04-10 Thread Anzak Wolf
> > > the combination of PHP and mysql and the ease of use of the mail() > > function obviously leads me to believe that it *should* be a cinch to > > use php to send customised messages to all my users , of whom I have > > details in a mysql table by simply running a "select * from table" and > >

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 t

RE: [PHP] List of Users

2004-09-02 Thread Lone Wolf
Why not just shell it out? 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 how a can get a list of the all > the user in may ser

[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 v

[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 it

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 s

RE: [PHP] Password encyption

2004-07-02 Thread Anzak Wolf
>[snip] >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 privat

RE: [PHP] Password encyption

2004-07-02 Thread Anzak Wolf
>So host your own server. That way nobody but you has access to it. >Then you could store the password wherever you want, unecrypted, and it >wouldn't matter. If you're running an application that's that security >conscious, you shouldn't be using a shared server anyway. I do run my own server bu

[PHP] Problems

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

[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 [mailt

[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