Author: mohammad

How To Install IIS for windows Server

COMPATIBILITY Version Notes IIS 8.0 IIS 8.0 is only available in Windows Server 2012 and Windows 8. IIS 7.5 IIS 7.0 Server Manager in Windows Server 2012 is new and accordingly, the user experience has changed as well….

Read More »

Apache: Starting, Stopping, and Restarting

Microsoft Windows As should be expected, Microsoft Windows does things a little differently. Apache on Windows offers a few other ways to manage things, more in line with the expected Windows way of doing things. For example, you…

Read More »

How to detect mobile device such as Ipad,iphone,table and windows phone with PHP

comments The Internet took off quicker than anyone would have predicted, growing like crazy. Now, for the past few years, mobile growth has exploded onto the scene. The growth of mobile Internet usage is also far out pacing…

Read More »

insert current date to mysql automatically in yii framework

here is example to show how could you insert current date before save in yii ! just use beforSave function in your model, public function beforeSave(){ $mysqldate = date( ‘Y-m-d H:i:s’); $this->addedDate = $mysqldate; return parent::beforeSave(); } addedDate…

Read More »

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

No Picture

About LAMP LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the…

Read More »

How to fix the “api-ms-win-crt-runtime-l1-1.0.dll is missing” error for Delphi 10 Seattle

No Picture

you need to (re)install the Visual C++ Redistributable for Visual Studio 2015, either via Windows Update or download and directly install the Visual C++ Redistributable: Install all pending Windows Updates Go to Start – Control Panel – Windows…

Read More »

transition background images with css2

No Picture

it’s currently not possible to transition background images or css3 gradients and here I offer a way to do it simple by pure css ( without jquery ) you should have 2images  once for normal view and other…

Read More »

prevent caching per especial file in HTML page via javascript

No Picture

today I’m here to teach , how could you  prevent cashing in HTML page and prevent caching  for especial file !, set SRC attr with external javascript function or jquery here I used jquery . $(‘#gallery1’).attr(“src”, “imgs/gallery/g1.jpg?”+d.getTime()); or…

Read More »

insert current date to mysql automatically in yii framework

No Picture

here is example to show how could you insert current date before save in yii ! just use beforSave function in your model, public function beforeSave(){ $mysqldate = date( ‘Y-m-d H:i:s’); $this->addedDate = $mysqldate; return parent::beforeSave(); } addedDate…

Read More »

PHP Insert Data Into MySQL

No Picture

Insert Data Into MySQL Using MySQLi and PDO After a database and a table have been created, we can start adding data in them. Here are some syntax rules to follow: The SQL query must be quoted in…

Read More »