First of all you need to go to the php folder in your xampp by cmd. If you use svn, then you will have an error saying "Unable to load dynamic library 'E:/xampp/php/ext/php_svn.dll'- the specified module could not be found".
To solve this problem, you need to copy to following files from Apache/bin/ to php/ :
These will solve the above problem.
Now to execute a php file write the command: php address_of_the_file_to_run(for example E:/xampp/htdocs/tab.php)
you can pass arguments in the command line.And one the server side, you can fetch the argument by the $argv variable, the first element is always the filename that is executing.
List of my works:
- Product Based Quantity Wise Shipping: Find it here.
- OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
- Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
- Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
- Custom Field Product - add unlimited custom fields to the product form: Find it here.
- Formcaptcha - add captcha on the register page: Find it here.