How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
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
More cool PHP tutorials:
Create A Random Post Custom Page
Some of the example pages mentioned were: Contact Us page, with validation. Full width content page An Archives page Here we are going to look into how we can create a page template which will display a random post from your blog. This is a good technique used to get your visitors to view your older content. If readers are new to your blog this will be a good page to send them so they can see a mix of your posts.
Easy setup of Login, Registration and Password Protected areas on your website
This video tutorial will walk you through setting up a registration and login system for your web pages. You can then password protect any pages you desire on your website.
RSS Count as pure text
Learn how to display your rss count as pure text, instead of the feedburner image.
Bare Basics - Arrays
One thing you can"™t escape in your PHP journey is arrays, at one point or another they"™ll crop up in your simple script, your project or anything in between. Arrays are relatively to simple to use, but can be a bit daunting for people new to programming or just PHP.
Easy templates in PHP(the basics)
Here is described one of the easy ways of separating code from layout-design. Say we have "index.php" and there is html+PHP code in it(which we want to separate to make it, as minimum, easy for designer and programmer work on design and program code without mixing them very much and give them ability to work at same time[ assuming that the structure of web site is made - that gives both of them ability to work on their side without waiting the other to be done ]).