Skip to content

Tag: php

Laravel pagination pretty URL

Is there a way to get a pagination pretty URL in Laravel 4? For example, by default: http://example.com/something/?page=3 And what I would like to get: http://example.com/something/page/3 Also, …

Sending multiple emails with PHPmailer

Edit: I forgot I’d created the SendMail(); function myself, which is why the explanation doesn’t mention at first what it does. I’m having some trouble with PHPMailer (https://github.com/PHPMailer/PHPMailer) when attempting to send two emails, one directly after the other. The script is almo…

Custom config file for codeigniter

Very new to CodeIgniter, trying to create a custom config file to load special variables into my application. in application/config/ I created custom.php and placed the following code in that file: I then opened up application/config/autoload and altered the following code: I refresh my application and see th…