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 i

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 t

[PHP] Timing problem, putting PNG into PDF

2008-08-11 Thread Brian Dunning
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 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 l

[PHP] Timing out a remote call

2005-08-04 Thread Brian Dunning
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

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 mor

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 com

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 tha

[PHP] Timing on an internal email

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

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/ ph

[PHP] Timing a MySQL response

2004-03-21 Thread Richard Davey
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?)

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 u

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 r

[PHP] timing a session

2003-08-23 Thread Damian Brown
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

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

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

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

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

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

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

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 doi

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 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://

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

[PHP] Timing out fopen using https stream wrapper?

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

Re: [PHP] timing out exec statements

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

[PHP] timing out exec statements

2003-06-16 Thread Dave [Hawk-Systems]
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

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 "Dae

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

2003-04-05 Thread Daevid Vincent
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:

[PHP] timing out a for loop, fopen

2003-01-15 Thread ROBERT MCPEAK
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

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 c

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? > >

[PHP] Timing mySQL query time.

2002-12-23 Thread Noodle Snacks
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:/

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. -- P

[PHP] timing header("Location: " )

2002-07-25 Thread JJ Harrison
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

[PHP] Timing out session cookies

2002-05-07 Thread Sear, Mick
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

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: http://chora.php.net/cvs.php/pear/Benchm

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 m

[PHP] Timing PHP

2002-03-18 Thread Stig Kronback
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]

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,

RE: [PHP] Timing Sessions Out

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

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 re

[PHP] Timing Sessions Out

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

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 "

RE: [PHP] timing

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

[PHP] timing

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