Pomoc pocetnik

Nikad nisam morao instalirati skriptu,ili sam imao gotovu ili ?

Sada mene zanima sto ja ovdje moram izmjeniti i promjeniti da funkcionira na mojoj domeni…

Sry zbilja tek pocinjem ulaziti u te vode pa ono

[quote=""]-------------------------------------------------------

REQUIREMENTS

1: A web server with PHP5+ and MySQL4.1+
2: mod_rewrite installed
3: cURL installed to “Get Page Title”


INSTALLATION STEPS

1: Create a new database on your server. Remember the information you use, you’ll be needing it in step four.

2: Unzip and upload URLi to your server. Make sure to upload the .htaccess file! If you are unable to locate the .htaccess file, there are instructions below on how to create one.

3: Open /application/config/config.php
Change:
Site Title: The name of your site
Base URL: The URL of your site with trailing slash. e.g.
http://YOUR-SITE.com/

4: Open /application/config/database.php, and fill in your database information. Include a Database Prefix if you would like one.

5: Go to your site address and follow the installation instructions.

If you have uploaded URLi to a subfolder on your system, make the following changes:

1: Change the base_url in /application/config/config.php to your full URL with subfolder and trailing forward slash. e.g.
http://YOUR-SITE.com/YOUR-SUBFOLDER/

2: Open the .htaccess file a change RewriteBase / to RewriteBase /YOUR_SUBFOLDER


OPTIONS IN APPLICATION/CONFIG/CONFIG.PHP

1: Site title is the name of your site. This can be anything. e.g. My Site

2: Base URL is the URL of your site, remember to include any subfolders with a trailing slash. e.g.
http://example.com/

3: Show original link will display the long version of a URL that’s been shortened.

4: Enable Ajax, if set to TRUE, will process all URLs via Ajax. If this is set to FALSE, no Ajax will be used, but links will still be able to be shortened.

5: Protected, if set to TRUE, will require a login to shorten any URLs.

6: Base color allows you to change the color of the site from the original orange color. The base color must be a six character hexadecimal number.

7: Allow duplicates, if set to TRUE, will create a new short URL for each submission. If set to FALSE, any duplicate URLs will return an already shortened URL.

8: Get page title, if set to TRUE, will get the title of the link being shortened. Links will be shortened MUCH faster if this is set to FALSE. This option uses cURL to get the page title. If you do not have cURL installed, and this option set to TRUE, URLi WILL NOT WORK.


HOW TO CREATE A .htaccess FILE

1: Create a new file on your server where you uploaded URLi. Name the file .htaccess

2: Open the file, .htaccess, and paste this in it:

Options +FollowSymLinks
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

3: Save the file.

4: If you uploaded URLi to a subfolder make sure RewriteBase / is RewriteBase /YOUR_SUBFOLDER
[/quote]

U skripti imaš file /application/config/config.php u kojeg trebaš staviti svoju domenu. Ono
http://nesto.hr

Na poslužitelju imaš .htaccess file koji vidiš ako ti je u FTP programu uključena opcija Show hidden file ili nešto slično. U njega pejstaš ono iz upute.
Tako sam ja shvatio.

Ovdje ima previše stvari da ih se adresira u jednom postu, mozes li specificirati koji te tocno dio zbunjuje?


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja