![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Warrior Member
Join Date: Oct 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
I want to see php files in my computer before uploading it to server.
Is it possible? How can I do it? |
|
|
|
|
|
#2 |
|
Warrior Member
War Room Member
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
It's possible, but your going to have to install PHP on your localhost.
|
|
|
|
|
|
#3 |
|
Senior Warrior Member
War Room Member
Join Date: Apr 2006
Location: , , USA.
Posts: 1,708
Thanks: 17
Thanked 41 Times in 40 Posts
|
If this is on a Windows PC you could install WAMP, Install PHP 5 Apache MySQL on Windows : WampServer
On a Mac MAMP, MAMP: Mac, Apache, MySQL, PHP |
|
|
|
|
|
|
|
|
#4 |
|
Freelance Warrior
Join Date: Jul 2009
Location: USA
Posts: 152
Thanks: 1
Thanked 10 Times in 10 Posts
|
I've been using WAMP on my local computer for about 2 years now and it's been very useful for me. It allows me to view an editted site offline before uploading on the web
|
|
Bryan - After5PC.net
Freelance Web and Graphic Design, Virtual Assistant Services, and More! http://www.after5pc.net | Outsource Your Work To Me! ==>>>> /// Consumer Research Participants Wanted! /// <<<<==
|
|
|
|
|
|
|
#5 |
|
Footwear Dealer Online
Join Date: Mar 2009
Location: www.shoesbuyonline.com
Posts: 201
Thanks: 8
Thanked 9 Times in 9 Posts
|
I use XAMPP for several years and it is stable and powerful. It combine the PHP, MySQL, mercury mail server and filezilla ftp server. Of course, phpmyadmin is also there.
|
|
New, retro, custom jordan shoes, nike air force ones,
air jordan force fusion, kids nike shoes shop online! |
|
|
|
|
|
|
#6 |
|
HyperActive Warrior
War Room Member
Join Date: May 2009
Posts: 189
Thanks: 22
Thanked 10 Times in 10 Posts
|
If its windows you can install quickphp which is a very small, easy to install lightweight php web server.
|
|
|
|
|
|
|
|
|
#7 | |
|
HyperActive Warrior
Join Date: May 2008
Location: USA
Posts: 228
Blog Entries: 22
Thanks: 8
Thanked 21 Times in 20 Posts
|
Quote:
You can edit PHP files before uploading to a web server, just do it with Notepad or your favorite text editor. But if you want to see the results of a PHP file the way it looks on your website, you have to remember that PHP is mostly processed by the web server before it displays to the visitor's web browser. That's why you have load your own PHP web server on your laptop or desktop, if you want to see what a PHP file looks like without uploading. Be aware that you will need the same "stuff" on your local server that you have on the official web server. "Stuff" like PHP includes, images, Javascript .js files, and possibly the same version of PHP, if you want to duplicate a similar result for offline testing. I think the recommendations given earlier are excellent choices. Let us know if you run into any problems or errors. Thanks! | |
|
My WF blog for your reading pleasure: (1) Building a revenue and profit model (2) Forming strong customer bonds (3) Earn more money with DB marketing (4) Better money with better marketing
|
||
|
|
|
|
|
#8 |
|
Active Warrior
Join Date: Aug 2009
Posts: 30
Thanks: 2
Thanked 3 Times in 3 Posts
|
download and install free software's WAMPserver run the software, keep your php files in www folder, type in your browser address bar
localhost and hit enter you can see your files output in browser |
|
|
|
|
|
#9 |
|
Ultimate Warrior
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
Yes, if your OS is Windows you should have a Apache, PHP and MySQL. If your those three, put your PHP files in htdocs folder. If your site has database your MySQL should it open in command prompt, it not you can browser your PHP file in your browser in you PC.
|
|
|
|
|
|
|
![]() |
|
| Tags |
| files, php, server, uploading, view |
| Thread Tools | |
|
|
![]() |