Welcome Guest, Not a member yet? Register   Sign In
simple 404 not found
#4

(06-23-2021, 01:11 AM)alexisgarci Wrote: So i changed
<form method="post" action="teste" class="login_form" accept-charset="utf-8">
        <button>Entrar</button></form>
to
<form method="post" action="index.php/onekey/do_login" class="login_form" accept-charset="utf-8">

and its working now, but its not like it shud be. Any tips on how to config it? I didnt do any configuration on xamp


Read the user guide about installation and running the app: https://codeigniter.com/user_guide/insta...nning.html



If you want to run from an Apache Server (like XAMP) you need to configure it so it will run from the public folder inside the project folder. For example if your project folder is called MyCodeIgniter and is on the root of the C drive, you should configure XAMP to run from

Code:
C:\MyCodeIgniter\public\


However, probably most of us use the command line tool for development instead of XAMP/LAMP/WAMP. We start a server with

Code:
php spark serve


Secondly, there is an helper in CI4 for using forms: https://codeigniter.com/user_guide/helpe...light=form


Something else that might make you more familiar with CI4 is following the tutorial here: https://codeigniter.com/user_guide/tutorial/index.html
Reply


Messages In This Thread
simple 404 not found - by alexisgarci - 06-22-2021, 07:45 AM
RE: simple 404 not found - by berendbotje91 - 06-22-2021, 11:02 PM
RE: simple 404 not found - by alexisgarci - 06-23-2021, 01:11 AM
RE: simple 404 not found - by berendbotje91 - 06-23-2021, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB