Author Topic: index.php?xy=... How can I use my own links?  (Read 3401 times)

0 Members and 1 Guest are viewing this topic.

Offline AchimAppel

  • Pre-Newbie
  • Posts: 1
    • View Profile
index.php?xy=... How can I use my own links?
« on: May 06, 2005, 02:19:51 AM »
Good Evening,

i've integrated 4images in my Website. I use the Template-System for other PHP-Sites, too. But if want to generate a link like test.php?id=2, the part after .php will not accepted.
This is the code, that i use..

Code: [Select]
<?php
$templates_used 
'home,category_bit,whos_online,thumbnail_bit,webguide';
$main_template 'webguide';

define('GET_CACHES'1);
define('ROOT_PATH''./');
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');
require(
ROOT_PATH.'includes/page_header.php');
// Checks User permission
//if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
//  show_error_page($lang['no_permission']);
//  exit;
//}
//-----------------------------------------------------
//--- Siet starts here ---------------------------------------
//-----------------------------------------------------

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  
"msg" => $msg,
  
"clickstream" => $clickstream
));
//-----------------------------------------------------
//--- Site ends here ---------------------------------------
//-----------------------------------------------------
$site_template->print_template($site_template->parse_template($main_template));
include(
ROOT_PATH.'includes/page_footer.php');
?>

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: index.php?xy=... How can I use my own links?
« Reply #1 on: May 06, 2005, 02:26:25 AM »
I'm sorry I have no clue what are u talking about and what u've done and trying to do...
would u explain with little more details?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)