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

Easiest way to view PHP

Reply to Message Icon

Original Message
Name: cspace
Date: April 20, 2005 at 22:46:36 Pacific
Subject: Easiest way to view PHP
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.


Report Offensive Message For Removal

Response Number 1
Name: Michael J (by mjdamato)
Date: April 21, 2005 at 02:07:07 Pacific
Subject: Easiest way to view PHP
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: fambi
Date: April 28, 2005 at 15:35:12 Pacific
Subject: Easiest way to view PHP
Reply: (edit)

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.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Easiest way to view PHP

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software