Jump to content

daniel27lt

Members
  • Posts

    5
  • Joined

  • Last visited

daniel27lt's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks, I do now understand how that works, but don't know how to code it. Not to good a PHP. Could you give me an example if possible in code. Thanks
  2. Hi Timothy, Thanks for your response. This soulds like something I'm looking for. How would I do just what your syaing? Thanks once again
  3. Hi there, I have a question that I seem not to be able to find online else so I'm hoping someone here can help me. The question I have is I am in the process of creating a membership site. I have completed the login process correctly with a PHP login script I found online. I have installed the script correctly such as database, protecting certain pages etc. The problem I am having is I am wanting to hide the URL where the registration page is found where users can signup (e.g. mywebsite.com/register.php). For example, I am wanting users to be able to login any time (mywebsite.com/login.php from a link I provide on the home page), but I am wanting to hide the signup page as user will get access to the registration page once they have made payments. But the problem is if the user has a little bit of knowledge about login scripts, there should know just to type in either signup.php or register.php (where the login script is located) to get access to this page for free. For example, could I some how change the register.php name to something like register229102.php without the entire script not working? The idea behind my membership site will be once a user makes a payment via redirecting to a secure Clickbank payments page (as I am using Clickbank as my payment options) and once the user has made payments they are then redirected to the thank you page, when then the user will click a link to be redirected to the register.php page where they sign up and get access from there. And they can login from the home page once they have become a member. I hope this has made an understanding of my idea. I have everything already set up and would just like an easy way to hind the register.php URL as I am not to techy when it comes to PHP. Thanks Kindly, Daniel
  4. That's the answer I was looking for. Just tried it and that was it. It worked. Thanks for your time and knowlegde on this subject and sorry I was'nt a little clearer.
  5. Hi there, I am having an issue protecting sub-folders within sub-folders with PHP. I have been protecting pages with only short directories (doing fine), but now I am wanting to protect new directories with a number of sub-directories and that is where I am having troubles. NOTE: Links below are like this as they shorting on this site making it hard for you's to view then understand what I'm talking about. Example: PHP Login Script Location: mydomain. com/login/free/main.php Works Fine - Pages Protected: mydomain. com/login/free/members/free.php Does not work - Wanting Pages Protected: mydomain .com/login/free/members/free/archive/directory/2008.php (and branched out from there) This is the code I use on tops of all my pages, but the long one's do not work... <?php include("..../include/session.php"); if(!$session->logged_in){ header("Location: ..../main.php"); } else { ?> <!-- --> Only "../" works, not "..../" or "....../". Can anyone tell me why this is the case and what I am doing wrong. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.