Dear All
I am developing a website for say for multiple schools-> online courses
I have common set of programs
to be used for all schools.
For login purpose we need to provide alink to users
example , for students link to login will be
https://skyschool.in/studentlogin.php?schoolid=11 <-This is best and easiest way to give link.
-> here 11 is school id to know for which school the student wish to login.
Let us assume the school id for ABCD School is 11
--------------------------------------------------------------------------------------------------------------------
https://skyschool.in/studentlogin.php?schoolid=10 <-This is best and easiest way to give link.
-> here 10 is school id to know for which school the student wish to login.
Let us assume the school id for PQRS School is 10
Customer Requirement :
but customer wants to show that these 2 schools are in different directories
My only choice is .htaccess
In order to hide the variable passed (i.e. school id)
I tried
in both cases school id is not passed to the program
How do i pass the ID to Program
pls help
I am developing a website for say for multiple schools-> online courses
I have common set of programs
to be used for all schools.
For login purpose we need to provide alink to users
example , for students link to login will be
https://skyschool.in/studentlogin.php?schoolid=11 <-This is best and easiest way to give link.
-> here 11 is school id to know for which school the student wish to login.
Let us assume the school id for ABCD School is 11
--------------------------------------------------------------------------------------------------------------------
https://skyschool.in/studentlogin.php?schoolid=10 <-This is best and easiest way to give link.
-> here 10 is school id to know for which school the student wish to login.
Let us assume the school id for PQRS School is 10
Customer Requirement :
but customer wants to show that these 2 schools are in different directories
My only choice is .htaccess
In order to hide the variable passed (i.e. school id)
I tried
Code:
#Alternate default index page DirectoryIndex mainadminlogin.php
DirectoryIndex mainadminlogin.php
RewriteRule ^shalyann/shalyannacademy/?$ slogin.php?schoolid=11 [L]
RewriteRule ^shalyann-shalyannacademy/?$ slogin.php?schoolid=11 [L]
in both cases school id is not passed to the program
How do i pass the ID to Program
pls help