Search found 6 matches

by OliverWeitman
Sat Jul 18, 2015 1:29 am
Forum: PHP & MySQL Security
Topic: prevent sql injection for $_GET values
Replies: 0
Views: 3157

Re: prevent sql injection for $_GET values

Try this <html> <head> <title>intval</title> </head> <body> <a href="intval.php?cid=<?php echo urlencode(5); ?>">link cid</a> <a href="intval.php?sid=<?php echo urlencode(2); ?>">link sid</a> <a href="intval.php?pid=<?php echo urlencode(3); ?>">link pid</a> </body> </html> <?php function cleanInput(...
by OliverWeitman
Fri Jul 17, 2015 1:23 pm
Forum: PHP & MySQL Security
Topic: Function to protect your code from injections (easy to use)
Replies: 2
Views: 2313

Re: Function to protect your code from injections (easy to use)

Well learn some better PHP and get your function work ;). You could of course add some functions as htmlspecial chars and run variable through it after my function
by OliverWeitman
Fri Jul 17, 2015 9:55 am
Forum: PHP & MySQL Security
Topic: Function to protect your code from injections (easy to use)
Replies: 2
Views: 2313

Function to protect your code from injections (easy to use)

Hey guys I want to share a function to clear everything harmful someone can write in to your textfields and areas. *NOTE: FOR MYSQLI!* For example I save two variables that I will call $username $password First step: Add this before you are inserting this variable to a database or using any sql conn...
by OliverWeitman
Fri Jul 17, 2015 9:45 am
Forum: PHP coding => General
Topic: Explaination of code
Replies: 2
Views: 1059

Re: Explaination of code

Don't ever write with mysql again. Learn mysqli and I can give you a function that filters away everything harmful and you will be safe forever
by OliverWeitman
Fri Jul 17, 2015 9:18 am
Forum: PHP Jobs
Topic: PHP Developer looking for job
Replies: 0
Views: 1207

PHP Developer looking for job

Hello my name is Oliver and I am an experienced PHP developer. Well design is not my best part of programming but I can get some things pretty good sometimes. A website I made is http://refrich.com you can take a look at it but I have done many more complexed things than that. My experience: 2 years...
by OliverWeitman
Fri Jul 17, 2015 9:10 am
Forum: PHP coding => General
Topic: Best editor for PHP
Replies: 212
Views: 200366

Re: Best editor for PHP

I use textmate. It rocks!