Jump to content

Incoporating PHP...


Recommended Posts

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?
Link to comment
Share on other sites

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?
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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/

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.