Hello,
I have some php code that I moved from one serve to another.
The code in question generates some PNG images on the fly
and works nicely on the old server.
After moving the code to the new server only one
of the PNG images now draws. The other images
come back with :
The image "http://url"
Hello again,
I just found the problem:
Fatal error: imageellipse(): requires GD 2.0 or later in imgtest.php on
line 271Hope this helps someone else.Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am trying to build php-4.3.3 into apache_1.3.28 as a module.
I configure php
--with-apache=/apache/source/path
and the php make process puts the source for mod_php4 into
/apache/source/path/src/modules/php4/
/apache/source/path/src/include/ap_config.h:77:28: ap_config_auto.h: No such
f
> /apache/source/path/src/modules/php4/
> /apache/source/path/src/include/ap_config.h:77:28: ap_config_auto.h: No
such
> file or directory
This goes away if I run 'configure' once for apache.
Then I carry on as in the previous post.
Sorry about my editing.
Peter
--
PHP General Mailing List (
Hello,
I have looked over the various documentation regarding using
php as a CGI program.
What I have are PHTML scripts that I wish to run through
php via CGI, not through the module.
In my httpd.conf file I have placed the lines:
AddHandler phtml-script .phtml
Action phtml-script /cgi-bin/php
Hello,
Thanks for the info.
I am aware of the security problems around this.
The methods described in the manual were not working
so I decided to try this on an internal server to find out why.
I am using apache 1.3.23 and
php 4.3.3 on linux with a 2.4 kernel.
I can't use the php module because
>
> CGI or CLI? I'm betting on the latter because I'm not aware.
Yes, available via CLI for CGI. My mistake.
The third party app has thread safety issues that require
php to be run as a command line CGI rather than a module.
The problem with the module, as stated perviously, is not with
php, b
Hello,
I have an interesting problem with PostgreSQL
via PearDB and PHP 4.3.3 .
I have a php page that opens a remote connection
to a Postgres database, performs a query, lists
the results and then closes the connection.
If I run the php from the command line the
connection and query work fine. Php
Justin Patrin wrote:
Can't help you unless you give us an error...
There's no error.
DB_Error::toString()
returns the following.
[: message="" code=0 mode= level= prefix="" info=""]
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matthew Sims wrote:
And check to see that PostgreSQL is accepting network connections rather
than localhost. Is it listening to a port?
Connecting remotely to postgres via the command line:
psql -h nnn.nnn.nnn.nnn database_name -p 5432 -U user -W
works fine.
Like I wrote before, if I run the same
Justin Patrin wrote:
Did you try:
if(PEAR::isError($db)) {
echo $db->getMessage().' '.$db->getUserInfo();
}
It's probably because:
1) the postgres the module isn't in the PHP that apache is using
2) the postgres module isn't loaded in the PHP that apache is using
3) the postgres module in the P
Oh yeah one other thing that confused me at first...
The various articles talk about having PHP installed as CGI, but all modern PHP
installs include PHP command line interface (CLI). This serves the same
purpose. No CGI required.
On Oct 28, 2010, at 12:24 PM, Don Wieland wrote:
> Hi gang,
>
Weird! I just got back on this list by accident last night and I just happen to
be writing one of these this moment.
The general scheme is:
-Create a mail alias that points to a PHP cli script.
-Write a script that parses out the DB stuff you need etc. (How hard can that
be!?)
No need for cro
Weird! I just got back on this list by accident last night and I just happen to
be writing one of these this moment.
The general scheme is:
-Create a mail alias that points to a PHP cli script.
-Write a script that parses out the DB stuff you need etc. (How hard can that
be!?)
No need for cro
SELECT * FROM products p LEFT JOIN criteria_values cv ON p.key=cv.key LEFT JOIN
criteria c ON cv.key=c.key WHERE c.value IS NOT NULL
Hard to answer without more detail, but I am guessing the answer will be
something like the above. Your question makes it hard to understand whether c
or cv is jo
Hello,
I have a phtml file that contains a reference to
a java archive (jar) file.
I only want the archive used in the context of
a specific html page. I don't want the archive
to be downloaded directly.
I thought, at first, I could just use a php page as my jar reference:
I would
Hello,
Does anyone know if it's possible to use the
header() function to POST form data to a URL?
If so what syntax needs to be used?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Hallstrom wrote:
Does anyone know if it's possible to use the
header() function to POST form data to a URL?
If so what syntax needs to be used?
No, but a quick search for "HTTP POST PHP example" will get you the code
you need.
Thanks,
I googled and, as you said, there was code th
18 matches
Mail list logo