Zubrag.com
May 20, 2012, 10:55:19 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: Problem with code in line 1  (Read 2166 times)
johannes1430
Newbie
*
Posts: 6


« on: June 11, 2007, 12:25:24 am »

Hi!

I've opened password_protect.php?help which is in the same folder as my protected .php-files.
I've used the script before and it worked perfectly.

But now I get this errormessage on the top of my "protected files" instead of the usual login:

Warning: main(d:\wwwroot\Partnere\Mats\bioresonans.no y\password_protect.php): failed to open stream: Invalid argument in d:\wwwroot\Partnere\Mats\bioresonans.no\ny\test.php on line 1

Warning: main(): Failed opening 'd:\wwwroot\Partnere\Mats\bioresonans.no y\password_protect.php' for inclusion (include_path='.;c:\php4\pear') in d:\wwwroot\Partnere\Mats\bioresonans.no\ny\test.php on line 1

Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #1 on: June 11, 2007, 05:15:45 am »

PHP parser treats \n as new line character (in the bioresonans.no\ny\test.php)

Сhange all slashes from \ to /  in the protection string. I fixed password protector to change this automatically. Please download updated script.
Logged
johannes1430
Newbie
*
Posts: 6


« Reply #2 on: June 11, 2007, 05:21:37 am »

Thank you!

Now it works perfectly again.

The support here is fantastic!!!
Keep it up!
Logged
Pages: [1]
  Print  
 
Jump to:  

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