View Full Version : include problem
nomans
07-17-2007, 04:09 PM
I'm using flat file db.
Here: http://www.acgroup.co.yu/counter/counter.php everything is ok as you can see.
but when i include it to this page: http://www.acgroup.co.yu/indexii.php
there are no number even if the path is correct.
Indexii.php is in the root of server and the right menu,where the counter is, is in a subfolder.
if you need more info pls post. thank you.
Patrick
07-19-2007, 12:25 PM
http://www.acgroup.co.yu/counter/counter.php does not show up correctly.
Your absolute path is probably incorrect. Ensure that you are using an absolute path and NOT a relative path or a URL. There is a difference and I have posted how to discover your absolute path at http://www.dev-forums.com/index.php?topic=258.0
nomans
07-20-2007, 09:48 AM
abspath is ok. you can see that when you right click after text "People Online: " and choose properties it shows the right path.
Patrick
07-20-2007, 04:04 PM
This is a similar problem as was posted before ( http://www.dev-forums.com/index.php?topic=177.0 ).
It has to do with the image path and the way your page is setup (as far as paths go). However, it is just easier for me to post an official fix for the problem.
I have attached counter.php file.
Once you make that change, just ensure that your images directory is properly set, such as /counter/images/
nomans
07-21-2007, 02:36 PM
Works fine. Thank you!
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.