+ Post New Thread
Results 1 to 5 of 5
Windows 7 Thread, PHP in opening as Download in Technical; Not sure if this should be in this thread, coding or web dev, so apologies if it's incorrect. I'm not ...
  1. #1
    gtg93's Avatar
    Join Date
    May 2010
    Posts
    363
    Thank Post
    226
    Thanked 46 Times in 38 Posts
    Rep Power
    17

    PHP in opening as Download

    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.

  2. #2

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,775
    Thank Post
    959
    Thanked 1,377 Times in 841 Posts
    Blog Entries
    1
    Rep Power
    455
    Something has probably taken the file open association.

  3. Thanks to ZeroHour from:

    gtg93 (2nd September 2014)

  4. #3
    benjie's Avatar
    Join Date
    Dec 2010
    Location
    Stockton
    Posts
    103
    Thank Post
    8
    Thanked 21 Times in 21 Posts
    Rep Power
    11
    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.

  5. Thanks to benjie from:

    gtg93 (2nd September 2014)

  6. #4
    gtg93's Avatar
    Join Date
    May 2010
    Posts
    363
    Thank Post
    226
    Thanked 46 Times in 38 Posts
    Rep Power
    17
    Quote Originally Posted by benjie View Post
    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?

  7. #5

    unixman_again's Avatar
    Join Date
    Nov 2011
    Posts
    881
    Thank Post
    35
    Thanked 167 Times in 127 Posts
    Rep Power
    141
    You can, of course, run php from the command line (or cmd is you're under windows).



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 8th June 2012, 10:46 AM
  2. Web page in open office or Excel help please.
    By MrWestwood in forum Office Software
    Replies: 0
    Last Post: 1st May 2009, 12:34 PM
  3. Saving Text in VB2008 as Picture File?
    By ChrisVB2008 in forum Coding
    Replies: 3
    Last Post: 16th February 2009, 12:12 PM
  4. updating the version of php in apache2triad
    By beeswax in forum Coding
    Replies: 10
    Last Post: 25th June 2008, 04:28 PM
  5. Replies: 2
    Last Post: 11th March 2008, 11:36 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •