Helper functions for urls. More...
Functions | |
| get_current_url () | |
| Returns the full current URL(including all GET parameters, etc) | |
| get_current_page () | |
| Returns the current page, excluding domain and GET parameters. | |
| get_parameters ($parameters=array(), $exclude_array=array(), $is_entities=false) | |
| Returns a url GET parameter string which includes existing GET parameters. | |
| redirect ($url=null, $parameters=array(), $exclude_array=array()) | |
| Performs a redirect(Can be used even after headers sent) | |
| redirect_https ($https_url='') | |
| Redirect to https:// (if not already). | |
| redirect_http ($http_url='') | |
| Redirect to http:// (if not already). | |
| proxy ($url, $parameters) | |
| Make an AJAX call using cURL. | |
| curl_post ($url, $parameters=array()) | |
| cURL proxy | |
| get_server_path ($path, $default_path=null) | |
| Get proper server path from path fragment. | |
| get_url_path ($path, $default_path=null) | |
| Get proper url path from path fragment. | |
| url_set_current ($url) | |
| Sets the full current URL (including all GET parameters, etc). | |
| url_get_current () | |
| Returns the full current URL (including all GET parameters, etc) | |
| page_set_current ($page) | |
| Sets the current page, excluding domain and GET parameters. | |
| page_get_current () | |
| Returns the current page, excluding domain and GET parameters. | |
| url_set_previous ($url) | |
| Sets the full previous URL (including all GET parameters, etc). | |
| url_get_previous () | |
| Returns the full previous URL (including all GET parameters, etc) | |
| page_set_previous ($page) | |
| Sets the previous page, excluding domain and GET parameters. | |
| page_get_previous () | |
| Returns the previous page, excluding domain and GET parameters. | |
Helper functions for urls.
| page_set_current | ( | $page | ) |
Sets the current page, excluding domain and GET parameters.
Careful with how this is called, to prevent overwriting with the wrong data.
| page_set_previous | ( | $page | ) |
Sets the previous page, excluding domain and GET parameters.
Careful with how this is called, to prevent overwriting with the wrong data.
| url_set_current | ( | $url | ) |
Sets the full current URL (including all GET parameters, etc).
Careful with how this is called, to prevent overwriting with the wrong data.
| url_set_previous | ( | $url | ) |
Sets the full previous URL (including all GET parameters, etc).
Careful with how this is called, to prevent overwriting with the wrong data.
1.8.1.1