samansk
Technical User
- Dec 7, 2000
- 44
I have old data from another department store in dbf format
(about 200000 reccords) when I retrive data from this file it error like this "Fatal error: Maximum execution time of 30 seconds exceeded " I have test this php script it work fine with 100 records . This is php code in my script
.........
........
$fp = dbase_open($dbname,0);
}
if($textfield){
$key=$textfield;
$nr = dbase_numrecords($fp);
$i=0;
for ($i=1; $i <= $nr; $i++) {
$temp = dbase_get_record($fp,$i); <==== This line make error
if (chop($temp[1]) == $key ) {
$sc=getname($temp[0]);
.........
.......
How to set the php executable time more than 30 seconds or how to solve this problem.
Thanks.
(about 200000 reccords) when I retrive data from this file it error like this "Fatal error: Maximum execution time of 30 seconds exceeded " I have test this php script it work fine with 100 records . This is php code in my script
.........
........
$fp = dbase_open($dbname,0);
}
if($textfield){
$key=$textfield;
$nr = dbase_numrecords($fp);
$i=0;
for ($i=1; $i <= $nr; $i++) {
$temp = dbase_get_record($fp,$i); <==== This line make error
if (chop($temp[1]) == $key ) {
$sc=getname($temp[0]);
.........
.......
How to set the php executable time more than 30 seconds or how to solve this problem.
Thanks.