[PHP-WIN] Reguler Expression with php

2004-01-15 Thread Idur
nfo|tv|biz echo "Alamat URL Asli $url"; $www_url = ereg("([[:alnum:]]+)\.(com|net|org|edu|mil|gov|gob|info|tv|biz|dk|za)", $url, $regs); $fix_url="$regs[0]"; endif; } return $fix_url; } Thanks for your help idur - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

[PHP-WIN] binary search in php

2004-01-09 Thread Idur
nd bad??? Thanx, for your kindness. idur - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

[PHP-WIN] open directory and read the file

2003-12-23 Thread Idur
ek\readdir.php on line 11" I confuse with the file handle, because is different with opening file like usually, what should i do...??? does any one can help me...?? Thanx idur - Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square

[PHP-WIN] random access file with php

2003-12-19 Thread Idur
Hi there, I have a big file txt to read(about 40 Mb), and i have script to read this file, suddenly i realise that my methode to read file is using "sequential access" mode, but this process take time to long(max_time_execution = 90) and i need the methode to read in "random access" with php, i he

[PHP-WIN] random access file with php

2003-12-19 Thread Idur
Hi there, I have a big file txt to read(about 40 Mb), and i have script to read this file, suddenly i realise that my methode to read file is using "sequential access" mode, but this process take time to long(max_time_execution = 90) and i need the methode to read in "random access" with php, i he

[PHP-WIN] selecting data from file with php

2003-08-11 Thread Idur
hi there, i have file address.txt, it's content of address of customer, like this ; name age city jony 27 new york george 25 dallas mony 23 mexico edward 30 new york budy 22dallas dennise 21 new york hox to count the field of city, so the result