CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   files (http://www.codingforums.com/showthread.php?t=284960)

geekerman 12-28-2012 05:57 PM

files
 
Hello. I've got. A. Website. But php. Wordpress but windows8 opens them in notepad n nt ie any. Ideas pls

Fou-Lu 12-28-2012 06:00 PM

Wut?
You running a browser via file:// or http:// protocols? You have to access it via http:// protocol and the server must be configured to serve as PHP code. That is a configuration issue on your host assuming you're not talking about a local machine.

tangoforce 12-28-2012 06:03 PM

Quote:

Originally Posted by geekerman (Post 1302708)
Hello. I've got. A. Website. But php. Wordpress but windows8 opens them in notepad n nt ie any. Ideas pls

m8 ntspk iz bd 4 ur hlf u no wt i mn? + tfl hd 2 udrstd 2 so if u wnt hlp tn please speak properly :thumbsup:

geekerman 12-28-2012 06:21 PM

Ok English I have a Wordpress theme in php code I have opened the file but unlike html using ie it just shows the code n not wepages

Fou-Lu 12-28-2012 06:24 PM

You cannot open a php script and have it parse. You have to use a webserver or an executable to parse it and return the results (ie: your browser using http protocol for example).

tangoforce 12-28-2012 06:33 PM

As Fou says, you will need a webserver to run it on and then access it via http using a browser. You can do this either by uploading it to your website that you already have OR by installing a server system such as wamp, xamp, uniformserver on your own windows system and then using the http://localhost address.

tangoforce 12-28-2012 06:34 PM

Quote:

Originally Posted by geekerman (Post 1302719)
Ok English ... code n not wepages

Close lol :thumbsup:

geekerman 12-28-2012 06:38 PM

Thanks


All times are GMT +1. The time now is 07:10 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.