Topic: I'm new, dutch and have a question (Read 2450 times)
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
What is in a name?
« on: Jul 29, 2007, 10:40:35 pm »
Hello,
My website is www.englandspiel.eu On that site I try to use count_visitor_statistics what I found on Internet. Everything is working exept the graphic "lines" in count_visitor_class.php. I don't have much experience with js, try and error is one possebility.
What to change?
Thanks in advance Adri
Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« Reply #1 on: Jul 29, 2007, 10:47:43 pm »
Where did you get the count_visitor_class.php Adri?
This is where the IMG will be "draw" $month_tbl .= " <td align=\"center\" valign=\"bottom\"><img src=\"".IMG."\" width=\"10\" height=\"".round($height, 0)."\"></td>\n";
The result in source is: <td align="center" valign="bottom"><img src="blok.png" width="10" height="4"></td>
In config.php is written: define ("IMG", "blok.png"); // change this constant to use dif. image/path
I have put in every directory that picture
I'm using Opera and see nothing, in IE I see only an empty "picture".
Hope is there!! Adri
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #5 on: Jul 29, 2007, 11:51:44 pm »
you need to change the path for the image (or check if the file is in the same map than the script)
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
What is in a name?
« Reply #6 on: Jul 30, 2007, 09:44:59 am »
Thanks Olaf,
I was thinking also that that should solve the problem. For that reason I put in every directory that picture. I my case blok.png, because I thought may be it may not have a number (1) in the name and also I though "px" is used in HTML. In the source file when I read it from the brouwser the right picture is given. I made a small HTML example and I get the picture (blok.png). So that is real.
I also found a discussion between you and Nikolas called: "passing values from html/js to remote php script". The date 23 and 24 of July 2006. The answer is to complex for me to understand now. I have to get more experience. Solve that the problem and can you tell me what where to put.
Thanks in advance, Adri
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #7 on: Jul 30, 2007, 10:47:30 am »
if you start using all files in the same folder it should work, don't forget to use the latest version:
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
What is in a name?
« Reply #9 on: Aug 12, 2007, 10:52:10 am »
Hi Olaf, Back from a short break. Let be honnest, I was making a very simple mistake. I tried it first on a white page with a lightblue block. In the program I made the bgcolor the same. Isn't stupid?
What did you mean with: "check the three links on this page http://www.englandspiel.eu/"? I use in PHP an includefile for the menu because of the language. Explain me more or where can I find more about this "problem"?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
Hi Olaf, Back from a short break. Let be honnest, I was making a very simple mistake. I tried it first on a white page with a lightblue block. In the program I made the bgcolor the same. Isn't stupid?
What did you mean with: "check the three links on this page http://www.englandspiel.eu/"? I use in PHP an includefile for the menu because of the language. Explain me more or where can I find more about this "problem"?