Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode v2] User Comments

 

Sorry Wicked, but the basic code allows Javascript, and that allows users to put HTML / Redirects onto their profile. So you can set it up to redirect you to another website.

Simple fix..

htmlspecialchars()

 

No site is (ever) secured enough

Well

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Is secure :roll:

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Guest Anonymous
Posted

Re: [mccode v2] User Comments

 

Sorry Wicked, but the basic code allows Javascript, and that allows users to put HTML / Redirects onto their profile. So you can set it up to redirect you to another website.

Simple fix..

htmlspecialchars()

 

No site is (ever) secured enough

Well

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Is secure :roll:

Not really, the server may not be hardened, therefore they could overwrite the file?

Posted

Re: [mccode v2] User Comments

 

Well i'm not really talking about insecure servers...

actually im sure echo could be tampered with somehow lol get Nyna and give her 2 years...

She'll figure out something like the quote says

Nothing is 100% secure

  • 10 months later...
Posted

mysql_query("INSERT INTO ucomments VALUES ('',unix_timestamp(),$userid,$to,'$message',0)");

 

ucomments is the table he's calling

Make the database yourself :D

ID int 11

time int 11

userid int 11

to user id int11

message varchar 255

something else int 11

Posted

[mysql]CREATE TABLE `ucomments` (

`id` int(11) NOT NULL auto_increment,

`time` int(11) NOT NULL default '0',

`userfrom` int(11) NOT NULL default '0',

`userto` int(11) NOT NULL default '0',

`message` text NOT NULL,

`reported` int(11) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=MyISAM ;[/mysql]

Open viewuser.php and find (This is if you are using the standard Mccodes V2 viewuser.php)

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then add comments.php =]

Posted
I coded a comment system for CrimGame within 10 minutes so im it's not really worth 5 bucks if you can code.
IF you can code ;) Not everyone can xD

If they can't code, then that's their problem - they should learn!

Posted
I coded a comment system for CrimGame within 10 minutes so im it's not really worth 5 bucks if you can code.
IF you can code ;) Not everyone can xD

If they can't code, then that's their problem - they should learn!

^so bloody true

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...