View Single Post
Old 04-28-2007, 06:26 AM   #1 (permalink)
Optix
Contributing Member
 
Optix's Avatar
 
Join Date: 07-24-06
Location: UK
Posts: 149
iTrader: 0 / 0%
Latest Blog:
None

Optix is liked by many
Send a message via AIM to Optix Send a message via MSN to Optix
Exclamation PHP script config problem

Hi guysss

basicly im trying to install this script but it doesnt seem to be co operation

This is the code in the config: (not all of it the rest contains my database info)
PHP Code:
//      $base_path = "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/";
        
$base_path "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/";
//        $include_path = "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/include;
        
$include_path "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/include";
//        $base_url = "http://www.manchestermix.net/hotornot";
        
$base_url "http://www.manchestermix.net/hotornot"
and get this error > www.manchestermix.net/hotornot

these are the lines on index.php up line 36

PHP Code:
<?php

ini_set
("session.auto_start","1");

require(
"./admin/config.php");

include(
"$include_path/common.php");

include(
"$include_path/$table_file");

include(
"$include_path/doc_head.php");

include(
"$include_path/styles.php");



global 
$HTTP_POST_VARS,$HTTP_GET_VARS,$HTTP_SESSION_VARS;

global 
$_SESSION;

if (
$HTTP_POST_VARS!="")
    
$_POST=$HTTP_POST_VARS;

if (
$HTTP_GET_VARS!="")
    
$_GET=$HTTP_GET_VARS;

if (
$HTTP_SESSION_VARS!="")
    
$_SESSION=$HTTP_SESSION_VARS;


// echo " session id ".session_id();

if (empty($_GET['v']) && empty($_GET['i']) && empty($_GET['s']) && empty($_GET['z']))
{

    
header("Location: $base_url/index2.php");

whats going wrong please help!!
Optix is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links