Where's the htaccess file in codeigniter?
I'm wondering how CodeIgniter rewrites the url. By default, there is no htaccess file, yet it still works? thanks ...
I'm wondering how CodeIgniter rewrites the url. By default, there is no htaccess file, yet it still works? thanks ...
Hi, I just uploaded my codeigniter directory to my unix server and I am getting a blank page. The same directory is located in my desktop web server where it works just fine. Also, I uploaded a fresh copy of CodeIgniter directory to my unix webserver and that just works fine. Do any of you know what could be the problem? Thank You. ...
Please help I want to use first URI segment into my CodeIgniter website. Like when I open these url they opens my profile: http://www.facebook.com/buddyforever or http://www.myspace.com/zarpio How can I do this with CodeIgniter? I checked _remap function but first coming controller how to hide controller? ...
I' m using codeigniter with po/mo files (I don't like the built in functions) I have an already made function that uses get variables to set the cookie with the language. Now, codeigniter don't have the get but uses uris. This is the function that I'm using (it fires in the constructor): private function locale(){ $cookie_name = $...
Hello, My issue is i have QUERY_STRING enabled in my codeigniter setup so that links look like this http://www.domain.com/search/index/page/4?squery=searchterm I have a form on this page that uses GET because I can't use POST for what i'm using, when i try to retrieve the "squery" using $this->uri->segment(4) it doesn't return that pa...
Hello, I'm planning on re-creating my lyrics website in CodeIgniter. At the moment, the way I have it set-up is like this: example.com/artistname and example.com/anotherartist I also have example.com/contact and example.com/request etc.. I can get it to be example.com/artist/artistname, but I'd really like to keep it simple for the us...
Hello there I'm trying to make my url's as user friendly as possible...so far I have managed to remove index.php (with .htaccess) and I have set $route['default_controller'] = "myController"; so my home page's url is pretty decent as it appears like localhost/myController but all the other url's have the structure localhost/myRoot/myCont...
Hello everyone. My question may look similar to others, but it's different as you'll se: I have 5 CI apps running with the same System Folder, as described in CI User Guide. Now, I want some .htacces file to remove just the .php from the url, like, as example: http://example.com/appName/controller/action instead of http://example.com/a...
Hello hi have this issue, I call this url: user_confirm/[email protected] then use this: echo $email = $this->uri->segment(3); And it outputs: this_is_fake@gmail_com Why? p.s. this is my config: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@'; Thanks! ...
Hello I'm trying to make URL-friendly links for the blog on my portfolio. So I would like to obtain links something like site/journal/post/{title} Obviously Journal is my controller, but let's say my title would be 'mysite.com goes live!' I would like to have a valid url like site/journal/post/mysitecom-goes-live where all disallowed c...
Friends, I am working on a website in CodeIgniter. I want to launch it soon and after launching I don't want to loose the current indexes in Google. So I want to permanently redirect the existing website's URLs to the new SEO friendly CodeIgniter URLs. Existing website's URL: www.myapp.com/main.php?{param1}={value1}&{param2}={value2}&p...
i cal upload images to folder if i use absolute url. but how to use absolute url? function do_upload() { $config['upload_path'] = 'upload/'; $config['allowed_types'] = 'gif|jpg|png'; $config['max_size'] = '100'; $config['max_width'] = '1024'; $config['max_height'] = '768'; $this->load->library('upload', $config); if ( ! $...