• 0

login script problem


Question

i downloaded this login script from http://code.google.com/p/php-login-script/.

please check the uploaded images.

in the 1st pic as you can see in the url, it is localhost/loginscript/index.php. Everything is fine with this page. when i login it goes to the page shown in pic 2. In the url it is websites/loginscript/main.php.

When i remove "websites" from the url everything works fine. How do i get rid of this "websites" folder.

I tried to change this php_self in the form action to main.php. it does'nt seem to work please help.

post-457397-0-41697300-1346471543_thumb.

post-457397-0-01035600-1346471548_thumb.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Have you thought about reading the instructions provided???

Installation...

1) Upload all files to your PHP5 server.

2) Customize constainst.php for your system name, email addresses and other settings.

3) Set custome emails to be sent in mail.php settings.

4) Run tabel.sql in your phpMyAdmin.

5) Login with user admin & password password.

[/size][/font][/color]

// Path of script with trailing slashes
define("Script_Path","/websites/loginscript/");
// URL of script (no trailing slash)
define("Script_URL","http://crispwebdesign.co.uk");

pretty simple if you ask me, your just being lazy.

Link to comment
Share on other sites

This topic is now closed to further replies.