Tuesday, August 3, 2010

Wap Vote Script

Wap Vote Script
=========================================

Wap Vote Script Code

vote.php

Code:
";
if(empty($vote) && empty($result)) {
print "

Submit Your Votes Here !
Hows This Site ?


+ Vote



+
+ View Votes


 
+

?Back
? GAGGU


";
}

if(!empty($vote)) {
if(@$vote == "") {
print "

You Are Not Voted !
? GAGGU";
}
if(empty($_SESSION)) {
$_SESSION['username'] = $vote;
if($vote == "1") {
$file = fopen("vote.dat", "r+");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$ot1++;
$zapis = "$ot1|$ot2|$ot3|$ot4|$ot5";
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
if($file) {
fputs($file, $zapis);
}
print "

Thanks For Your Vote ! Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


?Back
? GAGGU";
}
if($vote == "2") {
$file = fopen("vote.dat", "r+");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$ot2++;
$zapis = "$ot1|$ot2|$ot3|$ot4|$ot5";
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
if($file) {
fputs($file, $zapis);
}
print "

Thanks For Your Vote ! Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


?Back
? GAGGU";
}
if($vote == "3") {
$file = fopen("vote.dat", "r+");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$ot3++;
$zapis = "$ot1|$ot2|$ot3|$ot4|$ot5";
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
if($file) {
fputs($file, $zapis);
}
print "

Thanks For Your Vote ! Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


?Back
? GAGGU";
}
if($vote == "4") {
$file = fopen("vote.dat", "r+");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$ot4++;
$zapis = "$ot1|$ot2|$ot3|$ot4|$ot5";
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
if($file) {
fputs($file, $zapis);
}
print "

Thanks For Your Vote ! Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


?Back
? GAGGU";
}
if($vote == "5") {
$file = fopen("vote.dat", "r+");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$ot5++;
$zapis = "$ot1|$ot2|$ot3|$ot4|$ot5";
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
if($file) {
fputs($file, $zapis);
}
print "

Thanks For Your Vote ! Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


?Back
? GAGGU";
}
} else {
print "

You Are Already Voted !";
}
}
if(!empty($result)) {
$file = fopen("vote.dat", "r");
$data = file("vote.dat");
list($ot1,$ot2,$ot3,$ot4,$ot5) = explode("|", $data[0]);
$summa = $ot1+$ot2+$ot3+$ot4+$ot5;
print "

Total Votes Are = $summa

Votes List

$otv1 - $ot1 Votes

$otv2 - $ot2 Votes

$otv3 - $ot3 Votes

$otv4 - $ot4 Votes

$otv5 - $ot5 Votes


Back
GAGGU";
svote.php
Code:
vote.dat
Code:
0|0|0|0|0
if nt working chmod vote.dat into 777....

=========================================
wap email scripts
=========================================

Enjoy Some EMail Sender PHP Codes Here...

This Is For Send Email To Admin..

emailadmin.php
Code:
"; ?>

            

SEND A E-MAIL TO ADMIN ! YOUR NAME: YOUR EMAIL: MESSAGE: SEND NOW "> ? GaGGu
useful for send error report

report.php
Code:
"; ?>

            

SEND ANY ERROR REPORT TO ADMIN !
WHERE YOU GET ERROR HERE! Please Enter Your Name: Please Enter Your Email: (It's important that we keep your contact, in case we need more information and to let you know after we fix the problem) Describe exactly what happen,Which Error You Get: SEND NOW "> ? GaGGu
free email sender

mail.php
Code:


'; if($send){ if(preg_match("([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})",$to)&&preg_match("([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})",$from)){ $body = htmlspecialchars($body); $gesendet = mail("$to", "$subject", "$body FREE SEND EMAIL SERVICE --------------------------------------------------- This mail is Wirelessly sent by a: $HTTP_USER_AGENT $REMOTE_ADDR at: $date through http://you.com... --------------------------------------------------- Please note that you.com has no control over the contents of this message. ---------------------------------------------------", "From: $from"); if($gesendet)print "Email has been sent to $to "; else print "Error, email not send! "; }else{print "Wrong adresses in From:/To: fields! ";} } print 'New Message. From: To: Subject: Mailbody: Send > '; print ' --- #&169; GaGGu
'; ?>

No comments:

Post a Comment