Subscribe
Tutorial search

Get Base URL in Laravel - PHP tutorial


Here's a handy code snippet which allows you to get base URL or Home URL in Laravel web applications
Category: PHP > Navigation - Difficulty:


More cool PHP tutorials:



Basics of a php pm system
Basics of a php pm system
In this tutorial i'll teach you the absolute basics of how to make a php pm system to include within your user authenticated system.
Difficulty:
PHP Snurk
PHP Snurk
When you run a database-driven website, it makes sense to generate pages on the fly. PHP, MySQL, and Apache let you do just that. But they don't make it pretty. How many times have you had to create a URL that looks like this: http://schmoop.com/snurk.php3?snurk=123, when what you wanted was a URL like http://schmoop.com/snurk/123. The PHP Snurk lets you make such search-engine friendly URLs for dynamically-generated pages. All you need is the ability to run custom CGI scripts, an .htaccess file, and a little bit of time and effort.
Difficulty:
Basic Image Gallery With CodeIgniter
Basic Image Gallery With CodeIgniter
Creating basic image gallery using built in helper and libraries in Codeigniter without database
Difficulty:
3 Ways to Speed Up Your Site with PHP
3 Ways to Speed Up Your Site with PHP
3 Ways to Speed Up Your Site with PHP
Difficulty:
Ajax triple dropdown
Ajax triple dropdown
This "short" code will populate 3 dropdown in each other. Visit for the source code: http://sfx.site40.net/ajax3.php Go to phpmyadmin, and run this query: DROP TABLE IF EXISTS `location`; CREATE TABLE IF NOT EXISTS `location` ( `id` int(7) NOT NULL auto_increment, `loc_code` varchar(255) default NULL, `loc_abbr` varchar(255) default NULL, `loc_name` varchar(255) default NULL, `location_name` varchar(255) default NULL, `loc_order_name` varchar(255) default NULL, `flag_disaster` char(1) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; Create index.php, and lets create three dropdown with PHP
Difficulty: