closing your site is a good idea lol
How to secure EJATD29 SC
Collapse
X
-
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
-
Originally posted by subzero View Postclosing your site is a good idea lol
Better study about php 1st before create own wapsite....
With lack of knowledge about php, sql, apache how could you handle ur wapsite...sigpic
Visit my WEBSITE Project: http://www.aspirewap.net
Comment
-
Originally posted by m4ster_v4 View PostYa..... (:
Better study about php 1st before create own wapsite....
With lack of knowledge about php, sql, apache how could you handle ur wapsite...Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
awann
Originally posted by subzero View Postclosing your site is a good idea lol
thnx
Added after 5 minutes:
Originally posted by i0nutzxp View PostFOR SQL INJECTION
$string = $_SERVER['QUERY_STRING'];
in " http://localhost/sql.php?name=stupid...=N&pass=nopass " this will output : name=stupidname&sex=N&pass=nopass then u can clean the url.
//script eg: u can put it in config.php for global efect
PHP Code:<?PHP
$string = $_SERVER['QUERY_STRING'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$badwords = array('perm=', 'validated=','insert%20into', 'select%20'); // etc
$clean_url = str_replace($badwords,'x',strtolower($string));
$clean_agent = str_replace($badwords,'x',strtolower($agent));
if($string != $clean_url || $agent != $clean_agent)
header('Location: injection.php');
?>
The most safe way is u to have 2 hosts: 1. Where you have the script 2. File hoster
In host 1 u need to have only the uploader form and in the 2nd the php script.
In the 2nd u'll output a url that go to the 1st then add it to sql database.
# u cand rename the new file name in somewhat like md5(time().'****off'.sha1(rand(9999,99999))); then u add it to db for validation ...
...
...
..
Originally posted by subzero View PostI agreed, if you wish to learn please learn php,apache,mysql
Added after 3 minutes:
Originally posted by subzero View PostI agreed, if you wish to learn please learn php,apache,mysqlLast edited by awan; 01.02.11, 04:55.
Comment
-
Originally posted by rayjee View PostOther functi0n n0t working if the safe m0de is on...
Added after 6 minutes:
give here your register script....Last edited by ewanz; 07.02.11, 04:24.our lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
Comment