Computing.Net > Forums > Web Development > Easiest way to view PHP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Easiest way to view PHP

Reply to Message Icon

Name: cspace
Date: April 20, 2005 at 22:46:36 Pacific
OS: XP
CPU/Ram: 2.4
Comment:

What would be the easiest way to view compiled php code as it would finally appear in the browser? Is there wysiwyg editor I ccan use for this? I do not know code.



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: April 21, 2005 at 02:07:07 Pacific
Reply:

There really isn't any way that I know of other than to go to the page through a web browser. That is why most people that develop dynamic pages have a developmnet server (either on their computer or a separate server) to test their pages.

The reason is that php consists of programming and the page can look completely different depending on the variables used.

For example your home page might check to see if the user has a cookie on their machine with their login information. If so, the user is greeted with a welcome back message. If not, the user is presented with a login page. And, that is a simplistic example. I have written pages that could have dozens of different variations based upon the criteria.


Michael J


0

Response Number 2
Name: fambi
Date: April 28, 2005 at 15:35:12 Pacific
Reply:

Like Michael said, you can either have a developmnet server on your computer or a separate server to test your pages, but in either cases, PHP is server-side scripting, so you need to run it on a server.

Visit tm4b.com if you would like to send sms or bulk sms.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Easiest way to view PHP

How to protect PHP includes? www.computing.net/answers/webdevel/how-to-protect-php-includes/1029.html

way to change HTTP_USER_AGENT www.computing.net/answers/webdevel/way-to-change-httpuseragent/2850.html

Saving a form to a php file www.computing.net/answers/webdevel/saving-a-form-to-a-php-file/3154.html