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
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.
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.
Summary: Hello, I'm new to PHP and trying to figure out how to protect PHP include files. I've searched google and got one solution which needs to edit php config to make those files with certain extensions in...
Summary: is there a way to change the HTTP_USER_AGENT within firefox? when i log myself on my website.. its says what version of windows/firefox im using... is there a way to change it? to write a custom messa...
Summary: I'm trying to learn php for a task at work. What i need to do is pretty much create an employee inventory form that hold certain information about an employee (their name, phone, email, OS, and MAC a...