Re: [PHP] Timing problem, putting PNG into PDF

2008-08-21 Thread Thodoris
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

Re: [PHP] Timing problem, putting PNG into PDF

2008-08-21 Thread David Otton
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 image

Re: [PHP] Timing out a remote call

2005-08-04 Thread Torgny Bjers
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 live

Re: [PHP] Timing on an internal email

2004-09-09 Thread Wouter van Vliet
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

Re: [PHP] Timing on an internal email

2004-09-08 Thread Marek Kilimajer
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

Re: [PHP] Timing on an internal email

2004-09-08 Thread Alex Hogan
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

Re: [PHP] Timing a MySQL response

2004-03-21 Thread John W. Holmes
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/

Re: [PHP] timing a session

2003-08-23 Thread Matthias Nothhaft
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

Re: [PHP] timing a session

2003-08-23 Thread John W. Holmes
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

Re: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
] 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://us3.php.net

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
:[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 further illustrate the issue

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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 out fopen using https stream wrapper? This has no effect on stream operations. I have

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
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 operations

Re: [PHP] timing out exec statements

2003-06-16 Thread Brad Dameron
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

RE: [PHP] Timing test of the parser... Makes no difference

2003-04-05 Thread daniel
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

Re: [PHP] Timing mySQL query time.

2002-12-23 Thread Rasmus Lerdorf
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? I want

Re: [PHP] Timing mySQL query time.

2002-12-23 Thread Noodle Snacks
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 can use to

Re: [PHP] timing header(Location: )

2002-07-25 Thread Rénald CASAGRAUDE
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. -- PHP

RE: [PHP] Timing PHP

2002-03-18 Thread Niklas Lampén
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

Re: [PHP] Timing PHP

2002-03-18 Thread Mika Tuupola
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:

RE: [PHP] Timing Sessions Out

2002-02-20 Thread Johnson, Kirk
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, visit:

RE: [PHP] Timing Sessions Out

2002-02-19 Thread Johnson, Kirk
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 timeout

RE: [PHP] Timing Sessions Out

2002-02-19 Thread Phillip S. Baker
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,

RE: [PHP] timing

2001-11-16 Thread Matthew Luchak
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:

RE: [PHP] timing

2001-11-16 Thread Caspar Kennerdale
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 flock