If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
i'm confused...  XML
Forum Index » Support Forum
Author Message
Anonymous



hi there!

my web is placed in /www/ directory
that means my index.php is placed there

i have a problem setting up correct paths for includes
let's say dailycounter is placed in www/counter/
and i want to use it in index.php which is placed in www/

what would be a correct path syntax?

thanx for help and sorry for dummy question

m/\x
spor
Student

Joined: 18/04/2003 05:02:37
Messages: 50
Offline

relative path would be counter/fileyourpointingto
absolute path would be http://yourdomain.com/counter/fileyourpointingto
Jean
Newbie

Joined: 26/04/2003 02:49:08
Messages: 4
Location: Buffalo, NY
Offline

I agree with ( spor ) you need to use relative path.
you can use something like this:


The first part of the counter code is <img src="http://yourdomain.com/www/counter/img_counterw?
followed by your login name i.e. name (www)
followed by the path and name of the file i.e. /www/index.html
followed by ">
Remember not to put any spaces in the code.

You should end with some code that looks like this:

<img src="http://yourdomain.com/www/counter/img_counterw?www/index.html">

webmaster at:
www.syflex.com
[Email] [WWW] [MSN] [ICQ]
Anonymous



a couple of different ways that it can be done, depending on the nature of the script
url path


or
absolute path


these are examples if you are using a index.php file. Not an ssi file or perl file
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum