Jump to content

Recommended Posts

Posted

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.

Posted
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.
  • Thanks 1
Posted
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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...