Limit number of page visits based on ip
I wanted to know how can I prevent a single ip address from using too much bandwidth and rapidly access my webpages. Tha...
Latest news, tutorials, and updates from the PHP community
8579 articles available
I wanted to know how can I prevent a single ip address from using too much bandwidth and rapidly access my webpages. Tha...
I have two tables, `structures` and `surface`, which are related by two pairs of identically named columns, `planet_id` ...
[Code Block] The code above isn't inserting correctly, in Ci I'm getting the following error: Error Number: 1054Unknown ...
I'm trying to count the number of rows of my table that meet specific criteria in CodeIgniter. My code works fine and re...
I have the following string and would like to use str_replace or preg_replace to remove the brackets but am unsure how. ...
I've got a `mailto:` link in a page here including `subject=` and `body=` parameters but I'm not sure on how to correctl...
Say I have 2 db configs: [Code Block] And say I have loaded a db: [Code Block] How can I check and see which db I've loa...
I have two tables for storing information about a user. One is for authentication, the other is information the user wil...
The below code displays my selected page, its content and shortcode correctly. The page is selected from a theme options...
I'm trying to get a max value with CodeIgniter from an table but it isn't working. This is the error I get: Severity: 40...
I'm wondering if it is possible to truncate an array by using a regular expression. In particular I have an array like t...
I'm having trouble creating a query containing JOIN with a CodeIgniter query builder script. I have a MySQL query that r...
Showing 7741 to 7752 of 8579 articles