Zubrag.com
July 22, 2018, 12:39:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: password_protect.php page is blank  (Read 3658 times)
ibag
Newbie
*
Posts: 5


« on: November 06, 2011, 12:29:29 PM »

Hello!

first let me say that I am new with PHP and scripts.

I have uploaded the password_protect.php on my site. The first time that I opened the page it showed ok, but when i typed the login and password, the protected page did not show.
Then I tried to log again, but the password_protect.php was blank. I have no errors reported.
It is strange because when i tried to open the password_protect.php page the next day, it was showing good, but again on the second attempt is blank page.
The link to my demo site is http://tri.site90.net/ (it is a free web host), click on the word "korisnik"  - this is the link to the password_protect.php page.
I checked the hosting server, it supports PHP.

I tried to put it on another host but the problem is the same. And other php scripts work fine.

Thanks in advance, best regards Gabi

Logged
ibag
Newbie
*
Posts: 5


« Reply #1 on: November 06, 2011, 03:21:32 PM »

it is me again  Smiley

when I type the wrong login or password the password_protect.php page shows again, but when I type the right one, it is blank on second attempt.
Mayby the problem is in the protected page members.php
it first line is <?php include("/home/a7284997/public_html/password_protect.php"); ?>
it opens well when I type the address in the browser
Logged
ibag
Newbie
*
Posts: 5


« Reply #2 on: November 08, 2011, 08:22:03 AM »

The scripts is great, but I did some mistake, now I solved it, and it works great!!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC