How to execute batch file via PHP?

The main issue was of   path   and   permission . I have gotten my batch file to execute. Here is my solution: I run my batch file fr...

Read more

wordress Plugin Install Asks for FTP Details

Please use in wp-config.php define('FS_METHOD', 'direct'); This statement solve my issue.

Read more

PHP Fatal error: Allowed memory size

I am receiving the following error whilst trying to download huge size file from live php serve php Fatal error: Allowed memory size of 3...

Read more

How do you run executable files on Windows 7 using the command prompt?

We have Just write the file path of executable file into the command prompt and press enter, like this: c:/pathoffile/fileName.exe

Read more

MySQL BETWEEN Operator

The BETWEEN operator is used to select values within a range. Syntax SELECT columnName FROM tableName WHERE columnName BETWEEN va...

Read more

How To create or use php - phar archives

I am showing you how to create phar Library. Here is sample code Create file in "classes/sample1.php" <? /** * Pha...

Read more

jQuery UI Virtual Keyboard Plugin Example

 Here is jQuery UI virtual keyboard plugin.  This plugin will provide features like 1) An on-screen virtual keyboard embedded within the br...

Read more

google map show multiles marks with infowindow

<html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <...

Read more

How to Add javascript in Joomla

There are three ways to add javascript Inline JavaScript 1: <?php 2: $document = JFactory::getDocument(); 3: $document->ad...

Read more

.htaccess Block hot linking from specific domains

RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blog...

Read more

How to Delete a table in Microsoft office 2007

Deletes the text from your table use Delete key on your keyboard Put your cursor anywhere in the table that you want to delete, and then cl...

Read more

Remove your table and keep your text in Microsoft office 2007

To convert an existing table to text, select the table or parts of table that you want to convert. Then select the Layout tab and click Con...

Read more

magento change email template

In Admin > System > transactional emails click ‘Add new template’ THEN… Go to System > Configuration > Sales > sales ...

Read more

How to convert php date into mysql format

1. MySQL column datatype is "DATE" $date = date('Y-m-d', strtotime(str_replace('-', '/', $date))); 2. MyS...

Read more

php date() Formatting

<?php $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm $today = date("m.d.y"); ...

Read more

php date() and mktime() example

This can be more reliable than simply adding or subtracting the number of seconds in a day or month to a timestamp because of daylight...

Read more

How add Newsletter Signup in Magento?

{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}} OR <reference name="right&qu...

Read more

How magento save value in session?

if you want to save "Test value" in "SessionMessage" variable $sessionValue = 'Test Value'; Mage::getSingleton(...

Read more

Money Booker Payment Integration

  <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <...

Read more

Integrate Alertpay payment gateway

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <htm...

Read more

Export and Import MYSQL database in Window

Run cmd command Type c: or d: on command prompt. This will be based on your WAMP server installations. Assuming you have installed Wamp ...

Read more

How to resolve sudo issue due to its folder permission

In Ubuntu you can first strike Ctrl+Alt+T which opens the terminal. After that you can copy-paste the command below to Ctrl+C and paste...

Read more