Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Starting out with php
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Starting out with php
Starting out with php
24-10-2008 11:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Please bear with me, as I've just started with php/mySQL this week.
As an experiment, I have written an HTML page including a form and uploaded this to my "normal" webspace which is accessed via my .co.uk domain name. The form submits input data to a php page which I uploaded to my CGI webspace. This data is used to query a database I have set up using mySQL, and echos the results.
This all seems to work ok. However, I would prefer it if the results appeared on "www.mydomain.co.uk/filename.php" rather than "ccgi.culduthel.plus.com/filename.php" as it currently does.
Is this possible, and if so how is it achieved?
Thanks
As an experiment, I have written an HTML page including a form and uploaded this to my "normal" webspace which is accessed via my .co.uk domain name. The form submits input data to a php page which I uploaded to my CGI webspace. This data is used to query a database I have set up using mySQL, and echos the results.
This all seems to work ok. However, I would prefer it if the results appeared on "www.mydomain.co.uk/filename.php" rather than "ccgi.culduthel.plus.com/filename.php" as it currently does.
Is this possible, and if so how is it achieved?
Thanks
Message 1 of 7
(1,570 Views)
6 REPLIES 6
Re: Starting out with php
25-10-2008 12:11 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If your just starting - maybe it would be better to look at this new facility announced by PN very recently.
It is based on Pay as You Host fully featured Apache / php / MySQL platform
http://community.plus.net/forum/index.php/topic,69283.48.html
It is based on Pay as You Host fully featured Apache / php / MySQL platform
http://community.plus.net/forum/index.php/topic,69283.48.html
Message 2 of 7
(456 Views)
Re: Starting out with php
25-10-2008 12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You cannot do what you have suggested.
You need to point your domain to your ccgi webspace and have the whole website on the ccgi.
You need to point your domain to your ccgi webspace and have the whole website on the ccgi.
Message 3 of 7
(456 Views)
Re: Starting out with php
25-10-2008 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Peter You cannot do what you have suggested.
You need to point your domain to your ccgi webspace and have the whole website on the ccgi.
Thanks for the replies.
So, static websites work ok on your PN webspace via your .co.uk domain name, but dynamic websites must be hosted at "ccgi.username.plus.com"?
Visitors to your website may be confused by the conflict between the domain name.they accessed and the resulting URL Is there a "workaround", or is the only solution to run your own server?
Message 4 of 7
(456 Views)
Re: Starting out with php
25-10-2008 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I would strongly recommend NOT putting any new websites on CCGI (or homepages) - look at the new PAYH as suggested by mal0z.
You will be able to get it exactly as you want on there - all under www.
You will be able to get it exactly as you want on there - all under www.
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Message 5 of 7
(456 Views)
Re: Starting out with php
25-10-2008 8:36 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: culduthel
So, static websites work ok on your PN webspace via your .co.uk domain name, but dynamic websites must be hosted at "ccgi.username.plus.com"?
Visitors to your website may be confused by the conflict between the domain name.they accessed and the resulting URL Is there a "workaround", or is the only solution to run your own server?
No - with the PAYH webspace as I indicated you don't need ccgi at all.
give your website pages .php file extensions and any page can contain php scripts. PN will host your domain name
e.g.
www.example.org.uk/index.php
etc etc
Message 6 of 7
(456 Views)
Re: Starting out with php
25-10-2008 3:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks again. At the moment I'm just messing about with xhtml, php and mySQL, so I can do all that on the old service. When I'm more proficient and ready to do something more serious I'll move over to the new service.
Message 7 of 7
(456 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page