BhaWAP

Started on the old forum in September 2012 · view the original in the archive · old links redirect here

8 replies · 759 views · started 14 years ago · 1 min read

4 participants
zain Junior · 43 posts #1

BhaWAP started over 3 years ago By me just to learn how to code... more like a testing ground, it has since then become one of South africa`s fastest growing wapsite, give it a try and let me know what you think (Help is most welcome) 🙂 alot from there has been taken from Coding-Talk so alot of thanks goes to them and its users. (by the way i have a new testing ground lol) BhaWAP Your Free Mobile Content Provider BhaWAP Your Free Mobile Content Provideryour mobile content provider 😉

ozziemale31 Lead · 861 posts #2

re

zain wrote: BhaWAP started over 3 years ago By me just to learn how to code... more like a testing ground, it has since then become one of South africa`s fastest growing wapsite, give it a try and let me know what you think (Help is most welcome) 🙂 alot from there has been taken from Coding-Talk so alot of thanks goes to them and its users. (by the way i have a new testing ground lol) BhaWAP Your Free Mobile Content Provider BhaWAP Your Free Mobile Content Provideryour mobile content provider ;)

nice site page counters could be a good update nice visitors counter

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

zain Junior · 43 posts #3

ozziemale31 wrote: nice site page counters could be a good update nice visitors counter

page counters? explain more so i can look into it and thanks alot for your input, i have an admin panel i made where i have stats for each page i do have some pages with its own hit counter(example the youtube page) maybe thats what you mean if so then i think you right i have been meaning to add it to all the pages but never got the time lol now that you have brought it up i will start with it

zain Junior · 43 posts #4

song lyrics search engine

also i am looking for a song lyrics search engine that works i am busy coding one but man i am so lazy rite now lol

12345xmen Developer · 239 posts #5

ur site is vurnable to sql injection....................

ur database name : a4228367_bhawap

zain Junior · 43 posts #6

you got my attention now i need your help to fix this gosh

12345xmen Developer · 239 posts #7

soory i dnt knw too much coding........so cant help......take help of any other member of here .....and search in google to remove ur sql vurnablity 🙂

nimeshka Developer · 180 posts #8

zain wrote: you got my attention now i need your help to fix this gosh

It is in your guestbook (The only place where you use a database I think)

filter the user inputs....add this code in your Guestbook.php?Cmd=Sign&Post=True

instead of $_POST['what ever user input']; use mysql_real_escape_string($_POST['what ever user input']);

Note : you need to connect with the mysql before running this

External image (may be gone)

I'm Proud to be a Sri Lankan!

zain Junior · 43 posts #9

form check box error

can you please tell me where i am going wrong on the table? see it does not display corrctly it shows the first message 100% and allows me to tick and delete but the second message is not in the table and even if i tick it and click delete it does not do anything, i think thats part of my problem, how do i make them all show in the table with just one delete button at the bottom, right now there is one delete button next to each message.

	   $Spacing = "					    ";
		    echo $Spacing.'<center>'."\n";
		    echo $Spacing.'<br>'."\n";
		    echo $Spacing.'<table border="0" cellpadding="0" cellspacing="0" style="color: #666;font-size:11px;width:550px;">'."\n";
		    echo $Spacing.'	    <tr height="15" align="left"><td><span class="Form_Title">Guestbook Messages</span><HR width="100%" SIZE="1"></td></tr>'."\n";
		    echo $Spacing.'</table>'."\n";
		    echo $Spacing.'<br>'."\n";
		    echo $Spacing.'<form name="form1" method="post" action="">'."\n";   
		    echo $Spacing.'<table border="0" cellpadding="0" cellspacing="1" style="font-size:9pt;width:450px;">'."\n";
 		    echo $Spacing.'<tr>'."\n";
		    echo $Spacing.'<td>'."\n";
		    echo $Spacing.'<tr style="background-color:#666;color:#FFF;"><td style="background-color:#FFF;color:#FFF;"></td>'."\n"; 
		   echo '<td><b>Delete</b></td>'."\n"; 
		   echo '<td><b>  Date</b></td>'."\n"; 
		   echo '<td><b>  Time</b></td>'."\n"; 
	       echo '<td align="center"><b>Message</b></td>'."\n";
		    echo '</tr>'."\n";
	    
	    if ($RowCnt > 0) {
	    $i = 0;
	    while ($i < $RowCnt) {
		    $Gbk_Id = mysql_result($SqlResult,$i,"Gbk_Id");
		    $Gbk_Date = mysql_result($SqlResult,$i,"Gbk_Date");
		    $Gbk_Time = mysql_result($SqlResult,$i,"Gbk_Time");
		    $Gbk_Name = mysql_result($SqlResult,$i,"Gbk_Name");
		    $Gbk_Message = mysql_result($SqlResult,$i,"Gbk_Message");

		   $Spacing = "						    ";

		    echo $Spacing.'<tr style="background-color:#F5F5F5;color:#666;">';
		    echo '<td></td>';
		    echo '<td><input name="need_delete[]" type="checkbox" id="checkbox'.$Gbk_Id.'" value="'.$Gbk_Id.'"></td>'."\n";		           
		   echo '<td style="width:80px;">  '.$Gbk_Date.'</td>';
		    echo '<td style="width:60px;">  '.$Gbk_Time.'</td>';
		    echo '<td>  <b>'.$Gbk_Name.'</b><br>  '.$Gbk_Message.'</td>';
           echo '<br></table>'."\n"; 
		   echo '<td><input name="delete" type="submit" id="delete" value="" class="Form_Btn_delete"></td>'."\n";  
           echo '</form>'."\n"; 
           echo '</td>'."\n"; 
           echo '</tr>'."\n"; 

		   $i++;

Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close