Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: ip adress returns 0.0.0.0
Post: RE: ip adress returns 0.0.0.0

Narf Wrote: (06-30-2017, 01:17 AM) -- InsiteFX Wrote: (06-29-2017, 10:12 AM) -- Add the method I gave you to a CI helper and then call it were your calling it in your controller and see if that work...
7,249 Views
7 Replies
06-30-2017, 01:27 AM
Theo
    Thread: ip adress returns 0.0.0.0
Post: RE: ip adress returns 0.0.0.0

You can have a look at my code : https://pastebin.com/xwPRhsJv (available for 1day) This script should return false on ip check, but it still goes on :(
7,249 Views
7 Replies
06-29-2017, 09:42 AM
Theo
    Thread: ip adress returns 0.0.0.0
Post: RE: ip adress returns 0.0.0.0

Hello, and thank you for your help ! When i use your script outside of CI the $ip = $_SERVER['REMOTE_ADDR']; works ! When inside, it's not working ... Is it a CI configuration problem ?
7,249 Views
7 Replies
06-29-2017, 09:12 AM
Theo
    Thread: ip adress returns 0.0.0.0
Post: ip adress returns 0.0.0.0

Hello guys, I've a problem ! I want to get remote ip adress and when i use : it returns me : 0.0.0.0 And when i try it returns nothing ... I'm using a dedicated server runing on plesk , o...
7,249 Views
7 Replies
06-29-2017, 04:01 AM
Theo
    Thread: Can't acccess personnal library
Post: RE: Can't acccess personnal library

PaulD Wrote: (07-23-2016, 04:33 AM) -- Hi, In the library you extend CI as you have done. The loader class is in the CI object, so you load the model via your CI instance: PHP Code: -- $thi...
8,690 Views
7 Replies
07-24-2016, 03:29 AM
Theo
    Thread: Can't acccess personnal library
Post: RE: Can't acccess personnal library

Wouter60 Wrote: (07-23-2016, 01:39 AM) -- Usually, collecting data from your database is done by a Model, not a Library. In a model, you can use the $this->db object without instantiating the super-...
8,690 Views
7 Replies
07-23-2016, 04:08 AM
Theo
    Thread: Can't acccess personnal library
Post: RE: Can't acccess personnal library

Avenirer Wrote: (07-22-2016, 06:07 AM) -- You are using CI methods inside the library without instanciating the CI. Take a look here: https://codeigniter.com/user_guide/general/creating_libraries.htm...
8,690 Views
7 Replies
07-22-2016, 06:22 AM
Theo
    Thread: Can't acccess personnal library
Post: RE: Can't acccess personnal library

dubefx Wrote: (07-22-2016, 05:48 AM) -- $data['cms'] = $this->cms->getTags($pageName); (lower C) -- Thank you but it doesn't work !
8,690 Views
7 Replies
07-22-2016, 06:05 AM
Theo
    Thread: Can't acccess personnal library
Post: Can't acccess personnal library

Hi all , I've just created a library called Cms and i've follow those steps : http://www.codeigniter.com/user_guide/general/creating_libraries.html When i try to access function in my library i...
8,690 Views
7 Replies
07-22-2016, 05:06 AM
Theo
  Lightbulb Thread: postgre sql not working
Post: postgre sql not working

Hi all, I've spend hours trying to use my postgre database. I've searched internet, tried all i've seen, but it stilll don't work My databse file informations : Code: -- $active_group = 'def...
11,306 Views
2 Replies
08-24-2015, 05:45 AM
Theo
    Thread: [solved] 404 error on production server excepting homepage
Post: RE: 404 error on production server excepting homep...

Hi Floyd, Let see those ideas : First, when you delete a htaccess file , don't forget to clean refresh your page with pressins ctrl + F5. Otherwise, your page will dusplay your local version ...
11,404 Views
0 Replies
03-03-2015, 05:46 AM
Theo

Theme © iAndrew 2016 - Forum software by © MyBB