Results 1 to 6 of 6

Thread: Simple Page Protect generates rubbish
      
   

  1. #1
    Jeffijoe is offline Private First Class
    Join Date
    Mar 2010
    Posts
    8

    Default Simple Page Protect generates rubbish

    Hey people!

    So, I want to use the Single Page Protect, right? So, I add it to the form, preview it, and instead of a login dialog (or whatever is supposed to be there) it generates this kind of rubbish:

    Code:
    \n";    echo "\n";    echo "\n";    echo "\n";    echo "\n";    echo "\n";    echo "\n";    echo "\n";    echo "
    \n";    if($_SERVER['REQUEST_METHOD'] == 'POST')       echo "The specified password is invalid!
    
    
    \n";     else       echo "This page is password protected.
    
    
    \n";     echo "\n";    echo "   \n";    echo "      \n";    echo "         \n";    echo "      \n";    echo "      \n";    echo "         \n";    echo "         \n";    echo "      \n";    echo "   LoginPassword:  \n";     echo "\n";    echo "\n";    echo "\n";    echo "\n";    exit; } ?>
    I do have PHP installed. Whats wrong? :O

    Thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Simple Page Protect generates rubbish

    PHP will only work when punished to your server. Also make sure your page is php via page properties

  3. #3
    Jeffijoe is offline Private First Class
    Join Date
    Mar 2010
    Posts
    8

    Default Re: Simple Page Protect generates rubbish

    Quote Originally Posted by Collectors-info View Post
    PHP will only work when punished to your server. Also make sure your page is php via page properties
    Well, I thought as long as I have PHP installed, it would work? And I did the .php thing too.

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Simple Page Protect generates rubbish

    Not sure on what you mean? I take it you have your own personal server at your place to test the script on? Is this correct?

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Simple Page Protect generates rubbish

    What Chris is saying is that the Login script requires PHP installed.
    If you are testing it on local level, you should have a WAMP (Windows Apache MySQL PHP ) environment installed on your own machine, but even if you did, you would NOT be able to test because BV will NOT publish on the WAMP local folder, so you can't actually test it on your local computer.
    In order to be able to test, you will need to publish the page in a VodaHost account.
    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. #6
    Jeffijoe is offline Private First Class
    Join Date
    Mar 2010
    Posts
    8

    Default Re: Simple Page Protect generates rubbish

    Quote Originally Posted by navaldesign View Post
    What Chris is saying is that the Login script requires PHP installed.
    If you are testing it on local level, you should have a WAMP (Windows Apache MySQL PHP ) environment installed on your own machine, but even if you did, you would NOT be able to test because BV will NOT publish on the WAMP local folder, so you can't actually test it on your local computer.
    In order to be able to test, you will need to publish the page in a VodaHost account.
    Well, I just take the HTML and generate an index.php out of it. And I have PHP installed, and I use Xampp

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49