Something Is Wrong With My Header(location)
I am very confused with this. I have a button which use JavaScript onClick. It should redirect to another page but it doesn't. It instead downloads the file. Edit this is all the c
Solution 1:
If it downloads the PHP file then the odds are that the PHP is not being executed.
PHP is (in this context) a server side language, it needs to run through a webserver. The most likely reasons for this not to work are:
- You have no webserver
- You have not installed PHP support on the webserver
- You are running a webserver but are telling the browser to load the files with a
file://
URI instead of anhttp://
URI so it isn't being used
Post a Comment for "Something Is Wrong With My Header(location)"