Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Linking from xxxx.Plus.net Host area to cgi area
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
- :
- Linking from xxxx.Plus.net Host area to cgi area
Linking from xxxx.Plus.net Host area to cgi area
19-01-2013 10:41 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have just atarted developing a website so I can try out various website programming methods.
So I have a plusnet hosting area.
To upload my HTML, CSS and images I have the xxxxx.plus.net area uploaded.
But to use PHP and MySQL I have a separate CGI area.
If I want to use the HTML,CSS or images from the first area in the second, I've had to make a separate copy for use by the PHP code.
So my question is ...
How do I link to the 'normal' hosting area from PHP to pick up these files?
So I have a plusnet hosting area.
To upload my HTML, CSS and images I have the xxxxx.plus.net area uploaded.
But to use PHP and MySQL I have a separate CGI area.
If I want to use the HTML,CSS or images from the first area in the second, I've had to make a separate copy for use by the PHP code.
So my question is ...
How do I link to the 'normal' hosting area from PHP to pick up these files?
Message 1 of 5
(9,142 Views)
4 REPLIES 4
Re: Linking from xxxx.Plus.net Host area to cgi area
19-01-2013 6:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Webspace on Homepages (www.username.plus.com) is on a different file system from CCGI (ccgi.username.plus.com) so the only way to access Homepages files from CCGI is via HTTP calls such as those used by a browser. The PHP function file_get_contents can be used to get a file from a different server. However that wouldn't be appropriate for the type of usage you mentioned.
If the functionality of your website needs PHP then it should all be on CCGI.
If the functionality of your website needs PHP then it should all be on CCGI.
David
Message 2 of 5
(555 Views)
Re: Linking from xxxx.Plus.net Host area to cgi area
20-01-2013 9:31 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes thanks Spraxyt,
I sort of thought that might be the issue.
I'll just have the login page on the www.username.plus.com, then link to the ccgi one from there, that seems to work.
Shame as it's not ideal, I'd like to be able to get at both area's seamlessly.
Thanks again
MQA
I sort of thought that might be the issue.
I'll just have the login page on the www.username.plus.com, then link to the ccgi one from there, that seems to work.
Shame as it's not ideal, I'd like to be able to get at both area's seamlessly.
Thanks again
MQA
Message 3 of 5
(555 Views)
Re: Linking from xxxx.Plus.net Host area to cgi area
20-01-2013 9:46 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Plusnet will point www.username.plus.com to your ccgi space if you want them to. You would need to raise a ticket to request this.
David
Message 4 of 5
(555 Views)
Re: Linking from xxxx.Plus.net Host area to cgi area
20-01-2013 9:57 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: spraxyt Plusnet will point www.username.plus.com to your ccgi space if you want them to. You would need to raise a ticket to request this.
I think I'll stick with things as they are. but it's a thought .. thanks
Message 5 of 5
(555 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
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Linking from xxxx.Plus.net Host area to cgi area