I read on PHP.net that PHP 4.3.0 has read-only GIF support in it's version of gdlib.
I am using the windows version with apache and tried both php_gd.dll and php_gd2.dll
and I could not access any GIF related image functions, however I could use JPG, PNG,
etc. Does anyone know if I need to do
Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]]
Sent: Sat 1/4/2003 5:58 PM
To: Adam Plocher; [EMAIL PROTECTED]
Cc:
Subject: Re: [PHP] Read-only gif support in 4.3.0
I just installed 4.3 today... configured as
-
From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]]
Sent: Sat 1/4/2003 6:34 PM
To: Adam Plocher; [EMAIL PROTECTED]
Cc:
Subject: RE: [PHP] Read-only gif support in 4.3.0
when you do a phpinfo() what are the c
How about something like this..
function runquery($query)
{
$query = mysql_query($query);
if (mysql_error())
{
echo "MySQL Error: ". mysql_error() ."\n";
exit(1);
}
return $query;
}
-Original Message-
Hello - I am attempting to upgrade one of our older PHP servers
(4.0.1pl2) to PHP 4.3.0. We are running a fairly old version of apache
(1.3.12) and MySQL (3.22.32). My question is - does PHP 4.3.0 support
older versions of MySQL? When I go to configure PHP 4.3.0 it works
fine, but during compile
Is there anyway I can use PHP4 and PHP5 (as modules, not cgi) together
in Apache2 (Linux)? I've tried the --enable-versioning configure option
with php, but I'm not quite sure what that does. I need PHP4 because
Gallery apparently won't work with PHP5.
If it's possible to load either php4 or ph
I had problems compiling quanta on my redhat 7.1 box, I had to grab some cvs
files to fix it (Don't remember which files.. Probably whichever ones had
problems compiling - and the makefile). Quanta is a great program, it's
basically a homesite clone for Linux.
-Adam
-Original Message-
F
Hello, I am trying to authenticate a password using the crypt()
function. Here's what I got:
if (crypt($_SERVER['PHP_AUTH_PW'],$data[1]) == $data[1])
{
...
}
$data[1] being the salt..
It half-way works... If the users password is 'blah' it will
authenticate fine, but if you append anyt
blah1
&nbps; blah2
blah3
I can't seem to access that data correctly when that form gets submitted.
I have tried:
$groups[] = $_POST['groups[]'];
and
$groups[] = $_POST['groups'];
no luck..
Can somebody please give me a hand, thanks a lot.
-Adam
Hello, I'm using Apache 2.0 on a Linux box and I'm trying to figure out how to run
PHP5 (beta2) and PHP4 co-existantly. I have compiled both of them with
--enable-versioning, but I can't figure out what I need to put in my httpd.conf to
make it differentiate the two versions.
Ideally I would
Could somebody show me an example of a script that will find out the date of
each upcoming Friday, thanks.
Adam Plocher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
To: Adam Plocher
Subject: Re: [PHP] finding Friday's date
on 2/27/01 03:39 PM, Adam Plocher at [EMAIL PROTECTED] wrote:
> Could somebody show me an example of a script that will find out the date
of
> each upcoming Friday, thanks.
something like:
$days=array("Saturday&quo
I want to build a personal page that will have functionality to change many
types of image formats into a jpg. Ie, convert gif to jpg, png to jpg, even
bmp to jpg. Assuming this is possible, does anybody have any sample code I
can take a look at?
Thanks much.
Adam Plocher
"If ignoran
If you want an html form in an email, that's possible, but the form will
probably need to submit to a php script (via http, not email). You would
just need to set the content-type of the email to text/html.
You wouldn't be able to have an active php script embedded in an email
(other than having
CSS Hover example:
a:link,a:visited,a:active {color: #213C4D; text-decoration: none;}
a:hover {color: #213C4D; text-decoration: underline; }
As for the size of a text field, you can set it with SIZE="" but note,
netscape and IE both interpret size VERY differently... Not sure about NS6,
but NS
So I just got PHP 4.2.0 RC2 and Apache 2.0.35 almost completely working.
The only problem I am having now, is Apache's DirectoryIndex option.
Whenever I add index.php to that (like I would do in Apache 1.3), I get a
403 error every time I visit my site. When I look in my errorlog I see
this:
[S
Our company is looking into purchasing an application package that requires
the use of the Informix (IBM) Redback application. We have been told that
Redback objects can be used in php scripts but I was wondering if any of you
have had experiece with it and if you have had any problems or difficul
$reqmonth = ${explode("-",$row[5])}[1];
Is there anyway I can get that to work without having to use multiple lines
of code?
Is there any function that will allow me to check to see if a link is valid?
>From what I heard, the acronym originally stood for Personal Home Page, but
it kind of changed (unofficially?) to Hypertext Preprocessor.
I could be wrong
-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 3:08 PM
To: John Meyer; [EMAIL PR
types (gif, bmp, png, etc) into
a jpeg?
Any help will be very appreciated, thanks.
-Adam Plocher
I'm trying to use the system() function to execute a shell command, but the
shell command that needs to be executed, needs to be executed as a different
user (not the default 'nobody' user). Can somebody show me what I need to
do, to accomplish this.
Thanks
-Adam
I realize this is more of an apache question, not a php question, but I
thought you guys of all people, would be able to help me...
I have an apache server setup, hosting a number of sites. I need one site
to be ran under a different user so it can execute shell commands via
system() under that
Is there anyway I could make a PHP script run as the user that owns the
script?
$id = 1;
${"sql_" . $id} = "hey";
print $sql_1;
Try that
-Original Message-
From: Kyle Moore [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 9:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Variable naming
I want to use the value of a variable in a variable name. For instance
How about this...
$db = "name_of_database";
$query = "DESCRIBE table_name";
$query = mysql_db_query($db,$query);
while ($row = mysql_fetch_row($query))
{
echo "$row[0]\n";
}
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 12:03 PM
26 matches
Mail list logo