Storing and Retrieving Number String/Array

Reply

Join Date: Dec 2007
Posts: 625
Reputation: OmniX is an unknown quantity at this point 
Solved Threads: 10
OmniX's Avatar
OmniX OmniX is offline Offline
Practically a Master Poster

Re: Storing and Retrieving Number String/Array

 
0
  #21
Jun 18th, 2008
Hmmm ok ill try some things tomo and get back to yas.

Also a file and database will not work as it will just retrieve the value, but still the large amout of iterations are require and hence the same resources are used.

Its like a once use program nothing major more of an experiement for family.

Can anyone answer the max_execution_time = 30 question?

Also niek_e you sound very knowledgable very nice work

Thanks, Goodnight

PS: Its not a hog as such It needs to do alot of calculations.
Last edited by OmniX; Jun 18th, 2008 at 11:46 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,761
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 332
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: Storing and Retrieving Number String/Array

 
0
  #22
Jun 18th, 2008
max_execution_time is used if you have a script which takes more than 30 seconds to execute. When you set max_execution_time as 0, the execution time of the script is removed. That's what I use when I have a process a large csv file. But I don't think it will work in this case.
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,978
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 308
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: Storing and Retrieving Number String/Array

 
0
  #23
Jun 18th, 2008
Originally Posted by OmniX View Post
Also niek_e you sound very knowledgable very nice work
Thanks, but I'm actually an Embedded engineer, which means I like playing with bits and bytes. For PHP questions you shouldn't be paying too much attention to me Nav33n would be the one to listen to in this thread

Originally Posted by OmniX View Post
Also a file and database will not work as it will just retrieve the value, but still the large amout of iterations are require and hence the same resources are used.
Not exactly. Writing to a DB and retrieving data will use a lot of CPU time and HD-space, but you wouldn't need an enormous amount of memory. A MB or two would be enough
Last edited by niek_e; Jun 18th, 2008 at 1:13 pm.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,761
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 332
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: Storing and Retrieving Number String/Array

 
0
  #24
Jun 18th, 2008
Nav33n would be the one to listen to in this thread
Lol.. no.. I got to know few things after reading your posts ! I wasn't aware of the 'in depth bits and bytes calculation' ! electronics! eh ?
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: Storing and Retrieving Number String/Array

 
0
  #25
Jun 18th, 2008
If you write to a file or db and call set_time_limit every x number of iterations and use your memory resources wisely by utilizing disc space, you could go all day.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2854 | Replies: 24
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC