Commits

Derek Jones committed 932c4f6

changed your-site.com to example.com doc-wide

Comments (0)

Files changed (26)

system/application/config/config.php

 | URL to your CodeIgniter root. Typically this will be your base URL,
 | WITH a trailing slash:
 |
-|	http://www.your-site.com/
+|	http://example.com/
 |
 */
 $config['base_url']	= "http://127.0.0.1/CodeIgniter/";
 |--------------------------------------------------------------------------
 |
 | By default CodeIgniter uses search-engine friendly segment based URLs:
-| www.your-site.com/who/what/where/
+| example.com/who/what/where/
 |
 | You can optionally enable standard query string based URLs:
-| www.your-site.com?who=me&what=something&where=here
+| example.com?who=me&what=something&where=here
 |
 | Options are: TRUE or FALSE (boolean)
 |
 | The other items let you set the query string "words" that will
 | invoke your controllers and its functions:
-| www.your-site.com/index.php?c=controller&m=function
+| example.com/index.php?c=controller&m=function
 |
 | Please note that some of the helpers won't work as expected when
 | this feature is enabled, since CodeIgniter is designed primarily to

system/application/config/routes.php

 | and its corresponding controller class/method. The segments in a
 | URL normally follow this pattern:
 |
-| 	www.your-site.com/class/method/id/
+| 	example.com/class/method/id/
 |
 | In some instances, however, you may want to remap this relationship
 | so that a different class/function is called than the one

system/libraries/URI.php

 	 * This function generates and associative array of URI data starting
 	 * at the supplied segment. For example, if this is your URI:
 	 *
-	 *	www.your-site.com/user/search/name/joe/location/UK/gender/male
+	 *	example.com/user/search/name/joe/location/UK/gender/male
 	 *
 	 * You can use this function to generate an array with this prototype:
 	 *

system/plugins/captcha_pi.php

 	$vals = array(
 					'word'		 => 'Random word',
 					'img_path'	 => './captcha/',
-					'img_url'	 => 'http://www.your-site.com/captcha/',
+					'img_url'	 => 'http://example.com/captcha/',
 					'font_path'	 => './system/fonts/texb.ttf',
 					'img_width'	 => '150',
 					'img_height' => 30,
   )
 
 The "image" is the actual image tag:
-<img src="http://your-site.com/captcha/12345.jpg" width="140" height="50" />
+<img src="http://example.com/captcha/12345.jpg" width="140" height="50" />
 
 The "time" is the micro timestamp used as the image name without the file
 extension.  It will be a number like this:  1139612155.3422
 	$this->load->plugin('captcha');
 	$vals = array(
 					'img_path'	 => './captcha/',
-					'img_url'	 => 'http://www.your-site.com/captcha/'
+					'img_url'	 => 'http://example.com/captcha/'
 				);
 	
 	$cap = create_captcha($vals);

user_guide/database/caching.html

 <p>Deletes the cache files associated with a particular page. This is useful if you need to clear caching after you update your database.</p>
 
 <p>The caching system saves your cache files to folders that correspond to the URI of the page you are viewing.  For example, if you are viewing
-a page at <dfn>www.your-site.com/index.php/blog/comments</dfn>, the caching system will put all cache files associated with it in a folder
+a page at <dfn>example.com/index.php/blog/comments</dfn>, the caching system will put all cache files associated with it in a folder
 called <dfn>blog+comments</dfn>.  To delete those particular cache files you will use:</p>
 
 <code>$this->db->cache_delete('blog', 'comments');</code>

user_guide/database/helpers.html

 </code>
 
 <p>The first parameter is the table name, the second is an associative array with the data to be inserted.  The above example produces:</p>
-<code>INSERT INTO table_name (name, email, url) VALUES ('Rick', 'rick@your-site.com', 'www.your-site.com')</code>
+<code>INSERT INTO table_name (name, email, url) VALUES ('Rick', 'rick@example.com', 'example.com')</code>
 
 <p class="important">Note: Values are automatically escaped, producing safer queries.</p>
 
 </code>
 
 <p>The first parameter is the table name, the second is an associative array with the data to be updated, and the third parameter is the "where" clause. The above example produces:</p>
-<code> UPDATE table_name SET name = 'Rick', email = 'rick@your-site.com', url = 'www.your-site.com' WHERE author_id = 1 AND status = 'active'</code>
+<code> UPDATE table_name SET name = 'Rick', email = 'rick@example.com', url = 'example.com' WHERE author_id = 1 AND status = 'active'</code>
 
 <p class="important">Note: Values are automatically escaped, producing safer queries.</p>
 

user_guide/general/controllers.html

 
 <p>Consider this URI:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/</code>
+<code>example.com/index.php/<var>blog</var>/</code>
 
 <p>In the above example, CodeIgniter would attempt to find a controller named <dfn>blog.php</dfn> and load it.</p>
 
 
 <p>Now visit the your site using a URL similar to this:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/</code>
+<code>example.com/index.php/<var>blog</var>/</code>
 
 <p>If you did it right, you should see <samp>Hello World!</samp>.</p>
 
 <p>In the above example the function name is <dfn>index()</dfn>.  The "index" function is always loaded by default if the
 <strong>second segment</strong> of the URI is empty.  Another way to show your "Hello World" message would be this:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/<samp>index</samp>/</code>
+<code>example.com/index.php/<var>blog</var>/<samp>index</samp>/</code>
 
 <p><strong>The second segment of the URI determines which function in the controller gets called.</strong></p>
 
 
 <p>Now load the following URL to see the <dfn>comment</dfn> function:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/<samp>comments</samp>/</code>
+<code>example.com/index.php/<var>blog</var>/<samp>comments</samp>/</code>
 
 <p>You should see your new message.</p>
 
 
 <p>For example, lets say you have a URI like this:</p>
 
-<code>www.your-site.com/index.php/<var>products</var>/<samp>shoes</samp>/<kbd>sandals</kbd>/<dfn>123</dfn></code>
+<code>example.com/index.php/<var>products</var>/<samp>shoes</samp>/<kbd>sandals</kbd>/<dfn>123</dfn></code>
 
 <p>Your function will be passed URI segments 3 and 4 ("sandals" and "123"):</p>
 
 
 <p>Trying to access it via the URL, like this, will not work:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/<samp>_utility</samp>/</code>
+<code>example.com/index.php/<var>blog</var>/<samp>_utility</samp>/</code>
 
 
 
 
 <p>To call the above controller your URI will look something like this:</p>
 
-<code>www.your-site.com/index.php/products/shoes/show/123</code>
+<code>example.com/index.php/products/shoes/show/123</code>
 
 <p>Each of your sub-folders may contain a default controller which will be
 called if the URL contains only the sub-folder.  Simply name your default controller as specified in your

user_guide/general/routing.html

 <p>Typically there is a one-to-one relationship between a URL string and its corresponding controller class/method.
 The segments in a URI normally follow this pattern:</p>
 
-<code>www.your-site.com/<dfn>class</dfn>/<samp>function</samp>/<var>id</var>/</code>
+<code>example.com/<dfn>class</dfn>/<samp>function</samp>/<var>id</var>/</code>
 
 <p>In some instances, however, you may want to remap this relationship so that a different class/function can be called
 instead of the one corresponding to the URL.</p>
 <p>For example, lets say you want your URLs to have this prototype:</p>
 
 <p>
-www.your-site.com/product/1/<br />
-www.your-site.com/product/2/<br />
-www.your-site.com/product/3/<br />
-www.your-site.com/product/4/
+example.com/product/1/<br />
+example.com/product/2/<br />
+example.com/product/3/<br />
+example.com/product/4/
 </p>
 
 <p>Normally the second segment of the URL is reserved for the function name, but in the example above it instead has a product ID.

user_guide/general/scaffolding.html

 
 <p>Once you've initialized scaffolding, you will access it with this URL prototype:</p>
 
-<code>www.your-site.com/index.php/<var>class</var>/<dfn>secret_word</dfn>/</code>
+<code>example.com/index.php/<var>class</var>/<dfn>secret_word</dfn>/</code>
 
 <p>For example, using a controller named <var>Blog</var>, and <dfn>abracadabra</dfn> as the secret word,
 you would access scaffolding like this:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/<dfn>abracadabra</dfn>/</code>
+<code>example.com/index.php/<var>blog</var>/<dfn>abracadabra</dfn>/</code>
 
 <p>The scaffolding interface should be self-explanatory.  You can add, edit or delete records.</p>
 

user_guide/general/urls.html

 <p>By default, URLs in CodeIgniter are designed to be search-engine and human friendly.  Rather than using the standard "query string"
 approach to URLs that is synonymous with dynamic systems, CodeIgniter uses a <strong>segment-based</strong> approach:</p>
 
-<code>www.your-site.com/<var>news</var>/<dfn>article</dfn>/<samp>my_article</samp></code>
+<code>example.com/<var>news</var>/<dfn>article</dfn>/<samp>my_article</samp></code>
 
 <p class="important"><strong>Note:</strong> Query string URLs can be optionally enabled, as described below.</p>
 
 
 <p>The segments in the URL, in following with the Model-View-Controller approach, usually represent:</p>
 
-<code>www.your-site.com/<var>class</var>/<dfn>function</dfn>/<samp>ID</samp></code>
+<code>example.com/<var>class</var>/<dfn>function</dfn>/<samp>ID</samp></code>
 
 <ol>
 <li>The first segment represents the controller <strong>class</strong> that should be invoked.</li>
 
 <p>By default, the <strong>index.php</strong> file will be included in your URLs:</p>
 
-<code>www.your-site.com/<var>index.php</var>/news/article/my_article</code>
+<code>example.com/<var>index.php</var>/news/article/my_article</code>
 
 <p>You can easily remove this file by using a .htaccess file with some simple rules. Here is an example
  of such a file, using the "negative" method in which everything is redirected except the specified items:</p>
 <p>In your <dfn>config/config.php</dfn> file you can specify a suffix that will be added to all URLs generated
 by CodeIgniter.  For example, if a URL is this:</p>
 
-<code>www.your-site.com/index.php/products/view/shoes</code>
+<code>example.com/index.php/products/view/shoes</code>
 
 <p>You can optionally add a suffix, like <kbd>.html</kbd>, making the page appear to be of a certain type:</p>
 
-<code>www.your-site.com/index.php/products/view/shoes.html</code>
+<code>example.com/index.php/products/view/shoes.html</code>
 
 
 <h2>Enabling Query Strings</h2>

user_guide/general/views.html

 
 <p>If you visit the your site using the URL you did earlier you should see your new view.  The URL was similar to this:</p>
 
-<code>www.your-site.com/index.php/<var>blog</var>/</code>
+<code>example.com/index.php/<var>blog</var>/</code>
 
 <h2>Loading multiple views</h2>
 <p>CodeIgniter will intelligently handle  multiple calls to $this-&gt;load-&gt;view from within a controller.  If more then one call happens they will be appended together. For example, you may wish to have a header view, a menu view, a content view, and a footer view. That might look something like this:</p>

user_guide/helpers/form_helper.html

 
 <p>The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:</p>
 
-<code>&lt;form method="post" action="http:/www.your-site.com/index.php/email/send" /></code>
+<code>&lt;form method="post" action="http:/example.com/index.php/email/send" /></code>
 
 <h4>Adding Attributes</h4>
 
 
 <p>The above example would create a form similar to this:</p>
 
