Welcome! Log In Create A New Profile

Advanced

how do you make register.php your first page?

Posted by 36667471_KW 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
how do you make register.php your first page?
October 16, 2011 09:28AM
Hi Mac,

How do you make the register.php your first page in freewebhostingarea without renaming it index.php? Alternatively can I submit my project with the url including the register page?

Thank you,
Kate
Re: how do you make register.php your first page?
October 16, 2011 10:47AM
index.php is going to be your first page. It is obiously going to have links from the connect.php page.
Re: how do you make register.php your first page?
October 16, 2011 10:54AM
I left my index.php as is so that mac can mark it for assignment 1 and then when I mailed my exam portfolio I just included the register.php at the end of my url to take the user to the register page instead of the index page, this should be acceptable...
avatar Re: how do you make register.php your first page?
October 16, 2011 12:25PM
I made a index page because most servers use this as the default page, and then I put the code

Language: PHP
header("location:register.php");

which will redirect the user to register.php
Sorry, only registered users may post in this forum.

Click here to login