-
Posts
604 -
Joined
Everything posted by thara
-
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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); -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
script work in the first time. after that it is not working... -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
yes dear, I did exactly as you said.. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
that code pinch also same to earlier one... <?php if (!isset( $_POST[ 'submitted5' ])) { $expire=time()-60*60*24*30; setcookie("downloaded", "",$expire); } ?> -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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) -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
second code is not working. there is a error when I open the page -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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.. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
Ok. dear thank you very much.. I have changed the signature -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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...????? -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
sorry sorry my dear. I will change it. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
This is my download.php page [attachment deleted by admin] -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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.. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
thanks.. then how can i destroy the session -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
Thanks Dear... Can I use session for my download page without login system. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
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. -
Can I Cancel A Form Automatically After Successfully Submitted.
thara replied to thara's topic in PHP Coding Help
If I don't use session.. is there any way to do it? -
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....
-
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]
-
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]