Logo
Advertisement

Bulletin Board

Posts by GuitarBoy
> >>
Avatar
GuitarBoy (175)
In Points System PHP, MYSQL
25 Apr 2013 21:19
The distinguished lilwayne1556 spake:
The distinguished GuitarBoy spake:
<?
$points=$_GET['points'];
if(is_int($points)){
mysqli_query($CONNECTION,"UPDATE `users` SET `points`=`points`+$points WHERE `username`='Ricky'");
mysqli_close($CONNECTION);
}
?>

That's pretty good.


Eh. It's better to have the points script be a variable than GET since someone could just find the file and set the value for it. Unless you have some check before hand.


lol $_GET IS a variable.

If you're not comfortable with that, then just use $_POST
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In Points System PHP, MYSQL
25 Apr 2013 19:44
<?
$points=$_GET['points'];
if(is_int($points)){
mysqli_query($CONNECTION,"UPDATE `users` SET `points`=`points`+$points WHERE `username`='Ricky'");
mysqli_close($CONNECTION);
}
?>

That's pretty good.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In Points System PHP, MYSQL
23 Apr 2013 20:40
The distinguished lilwayne1556 spake:
The distinguished MARIOman55 spake:
guys its so simple...
"points inserter page"

$points_given=$_GET["pts"];
$points=mysql_query("SELECT * FROM (table) WHERE (username)='(users username)'");
$record=mysql_fetch_array($points);
$points2add=$record["pts"]+$points_given;
$apply=mysql_query("UPDATE (table) SET pts='".$points2add."' WHERE (username)='(username)'");

walla there. easy peasy.


Mysql_* is deprecated. Use either mysqli or PDO. Also you didn't filter out the $points_given varible so you're open for SQLi


-like-
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
07 Apr 2013 20:46
Step 1: Log in to Cu.be

Step 2: Click here.

Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
16 Mar 2013 05:55
>Is working on SocialCu.be competitor, SNet.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
14 Mar 2013 19:32
The distinguished bloodofgore spake:
The distinguished AnthonyDK spake:
Alright, and the list is:

*drum roll*

Limxzero, JSA, GuitarBoy, and bloodofgore.


If you want to be a mod, just prove you're worthy once we release and maybe you will get the chance later.


I like you.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
14 Mar 2013 17:59
The distinguished jsa005 spake:
The distinguished GuitarBoy spake:
The distinguished AnthonyDK spake:We're trying to decide a release date right now. I'll post it when we have it.

Cn i b moderater?

No, really. I've owned my own site before (DSVille Lite), and I still get positive comments on it to this day.
STAHP. GB MAED URL DSVL.T15.ORG?


...Yes?
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
14 Mar 2013 08:18
The distinguished jsa005 spake:
The distinguished GuitarBoy spake:
The distinguished AnthonyDK spake:We're trying to decide a release date right now. I'll post it when we have it.

Cn i b moderater?

No, really. I've owned my own site before (DSVille Lite), and I still get positive comments on it to this day.
STAHP. GB = Large Marge?


Large Marge? I don't remember who that is, but I've heard that name before. No, I am not them.

o.o?
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
13 Mar 2013 20:51
The distinguished AnthonyDK spake:
We're trying to decide a release date right now. I'll post it when we have it.


Cn i b moderater?

No, really. I've owned my own site before (DSVille Lite), and I still get positive comments on it to this day.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
13 Mar 2013 18:01
The distinguished AnthonyDK spake:
The distinguished AnthonyDK spake:
As far as beta goes, we've decided to just let the mods on first, a few days before release.


Goody goodies.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
13 Mar 2013 02:55
The distinguished GuitarBoy spake:
The distinguished AnthonyDK spake:
Alright, and the list is:

*drum roll*

CJ101, Umer936, Shadow~Fall, and Limxzero.


If you want to be a mod, just prove you're worthy once we release and maybe you will get the chance later.


Kk bb. <img src="/chatrooms/smilies/alien4.gif" alt="">


Can I be a beta tester too? :0 T_T
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
13 Mar 2013 00:54
The distinguished AnthonyDK spake:
Alright, and the list is:

*drum roll*

CJ101, Umer936, Shadow~Fall, and Limxzero.


If you want to be a mod, just prove you're worthy once we release and maybe you will get the chance later.


Kk bb.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In Website Help (WiiU)
03 Mar 2013 23:57
content="width=device-width" formats a web page's width for ALL devices--it's cross compatible.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
03 Mar 2013 08:41
I was just talking to .:A-MAN:. two days ago, and he was working on the forums. >.>
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In SocialCu.be! - A New Leader In Nintendo Handheld Websites
03 Mar 2013 00:17
What?

Maleck, the site will be coming out in the next few weeks.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In Website Help (WiiU)
02 Mar 2013 19:44
The distinguished Chanishyy spake:
Right now people are working on adding Wii-U format into their sites it's pretty simple don't you have to change the DSi width code (delete it) and put the Wii-U?


No. You can still use content="width=device-width" for your pages. content="width=device-width" works to format for the DSi and 3DS and vice versa, also computers. It formats the width for the specific device, not just 1.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In JSiVi Official Thread
26 Feb 2013 02:54
GAAAAAAAAAAAAAAY. .-.

But srsly, dat doesn't sound good.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In NintendOS - An Online OS For the DSi and 3DS
24 Feb 2013 22:27


Donate Internets out of the kindness of your heart, and I promise to make NinOS the best it can be!!!
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In go to dsiplusplus.wapka.mobi
24 Feb 2013 22:24
Wapka is like pot--people think it's okay to use it, but when you do you just get an altered reality. Wapka sucks, and there's no changing it.
Success today, greatness tomorrow.
Avatar
GuitarBoy (175)
In [color=red]NEW!!![/color]Dsi[color=green]Sims[/color]
24 Feb 2013 22:21
You really should have a link posted and ready before you start a thread.

/facepalm
Success today, greatness tomorrow.
> >>
Home Bulletin Boards Home
Wii, Nintendo DS, Nintendo DSi are ™ Nintendo Co. Ltd. Opera is a product of Opera Software ASA. This website is ©2009-2012 Daniel Gump. All rights reserved. Members are responsible for their own content. No account information will be given to third-parties.