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
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
> > 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
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
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
: 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
Wouldn't this be best done inside your perl script? That way you can have it
retry a few times then if it hard fails return to the PHP script.
Brad
- Original Message -
From: "Dave [Hawk-Systems]" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 11:55 AM
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
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?
>
>
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
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 my php-s
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,
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??
Thank you for the response.
Phillip
> > -Original Message-
> > From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday,
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 read that sessions can be set to
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 "
If the other application is written in PHP you can use "flock".
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:00 AM
To: Php-General
Subject:
28 matches
Mail list logo