Aardvark Topsites PHP

A Free PHP Topsites Script
It is currently 2010-07-29 08:45 pm

All times are UTC - 4 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Moving topsite to a subdirectory. How?
PostPosted: 2005-09-15 08:28 pm 
Offline
Advanced Member

Joined: 2005-05-20 04:51 am
Posts: 44
I have a topsite with 54 members, and my topsite is in the root folder, where i want to put another site and to move the topsite to a subdirectory.
The problem is button.php which is the target on every members site. I have tried to make an button.php file on the root which contains
Code:
header ("location: topsite/button.php");

but the "?u=member" is not passed to the topsite's button.php. Is there a way to do that?
Im sure that if every site must change his code, i will lose some members...


Top
 Profile  
 
 Post subject:
PostPosted: 2005-09-15 08:45 pm 
Offline
Advanced Member

Joined: 2005-05-20 04:51 am
Posts: 44
Stupid me... :oops:
The answer is:
Code:
$x = $_GET['u'];
header ("location: topsite/button.php?u=$x");


Case closed!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group