following vid tutorial?? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: following vid tutorial?? (/showthread.php?tid=5070) |
following vid tutorial?? - El Forum - 01-04-2008 [eluser]Neocode[/eluser] Hello guys, i hope someone can help me with this... I'm new in codeigniter and i tried the video tutorial 2 that last 21 minutes and i downloaded codeigniter version 1.5.4 .... but the file seems to be different in the tutorial like in the config -> autolad.php.. I have followed the video tutorial up to the point that it can submit comments n the database. my main problem is, in the comment form where a textarea, text and a submit button, when i fill the form and click submit comments the url will display something like this -> http://localhost/CodeIgniter/index.php/blog/comments/index.php/blog/comment_insert. NOTICE the bold text in just been repeated and diplay the form again. how will i correct this. oh by the way when i view the source code of the form page (http://localhost/CodeIgniter/index.php/blog/comments/1) the form action will generate something like this,<form action="index.php/blog/comment_insert" method="post"> but in the tutorial it should be like this http://localhost/CodeIgniter/index.php/blog/comment_insert. the bold text is not shown in my localhost page. please anyone??? thanks it would e a great help thanks alot! lolz hope you'll replay soon. following vid tutorial?? - El Forum - 01-04-2008 [eluser]Sawariya[/eluser] in config.php you config like this $config['base_url'] = "http://localhost/codeigniter/"; $config['index_page'] = ""; .httdocs RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^(index\.php|check_images|js|css) RewriteRule ^(.*)$ index.php/$1 [L] following vid tutorial?? - El Forum - 01-06-2008 [eluser]Neocode[/eluser] wow thanks that solves the problem. thanks m8 but if i leave $config[’index_page’] = “”; like this. it will generate a 404 error. so i put $config[’index_page’] = “index.php”; thanks m8 that really help |