-<code>&lt;form method="post" action="http:/www.your-site.com/index.php/email/send" &nbsp;class="email" &nbsp;id="myform" /></code>
+<code>&lt;form method="post" action="http:/example.com/index.php/email/send" &nbsp;class="email" &nbsp;id="myform" /></code>
 
 <h4>Adding Hidden Input Fields</h4>
 
 
 <p>The above example would create a form similar to this:</p>
 
-<code>&lt;form method="post" action="http:/www.your-site.com/index.php/email/send"><br />
+<code>&lt;form method="post" action="http:/example.com/index.php/email/send"><br />
 &lt;input type="hidden" name="username" value="Joe" /><br />
 &lt;input type="hidden" name="member_id" value="234" /></code>
 
 <code>$data = array(<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name'&nbsp;&nbsp;=> 'John Doe',<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'email' => 'john@example.com',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'url'&nbsp;&nbsp;&nbsp;=> 'http://www.example.com'<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'url'&nbsp;&nbsp;&nbsp;=> 'http://example.com'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
 <br />
 echo form_hidden($data);<br />
 // Would produce:<br /><br />
 &lt;input type="hidden" name="name" value="John Doe" /><br />
 &lt;input type="hidden" name="email" value="john@example.com" /><br />
-&lt;input type="hidden" name="url" value="http://www.example.com" /></code>
+&lt;input type="hidden" name="url" value="http://example.com" /></code>
 
 
 

user_guide/helpers/smiley_helper.html

 		$this->load->helper('smiley');
 		$this->load->library('table');
 		
-		$image_array = get_clickable_smileys('http://www.your-site.com/images/smileys/');
+		$image_array = get_clickable_smileys('http://example.com/images/smileys/');
 
 		$col_array = $this->table->make_columns($image_array, 8);		
 			
 <p>Returns an array containing your smiley images wrapped in a clickable link.  You must supply the URL to your smiley folder
 via the first parameter:</p>
 
-<code>$image_array = get_clickable_smileys("http://www.your-site.com/images/smileys/");</code>
+<code>$image_array = get_clickable_smileys("http://example.com/images/smileys/");</code>
 
 
 <h2>js_insert_smiley()</h2>
 
 $str = 'Here are some simileys: :-)  ;-)';
 
-$str = parse_smileys($str, "http://www.your-site.com/images/smileys/");
+$str = parse_smileys($str, "http://example.com/images/smileys/");
 
 echo $str;
 </code>

user_guide/helpers/string_helper.html

 <p>The above would generate 30 newlines.</p>
 <h2>reduce_double_slashes()</h2>
 <p>Converts double slashes in a string to a single slash, except those found in http://. Example: </p>
-<code>$string = &quot;http://www.example.com//index.php&quot;;<br />
-echo reduce_double_slashes($string); // results in &quot;http://www.example.com/index.php&quot;</code>
+<code>$string = &quot;http://example.com//index.php&quot;;<br />
+echo reduce_double_slashes($string); // results in &quot;http://example.com/index.php&quot;</code>
 <h2>trim_slashes()</h2>
 <p>Removes any leading/trailing slashes from a string. Example:<br />
     <br />

user_guide/helpers/url_helper.html

 
 <code>echo site_url("news/local/123");</code>
 
-<p>The above example would return something like: http://www.your-site.com/index.php/news/local/123</p>
+<p>The above example would return something like: http://example.com/index.php/news/local/123</p>
 
 <p>Here is an example of segments passed as an array:</p>
 
 
 <p>Creates a standard HTML anchor link based on your local site URL:</p>
 
-<code>&lt;a href="http://www.your-site.com">Click Here&lt;/a></code>
+<code>&lt;a href="http://example.com">Click Here&lt;/a></code>
 
 <p>The tag has three optional parameters:</p>
 
 
 <code>echo anchor('news/local/123', 'My News');</code>
 
-<p>Would produce: &lt;a href="http://www.your-site.com/index.php/news/local/123" title="My News">My News&lt;/a></p>
+<p>Would produce: &lt;a href="http://example.com/index.php/news/local/123" title="My News">My News&lt;/a></p>
 
 <code>echo anchor('news/local/123', 'My News', array('title' => 'The best news!'));</code>
 
-<p>Would produce: &lt;a href="http://www.your-site.com/index.php/news/local/123" title="The best news!">My News&lt;/a></p>
+<p>Would produce: &lt;a href="http://example.com/index.php/news/local/123" title="The best news!">My News&lt;/a></p>
 
 
 <h2>anchor_popup()</h2>
 <h3>prep_url()</h3>
 <p>This function will add <kbd>http://</kbd> in the event it is missing from a URL.  Pass the URL string to the function like this:</p>
 <code>
-$url = "www.example.com";<br /><br />
+$url = "example.com";<br /><br />
 $url = prep_url($url);</code>
 
 

user_guide/installation/upgrade_130.html

 | This option allows you to add a suffix to all URLs.
 | For example, if a URL is this:
 |
-| www.your-site.com/index.php/products/view/shoes
+| example.com/index.php/products/view/shoes
 |
 | You can optionally add a suffix, like ".html",
 | making the page appear to be of a certain type:
 |
-| www.your-site.com/index.php/products/view/shoes.html
+| example.com/index.php/products/view/shoes.html
 |
 */
 $config['url_suffix'] = "";
 | By default CodeIgniter uses search-engine and
 | human-friendly segment based URLs:
 |
-| www.your-site.com/who/what/where/
+| example.com/who/what/where/
 |
 | You can optionally enable standard query string
 | based URLs:
 |
-| www.your-site.com?who=me&what=something&where=here
+| example.com?who=me&what=something&where=here
 |
 | Options are: TRUE or FALSE (boolean)
 |
 | The two other items let you set the query string "words"
 | that will invoke your controllers and functions:
-| www.your-site.com/index.php?c=controller&m=function
+| example.com/index.php?c=controller&m=function
 |
 */
 $config['enable_query_strings'] = FALSE;

user_guide/libraries/calendar.html

 <code>$this->load->library('calendar');<br />
 <br />
 $data = array(<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp; => 'http://your-site.com/news/article/2006/03/',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp; => 'http://your-site.com/news/article/2006/07/',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;13 => 'http://your-site.com/news/article/2006/13/',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;26 => 'http://your-site.com/news/article/2006/26/'<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp; => 'http://example.com/news/article/2006/03/',<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp; => 'http://example.com/news/article/2006/07/',<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;13 => 'http://example.com/news/article/2006/13/',<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;26 => 'http://example.com/news/article/2006/26/'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
 <br />
 echo $this->calendar->generate(<kbd>2006</kbd>, <kbd>6</kbd>, <var>$data</var>);</code>
 
 <code>$prefs = array (<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'show_next_prev'&nbsp;&nbsp;=> TRUE,<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'next_prev_url'&nbsp;&nbsp; => 'http://www.your-site.com/index.php/calendar/show/'<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'next_prev_url'&nbsp;&nbsp; => 'http://example.com/index.php/calendar/show/'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
 <br />
 $this-&gt;load-&gt;library('calendar', $prefs);<br />

user_guide/libraries/email.html

 
 <code>$this->load->library('email');<br />
 <br />
-$this->email->from('your@your-site.com', 'Your Name');<br />	
+$this->email->from('your@example.com', 'Your Name');<br />	
 $this->email->to('someone@example.com'); <br />
 $this->email->cc('another@another-example.com'); <br />
 $this->email->bcc('them@their-example.com'); <br />
 
 <h3>$this->email->from()</h3>
 <p>Sets the email address and name of the person sending the email:</p>
-<code>$this->email->from('<var>you@your-site.com</var>', '<var>Your Name</var>');</code>
+<code>$this->email->from('<var>you@example.com</var>', '<var>Your Name</var>');</code>
 
 <h3>$this->email->reply_to()</h3>
 <p>Sets the reply-to address.  If the information is not provided the information in the "from" function is used. Example:</p>
-<code>$this->email->reply_to('<var>you@your-site.com</var>', '<var>Your Name</var>');</code>
+<code>$this->email->reply_to('<var>you@example.com</var>', '<var>Your Name</var>');</code>
 
 
 <h3>$this->email->to()</h3>
 &nbsp;&nbsp;&nbsp;&nbsp;$this->email->clear();<br /><br />
 	
 &nbsp;&nbsp;&nbsp;&nbsp;$this->email->to($address);<br />
-&nbsp;&nbsp;&nbsp;&nbsp;$this->email->from('your@your-site.com');<br />
+&nbsp;&nbsp;&nbsp;&nbsp;$this->email->from('your@example.com');<br />
 &nbsp;&nbsp;&nbsp;&nbsp;$this->email->subject('Here is your info '.$name);<br />
 &nbsp;&nbsp;&nbsp;&nbsp;$this->email->message('Hi '.$name.' Here is the info you requested.');<br />
 &nbsp;&nbsp;&nbsp;&nbsp;$this->email->send();<br />
 <code>The text of your email that<br />
 gets wrapped normally.<br />
 <br />
-<var>{unwrap}</var>http://www.example.com/a_long_link_that_should_not_be_wrapped.html<var>{/unwrap}</var><br />
+<var>{unwrap}</var>http://example.com/a_long_link_that_should_not_be_wrapped.html<var>{/unwrap}</var><br />
 <br />
 More text that will be<br />
 wrapped normally.</code>

user_guide/libraries/file_uploading.html

 
 <p>To try your form, visit your site using a URL similar to this one:</p>
 
-<code>www.your-site.com/index.php/<var>upload</var>/</code>
+<code>example.com/index.php/<var>upload</var>/</code>
 
 <p>You should see an upload form. Try uploading an image file (either a jpg, gif, or png). If the path in your
 controller is correct it should work.</p>

user_guide/libraries/ftp.html

 <code>
 $this->load->library('ftp');<br />
 <br />
-$config['hostname'] = 'ftp.your-site.com';<br />
+$config['hostname'] = 'ftp.example.com';<br />
 $config['username'] = 'your-username';<br />
 $config['password'] = 'your-password';<br />
 $config['debug'] 	= TRUE;<br />
 <code>
 $this->load->library('ftp');<br />
 <br />
-$config['hostname'] = 'ftp.your-site.com';<br />
+$config['hostname'] = 'ftp.example.com';<br />
 $config['username'] = 'your-username';<br />
 $config['password'] = 'your-password';<br />
 $config['debug'] 	= TRUE;<br />
 <code>
 $this->load->library('ftp');<br />
 <br />
-$config['hostname'] = 'ftp.your-site.com';<br />
+$config['hostname'] = 'ftp.example.com';<br />
 $config['username'] = 'your-username';<br />
 $config['password'] = 'your-password';<br />
 $config['debug'] 	= TRUE;<br />
 <code>
 $this->load->library('ftp');<br />
 <br />
-$config['hostname'] = 'ftp.your-site.com';<br />
+$config['hostname'] = 'ftp.example.com';<br />
 $config['username'] = 'your-username';<br />
 $config['password'] = 'your-password';<br />
 $config['port']&nbsp;&nbsp;&nbsp;&nbsp; = 21;<br />

user_guide/libraries/pagination.html

 
 <code>
 $this->load->library('pagination');<br /><br />	
-$config['base_url'] = 'http://www.your-site.com/index.php/test/page/';<br />
+$config['base_url'] = 'http://example.com/index.php/test/page/';<br />
 $config['total_rows'] = '200';<br />
 $config['per_page']  = '20';
 <br /><br />
 	will place two digits on either side, as in the example links at the very top of this page.</p>
 <h4>$config['page_query_string'] = TRUE</h4>
 <p>By default, the pagination library assume you are using <a href="../general/urls.html">URI Segments</a>, and constructs your links something like</p>
-<p><code>http://www.your-site.com/index.php/test/page/20</code></p>
+<p><code>http://example.com/index.php/test/page/20</code></p>
 <p>If you have $config['enable_query_strings']  set to TRUE your links will automatically be re-written using Query Strings. This option can also be explictly set. Using $config['page_query_string'] set to TRUE, the pagination link will become.</p>
-<p><code>http://www.your-site.com/index.php?c=test&amp;m=page&amp;per_page=20</code></p>
+<p><code>http://example.com/index.php?c=test&amp;m=page&amp;per_page=20</code></p>
 <p>Note that &quot;per_page&quot; is the default query string  passed, however can be configured using $config['query_string_segment'] = 'your_string'</p>
 <h2>Adding Enclosing Markup</h2>
 

user_guide/libraries/trackback.html

 <p>For example, if your controller class is called <dfn>Trackback</dfn>, and the receiving function is called <dfn>receive</dfn>, your
 Ping URLs will look something like this:</p>
 
-<code>http://www.your-site.com/index.php/trackback/receive/<samp>entry_id</samp></code>
+<code>http://example.com/index.php/trackback/receive/<samp>entry_id</samp></code>
 
 <p>Where <samp>entry_id</samp> represents the individual ID number for each of your entries.</p>
 
 
 <p>The entry ID number is expected in the third segment of your URL.  This is based on the URI example we gave earlier:</p>
 
-<code>http://www.your-site.com/index.php/trackback/receive/<samp>entry_id</samp></code>
+<code>http://example.com/index.php/trackback/receive/<samp>entry_id</samp></code>
 
 <p>Notice the entry_id is in the third URI segment, which you can retrieve using:</p>
 

user_guide/libraries/uri.html

 <p>Permits you to retrieve a specific segment. Where <var>n</var> is the segment number you wish to retrieve.
 Segments are numbered from left to right. For example, if your full URL is this:</p>
 
-<code>http://www.your-site.com/index.php/news/local/metro/crime_is_up</code>
+<code>http://example.com/index.php/news/local/metro/crime_is_up</code>
 
 <p>The segment numbers would be this:</p>
 
 
 <p>Returns a string with the complete URI.  For example, if this is your full URL:</p>
 
-<code>http://www.your-site.com/index.php/news/local/345</code>
+<code>http://example.com/index.php/news/local/345</code>
 
 <p>The function would return this:</p>
 

user_guide/libraries/validation.html

 
 <p>To try your form, visit your site using a URL similar to this one:</p>
 
-<code>www.your-site.com/index.php/<var>form</var>/</code>
+<code>example.com/index.php/<var>form</var>/</code>
 
 <p><strong>If you submit the form you should simply see the form reload.  That's because you haven't set up any validation
 rules yet, which we'll get to in a moment.</strong></p>

user_guide/libraries/xmlrpc.html

 <h3>Try it!</h3>
 
 <p>Now visit the your site using a URL similar to this:</p>
-<code>www.your-site.com/index.php/<var>xmlrpc_client</var>/</code>
+<code>example.com/index.php/<var>xmlrpc_client</var>/</code>
 
 <p>You should now see the message you sent to the server, and its response back to you.</p>
 

user_guide/overview/at_a_glance.html

 <p>The URLs generated by CodeIgniter are clean and search-engine friendly.  Rather than using the standard "query string"
 approach to URLs that is synonymous with dynamic systems, CodeIgniter uses a segment-based approach:</p>
 
-<code>www.your-site.com/<var>news</var>/<dfn>article</dfn>/<samp>345</samp></code>
+<code>example.com/<var>news</var>/<dfn>article</dfn>/<samp>345</samp></code>
 
 <p>Note: By default the index.php file is included in the URL but it can be removed using a simple .htaccess file.</p>