473,503 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do you keep from timing out for long

website transactions? Hi all. I've working on http://www.picturesoffood.org
about pictures of food. Yummy! Anyway, I upload all the files using FTP,
but then I use php to process them, either the server times out or maybe
the server runs out of memory space for my account. I'm using shared
webhosting. Anyway, is there a way to keep the connection alive while the
code processes the files. It's just a simple for loop and I call php's
image processing functions to process them. But I don't know how to keep
the connection alive. Thank you in advance for any help.
Oct 12 '07 #1
1 1284
Laura D. wrote:
website transactions? Hi all. I've working on http://www.picturesoffood.org
about pictures of food. Yummy! Anyway, I upload all the files using FTP,
but then I use php to process them, either the server times out or maybe
the server runs out of memory space for my account. I'm using shared
webhosting. Anyway, is there a way to keep the connection alive while the
code processes the files. It's just a simple for loop and I call php's
image processing functions to process them. But I don't know how to keep
the connection alive. Thank you in advance for any help.
Unless you can change the amount of time allowed and/or max memory (not
in a good shared host!), the only thing you can do is upload fewer (i.e.
one) at a time.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1811
by: S. David Rose | last post by:
Hello All! I am new to Python, and wanted to know if I might ask you a question regarding timing. I want a main loop which takes photos from 8 different web-cams, each can be addressed by...
6
5085
by: Vasileios | last post by:
Hi everyone. I am trying to time how long a function takes to execute in c++. Lets say I have a loop for example: for (int i=0;i<1000; i++) { ....do something useful here
2
2448
by: Timo | last post by:
When content is transferred from a hidden IFRAME (which has fetched data from a database) to a DIV in the main document, how can a script determine that the DIV has been completely populated before...
10
2124
by: Greg Stark | last post by:
This query is odd, it seems to be taking over a second according to my log_duration logs and according to psql's \timing numbers. However explain analyze says it's running in about a third of a...
1
4208
by: Mark | last post by:
How long do Session variables last before timing out? What is the default value? Can it be changed? Thanks! Mark
0
1667
by: Mike Hoorens | last post by:
Hi there. This looks like a good place to get help with a problem I am having: - We have a c# windows app, which performs an HTTPWebRequest to a IIS box on Internet to retrieve an XML response....
2
3276
by: Steven D'Aprano | last post by:
The timeit module is ideal for measuring small code snippets; I want to measure large function objects. Because the timeit module takes the code snippet argument as a string, it is quite handy...
15
2551
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
5
1361
by: John Fisher | last post by:
I am working on a framework for data acquisition in Python 2.5, am trying to get a structure going more like this: mark start time start event event finishes count time until next interval...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7074
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7451
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.