[PHP] Showing local date time

2004-01-22 Thread Hamid Hossain
the difference manually? Suppose that I want to show the local datetime to my site visitors locals. That means if my visitor is coming from France, I have to show him France datetime. I he is coming form England, I should show his local also. Any suggestion will be appreciated. Hamid Hossain -- PHP General

RE: [PHP] what PHP really needs

2004-01-23 Thread Hamid Hossain
a drawback, you have to be smart enough. You should use this feature only if your query is fixed and it should return some limited value. For example, you cannot store your search results because each and every visitor will use his own key words. Regards, Hamid Hossain Saudi Arabia Original Message

[PHP] Using templates (Code User Interface)

2004-01-23 Thread Hamid Hossain
? Should I use some methodology like FuseBox.org Regards, Hamid Hossain _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net

[PHP] Writing CRON jobs!

2004-01-27 Thread Hamid Hossain
Is there any good reference on how to use CRON (I mean on the net)? I need to fire some PHP pages at scheduled time daily or weekly, ... so on. Regards, Hamid _ Add photos to your e-mail with MSN 8. Get 2 months FREE*.

[PHP] PHP code encryption

2004-02-03 Thread Hamid Hossain
don't have details. How to do this? Is it legal to be used in a commercial purposes? Is it free? Should I install somthing in the customer's pc to decrypt my code? Could I have some not encrypted pages (eg: config.php) ? Thanks, Hamid Hossain

[PHP] reading remote page content

2004-02-10 Thread Hamid Hossain
will apply some RegExp to extract what I want. Regards, Hamid Hossain --- Check Amazon.com Latest PHP books: http://www.amazon.com/exec/obidos/redirect?tag=zawraqclassif-20path=tg/browse/-/295223 Start Accepting CreditCard at your site in minutes: http://www.2checkout.com/cgi-bin

RE: [PHP] mysql functions

2004-02-10 Thread Hamid Hossain
: . mysql_error()); $result = mysql_query(SELECT name FROM work.employee) or die(Could not query: . mysql_error()); echo mysql_result($result,0); // outputs first employee's name mysql_close($link); ? Regards, Hamid Hossain --- Check Amazon.com Latest PHP

RE: [PHP] Re: sql query question

2004-02-12 Thread Hamid Hossain
Hi, It is better to use FullText. Convert the description field to FullText. You will gain a powerfull control in this case. For more information on how to use FullText read a little-bit in the MySql manual (MATCH AGAINST) commands. Regards, Hamid Hossain --- Check

[PHP] Arranging My Functions

2004-02-14 Thread Hamid Hossain
Hi, I've created a big site contains about 500 functions to handle all the site logic. I saved all these functions in one file. - Should I separate them into grouped files ? - Is there any reference on the web on how to arrange my PHP code? Regards, Hamid Hossain --- Check

[PHP] How to calculate my local time?

2004-02-17 Thread Hamid Hossain
Hi, My local time zone is GMT+3 My website is located in a remote server with different time zone. So, How to calculate my time zone using the GMT functions in PHP? Regards, Hamid Hossain --- Check Amazon.com Latest PHP books: http://www.amazon.com/exec/obidos/redirect?tag