Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 10-26-2009, 03:11 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 17,315
BMR777 is on a distinguished road
Default RE: Breeding

Don't forget to secure your variables. Anything coming in from the user needs to be secured, otherwise your site can easily be hacked.

For:

PHP Code:
$femaleid $_POST['female'];
$maleid $_POST['male'];
$breed $_POST['breed']; 
I recommend:

PHP Code:
$femaleid $_POST['female'];
$maleid $_POST['male'];
$breed $_POST['breed'];

$femaleid secure($femaleid);
$maleid secure($maleid);
$breed secure($breed); 
That will run the built in security on the variables before you use them in the database. Without this your site can be hacked by someone entering in malicious data. :)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breeding Bug? Need help :) Missy Master Questions and Supports 7 08-14-2014 02:29 PM
Breeding help SilverDragonTears Questions and Supports 0 04-12-2012 11:41 PM
Random breeding outcome/ rare breeding SilverDragonTears Questions and Supports 0 03-25-2012 02:33 AM
breeding Ruffsta Feedback and Suggestions 3 06-06-2011 04:09 PM
No breeding RoconzaArt Questions and Supports 15 01-24-2011 02:48 PM


All times are GMT -5. The time now is 08:14 PM.

Currently Active Users: 3273 (0 members and 3273 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636