Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Php-Tuning/redirect_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redirect_cache

Redirect Cache Class for PHP

  Autor: Andreas Hoehne
  www.php-tuning.de / www.webdesign-hoehne.de
  (c) 2013 Webdesign Hoehne

Install:

  1. This Package should be installed in Root Dir, the class itself should be stored in includes/modules

  2. get sure you have write access to writeperm/redirect_cache

  3. Place following Code in an general Include File:

    include ('includes/modules/redirect_cache.class.php'); $redirect_cache = new redirect_cache; $redirect_cache->do_redirect();

  4. Set $target_url directly before you start your header("Location: xxx"); and add following code:

    $redirect_cache->write_cache($target_url);

About

PHP Class for caching redirects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages