War Room

Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 10-08-2009, 01:56 PM   #1
Warrior Member
 
Join Date: Oct 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to view PHP files without uploading them to server?

I want to see php files in my computer before uploading it to server.
Is it possible?
How can I do it?
virtualmisc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2009, 01:58 PM   #2
Warrior Member
War Room Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to view PHP files without uploading them to server?

It's possible, but your going to have to install PHP on your localhost.
Submerge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2009, 02:38 PM   #3
Senior Warrior Member
War Room Member
 
KirkMcD's Avatar
 
Join Date: Apr 2006
Location: , , USA.
Posts: 1,708
Thanks: 17
Thanked 41 Times in 40 Posts
Default Re: How to view PHP files without uploading them to server?

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

KirkMcD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2009, 08:57 PM   #4
Freelance Warrior
 
iBBnet's Avatar
 
Join Date: Jul 2009
Location: USA
Posts: 152
Thanks: 1
Thanked 10 Times in 10 Posts
Default Re: How to view PHP files without uploading them to server?

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!

iBBnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2009, 01:44 AM   #5
Footwear Dealer Online
 
cheapdeals's Avatar
 
Join Date: Mar 2009
Location: www.shoesbuyonline.com
Posts: 201
Thanks: 8
Thanked 9 Times in 9 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via MSN to cheapdeals
Default Re: How to view PHP files without uploading them to server?

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!
cheapdeals is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2009, 03:01 AM   #6
HyperActive Warrior
War Room Member
 
Join Date: May 2009
Posts: 189
Thanks: 22
Thanked 10 Times in 10 Posts
Default Re: How to view PHP files without uploading them to server?

If its windows you can install quickphp which is a very small, easy to install lightweight php web server.

garyk1968 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2009, 10:15 AM   #7
HyperActive Warrior
 
Join Date: May 2008
Location: USA
Posts: 228
Blog Entries: 22
Thanks: 8
Thanked 21 Times in 20 Posts
Default Re: How to view PHP files without uploading them to server?

Quote:
Originally Posted by virtualmisc View Post
I want to see php files in my computer before uploading it to server.
Is it possible?
How can I do it?

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!

awesometbn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-12-2009, 02:36 AM   #8
Active Warrior
 
Join Date: Aug 2009
Posts: 30
Thanks: 2
Thanked 3 Times in 3 Posts
Default Re: How to view PHP files without uploading them to server?

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
sunsoftsystem is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-16-2009, 05:09 AM   #9
Ultimate Warrior
 
lolito's Avatar
 
Join Date: Sep 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to view PHP files without uploading them to server?

Quote:
Originally Posted by virtualmisc View Post
I want to see php files in my computer before uploading it to server.
Is it possible?
How can I do it?
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.

lolito is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
files, php, server, uploading, view

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 08:05 AM.