--- In php-list@yahoogroups.com, "Bruno Lustosa" <[EMAIL PROTECTED]> wrote:
>
> On 7/27/06, Nick <[EMAIL PROTECTED]> wrote:
> > I am running PHP 5.1.4 on OpenSuse 10.1 with Apache 2.0.58. I'm
trying
> > to create a script that resizes an image on the fly, but when I
run it
> > I get the error:
>
On 7/27/06, Nick <[EMAIL PROTECTED]> wrote:
> I am running PHP 5.1.4 on OpenSuse 10.1 with Apache 2.0.58. I'm trying
> to create a script that resizes an image on the fly, but when I run it
> I get the error:
>
> Call to undefined function imagecreatefromjpeg() on line blah blah...
Either GD s
Hello list,
I am running PHP 5.1.4 on OpenSuse 10.1 with Apache 2.0.58. I'm trying
to create a script that resizes an image on the fly, but when I run it
I get the error:
Call to undefined function imagecreatefromjpeg() on line blah blah...
Etc. etc. so I went and looked at my ./configure string
Hello,
I have two tables, and I'm joining them by LEFT JOIN to get counts
result. It is working well
as needed.
Here is my working syntax:
$query="SELECT table1.field2, table1.field5, table1.field9,
table2.field1, table2.field2,
table2.field3, count(table1.field2) AS Tcount
FROM table1
LEF
Hi Phill,
Yes, this will work fine. There are many items set via HTTP that do
not get set via CRONTAB.
some HTTP items that are set:
HTTP_HOST
HTTP_USER_AGENT
REMOTE_ADDR
REMOTE_PORT
SERVER_PROTOCOL
to name just a few. Then some set via CRONTAB
MAILTO
PWD
LOGNAME
SHLVL
So it will be very stra
Hi Phill,
Thanks for the input. Yes it will be a PHP script. I'll do some tests
to see what $_SERVER has in it when run via cron/command line and
HTTP request.
Sincerely,
Mike
--
Mike Brandonisio *Web Hosting
Tech One Illustration *Internet Marketing
tel (630) 759-9283
The most secure way would be to keep it outside of the web-root. Is
the script PHP? It would be possible to check the differences between
a server ran script and a cli ran script. You'll probably find many
things different, for example the contents of $_SERVER.
Phill
On 27/07/06, Mike Brandoni
Hi,
I'm creating a re-billing script to process subscription renewals for
a site. I want to use crontab to check once a day for expiring
accounts and re-bill the credit card. This script will only be run
via crontab. Is there a technique that I can apply to prevent access
to the script via
In message <[EMAIL PROTECTED]>, Suzi <[EMAIL PROTECTED]>
writes
>I am working with a MySQL database and PHP. I need to do a count of
>the records in the database table and output them to a script. I need
>a simple way to do this. The table is called "manufacturers".
SELECT COUNT(*) FROM manufactur