Search:

Type: Posts; User: Beverleyh; Keyword(s):

Search: Search took 0.02 seconds.

  1. I wouldn't say it's generally a bad idea to parse...

    I wouldn't say it's generally a bad idea to parse PHP in HTML. It makes the server work a little harder, yes, and it may create a bit of confusion with the organisation of files if somebody is...
  2. Depending on what your web host allows, you might...

    Depending on what your web host allows, you might be able to use .htaccess to parse PHP in HTML pages. Try these http://deano.me/2015/12/php-inside-html-files-using-htaccess/

    Hope that helps
  3. For reference, here is the updated complete PHP...

    For reference, here is the updated complete PHP code plus download pack. http://www.dynamicdrive.com/forums/entry.php?322-Click-Counter-with-Flat-File-Storage-(text-file)-AJAX-amp-PHP

    However,...
  4. $download is the variable which stores the...

    $download is the variable which stores the downloadable file (ie the zip file in my example), so that at the end of the script, after all the count logging is done, the file is downloaded. The...
  5. Are you sure you mean bbcode? Bbcode is a special...

    Are you sure you mean bbcode? Bbcode is a special markup used to format text in forum posts.

    More info here http://en.m.wikipedia.org/wiki/BBCode

    Please provide more information about...
  6. Sorry, I have no idea as I've never needed to set...

    Sorry, I have no idea as I've never needed to set one up for public display. You would need to look through a few scripts from the listing - maybe try/setup a few demos and read their documentation...
  7. Yes, just setup a php and txt file per download. ...

    Yes, just setup a php and txt file per download.

    counter1.php, counter2.php, counter3.php, etc
    counter1.txt, counter2.txt, counter3.txt, etc

    If you want to track lots of downloads though,...
  8. 1 - Put the following code into a file called...

    1 - Put the following code into a file called "counter.php";
    <?php

    $counter = 'path/to/counter.txt'; // text file to store download count - create manually and put a 0 (zero) in it to begin the...
Results 1 to 8 of 8