![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Hi all, i need a little help please. I've found a login script i would like to install on my site. I've created the relevant mysql database and now im instaling the php. How does it work though? What i mean to say is where do i put the php on the page? do i just save it as a .php in notepad and upload it or does it have to be in the html of each page. If anybody could please just give me a quick overview and explanation that would be fantastic. Thanks |
|
#2
| ||||
| ||||
| It depends on the login script, generally you upload the files that script comes with, and then on each page you want protected you insert some php code. With most it doesn't matter where you put it. If the script redirects or displays an error instead of the pages content it shouldn't matter, if it displays an error within your website content (basically keeps the header and menu but replaces the content with the error) then it might, you will need to check the installation guide it should come with.
__________________ Freelance web programming Do you need help installing a script, or need one written for you? I do freelance web programming (XHTML, CSS, PHP, MySQL). Feel free to contact me through my website and I will get back to you with a quote asap. Register/Login Script Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script |