![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
|
Hi I´m having a rather hard time figuring out how to protect the member area on my site. I´m using php script from a site called Sentrylogin. It all looks good, but I must be doing something wrong because I keep getting an "HTTP 404 error" when trying to connect to the login page. I have followed the following procedure so far: 1: Got scripts (login form and topcode) from Sentrylogin for my login page and changed the extension from html to php in BlueVoda page properties (do I need to do anything else when renaming the extensions???) 2: Placed keyfile in a folder I named "member" 3: Were in doubt about placing a Meta redirect (maybe I encountered the first problem here. You tell me 4: Uploaded the login page 5: Placed PHP Page Protection Topcode (on all of my protected pages (not using Access levels since I don´t know what it is) and changed the extensions from html to php in BlueVoda page properties 6: Again encoutered problems setting up a Meta redirect 7: Hyperlinked from my index page to my login page like this: mysite.com/login.php (is this neccesary or should I just link to "mysite.com/login") 8: Uploaded pages to folder public_html/member (where keyfile is placed) Basically it... I tend to think the mistake is that I hyperlinked the wrong way or that I screwed up the extensions in some way. Or maybe the script is placed wrong or maybe the fact that I placed the protected pages in a different folder than "public_html" called "public_html/member" I hope someone can guide me step by step or just point out any potential error(s) I have made. Thanks Morten Fabrin |
|
#2
| ||||
| ||||
|
Hi, it’s a bit hard to say without knowing which program it is & for someone to see the script you are working on or the url of the page. You will need to pop your ID or website in your signature. (User CP top of page)
__________________ Regards Chris, Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens. How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips - Collectables, Collecting |
|
#3
| |||
| |||
|
Website: www.scandiaband.com PHP Login Form Topcode: <?php $WebKey='DOQyHLPo0g1ffsdc'; ?><?php $FormView=1; ?><?php $Sentry_ID=904; ?><?php include('Sentry_keyfile.php'); ?><!-- Sentry PHP Login Script v.2.0.4 - Sentrylogin.com --> PHP Page Protection Topcode: <?php $WebKey='DOQyHLPo0g1ffsdc'; ?><?php $MembersOnly=true; ?><?php $Sentry_ID=904; ?><?php include('Sentry_keyfile.php'); ?><!-- Sentry PHP Page Protection v.2.0.3 - Sentrylogin.com --> |
|
#4
| ||||
| ||||
|
Don't know about your script, because it uses a file and not a database check. If you wish have a look at http://www.dbtechnosystems.com/examples.php
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#6
| ||||
| ||||
|
No. Protected pages have a piece of code at the beggining of the page code, which checks if the user is logged in or not. If he is logged in, he can view the page, otherwise access id denied and the visitor gets redirected to the loggin (or registration) page
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#7
| |||
| |||
|
Good... Could you also please clarify this: In Bluevoda when you select the "php extension" in "page properties"? Is that it? Is the page automatically a php file/page at this point ready for password protection? Or will it first be a php when uploaded to server? And thanks for your patience, but i´m very new at this... |
|
#8
| ||||
| ||||
|
If you select the php extension, the page will be published as php. This doesn't mean that there is php code in it. There will be no php code until you place some in it. The php extension though is necessary for the server to know that it has to look for php commands in the page code. To protect your pages you need to embedd the php protection code at the start of the page.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#9
| |||
| |||
|
And when linking to the protected pages, will I have to manually write php, for instance like this: "www.scandiaband.com/login.php"? And let´s say the "login.php" is located in folder named "member" will i have to link like this: "www.scandiaband.com/member/login(php or not)? |
|
#11
| |||
| |||
|
And when linking to the protected pages, will I have to manually write php, for instance like this: "www.scandiaband.com/login.php"? And let´s say the "login.php" is located in folder named "member" will i have to link like this: "www.scandiaband.com/member/login(php or not)? |
|
#12
| ||||
| ||||
|
when you link to a php page, ofcourse you need to link like www.scandiaband.com/login.php Then again, if the page is in a folder, called "member", then yes, the link should be www.scandiaband.com/member/login.php
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#14
| ||||
| ||||
|
Hi Folks, Using BV is great. My question is this? When we publish a page (i.e. application.bvp) am I correct in saying that depending on the setup on the page it will produce a application.php file or a application.html file. That being the case where would those files be stored and are they accesible? Your help here would be most appreciated Regards ROb |
|
#15
| ||||
| ||||
|
The .bvp file, when published, is converted to html code (exception made for eventuall external (php , javascript etc) code embedded in the page. The files are published as html or php depending on the page settings, in your site (in most cases, in the public_html folder) The files are accessible only through FTP directly from your site, not available on your computer.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#16
| ||||
| ||||
|
Hi NavalDesign, Thanks very much for the rapid reply. As they are created in your explanation and are accesible through FTP, can they be copied or transfered to my computer in the ".html" / ".php" format? Bearing this also in mind when would one create .php files rather than .html and how do they differ specifically to one another. I ask this question so as to know which is the better way to develop pages going forward. Regards ROb |
|
#17
| ||||
| ||||
|
Yes, you can transfer the html or php files back to your computer. But why would you do that ? PHP is only for php pages. If you have some php scripting in your pages, then you need to publish them as php. Otherwise html is ok
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#18
| ||||
| ||||
|
Hi Navaldesign, There is no specific reason other than curiosity. I dable with other sites and programmes and would merely like to know. If this is possible please tell me how? The other thing I am trying to find out - Is there a method I can download BV to disc (the program) so that I have a bootable copy? Is there a way of saving the whole webdesign in its whole to disc as backup? If I start desiging another site will it affect anything I have currently done? So many questions. Regards ROb |
|
#19
| ||||
| ||||
|
You can download the html files directly from the server using FTP. No bootable copy is possible. Befor ANY programm can run under windows, it needs to be installed (and, by doing so, declared to the OS (windows in this cae) You can save all of your website work on a memory stick or burn a CD or save it another disk (if you have more than one) just as you would do for any other file. MAke sure to also save the images. A good tip is to have a "myimages" folder inside your BV folder, and save all the images there, just in case you need to restore from your backup. No, creating a new website will not affect anything. Create a new folder, inside your BV folder, called i.e. "site2" and save all the files of the new site in there, so there will be no conflict with eventually same name files of the first site.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |