Jump to content

thara

Members
  • Posts

    604
  • Joined

Everything posted by thara

  1. I used this code if( isset( $_POST ['download'] ) && isset( $_POST ['download'] ) == 'Download' && !isset($_COOKIE["downloaded"])) { $expire=time()+60*60*24*30; setcookie("downloaded", "yes", $expire);
  2. script work in the first time. after that it is not working...
  3. that code pinch also same to earlier one... <?php if (!isset( $_POST[ 'submitted5' ])) { $expire=time()-60*60*24*30; setcookie("downloaded", "",$expire); } ?>
  4. I delete cookies manually from the browser and run page again then it worked first time and came the earlier problem again. (I used your first code pinch)
  5. second code is not working. there is a error when I open the page
  6. your first code working in first time browser load the page. after that it is not working. that download box never come again to download a song.
  7. I replaced the coding as u said then that box disappeared from the page. Now when I click the download button to download a song that box is not display again. now it is never come. without that box we cant download a song. Now my download counting also not working... actually I need to do is that download box display once and after download a song it should be disappear... Thanks again for your time..
  8. Ok. dear thank you very much.. I have changed the signature
  9. Did you see my page? My problem is users click on download button a download box will display to download the songs. no problem it is ok. but problem is even after download the song that box still remaining on the page. when user refresh the page that box also display on the page then my downloaded amount also increment by 1. It is reason to insert false data in to my database. It is better if i can it disappear on the page when a user click on refresh button.. Is it possible to fix that problem...?????
  10. This is my download.php page [attachment deleted by admin]
  11. Sorry dear for your time to this... Im newcomer to php and i dont have much more experience in the subject. tell me, can i use those both function in my download.php page to disappear the download box on download page? If can I do it so my problem will solve for ever. Do you need to see my php script? thanks in advance for your help..
  12. Thanks Dear... Can I use session for my download page without login system.
  13. I use a form to download button in the download page and when user click on that button the form has been submitted and display the download box on the same page. (download.php). after submitted the form it is display as long as the page open. I need to close it when a user click on browser's refresh button. that mean page should redirect to the download page.
  14. Hi.. all I have a problem in my web site. There I have created a page call download.php and using it users can download song. I used a form to download button to display download box. after users click on download link i need to cancel it on that page. that mean I want to disappear it on download.php page. now when i click on browser's refresh button that download box still display on page. so any body can i help me to do it.. http://www.mist.lk/d...ad.php?index=52 thanks in advance for any help....
  15. thanks dear... is there any way to count only finished downloads amount????
  16. hi... Im developing a web site to store a audio and video songs and it enable to download the songs for users. most of features I have finished at the moment. I need to count download users amount in a song and also need to count how many users view it only. actually I dont have any idea to do it using php. so anyone can me give any idea how to do it. thanks in advance for your help.... [attachment deleted by admin]
  17. hi... Im developing a web site to store a audio and video songs and it enable to download the songs for users. most of features I have finished at the moment. I need to count download users amount in a song and also need to count how many users view it only. actually I dont have any idea to do it using php. so anyone can me give any idea how to do it. thanks in advance for your help.... actually im try to do similar this http://www.music.lk/....php?index=5938 please give me any idea to do it.. thanks again.... [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.