gtg93 Posted September 1, 2014 Posted September 1, 2014 Not sure if this should be in this thread, coding or web dev, so apologies if it's incorrect. I'm not sure if I'm imagining something here, but in the past, I'm sure I've been able to create a PHP file, and just launch it in IE and view it as I would an HTML file... I'm trying that now, in IE11 and IE9 (Win7) and the file is launching as a download. Should it work as I'm wanting it? Am I missing something... I know I've done this in the past I just can't think how. Thanks in advance.
ZeroHour Posted September 1, 2014 Posted September 1, 2014 Something has probably taken the file open association. 1
benjie Posted September 1, 2014 Posted September 1, 2014 Php is a server side application. You have to use a webserver with php installed to phrase it. Xampp is a great local webserver that you can use as a test base, that has php included. 1
gtg93 Posted September 2, 2014 Author Posted September 2, 2014 Php is a server side application. You have to use a webserver with php installed to phrase it. Xampp is a great local webserver that you can use as a test base, that has php included. Had a feeling this might be the case, but thought I'd managed to run it in the past without such tools... Pupils are doing some PHP this year, any suggestions on the best way to implement this into classrooms, or would it be a matter of Xampp (or other alternative) on all the machines?
unixman_again Posted September 2, 2014 Posted September 2, 2014 You can, of course, run php from the command line (or cmd is you're under windows).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now