Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 26th, 2004, 11:43 PM
Registered User
 
Join Date: Nov 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default php on my personal webspace

ok, i got php, mysql, and apache all setup and configured correctly. the tests i've done show they all work in conjunction. i scoured the net for an answer to my question but i only found very specific questions pertaining to this, i have a very general question.

everything is set up for "localhost". when i upload a .php file to my personal webspace, i get a "open/save" dialog box when i try to view the file. what i want is to be able to use php on my personal site on some regular webspace(no professional hosting or anything). can this be done with my current setup? i'm going to have a news database set up, but i want to save all the info to my computer, but when ppl go to my site they can see the latest news, archives of old news, post some comments, etc. its my understanding that these archives and comments and whatnot will be saved on my computer, but ppl can access them from my site. is this right?

so basically, do i need to change localhost to my personal site, or would that be incorrect? if it is incorrect, how would i go about doing what i want to do?

thanks,
Ben C.
 
Old November 27th, 2004, 09:27 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Your personal webspace MUST have PHP installed. If you're using GeoCities or Tripod, you're out of luck ;)

Google for "free PHP hosting" if you want free PHP hosting... no guarantees, I've only used business hosting ($).

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
 
Old December 7th, 2004, 01:59 PM
Authorized User
 
Join Date: Dec 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to peg110
Default

You stated you have PHP, MySQL and Apache all set up... is this on the Same machine as your "Personal Webspace" ? If indeed it is then you do NOT have PHP and APACHE setup and configured correctly (if it were the PHP pages would display).

If, however, your "Personal Webspace" is on a site such as Snib suggests, then you may be out of luck. Many of those "Free" sites only offer scripting on a pay service. You would need to find another that permits PHP scripting or go ahead and pay for that service.



Paul Gardner
------------------
PHP-LIVE help
Via Web @ http://www.mnetweb.co.uk/irc
Via IRC Client pgardner.net:6667
room #PHP





Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal Calendar App hbarrett BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 0 September 7th, 2008 08:59 PM
storing the login name in my personal database saif44 ASP.NET 2.0 Basics 28 December 8th, 2006 08:13 AM
Oracle Personal Version HoosierDaddy61 Oracle 0 February 23rd, 2006 09:38 AM
personal macro workbook helmekki Excel VBA 0 May 31st, 2004 03:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.