> > 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
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=
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
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
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
___
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"))
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
>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
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.
--
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 worlds largest e-mail service with MSN Hotmail.
http:/
>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",
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
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
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
>
> > 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
> >
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
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
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
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
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
>[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
>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
.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
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 [mailt
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 - 426 of 426 matches
Mail list logo