Blackroot Posted May 14, 2006 Share Posted May 14, 2006 I have some expirence with C++, lots of experience with HTML (not even worth bragging about html though :P) which seems to have some relation to PhP (C++ atleast). I installed WAMP after many failed tries of installing php/apache/MySql. I havent written any code yet, but where do I get it compiled, before putting it online? Can I see my php on an unlaunched site? (I still need to compile it somewhere though, right? Or is it like html...? With variables?)This has probably been asked many times, but I couldent find it anywhere, all the tutorials I found went from installing your resources to writing php, with no stop to say how to compile, veiw it :/. (Sorry for being a noob :P) Link to comment https://forums.phpfreaks.com/topic/9644-~~-getting-the-code-anywhere/ Share on other sites More sharing options...
wildteen88 Posted May 14, 2006 Share Posted May 14, 2006 You dont need to complile your PHP code. PHP is a server side programming lanagugage meaning is parsed on the server. All you need to do is save you PHP scripts with a .php file extension to the folder which the files get seen by the server. If yo uhave WAMP installed then it'll most likely be [i]C:\program files\Apache Group\Apache 2\htdocs[/i]Now if you open up a web browser, IE, FF opera etc. Now if you type in [a href=\"http://localhost/\" target=\"_blank\"]http://localhost/[/a] in the address bar and hit enter you should now see your servers root directory with a list of files and folders. Simply click on one of files/folders to view it.No compiling is needed at all for you PHP scripts. Link to comment https://forums.phpfreaks.com/topic/9644-~~-getting-the-code-anywhere/#findComment-35667 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.