marriott81
01-17-2014, 03:09 PM
Hey all!
Sorry for this long post but I am struggling a little..
Let me set the scene
I work for a company, I was nominated to refurbish the website for them. I have previously done CSS and HTML with a little Javascript. With this in mind I set about creating a website (turned out ok) using HTML and CSS. The other thing I need to implement is a secure login page. Managed to teach myself PHP in a fairly short amount of time, discovered SQL injections and had to start again.
I am running:
IIS (direct access to server from company via remote desktop)
PHP
HTML
CSS
Now a few problems I am experiencing and things I am confused about:
1:A user can log into my website, however there is no distinction between logged in or not.. i.e. you cna log in and get other webpages which are set after that (via link) however if you hit log out it just goes back to the html original page..
2: It is currently running on local host, so I know i need to get it up and running, however hiding URLS, im guessing that is using URL reqrite on IIS? wondering if anyone had a decent guide to it.
3: I need to add a validation to my existing IF statement to check if the value is null in the table then not let them log in, however you can still direct access the pages in the URL and need to find a way of stopping it
4: A way of letting me approve who joins (only want a very select few to join)
5: web pages which are personalised for each person (letting them access specific files to that user) and a way of easily uploading files for them (dunno if i can just place them in a folder for that user and its automatically uploaded to their personalised page?)
I know thats a lot, but its confusing the hell out of me, I was quite happy I got this far..
Here is the JSfiddle for the login page (looks crappy as no background or images)
http://jsfiddle.net/94Pzz/
I posted some queries on other websites like stack overflow, got some help but mostly abuse . I have done some extensive readings on your fourms as well and they have been the most helpful I have come across..
I have tired a lot of this myself and got what I would considerer to be a working functional public facing side, its just the private side of the website I need to fix.
Failing that someone shoot me please.
Thankyou
James
Sorry for this long post but I am struggling a little..
Let me set the scene
I work for a company, I was nominated to refurbish the website for them. I have previously done CSS and HTML with a little Javascript. With this in mind I set about creating a website (turned out ok) using HTML and CSS. The other thing I need to implement is a secure login page. Managed to teach myself PHP in a fairly short amount of time, discovered SQL injections and had to start again.
I am running:
IIS (direct access to server from company via remote desktop)
PHP
HTML
CSS
Now a few problems I am experiencing and things I am confused about:
1:A user can log into my website, however there is no distinction between logged in or not.. i.e. you cna log in and get other webpages which are set after that (via link) however if you hit log out it just goes back to the html original page..
2: It is currently running on local host, so I know i need to get it up and running, however hiding URLS, im guessing that is using URL reqrite on IIS? wondering if anyone had a decent guide to it.
3: I need to add a validation to my existing IF statement to check if the value is null in the table then not let them log in, however you can still direct access the pages in the URL and need to find a way of stopping it
4: A way of letting me approve who joins (only want a very select few to join)
5: web pages which are personalised for each person (letting them access specific files to that user) and a way of easily uploading files for them (dunno if i can just place them in a folder for that user and its automatically uploaded to their personalised page?)
I know thats a lot, but its confusing the hell out of me, I was quite happy I got this far..
Here is the JSfiddle for the login page (looks crappy as no background or images)
http://jsfiddle.net/94Pzz/
I posted some queries on other websites like stack overflow, got some help but mostly abuse . I have done some extensive readings on your fourms as well and they have been the most helpful I have come across..
I have tired a lot of this myself and got what I would considerer to be a working functional public facing side, its just the private side of the website I need to fix.
Failing that someone shoot me please.
Thankyou
James