![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| JavaScript JavaScript are you needing help with functions in your script, free help is offered here for all JavaScript problems so if you have an JavaScript error in your code just ask. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Folks, I'm trying to use a text counter called be_counter that requires this line in my code: <SCRIPT SRC="/cgi-bin/be_counter.cgi?mode=nossi"></SCRIPT> If I add: ;file=index to the above script a page named index.ctr is created and the count is pulled from there. If I add: ;file=about to the above script a page named about.ctr is created, and so on. This works just fine for one page but a website I've got uses templates and I need to find a way to have the default script create an individually named file for each page the script is on which means it needs to be able to grab the filename of the current page and pass that onto the CGI in place of ;file= Is there a way I can alter the script above to include the name of the current page so that one script will work on the site? Thanks, Jeff | |||
|
| Advertisements |
| | #2 | ||
| V.I.P. Member Join Date: Apr 2007
Posts: 13
My Photos: (0)
iTrader: (0) Banked: MK Cash: $0.00 I am Worth: MK Cash: $0.23 Donate Recent Blog: Interview Tips ![]() ![]() | Do you want to capture file name in browser location bar (www.yoursite.com/about.php)? if yes than use window.href | ||
| | |
| | #4 | ||
| MK PitStop Member | If your site has a footer.php file then put it in the footer and make every page refer to the footer for the code. | ||
| | |
| Featured Websites | ||||
|
![]() |
| Tags: counter, getting, names, page, script |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with script conflict (Two scripts on one page) | P Wolpert | JavaScript | 0 | 07-01-2007 5:38 PM |
| REQ: Anyone know where I can find a "Today In History" php script for my web page? | Dan | PHP | 0 | 07-01-2007 5:26 PM |
| counter | [XaToA] | PHP | 1 | 07-01-2007 5:07 PM |
| counter reload | Richard Summers | PHP | 3 | 07-01-2007 3:38 PM |
| counter help . | spot516 | Gaming Questions | 2 | 11-04-2006 3:47 PM |
| Featured Websites | ||||
|