16.09.2014, 09:30
The problem here i see is that u are trying to run a php script directly but php script wont run until u host it.
To host it locally you need Apache server or Windows server with php and Mysql support
But believe me i tried doing it form over 2 weeks then too was not successful caz its very complicated to install them..
So the Question is is there any easier way?
Yes there is which i used.
If u are using MySql then u must have installed WAMP server which has phpMyAdmin.
If u don't have WAMP server then ****** it and download the latest version and install it.
After installing it do the following steps-
To host it locally you need Apache server or Windows server with php and Mysql support
But believe me i tried doing it form over 2 weeks then too was not successful caz its very complicated to install them..
So the Question is is there any easier way?
Yes there is which i used.
If u are using MySql then u must have installed WAMP server which has phpMyAdmin.
If u don't have WAMP server then ****** it and download the latest version and install it.
After installing it do the following steps-
- Go to folder where WAMP server is installed [it is probably in C:/wamp]
- Open folder named www in it.
- Create a new folder inside www folder of any name you want, lets say you created folder named sig in it.
- Now copy both of your php files inside sig folder
- The php file which takes input of name that is signature2.php, rename signature2.php to index.php
- Now launch WAMP server application OR if it is already launched then right click on its icon in task bar[beside the clock] and press Refresh
- Make sure WAMP server is online, if its online then its icon in task bar will be green, if not then right click it and click on put Online button. NOTE after opening or clicking Online button you have to wait for 5 - 15 sec to make it a green icon.
- Now open your internet browser [ eg ****** chrome ] and type localhost/sig in address bar
- Now done !