Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: SESSION is destroyed in Internet Explorer after refresh
Post: SESSION is destroyed in Internet Explorer after re...

I am not using Codeigniter's method to store session. I use the following method. $_SESSION['something'] = 'somethign'; When i test this, i feel it is not just working only in Internet Explorer...
1,775 Views
0 Replies
08-17-2016, 07:07 AM
agriz
    Thread: How to check if a library exist in a controller?
Post: RE: How to check if a library exist in a controlle...

How can we use PHP Code: -- $this->{$lib} -- ? Dont we need to load it first? PHP Code: -- $this->load->library($lib); //This lines throws 500 Internal Server Error. Because that library is ...
8,234 Views
3 Replies
04-29-2016, 05:18 PM
agriz
    Thread: How to check if a library exist in a controller?
Post: How to check if a library exist in a controller?

PHP Code: -- if(file_exists("../libraries/myapp/" . ucfirst($library_name).".php")) { -- This code is not working for me. It is written inside of a controller. I have a default library and some...
8,234 Views
3 Replies
04-29-2016, 09:13 AM
agriz
    Thread: exec - Do i need to escape with escapeshellarg?
Post: exec - Do i need to escape with escapeshellarg?

Hi I use the following method to get the form submitted values. PHP Code: -- $this->input->post('') -- Do i need to use escapeshellarg to use the input value in exec()? Because i am getting lot o...
2,491 Views
1 Replies
08-01-2015, 04:12 AM
agriz
    Thread: Error Logging
Post: Error Logging

How do i get the page name along with the script name? I got the following error. Undefined variable: title views/head.php 7 But the title has been set in the controller. So, I have no idea wh...
3,323 Views
1 Replies
06-27-2015, 09:57 PM
agriz
    Thread: Codeigniter with Nginx - Not working
Post: Codeigniter with Nginx - Not working

Hi I am trying from yesterday. I am not able to run codeigniter with nginx. It is working well in localhost on windows. Right now i am seeing the blank page, But the error is Quote: -- PHP...
3,939 Views
0 Replies
05-02-2015, 02:28 AM
agriz
    Thread: Codeigniter is not working with nginx on live server
Post: Codeigniter is not working with nginx on live serv...

I was using apache in localhost Today i uploaded the files in the live server. It is not working. I am getting 403 forbidden error.
2,234 Views
0 Replies
05-01-2015, 05:14 PM
agriz
    Thread: Image Resize and crop?
Post: Image Resize and crop?

Hi How do i crop the image from its center? Codeigniter is not resizing the image before cropping it. Should i first resize it? Or it there any option in crop available?
2,909 Views
1 Replies
04-24-2015, 12:38 PM
agriz
    Thread: How to use facebook sdk4?
Post: RE: How to use facebook sdk4?

Do we need to rewrite all the facebook methods in our facebook library?
7,072 Views
6 Replies
04-20-2015, 10:30 AM
agriz
    Thread: underscore with hyphens
Post: RE: underscore with hyphens

Narf Wrote: (04-08-2015, 10:55 AM) -- ... or you can use CI3 and just set $route['translate_uri_dashes'] to TRUE. -- I am using CI3. I will check this out.
7,287 Views
6 Replies
04-16-2015, 03:29 AM
agriz
    Thread: How to use facebook sdk4?
Post: RE: How to use facebook sdk4?

Thanks for your reply. Can you tell me how to compile myself? Facebook has given the composer.json file. I have already installed the composer. I will try myself in my localhost host. If it is ve...
7,072 Views
6 Replies
04-14-2015, 05:07 AM
agriz
    Thread: controller and method name with hypen - secured?
Post: RE: controller and method name with hypen - secure...

Please tell me is it good idea to use router to change the underscore to hyphens?
2,689 Views
1 Replies
04-14-2015, 05:05 AM
agriz
    Thread: How to access cropped image?
Post: RE: How to access cropped image?

Ok. I found it. I should give new image name for this to be stored in server.
2,367 Views
1 Replies
04-11-2015, 04:13 AM
agriz
    Thread: other options for not including files in ci
Post: other options for not including files in ci

Hi PHP Code: -- public function crate() { $lib_dir = dirname(__FILE__); require_once($lib_dir. "/files/".$this->id."/index.php"); } -- files/1/index.php files/2/index/php There ma...
2,894 Views
1 Replies
04-10-2015, 10:51 PM
agriz
    Thread: How to use facebook sdk4?
Post: How to use facebook sdk4?

Hi I don't know how to use it? Can i use facebook sdk4 to create apps with codeigniter? Please tell how to include facebook ?
7,072 Views
6 Replies
04-10-2015, 10:28 PM
agriz
    Thread: How to access cropped image?
Post: How to access cropped image?

Hi Does GD2 support to crop images? How many ways to access the cropped images? PHP Code: -- $this->image_lib->crop() -- It crops the image successfully. But i don't know how to access it.
2,367 Views
1 Replies
04-10-2015, 12:13 PM
agriz
    Thread: controller and method name with hypen - secured?
Post: controller and method name with hypen - secured?

Hi I use MY_ Router to change the url. The controller name and methods are defined with _ (ex. this_method) But i changed them to display like this in the url (http://..../this-method) I copie...
2,689 Views
1 Replies
04-10-2015, 11:20 AM
agriz
    Thread: uploading class - change upload data array
Post: RE: uploading class - change upload data array

Thanks for the help ;)
3,068 Views
2 Replies
04-09-2015, 10:56 AM
agriz
    Thread: uploading class - change upload data array
Post: uploading class - change upload data array

Hi PHP Code: -- $this->upload->data(); -- After upload, i check the file width, if it is more than 500, then i resize it.  PHP Code: -- if($this->image_lib->resize()) { $this->upload->data(...
3,068 Views
2 Replies
04-09-2015, 05:08 AM
agriz
    Thread: Trailing slash and links
Post: RE: Trailing slash and links

Thank you friends! I got it fixed!
5,170 Views
3 Replies
04-08-2015, 11:09 AM
agriz

Theme © iAndrew 2016 - Forum software by © MyBB