Stop data retention! Click here & act! Are you a webmaster and want to participate? Here you can find all necessary material for your website - Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Chris Karakas Online Forum Index Karakas Online
 FAQFAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to hide URL links completely from users in PHP-Nuke



 
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum RSS Feed of this Forum
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea  View previous topic :: View next topic  
Author Message
duckmanjbr
Lance Corporal
Lance Corporal


Joined: 16 Jul 2006
Posts: 8

PostPosted: Tue Sep 12, 2006 8:08 pm    Post subject: How to hide URL links completely from users in PHP-Nuke
Reply with quote

I have created a module link and have the following code in my index.php:
Code:

<?php
if (!eregi("modules.php", $PHP_SELF)) {
  die ("You can't access this file directly...");
}
$index = 0;   // 0 : do not show right blocks - 1:show right blocks
require_once("mainfile.php");
Header("Location: https://www.xxx.com/cgi/nph-surf.cgi" );
?>


The problem I'm running accross is that the link can be reached by direct URL if it's copy&pasted. I'd like to have the link only reachable by Nuke or at least be hidden. I'm not sure if there is a different way of linking from nuke or if what I'm asking is even possible. I looked into mod_rewrite to maybe hide the direct URL but I'm not sure it will do what I'm looking for. Does anyone know what I can do or where to point me to help?
Back to top
View user's profile Send private message
duckmanjbr
Lance Corporal
Lance Corporal


Joined: 16 Jul 2006
Posts: 8

PostPosted: Sat Oct 14, 2006 11:57 pm    Post subject:
Reply with quote

Solved this problem w/ mod-rewrite!!!
Back to top
View user's profile Send private message
chris
Dark Lord of the Sith


Joined: 10 May 2003
Posts: 6262
Location: Outer Space

PostPosted: Fri Nov 03, 2006 9:34 pm    Post subject:
Reply with quote

Relevant threads:

How to shorten the HTML address of a PHP-Nuke module page
How to chage module.php?name=Module_Name
How to catch all URLs for module: URL rewriting in PHP-Nuke
How to cheat a search engine with white text in PHP-Nuke
_________________
Regards

Chris Karakas
www.karakas-online.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea 
Display posts from previous:   
Post new topic   Reply to topic
   Chris Karakas Online Forum Index -> PHP-Nuke Forum
Page 1 of 1
This page contains valid HTML 4.01 Transitional - click here to check it!
This page contains a valid CSS - click here to check it!

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group