Jump to content

php login

- - - - -

  • Please log in to reply
5 replies to this topic

#1
akintunde

akintunde

    Newbie

  • Members
  • Pip
  • 2 posts
hi everyone,
i cant connect with my datbase after finishing a login and a logout code,it keeps telling me file not found and i saved all the code in the c:file/htdocs but somehow it keeps tellingme file not found.does anyone know waht the problem might be? thanks:confused:

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Don't you want it in c:\file\htdocs?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
akintunde

akintunde

    Newbie

  • Members
  • Pip
  • 2 posts

WingedPanther said:

Don't you want it in c:\file\htdocs?
a friend told me that it will be better if i store in htdocs..i dont really know if the place i store affects it or not..thanks

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Here's the issue, there is no such place as "c:file/htdocs", unless you're on a unix system.

Ultimately, however, without knowing what your code is, there's not a lot we can do to advise you.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
To start with: what operating system do you have, and on that, What server system have you installed on your system?
Windows, MacOS, Linux or anything else on my first question, and fill in with version number...
on second question would Apache, wampserver, xampp, mamp and a whole bunch more be valid answers
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#6
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
Your local web server certainly would have a default directory where you must store the files.

You must find this directory, which may be named htdocs or www, and store your login/logout files there.

Only then - can you access the file through your local web server. (i.e. http://localhost/login.php)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users