| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | Php script and new (password protected?) pages I have recently installed a community-style php script, which requires users to login first in order to proceed to the main (script) website. Now, I want to create new pages, with links I will place on the script's templates. BUT how can I make these new pages accessible ONLY to my script's registered users? Thanks for any help you can provide. |
| |
| | #2 (permalink) |
| Eating Pie | Hello, First I need to know what your script is. OR edit one of the password-protected pages and looking for stuff like $_SESSION['(TEXT HERE)'] and $_COOKIE['(TEXT HERE)'] Let me know what you find and I will be able to help you. - Steve
__________________ I feel old. |
| |
| | #3 (permalink) |
| I'll do it Technical Services | Put the login code in another file and just include that particluar file where ever you want login neccessary.
__________________ Vhuv|Delq|Fhur|Twut|Tluz|Kegh|Vhir|Juhy|Ruuz|Jyos|Jupt|Vhek Webmaster Blog | Software Downloads Sponsor Ads at SponAds.com |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |