0
votes
0answers
14 views

CodeIgniter and Postgresql: inserting intger

I've this codeigniter statement: // CREATE public function AddContact($nome, $number) { $data = array( 'nome' => $nome, 'number' => $number); ); ...
2
votes
1answer
30 views

Codeigniter not working after moving direcories

I just starting trying to learn CodeIgniter. From the user guide it suggests to move the application and system folder for security reasons. I now have this structure: ./public/index.php ./app/ ...
0
votes
1answer
78 views

PHP web app hosting considerations and advice - high traffic expected from day 1 [duplicate]

I'm in the process of researching hosting providers for a high traffic Facebook application. The client has over 300,000 likes so we can expect quite a bit of traffic when posts are made about it and ...
4
votes
4answers
190 views

Best location for a websites CMS

As part of my job I recently started making numerous content management systems for websites. So many that obviously my next step was to set up a 'template' for the websites so I could quickly remove ...
2
votes
1answer
120 views

How to find data usage of a user on my website?

I have a website (project) where users get logged in, do their work and then they log out. I need to build a report that displays how much each person has used of data. (bandwidth, how much was ...
2
votes
1answer
1k views

Add email attachments by URL in CodeIgniter [closed]

I tried this code to attach a file in CI. This is working: $this->load->library('email'); $this->email->from('me@mymail.com', 'vignesh'); $this->email->subject('Email Test with ...
1
vote
2answers
276 views

.htaccess remove index.php/url/ from URL

.htaccess is not working. /index.php/user -- is working http://www.example.com/user is not working Current .htaccess file: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
1
vote
1answer
777 views

.htaccess is not working in vps hosting

what is solution to create a .htaccess file in vps. I have tried most of the .htaccess file.but it doesnt work in vps. What is the solution? here is the code of htaccess file. RewriteEngine on ...
1
vote
1answer
208 views

Routing and relative paths

CodeIgniter and many other PHP frameworks rout URLs, e.g. if default controller is root.php then both URLs will work website.com/ website.com/root if controller has a function 'login' then this URL ...
3
votes
1answer
3k views

Setting file permissions on linux to allow PHP to write to a directory

I have a website built with Codeigniter and hosted on a Linux box. I am trying to follow "best practices" when it comes to my file permission settings, but I'm not sure if I completely understand the ...
1
vote
2answers
669 views

File permission problem with codeignitor project using xampp

I am currently using Codeignitor as my PHP framework with XAMPP. I always keep all my files in c:/xampp/htdocs/. The settings are working fine in my own localhost machine. But when I load the same ...
1
vote
1answer
1k views

Facebook Connect with CodeIgniter login problems

I'm having a problem using Facebook Connect on my latest website. I'm running it using the CodeIgniter framework and Elliot Haughin's library (http://www.haughin.com/code/facebook/). Everything is ...