Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Php Question
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rjisinspired
Posted: Oct 14 2012, 06:11 PM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



I have been feverishly looking around on how to show hits on a web page. I have written code for detecting and outputting the hit results to a plain text file but I cannot for the life of me get the output to the actual web page itself.

I have used the include statements in the html where the number of hits should be shown but it isn't visible. There are only a few tutorials online that give examples but none have worked so far.

The hits are detected when downloading of a file through it's link through the use of the "header" statement to direct the hit to the file download and not the page.

If anyone knows of a site or a page that explains how this all works or what I'm doing wrong please let me know. Technically what I have written, in my mind, "should work" but it isn't.

Thanks.
 
       Top
phaeron
Posted: Oct 21 2012, 08:53 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



If you're trying to use server-side includes, you may need a different extension on the HTML file for the server to process the includes, such as .shtml.
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
1 replies since Oct 14 2012, 06:11 PM Track this topic | Email this topic | Print this topic

<< Back to Off-Topic