Hackfut Security File Manager
Current Path:
/home/u126195517/domains/rddvc.com/public_html/members
home
/
u126195517
/
domains
/
rddvc.com
/
public_html
/
members
/
📁
..
📁
assets
📄
bank.php
(4.65 KB)
📄
bank_form.php
(1.83 KB)
📄
bio.php
(3.01 KB)
📄
bio_form.php
(1.9 KB)
📄
breadcrumb.php
(250 B)
📄
brochure_download_kriya.php
(676 B)
📄
brochures.php
(4.47 KB)
📄
brochures_form.php
(2.54 KB)
📄
change_dvc_color.php
(7.48 KB)
📄
change_dvc_color_form.php
(23.01 KB)
📄
change_dvc_design.php
(2.94 KB)
📄
change_dvc_design_links.php
(2.95 KB)
📄
changepassword.php
(6.39 KB)
📄
changepasswordform.php
(1.89 KB)
📄
counter.php
(1.88 KB)
📄
cover_image.php
(3.05 KB)
📄
cover_image_form.php
(4.58 KB)
📁
cssphp
📄
diamond.php
(23.79 KB)
📄
disp_pln_amt.js
(454 B)
📄
enquiry.php
(4.13 KB)
📄
enquiry_form.php
(837 B)
📄
final_dvc.php
(2.74 KB)
📄
final_dvc_qrlink.php
(3.13 KB)
📄
final_dvc_qrlink_form.php
(6.09 KB)
📄
final_payment.php
(11.18 KB)
📄
final_payment_form.php
(1.52 KB)
📄
footer.php
(312 B)
📄
gallery.php
(2.8 KB)
📄
gallery_form.php
(3.8 KB)
📄
get_discount_rate.php
(1.24 KB)
📄
get_plan_amount.php
(1.05 KB)
📄
gold.php
(15.13 KB)
📄
googlereview.php
(3.04 KB)
📄
googlereview_form.php
(1.99 KB)
📄
header.php
(1.99 KB)
📄
movetop.php
(806 B)
📄
myprofile.php
(3.2 KB)
📄
payment-failed.php
(96 B)
📄
payment-success.php
(1.01 KB)
📄
payment.php
(3.16 KB)
📄
payment_link.php
(6.29 KB)
📄
products.php
(2.81 KB)
📄
products_form.php
(8.18 KB)
📄
profile_form.php
(10.99 KB)
📄
redeemcoupon.js
(1.17 KB)
📄
renewal.php
(6.5 KB)
📄
renewal_form.php
(2.16 KB)
📄
scripts.php
(1.46 KB)
📄
sidebar_diamond.php
(3.18 KB)
📄
sidebar_gold.php
(2.69 KB)
📄
social_links.php
(3.06 KB)
📄
social_links_form.php
(5.84 KB)
📄
statistics.php
(4.31 KB)
📄
tax_info.php
(3.03 KB)
📄
tax_info_form.php
(2.08 KB)
📄
user_forgot_password.php
(3.62 KB)
📄
user_new_password.php
(6.55 KB)
📄
youtube_links.php
(2.81 KB)
📄
youtube_links_form.php
(3.4 KB)
Editing: counter.php
<?php require 'members/rddvcuserdbconfig.php'; $handle = fopen("counter.txt", "r"); if(!$handle) { echo "could not open the file"; } else { $counter=(int )fread($handle,20); fclose($handle); $counter++; $handle= fopen("counter.txt", "w" ) ; fwrite($handle,$counter) ; fclose ($handle) ; $sql = "select * from `rdsvisitor_count`"; try { $stmt = $RDSPPCM->prepare($sql); // execute Query $stmt->execute(); $parinam = $stmt->fetch(PDO::FETCH_ASSOC); if(!empty($parinam['visitor_count'])) { //$oldcount = $parinam['visitor_count']; $newsrno = $parinam['sr_no']; $newcount = $counter; $sql2 = "UPDATE `rdsvisitor_count` SET `visitor_count` = :vcount " . " WHERE sr_no = :srno"; try { $stmt2 = $RDSPPCM->prepare($sql2); // bind the values $stmt2->bindValue(":srno", $newsrno); $stmt2->bindValue(":vcount", $newcount); // execute Query $stmt2->execute(); $result= $stmt2->rowCount(); } catch (Exception $ex) { $_SESSION["errorType"] = "danger"; $_SESSION["errorMsg"] = $ex->getMessage(); } } else { $sql = "INSERT INTO `rdsvisitor_count` (`visitor_count`) VALUES " . "( :vcount)"; try { $stmt = $RDSPPCM->prepare($sql); // bind the values $stmt->bindValue(":vcount", $counter); // execute Query $stmt->execute(); $result = $stmt->rowCount(); } catch (Exception $ex) { $_SESSION["errorType"] = "danger"; $_SESSION["errorMsg"] = $ex->getMessage(); } } } catch (Exception $ex) { $_SESSION["errorType"] = "danger"; $_SESSION["errorMsg"] = $ex->getMessage(); } } ?>
Upload File
Create Folder