Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

login script help!

loginscript loginscripthelp login

  • Please log in to reply
8 replies to this topic

#1 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 01 September 2012 - 07:42 PM

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

please check the uploaded images.1.jpg 2.jpg

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.


Any good login script suggestions?
  • 0

#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts
  • Location:Argentina
  • Programming Language:C, C++, C#, PHP, JavaScript, Transact-SQL, Bash, Others
  • Learning:Java, Others

Posted 02 September 2012 - 06:44 AM

Hello Esial,

you should go to the file : include/constants.php
and look for this line :

// Path of script with trailing slashes
define("Script_Path","/websites/loginscript/");

then work the changes you need according to your own configuration

did you like it ? :D
  • 1

#3 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 02 September 2012 - 07:18 PM

Thank you very much.
I was doin a lot of complicated changes for about a week, never knew it was this simple.
thanks again
  • 0

#4 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 02 September 2012 - 08:00 PM

1111.PNG 222.PNG


now, another problem. When i login as ADMIN and click on admin centers i get this error. What should i do?
Thank s in advance.
  • 0

#5 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 03 September 2012 - 08:58 AM

Could you please tell me what to do, i dont understand. This script works on my friends computer. i guess there is a problem with the wamp config.

Help! please
  • 0

#6 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 04 September 2012 - 07:20 PM

I figured it out.
its working now.
  • 0

#7 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts
  • Location:Argentina
  • Programming Language:C, C++, C#, PHP, JavaScript, Transact-SQL, Bash, Others
  • Learning:Java, Others

Posted 05 September 2012 - 01:47 PM

Great job Esial !
Sorry i didn't get online before, that login project was very good for practicing, i bet you have learn quite a lot working with it
Many of the guys here has their own share of learning and trouble, so, here we are to help and maybe you can help some other one too :D
  • 0

#8 BenW

BenW

    CC Devotee

  • Community Manager
  • 976 posts
  • Programming Language:ActionScript
  • Learning:ActionScript

Posted 06 September 2012 - 04:20 AM

I figured it out.
its working now.

Tht's great! :) how did you fix it?
  • 0

fss_overall.png

 


#9 esial

esial

    CC Newcomer

  • Member
  • PipPip
  • 17 posts
  • Programming Language:PHP
  • Learning:PHP, JavaScript, Perl, PL/SQL, Transact-SQL

Posted 06 September 2012 - 08:58 AM

its the wamp server i installed a previous version of wamp server and its working..
  • 1





Also tagged with one or more of these keywords: loginscript, loginscripthelp, login

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download