beamerrox Posted August 4, 2006 Share Posted August 4, 2006 is there anything currently available so that when i click on a php file in my windows ui that it opens in any browser window as the parsed PHP/MySQL instead of a bunch of "gobbledygook"(code) Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/ Share on other sites More sharing options...
Caesar Posted August 4, 2006 Share Posted August 4, 2006 If you're talking about opening PHP files ("file.php") on your local machine, then no. Unless of course, you install PHP on your local machine. And I discourage the use of PHP on Windows boxes. Especially when people run it in CGI mode. I work in the support/development business....and I can't believe some of the numbskull questions I have heard Windows "Server Administrators" ask. I swear. Some deserve to get shot in the face they're so stupid.So yea, why don't you use an editor that saves the changes to your code on the server real-time? Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69000 Share on other sites More sharing options...
beamerrox Posted August 5, 2006 Author Share Posted August 5, 2006 because i want to actively browse php files from the windows gui?i have been saving to the server Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69628 Share on other sites More sharing options...
Salis Posted August 5, 2006 Share Posted August 5, 2006 Actually there is a great program out there that has PHP 5 MySQL 5 Apachee FileZille and it's free!http://www.apachefriends.org/en/xampp.html Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69671 Share on other sites More sharing options...
beamerrox Posted August 5, 2006 Author Share Posted August 5, 2006 umm, why would i want XAMP, when i have Apache2Triad?i am looking for a GUI hack that makes files readable to the browsers for example C:/test.php would be the PARSED document if brought up in any browser, NOT a server, as i have 2 Red Hat 9 Servers sitting beside me...understand yet? Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69691 Share on other sites More sharing options...
wildteen88 Posted August 5, 2006 Share Posted August 5, 2006 You cannot run PHP code through the browser, as browsers dont uderstand PHP code and PHP is server side. So it needs a server environment in order to parse the files. If you want to run your PHP you'll have to upload your scripts to your website and run them there, or install Apache, PHP and MySQL (Apache2triad or XAMPP etc) locally on your PC. Save your php files to the htdocs folder and then goto http://localhost/filename.php to run the PHP file.There is no windows hack to run PHP files through a browser. PHP files need to be parsed by the PHP Intepretor, which then sends the output, which is probably text/html, back to the server. The server sends the output back to browser. The browser then takes the output and parses the html/css/javascript. Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69716 Share on other sites More sharing options...
ignace Posted August 5, 2006 Share Posted August 5, 2006 What you are looking for is an IDE (Integrated Development Environment) an Java IDE can be found at: http://www.eclipse.org/ , ofcourse you don't wanna start programming Java, so you will need the php module, which can be found here: http://phpeclipse.sourceforge.net/regards,Ignace Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69722 Share on other sites More sharing options...
beamerrox Posted August 5, 2006 Author Share Posted August 5, 2006 thank you, kinda works...and to the "guru"s who said it would not happen...i read a million articles on how the do it, i didn't get any links from them Quote Link to comment https://forums.phpfreaks.com/topic/16512-incoporating-php/#findComment-69851 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.