Hi,
Is there any way to keep my scripts code without any change when it is being hosted on shared hosting, since there is using of date() in PHP and NOW in MySQL.
For instance, I'd like the shared hosting to deal with the timezone as +2 GMT and this should be applied for the PHP and MySQL.
The NOW() is used during the the SQL query some thing like SELECT NOW() FROM tbl_name and I want it to return NOW() value in +2 GMT.
I think, but I don't know exactly how, .htaccess may have a solution for this to PHP but what really I think it is hard, the section regarding MySQL.
If there any suggest or advice, I will be very much appreciated. Please, keep in mind that I don't want changing the code of my scripts. However, my script have global configuration file that maintain the MySQL connection data such as happened in Dreamweaver sites.