<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Links Are not working(Already Edit directory File) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Links Are not working(Already Edit directory File)
#927
Swafey (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Links Are not working(Already Edit directory File) 2 Years, 11 Months ago Karma: 0  
I have Installed using Fantastico, and all seems to be working fine!

When i go to click any links, ie about us, or add a site, the adverts at the bottom of the page just seem to refresh.

I can add new sites in the admin section... But they do not appear in the directory, unless i use the search function for them.

I have done the following without success :

Code:

Add these lines to the top of the directory file *should* fix either of these causes. Code: if ($_POST['submit_add']){$show="add";} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["REQUEST_URI"];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER['PATH_INFO'];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["ORIG_PATH_INFO"];} if (empty($PATH_INFO)){$PATH_INFO = $HTTP_SERVER_VARS['PATH_INFO'];} Keep in mind, the directory file is actually a PHP file, it's just lacking the .php file extension. If you need to use an FTP program to download/upload the file for editing, be sure to use ASCII/plain text transfer method.
My site is Zooyou.co.uk If you have any ideas your help would be greatly appriciated. Many Thanks, Adam
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008