Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
My first CGI site - newbie alert ;-)
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
- :
- My first CGI site - newbie alert ;-)
My first CGI site - newbie alert ;-)
09-03-2011 10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
As we can't use front page anymore I started trying to create a web page with CGI. Basically it is a one page html file which on POST calls a .php program.
It DOES NOT work ;-).
when I click on the button that does post it tries to down load the php file.
I have a few questions and comments
1) I have enabled CGI on my site
2) in the old days all files went into /htdocs/.. is this still the case
3) I changed the permissions of the .php file to 750 but think I need to somehow tell the server to run .php rather then download it... how is this achieved.
4) is there a CGI console I am missing as I am just uploading my two fle site with Filezilla?
Thanks in advance for any guidance and sorry for the newbie question
Tony
It DOES NOT work ;-).
when I click on the button that does post it tries to down load the php file.
I have a few questions and comments
1) I have enabled CGI on my site
2) in the old days all files went into /htdocs/.. is this still the case
3) I changed the permissions of the .php file to 750 but think I need to somehow tell the server to run .php rather then download it... how is this achieved.
4) is there a CGI console I am missing as I am just uploading my two fle site with Filezilla?
Thanks in advance for any guidance and sorry for the newbie question
Tony
Message 1 of 4
(1,015 Views)
3 REPLIES 3
Re: My first CGI site - newbie alert ;-)
09-03-2011 11:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you are seeing a /htdocs/ folder in your webspace you are on the homepages server which can only handle html pages. For PHP you have to use the separate cgi server. When you activated cgi the email sent to you includes access details appropriate to your account.
More information is given in the links on the Help & Support page here.
More information is given in the links on the Help & Support page here.
David
Message 2 of 4
(329 Views)
Re: My first CGI site - newbie alert ;-)
10-03-2011 10:49 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I suspect that email came out a few years ago.
Is there a way I can get a copy of the instructions on migrating my website to be cgi controlled?
it wasn't important them 😉
Thanks
Tony
Is there a way I can get a copy of the instructions on migrating my website to be cgi controlled?
it wasn't important them 😉
Thanks
Tony
Message 3 of 4
(329 Views)
Re: My first CGI site - newbie alert ;-)
10-03-2011 2:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you no longer have the emails that accompanied activation of your cgi space (and MySQL) you will have to raise a ticket asking for copies of the information to be sent to you again.
The links on the Help & Support page here provide basic guidance for making use of the space, in particular mention of A Beginners Guide to PHP. It is also essential that you read and understand the CGI Platform PHP Upgrade FAQ.
The UserGroup Tutorials also provide guidance, albeit some of it superseded by shell/telnet access being disabled and the platform upgrade mentioned in the previous paragraph. The CGI/Shell Server Basics tutorial was updated with the help of a Community user.
The links on the Help & Support page here provide basic guidance for making use of the space, in particular mention of A Beginners Guide to PHP. It is also essential that you read and understand the CGI Platform PHP Upgrade FAQ.
The UserGroup Tutorials also provide guidance, albeit some of it superseded by shell/telnet access being disabled and the platform upgrade mentioned in the previous paragraph. The CGI/Shell Server Basics tutorial was updated with the help of a Community user.
David
Message 4 of 4
(329 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
- :
- My first CGI site - newbie alert ;-)