Hov. Du er ikke logget ind.
DU SKAL VÆRE LOGGET IND, FOR AT INTERAGERE PÅ DENNE SIDE

Lidt hjælp til php

Side 1 ud af 1 (3 indlæg)
  • 1
Fra Nimtofte
Tilmeldt 3. Jul 11
Indlæg ialt: 414
Fra  Hus & Byggeplads Service Skrevet kl. 15:14
Hvor mange stjerner giver du? :
Hej Jeg er lige ved at sætte noget op men får denne her fejl Parse error: syntax error, unexpected T_STRING in /home/findenpr/domains/findenpris.dk/public_html/Clickme/user/config.php on line 34
Det er ved tidszonen den ikke gider men hvad er der galt?
<?php
/* This is a sample config file.
* Edit this file with your own settings and save it as "config.php"
*/

/*
** MySQL settings - You can get this info from your web host
*/

/** MySQL database username */
define( 'YOURLS_DB_USER', '*******' );

/** MySQL database password */
define( 'YOURLS_DB_PASS', '*******' );

/** The name of the database for YOURLS */
define( 'YOURLS_DB_NAME', '********' );

/** MySQL hostname */
define( 'YOURLS_DB_HOST', '******' );

/** MySQL tables prefix */
define( 'YOURLS_DB_PREFIX', '******_' );

/*
** Site options
*/

/** YOURLS installation URL -- all lowercase and with no trailing slash.
** If you define it to "http://site.com", don't use "http://www.site.com" in your browser (and vice-versa) */
define( 'YOURLS_SITE', 'http://findenpris.dk/Clickme/ );

/** Timezone GMT offset */
define( 'YOURLS_HOURS_OFFSET', -1 );

/** Allow multiple short URLs for a same long URL
** Set to true to have only one pair of shortURL/longURL (default YOURLS behavior)
** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */
define( 'YOURLS_UNIQUE_URLS', true );

/** Private means the Admin area will be protected with login/pass as defined below.
** Set to false for public usage (eg on a restricted intranet or for test setups)
** Read http://yourls.org/privatepublic for more details if you're unsure */
define( 'YOURLS_PRIVATE', true );

/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from http://yourls.org/cookie **/
define( 'YOURLS_COOKIEKEY', '*************' );

/** Username(s) and password(s) allowed to access the site. Passwords either in plain text or as salted hashes.
** Read http://yourls.org/userpassword for more information */
$yourls_user_passwords = array(
'username' => 'xxxxxxx',
'username2' => 'xxxxxxx' // You can have one or more 'login'=>'password' lines
);

/*
** URL Shortening settings
*/

/** URL shortening method: 36 or 62 */
define( 'YOURLS_URL_CONVERT', 36 );
/*
* 36: generates all lowercase keywords (ie: 13jkm)
* 62: generates mixed case keywords (ie: 13jKm or 13JKm)
* Stick to one setting. It's best not to change after you've started creating links.
*/

/**
* Reserved keywords (so that generated URLs won't match them)
* Define here negative, unwanted or potentially misleading keywords.
*/
$yourls_reserved_URL = array(
'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick', 'gay',
);

/*
** Personal settings would go after here.
*/

Fra Vordingborg
Tilmeldt 28. Sep 08
Indlæg ialt: 211
Fra  BOATERS Skrevet kl. 15:15
Hvor mange stjerner giver du? :

Ret:

define( 'YOURLS_SITE', 'http://findenpris.dk/Clickme/ );

til:

define( 'YOURLS_SITE', 'http://findenpris.dk/Clickme/' );

Bemærk den lille gnyf i slutningen. :)

Fra Nimtofte
Tilmeldt 3. Jul 11
Indlæg ialt: 414
Fra  Hus & Byggeplads Service Skrevet kl. 15:17
Hvor mange stjerner giver du? :

Michael:

Ret:

define( 'YOURLS_SITE', 'http://findenpris.dk/Clickme/ );

til:

define( 'YOURLS_SITE', 'http://findenpris.dk/Clickme/' );

Bemærk den lille gnyf i slutningen. :)

Takkker :)

Side 1 ud af 1 (3 indlæg)