NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Getting my PHP to work locally -- Dreamweaver 4

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 04-05-2006, 06:51 AM THREAD STARTER               #1 (permalink)
DomainSeeking.com
 
MCDomains's Avatar
Join Date: Sep 2005
Location: Boston
Posts: 2,415
MCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud of
 



Third World Education

Question Getting my PHP to work locally -- Dreamweaver 4


So I'm just starting to put PHP in my webpages ... and when I preview the webpages w/Dreamweaver 4 the PHP stuff doesn't work. If I upload it to my webhost and goto the page it works fine. What do I need to get my PHP code to work locally? Is there a Dreamweaver 4 extension for this? Thanks!

Rep for help!
__________________
MCDomains is offline  
Old 04-05-2006, 07:03 AM   #2 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,803
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



You have to have PHP installed on your computer. I run XAMPP locally and it works great as an all in one resource.

-Steve
Last edited by stscac; 04-05-2006 at 07:15 AM.
stscac is offline  
Old 04-05-2006, 07:13 AM THREAD STARTER               #3 (permalink)
DomainSeeking.com
 
MCDomains's Avatar
Join Date: Sep 2005
Location: Boston
Posts: 2,415
MCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud of
 



Third World Education
Originally Posted by stscac
You have to have PHP installed on your computer. I run XAMPP locally and it works great as an all in one resource.

-Steve
I'll have to check it out ... that link is dead, though. I'll just search for it. Thanks!
__________________
MCDomains is offline  
Old 04-05-2006, 07:16 AM   #4 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,803
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



I edited the link. It should work now. Hope its al alternative solution for you. Make sure you place the files in the htdocs folder.

Either use http://localhost/ or http://127.0.0.1 to access your files once they are in the folder.

-Steve
stscac is offline  
Old 04-05-2006, 07:32 AM THREAD STARTER               #5 (permalink)
DomainSeeking.com
 
MCDomains's Avatar
Join Date: Sep 2005
Location: Boston
Posts: 2,415
MCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud of
 



Third World Education
Another dumb question ... where's the htdocs folder? I don't see it off Dreamweaver 4 or my local website directories.
__________________
MCDomains is offline  
Old 04-05-2006, 09:45 AM   #6 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,803
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



It depends on where you installed xampp. I installed it to my C:\, so it appears as C:\xampp\htdocs\

If you're not sure where you installed it, do a file search and include folders.

-Steve
stscac is offline  
Old 04-05-2006, 10:01 AM   #7 (permalink)
NamePros Member
Join Date: Apr 2006
Location: Central PA
Posts: 101
NonProphet is on a distinguished road
 



By default apache is installed in C:/Program Files/Apache HTTP Server/
you can find the htdocs folder in there. Also make sure you have PHP and the .htaccess file setup right. http://www.php-mysql-tutorial.com has a great article on how to set it all up.
NonProphet is offline  
Old 04-05-2006, 01:24 PM   #8 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



also, i use EasyPHP, great software, really easy to use. google it for the exact link, cant remember it off the top of my head.
nasaboy007 is offline  
Old 04-06-2006, 11:43 AM THREAD STARTER               #9 (permalink)
DomainSeeking.com
 
MCDomains's Avatar
Join Date: Sep 2005
Location: Boston
Posts: 2,415
MCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud ofMCDomains has much to be proud of
 



Third World Education
Thanks everyone, checkin' all this stuff out now!
__________________
MCDomains is offline  
Old 04-06-2006, 01:34 PM   #10 (permalink)
NamePros Regular
 
nick's Avatar
Join Date: Jun 2004
Location: Iowa City
Posts: 703
nick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud of
 


Save The Children
I use XAMP also....i just edit all the files in notepad/dreamweaver and then save them to htdocs and then wallah i open it up in the browswer...works like a charm
all local
__________________
formally ninedogger
------
Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends
nick is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:11 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger