2008/8/12 Brian Dunning <[EMAIL PROTECTED]>:
> I'm using GD to crop & save an uploaded image, and then embedding it into a
> PDF made with FPDI. It works great when the image is small or low-res. When
> the uploaded file is bigger, more than a couple hundred K or so, it fails. I
> think that the i
I'm using GD to crop & save an uploaded image, and then embedding it
into a PDF made with FPDI. It works great when the image is small or
low-res. When the uploaded file is bigger, more than a couple hundred
K or so, it fails. I think that the image is not done writing yet by
the time I try t
I'm using GD to crop & save an uploaded image, and then embedding it
into a PDF made with FPDI. It works great when the image is small or
low-res. When the uploaded file is bigger, more than a couple hundred
K or so, it fails. I think that the image is not done writing yet by
the time I try
Brian Dunning wrote:
> For one project, I'm required to access a web service for every page.
> Basically it returns a little bit of random text. I have no control
> over the web service, and there is no possibility of cacheing or
> bringing it locally: the requirements are that it be accessed l
For one project, I'm required to access a web service for every page.
Basically it returns a little bit of random text. I have no control
over the web service, and there is no possibility of cacheing or
bringing it locally: the requirements are that it be accessed live
across the Internet e
> > Not necessarily outside of php, but outside of webserver. You need to
> > setup a cron job that will execute the phpmailer script.
>
> Gotcha..,
>
> My webserver is a windows box, so I can just run a task schedule and give it;
> php.exe myfile.php
> and that should do it?
>
> Would it be mor
> Not necessarily outside of php, but outside of webserver. You need to
> setup a cron job that will execute the phpmailer script.
Gotcha..,
My webserver is a windows box, so I can just run a task schedule and give it;
php.exe myfile.php
and that should do it?
Would it be more efficient as a com
Alex Hogan wrote:
Hi all,
I want to set up a delivery date and time for emails to be sent. (I'm
using phpmailer)
I'm coming up blank on how to do this. I thought that I could put a
timing condition on a page that I know will be accessed daily that
would look for the date then call the function tha
Hi all,
I want to set up a delivery date and time for emails to be sent. (I'm
using phpmailer)
I'm coming up blank on how to do this. I thought that I could put a
timing condition on a page that I know will be accessed daily that
would look for the date then call the function that will do the ma
Richard Davey wrote:
Just a quick question - but does anyone know how to get the ms value
back from MySQL that tells you how long it took to run your query?
That value is not returned at all. Go with the wrapper...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
ph
Hi all,
Just a quick question - but does anyone know how to get the ms value
back from MySQL that tells you how long it took to run your query?
It shows it when using the command-line version, or MySQL Front, but
I'm yet to figure out how to actually retrieve the value (if it is at
all possible?)
Damian Brown wrote:
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
There's really no way to do this, only ways to estimate the time.
Assign each u
Damian Brown wrote:
Hi,
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
There is no way to get this exactly!
You cannot record the time a user
is r
Hi,
i haven't looked into it properly yet,
but is there a way in PHP of recording
the length of time a visitor stays on
your website
i can record the entry, but i don't know how to
record the exit time
Regards,
Damian
www.phpexpert.org
UK FREEphone 0800 019 0924
--
PHP General Mailing List (htt
: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:26 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
>From the user comments:
I think it might be useful to point out that set_time_limit() doesn't
have any effect on stream
here did you see that would be useful to my use of
> fopen('http://etc')?
>
> -Original Message-
> From: Dan Anderson [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 05, 2003 5:28 PM
> To: Giz
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Timing ou
nderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 5:28 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
> This has no effect on stream operations. I have a timeout set in php.ini,
> but the script never times out, so that should f
> This has no effect on stream operations. I have a timeout set in php.ini,
> but the script never times out, so that should further illustrate the issue.
But if you'd visited the page I sent you and viewed user comments you
would see how to set a time limit for socket operations (what you're
doi
That only works to set a timeout on reading data once the fopen has
successfully returned. The problem is that the fopen function is hanging.
-Original Message-
From: Arjen Brouwer [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:08 AM
To: Giz
Subject: Re: [PHP] Timing out fopen
]
Subject: Re: [PHP] Timing out fopen using https stream wrapper?
> It seems I have been over the documentation repeatedly, but there simply
> isn't any documented way of setting a timeout duration. Any ideas?
If you want to set a time out on execution of the /script/, check out:
http://
> It seems I have been over the documentation repeatedly, but there simply
> isn't any documented way of setting a timeout duration. Any ideas?
If you want to set a time out on execution of the /script/, check out:
http://us3.php.net/manual/en/function.set-time-limit.php
-Dan
--
PHP General
I have a class that uses fopen to read some xml data from a site with
ongoing stability issues. Fopen is using the stream wrapper for http.
Something I've struggled with is finding a way to set a timeout value when
fopen is attempting to get a page from a site that is inaccessible for some
reas
Sent: Monday, June 16, 2003 11:55 AM
Subject: [PHP] timing out exec statements
> we are dropping to a perl script to process transactions, occasionally the
> remote server the perl script interacts with becomes bogged, the
transaction
> goes into limbo, or for whatever reason the pro
we are dropping to a perl script to process transactions, occasionally the
remote server the perl script interacts with becomes bogged, the transaction
goes into limbo, or for whatever reason the processing of that transaction hangs
(happening about 0.2% of the time).
Is there a way to time and ti
here is the trick the solaris guy showed me , i've intergrated it into a
webpage for showing the results
time php somebenchmark.php > /dev/null time will show u the results of the
compiling , the microtime version has to allow time for running through apache
:)
>= Original Message From "Dae
It seems that it makes almost no difference if you switch in and out of
the parser or stay within it...
Does this seem like a fair test? Having said that, I would suggest
always using the first method as it's much cleaner to read and color
coding works in most editors.
-- output ---
version one:
Dear PHP Gurus:
I'm looking for a way to timeout an fopen function. I'm doing some link checking
inside of a for loop and some links "hang" rather than return a definitive "can't
connect" or "can connect." (Pardon the highly technical jargon there...)
In cases where my link hangs, I'd like to
Can I do that on the fly?
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why not just get the query times from the mysql general query log?
>
> On Tue, 24 Dec 2002, Noodle Snacks wrote:
>
> > Is there a built in php function for mysql that I c
Why not just get the query times from the mysql general query log?
On Tue, 24 Dec 2002, Noodle Snacks wrote:
> Is there a built in php function for mysql that I can use to time the last
> query?
>
> or do I have to take the microtime before and after then substract the first
> from the last?
>
>
Is there a built in php function for mysql that I can use to time the last
query?
or do I have to take the microtime before and after then substract the first
from the last?
I want to time how long my queries take
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
On Thursday, July 25, 2002, at 01:02 PM, JJ Harrison wrote:
> Is it possible to make the browser wait say, 5 seconds before
> redirection by
> outputting headers? I know you can do it with meta tags but not how by
> outputting headers
http://www.php.net/manual/en/function.sleep.php
R.
--
P
Is it possible to make the browser wait say, 5 seconds before redirection by
outputting headers? I know you can do it with meta tags but not how by
outputting headers
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hi,
How do I set an expiration time on a session cookie? I basically want to
log users out automatically after a period of inactivity.
Cheers,
Mick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 18 Mar 2002, Stig Kronback wrote:
> I need to see how long it takes for my php-scripts to
> execute, what can I do, doesn't PHP include a function
> that will show that information?
PEAR has a benchmark class which does just that:
http://chora.php.net/cvs.php/pear/Benchm
microtime() function's manual entry tells you exactly what you want to
do. :)
Niklas
-Original Message-
From: Stig Kronback [mailto:[EMAIL PROTECTED]]
Sent: 18. maaliskuuta 2002 12:00
To: [EMAIL PROTECTED]
Subject: [PHP] Timing PHP
Dear ?
I need to see how long it takes for m
Dear ?
I need to see how long it takes for my php-scripts to
execute, what can I do, doesn't PHP include a function
that will show that information?
Regards,
Stig
=
Stig Kronback Andersen
Drejervej 13, st
2400 Koebenhavn NV
Denmark
Phone: +45 35310382
E-mail: [EMAIL PROTECTED]
Right you are, seconds.
> -Original Message-
> At 03:21 PM 2/19/2002 Tuesday, Johnson, Kirk wrote:
> >See session.gc_maxlifetime in php.ini.
> >
> >Kirk
>
> I assume that the value given is in seconds.
> Correct??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
D]]
> > Sent: Tuesday, February 19, 2002 4:10 PM
> > To: PHP Email List
> > Subject: [PHP] Timing Sessions Out
> >
> >
> > Hey Gents and Ladies,
> >
> > I read that sessions can be set to timeout after a certain
> > period of time.
> > How
See session.gc_maxlifetime in php.ini.
Kirk
> -Original Message-
> From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 19, 2002 4:10 PM
> To: PHP Email List
> Subject: [PHP] Timing Sessions Out
>
>
> Hey Gents and Ladies,
>
> I re
Hey Gents and Ladies,
I read that sessions can be set to timeout after a certain period of time.
However I have not come across anything that tells me how to do that.
So how do I specify when sessions are to timeout?
Phillip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
unfortunaelty its not in php- but director
-Original Message-
From: Matthew Luchak [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 16:03
To: Php-General
Subject: RE: [PHP] timing
If the other application is written in PHP you can use "
al
Subject: [PHP] timing
I have a script that when is executed parses and html file and writes
the
contents to a text file.
I need to then read this text file from another apllication
Is there a way of timing this operation, so that my other app does not
try
to access the file before bei
I have a script that when is executed parses and html file and writes the
contents to a text file.
I need to then read this text file from another apllication
Is there a way of timing this operation, so that my other app does not try
to access the file before being written?
--
PHP General
43 matches
Mail list logo