[PHP] Re: Calculating the difference between two dates

2003-03-24 Thread Nenad Djordjevic
$diff = bcdiv($timeDifference, 60, 0); break; case 's': $diff = $timeDifference; break; default: $diff = 0; } $res = $diff; retur

[PHP] php script execution by linux automated task

2003-03-21 Thread Nenad Djordjevic
script (`somepage.php`). This script is under web folder. Does anybody can give me useful hint? Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED] Diyomi Soft http://www.diyomisoft.com/ -- PHP General Mailing List (http

Re[2]: [PHP] small ads system

2003-02-21 Thread Nenad Djordjevic
not need application for banners management. Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED] Diyomi Soft http://www.diyomisoft.com/ Friday, February 21, 2003, 3:56:31 PM, you wrote: >> I need web application (PHP/MySQ

[PHP] small ads system

2003-02-21 Thread Nenad Djordjevic
Hello, I need web application (PHP/MySQL) for small ads (personal ads, that is advertisements to buy and sell cars, houses etc). Does anybody can give me useful hint. Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED] Diyomi

[PHP] Re: safe mode

2003-02-18 Thread Nenad Djordjevic
different owner (usually those files are generated by some script). Then I upload those files again and owner is same like other uploaded files. Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED] Diyomi Soft http://www.diyomisoft.com

[PHP] Re: Converting a large number of passwords to MD5 at once.

2003-02-17 Thread Nenad Djordjevic
Hello Vernon, If database is MySQL you can use MySQL function MD5: UPDATE TableName SET password = MD5(password) If database is not MySQL: write PHP script and use PHP function md5; Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED

[PHP] Re: Browser Language

2002-12-18 Thread Nenad Djordjevic
m(strval($arr_lang[0]; $lang_first = substr($lang_first, 0, 2); $lang = $lang_first; } else { $lang = DEF_LANG; } return $lang; } //:-) ____ Best regards, Nenad Djordjevic mai

[PHP] Re: session problems

2002-11-27 Thread Nenad Djordjevic
to use global array _SESSION to manipulate with session variables. Best regards, Nenad Djordjevic mailto:[EMAIL PROTECTED] Diyomi Soft http://www.diyomisoft.com/ Tuesday, November 26, 2002, 11:55:42 PM, you wrote: JR> when using s