Hi there i m having troubles installing on (Win 7 x 64)
WAMP 2.1
Apache 2.2.17
PHP 5.3.4 (with curl and gd loaded)
MySQL 5.1.53
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* SOLVED *-**-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-
just let php.ini short tags
change to:
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-
i just put all the files in my www folder but i can not get it to work =/
I'm getting this:
My config:
any comment would be helpful!!
many thanks in advance.
----------------------------------
i did register a domain at 000web and it works perfectly w/o any modification =)
I just want to test and edit locally
WAMP 2.1
Apache 2.2.17
PHP 5.3.4 (with curl and gd loaded)
MySQL 5.1.53
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* SOLVED *-**-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-
just let php.ini short tags
Code:
short_open_tag = false
Code:
short_open_tag = on
i just put all the files in my www folder but i can not get it to work =/
I'm getting this:
Code:
----------------------------------------- */ /* Please link us.. http://chevereto.com/ */ require('engine.php'); ?> ( ! ) Notice: Use of undefined constant LANG - assumed 'LANG' in D:\wamp\www\Cheveretto\Upload\index.php on line 21 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 LANG" lang="
( ! ) Notice: Use of undefined constant LANG - assumed 'LANG' in D:\wamp\www\Cheveretto\Upload\index.php on line 21
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
LANG"> ( ! ) Notice: Use of undefined constant SC_VERSION - assumed 'SC_VERSION' in D:\wamp\www\Cheveretto\Upload\index.php on line 24 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 SC_VERSION" /> ( ! ) Notice: Use of undefined constant LANG - assumed 'LANG' in D:\wamp\www\Cheveretto\Upload\index.php on line 28 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 LANG" /> ( ! ) Notice: Use of undefined constant URL_SCRIPT - assumed 'URL_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 29 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 URL_SCRIPTestilo.css" rel="stylesheet" type="text/css" /> ( ! ) Notice: Use of undefined constant DESCRIPTION - assumed 'DESCRIPTION' in D:\wamp\www\Cheveretto\Upload\index.php on line 31 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 DESCRIPTION"/> ( ! ) Notice: Use of undefined constant KEYWORDS - assumed 'KEYWORDS' in D:\wamp\www\Cheveretto\Upload\index.php on line 32 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 KEYWORDS"/> ( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 35 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPTfavicon.ico" type="image/x-icon" />
( ! ) Notice: Use of undefined constant URL_SCRIPT - assumed 'URL_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 65 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 URL_SCRIPT">( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 65 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPTsite-img/logo.png" alt="
( ! ) Notice: Use of undefined constant APP_NAME - assumed 'APP_NAME' in D:\wamp\www\Cheveretto\Upload\index.php on line 65
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
APP_NAME" />
( ! ) Notice: Use of undefined constant TAG_LINE - assumed 'TAG_LINE' in D:\wamp\www\Cheveretto\Upload\index.php on line 67
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TAG_LINE
JPG PNG BMP GIF Max.
( ! ) Notice: Undefined variable: max_mb in D:\wamp\www\Cheveretto\Upload\index.php on line 67
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
Mb
( ! ) Notice: Undefined variable: errormsg in D:\wamp\www\Cheveretto\Upload\index.php on line 71
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
>
>
( ! ) Notice: Use of undefined constant TXT_PREFERENCES - assumed 'TXT_PREFERENCES' in D:\wamp\www\Cheveretto\Upload\index.php on line 82
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TXT_PREFERENCES
( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 85 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPT" method="post"> ( ! ) Notice: Undefined variable: postkey in D:\wamp\www\Cheveretto\Upload\index.php on line 86 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " />
( ! ) Notice: Use of undefined constant TXT_LOCAL - assumed 'TXT_LOCAL' in D:\wamp\www\Cheveretto\Upload\index.php on line 94
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TXT_LOCAL
>
( ! ) Notice: Use of undefined constant RESIZE_DSC - assumed 'RESIZE_DSC' in D:\wamp\www\Cheveretto\Upload\index.php on line 107
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_DSC
( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 120 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPTsite-img/btn_subir.gif" id="subir"/>
( ! ) Notice: Undefined variable: urlrez in D:\wamp\www\Cheveretto\Upload\index.php on line 130 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " alt="
( ! ) Notice: Undefined variable: urlrez in D:\wamp\www\Cheveretto\Upload\index.php on line 130
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
" />
( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 132 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPT" method="post">
( ! ) Notice: Use of undefined constant TXT_REMOTE_RR - assumed 'TXT_REMOTE_RR' in D:\wamp\www\Cheveretto\Upload\index.php on line 140
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TXT_REMOTE_RR
( ! ) Notice: Undefined variable: urlrez in D:\wamp\www\Cheveretto\Upload\index.php on line 141 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " name="remota" size="60" id="remotaUP" onclick="javascript:document.getElementById('localUP').value = '';"/>
>
( ! ) Notice: Use of undefined constant RESIZE_DSC - assumed 'RESIZE_DSC' in D:\wamp\www\Cheveretto\Upload\index.php on line 149
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_DSC
( ! ) Notice: Use of undefined constant TXT_TEMP_SAVE - assumed 'TXT_TEMP_SAVE' in D:\wamp\www\Cheveretto\Upload\index.php on line 169
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TXT_TEMP_SAVE
( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 171 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 PATH_SCRIPT" method="post"> ( ! ) Notice: Undefined variable: URLrdn in D:\wamp\www\Cheveretto\Upload\index.php on line 172 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " />
>
( ! ) Notice: Use of undefined constant RESIZE_DSC - assumed 'RESIZE_DSC' in D:\wamp\www\Cheveretto\Upload\index.php on line 175
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_DSC
( ! ) Notice: Use of undefined constant RESIZE_WIDTH - assumed 'RESIZE_WIDTH' in D:\wamp\www\Cheveretto\Upload\index.php on line 181
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_WIDTH
( ! ) Notice: Use of undefined constant RESIZE_PIXELS - assumed 'RESIZE_PIXELS' in D:\wamp\www\Cheveretto\Upload\index.php on line 181
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_PIXELS
( ! ) Notice: Use of undefined constant RESIZE_KEEP - assumed 'RESIZE_KEEP' in D:\wamp\www\Cheveretto\Upload\index.php on line 183
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
RESIZE_KEEP
( ! ) Notice: Use of undefined constant TXT_TEMP_PLACE - assumed 'TXT_TEMP_PLACE' in D:\wamp\www\Cheveretto\Upload\index.php on line 194
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
TXT_TEMP_PLACE
URL:
( ! ) Notice: Undefined variable: URLrdn in D:\wamp\www\Cheveretto\Upload\index.php on line 195 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " />
( ! ) Notice: Undefined variable: h1 in D:\wamp\www\Cheveretto\Upload\index.php on line 200
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: explained in D:\wamp\www\Cheveretto\Upload\index.php on line 203
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
'.$name.' ('.$tamano_kb.' KB - '.$ancho.'x'.$alto.'px)'.$colita; ?>
( ! ) Notice: Undefined variable: mensaje in D:\wamp\www\Cheveretto\Upload\index.php on line 220
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Use of undefined constant SHARE - assumed 'SHARE' in D:\wamp\www\Cheveretto\Upload\index.php on line 223
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE
( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 224 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0
( ! ) Notice: Use of undefined constant DIR_IM - assumed 'DIR_IM' in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: folhost in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: name in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
PATH_SCRIPTDIR_IM">( ! ) Notice: Use of undefined constant PATH_SCRIPT - assumed 'PATH_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 224 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0
( ! ) Notice: Use of undefined constant DIR_IM - assumed 'DIR_IM' in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: folhost in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
( ! ) Notice: Undefined variable: name in D:\wamp\www\Cheveretto\Upload\index.php on line 224
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
PATH_SCRIPTDIR_IM" alt="" =900) { echo 'width="900" '; } ?>/>
style="display: none;">
( ! ) Notice: Use of undefined constant SHARE_THUMB_VIEWER - assumed 'SHARE_THUMB_VIEWER' in D:\wamp\www\Cheveretto\Upload\index.php on line 229
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_THUMB_VIEWER
HTML:
( ! ) Notice: Undefined variable: URLvim in D:\wamp\www\Cheveretto\Upload\index.php on line 232 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 "><img src="
( ! ) Notice: Undefined variable: URLthm in D:\wamp\www\Cheveretto\Upload\index.php on line 232
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
" border="0"></a>" onclick="this.focus();this.select();" />
( ! ) Notice: Use of undefined constant SHARE_FORUMS - assumed 'SHARE_FORUMS' in D:\wamp\www\Cheveretto\Upload\index.php on line 236
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_FORUMS:
( ! ) Notice: Undefined variable: URLvim in D:\wamp\www\Cheveretto\Upload\index.php on line 237 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 ][img]
( ! ) Notice: Undefined variable: URLthm in D:\wamp\www\Cheveretto\Upload\index.php on line 237
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
[/img][/url]" onclick="this.focus();this.select();" />
( ! ) Notice: Use of undefined constant SHARE_DIRECT - assumed 'SHARE_DIRECT' in D:\wamp\www\Cheveretto\Upload\index.php on line 243
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_DIRECT
( ! ) Notice: Undefined variable: URLvim in D:\wamp\www\Cheveretto\Upload\index.php on line 245 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " target="_blank">
( ! ) Notice: Use of undefined constant SHARE_VIEWER - assumed 'SHARE_VIEWER' in D:\wamp\www\Cheveretto\Upload\index.php on line 245
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_VIEWER:
( ! ) Notice: Undefined variable: URLvim in D:\wamp\www\Cheveretto\Upload\index.php on line 246 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " onclick="this.focus();this.select();" />
( ! ) Notice: Use of undefined constant SHARE_FORUMS - assumed 'SHARE_FORUMS' in D:\wamp\www\Cheveretto\Upload\index.php on line 249
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_FORUMS:
( ! ) Notice: Undefined variable: URLimg in D:\wamp\www\Cheveretto\Upload\index.php on line 250 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 [/img]" onclick="this.focus();this.select();" />
( ! ) Notice: Undefined variable: URLimg in D:\wamp\www\Cheveretto\Upload\index.php on line 253 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " target="_blank">URL:
( ! ) Notice: Undefined variable: URLimg in D:\wamp\www\Cheveretto\Upload\index.php on line 254 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " onclick="this.focus();this.select();" />
( ! ) Notice: Undefined variable: ShortURL in D:\wamp\www\Cheveretto\Upload\index.php on line 258 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " target="_blank">
( ! ) Notice: Undefined variable: tiny_service in D:\wamp\www\Cheveretto\Upload\index.php on line 258
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
:
( ! ) Notice: Undefined variable: ShortURL in D:\wamp\www\Cheveretto\Upload\index.php on line 259 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " onclick="this.focus();this.select();" />
( ! ) Notice: Use of undefined constant SHARE_SOCIAL - assumed 'SHARE_SOCIAL' in D:\wamp\www\Cheveretto\Upload\index.php on line 265
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_SOCIAL
( ! ) Notice: Use of undefined constant SHARE_NETWORKS - assumed 'SHARE_NETWORKS' in D:\wamp\www\Cheveretto\Upload\index.php on line 267
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
SHARE_NETWORKS:
( ! ) Notice: Undefined variable: URLshr in D:\wamp\www\Cheveretto\Upload\index.php on line 268 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " id="delicious" target="_blank"> ( ! ) Notice: Undefined variable: URLshr in D:\wamp\www\Cheveretto\Upload\index.php on line 269 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " id="facebook" target="_blank"> ( ! ) Notice: Undefined variable: URLshr in D:\wamp\www\Cheveretto\Upload\index.php on line 270 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " id="google" target="_blank"> ( ! ) Notice: Undefined variable: eu_img in D:\wamp\www\Cheveretto\Upload\index.php on line 271 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 " id="tumblr" target="_blank"> ( ! ) Notice: Undefined variable: eu_img in D:\wamp\www\Cheveretto\Upload\index.php on line 273 Call Stack #TimeMemoryFunctionLocation 10.0006747240{main}( )..\index.php:0 &referenceURL=
( ! ) Notice: Use of undefined constant URL_SCRIPT - assumed 'URL_SCRIPT' in D:\wamp\www\Cheveretto\Upload\index.php on line 273
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
URL_SCRIPT" id="visualizeus" target="_blank">
( ! ) Notice: Use of undefined constant APP_NAME - assumed 'APP_NAME' in D:\wamp\www\Cheveretto\Upload\index.php on line 289
Call Stack
# Time Memory Function Location
1 0.0006 747240 {main}( ) ..\index.php:0
APP_NAME, Powered by Chevereto
My config:
Code:
<?
/* -----------------------------------------
Chevereto - Script de hosting de imagenes
Nightly Build 1.9 (11/04/2010)
http://www.chevereto.com/
Released under the GPL 2.0
Copyright (C) 2008 by Rodolfo Berrios
<inbox at rodolfoberrios dot com>
----------------------------------------- */
// Language
define('LANG', 'en'); // en - English | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)
// App
define('APP_NAME', 'Demo Chevereto'); // Your image hosting name
define('TAG_LINE', 'Image Hosting'); // Your tagline (for doctitles and logo)
define('DESCRIPTION', 'Demo Chevereto is a free image hosting service powered by Chevereto'); // For meta description
define('KEYWORDS', 'images, photos, image hosting, photo hosting, free image hosting'); // For meta keywords
// Folders
/* If you change this, you also must change the folders name. */
define('DIR_UP','up/');
define('DIR_IM','images/'); // Change this to have something like /X/filename.jpg - where "X/" is the folder name.
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');
// Min-Max values -> php.ini rules the nation...
$max_mb = '1.5'; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = '10'; // Max. file name lenght.
// Thumbs
$mini_ancho = '150'; // Thumb width (pixels)
$mini_alto = '150'; // Thumb height (pixels)
// Resize
$lowres = '16'; // Min. resize value (pixels)
$higres = '1280'; // Max. resize value (pixels)
// Options
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = false; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = 'tinyurl'; // tinyurl
$cut_url_user = true; // If $cut_url = true -> true: Allows your users to cut their urls (preference) - false: Users can't choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don't allow over resize.
///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can't run) ////
///////////////////////////////////////////////////////////////////
/* We get this value with $_SERVER. If your server doesn't resolve this value, the script will not work.
If the script doesn't work, you must manually set this value. (look the example) */
$DOM_SCRIPT = $_SERVER['SERVER_NAME']; // --> EXAMPLE: $DOM_SCRIPT = 'mysite.com';
///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////
// PATH
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) {
define('PATH_SCRIPT', $path.'/');
} else {
define('PATH_SCRIPT', $path);
}
// URL
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);
?>
any comment would be helpful!!
many thanks in advance.
----------------------------------
i did register a domain at 000web and it works perfectly w/o any modification =)
I just want to test and edit locally