From e334c472fb4be44feec3a73402fc4a2b062cbfc0 Mon Sep 17 00:00:00 2001
From: admin Returns your site URL, as specified in your config file. The index.php file (or whatever you have set as your
site index_page in your config file) will be added to the URL, as will any URI segments you pass to the function. You are encouraged to use this function any time you need to generate a local URL so that your pages become more portable
+ You are encouraged to use this function any time you need to generate a local URL so that your pages become more portable
in the event your URL changes. Segments can be optionally passed to the function as a string or an array. Here is a string example: Nearly identical to the anchor() function except that it opens the URL in a new window.
+ Nearly identical to the anchor() function except that it opens the URL in a new window.
-You can specify JavaScript window attributes in the third parameter to control how the window is opened. If
+You can specify JavaScript window attributes in the third parameter to control how the window is opened. If
the third parameter is not set it will simply open a new window with your own browser settings. Here is an example
with attributes:anchor_popup()
-
The second parameter allows you to choose between the "location" +
The second parameter allows you to choose between the "location" method or the "refresh" method. Location is faster, but on Windows servers it can sometimes be a problem. Example:
if ($logged_in == FALSE)
--
cgit v1.2.3-24-g4f1b