While you install fresh Codeigniter your URL is some thing like this:
But this URL structure is not so much charming and is also not much SEO friendly. So we would like to change above URL to something life this:
It’s easy to create a file having php extension in php .Simply write a file with php extension as others mentioned. But I would rather write an ini file for configuration data and load them later with parse_ini_file. Update: Here is an example to do that:
And I’ve a script that gives these variables right values/texts. The problem is that I can’t figure out how to insert the new values into the config.php file without having to open it manually and insert the text myself (I’m working on a installation script). Is it possible to insert the right values into the config.php file without editing it manually?
Condition :(need save each line in Textbox with php) Required to save each line in textbox with php after submit form with textbox .Textbox can have multiple new lines and these info in each line need to be insert in database with PHP. HTML <textarea name=”name” rows=30 cols=40><textarea> SCRIPT
Disable update plugin option wordpress : Even though it is not a good idea to make dirty to the plugins or purchased theme files.But due to specific requirement we are forced to do this job.When we do modification in the existing plugin or purchased theme ,It will be mess when we update the modified theme[…]
It is very wired when we need to implement mega menu in a wordpress with a walker or any other wordpress hook or wordpress function.We need to build own structure for menu ,we need to get all the menus object with their hierarchy for putting our menu in the custom html.So for getting all wordpress menus array with in a certain location use the following function.
The wordpress post query functions have many excellent features built in for selecting and ordering a post query, but the one thing it can’t do is order by taxonomy name. For the average user, this is not a big deal, but once you start making complicated relationships with custom post types and taxonomies, it[…]
5 Things CodeIgniter Cannot Do (without a rewrite) Copied from Phil Sturgeon Blog on Dec 5 2012 Now that PHP 5.2 is gone from my life entirely I am a happy man. As I don’t use PHP 5.2 anymore I no longer need a 5.2 framework, so I quit the CodeIgniter team and started focusing[…]