Search
 
SCRIPT & CODE EXAMPLE
 

PHP

redirect back in codeigniter

This should help :
http://www.codeigniter.com/user_guide/libraries/user_agent.html

$this->load->library('user_agent');
if ($this->agent->is_referral()){
    echo $this->agent->referrer();
}

or straight PHP:

redirect($_SERVER['HTTP_REFERER']);
Comment

PREVIOUS NEXT
Code Example
Php :: check exist string in string php 
Php :: php time how long a function takes 
Php :: php get first and last day of previous month 
Php :: laravel flutter save image in data 
Php :: rollback laravel transaction 
Php :: reload page in php 
Php :: regex to check date format php 
Php :: increment single column laravel 
Php :: yii1 set flash 
Php :: laravel latest() 
Php :: get page name wp 
Php :: php get string before character 
Php :: disable register laravel 
Php :: how to add attribute to the request object in laravel 
Php :: make model controller in single command 
Php :: php pdo rowcount 
Php :: php pop off the first character of string 
Php :: php configuration 
Php :: php right characters 
Php :: woocommerce my account url 
Php :: if post id is wordpress php 
Php :: get count of relationship table laravel 
Php :: php header location to same page 
Php :: laravel gigapay update employee 
Php :: php number format spaces 
Php :: how to use sseders in laravel 
Php :: php file get content replacing & with & 
Php :: phpspreadsheet password protected 
Php :: laravel migrate specific file 
Php :: PHP strlen — Get string length 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =