Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
 
CPG-Nuke source documentation


Files - Classes
  includes/functions/linking.php
[x] functions
url_redirect

void url_redirect(string $url, boolean $redirect)

Redirects the browser instantly to another page instead of showing the current page.

WARNING It's adviced to use this function instead of header('Location :') that way you're shure the session handler is closed properly

Arguments

  • $url

    The local URL to redirect to

  • $redirect [optional, default value = false]

    this option is used to store the current URI into the session which is usefull for an redirect to the login page but you want the user to return to the current page after login

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy