Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
91 views

PHP login codes suggestions

Now i have a fully functional PHP codes for login and registeration i was wondering if anyone could offer improvements to the code The code: Config.php: ...
Bebo's user avatar
  • 47
0 votes
1 answer
182 views

Follow up to Validation Script in PHP

So I've implemented the suggestions in Original question And now my code looks like this: ...
Bebo's user avatar
  • 47
-3 votes
1 answer
112 views

Preventing PHP SQL injection on login [closed]

I had a login code like this: ...
Bazim's user avatar
  • 17
-1 votes
2 answers
152 views

My Script Inserts users into a database and hashes the password, I need to know how to prevent SQL injection with Procedural-Oriented MySQLi [closed]

My script works but I just want to know how I can protect myself from SQL injection with Procedural Oriented MySQLi. Most of the tutorials are about Object-Oriented MySQLi and I'm not familiar with it ...
Pal Dhillon's user avatar
0 votes
1 answer
788 views

Recieving an XSS Injection: <script>alert('xssvuln');</script>

I would very much appreciate it if someone could review the php script below for any security risks. I have a live website using shared hosting. There's a page that accepts text submissions from users....
user avatar
3 votes
1 answer
717 views

Sanitizing user form input in php

Security threats in mind: SQL Injections!!! --- Solutions: Prepared Statements (PDO) and including $bpdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); in ...
user avatar
3 votes
3 answers
350 views

Email Validation in PHP

Is this script sufficient enough to validate user email input? ...
user avatar
2 votes
1 answer
144 views

Does this PDO process look protected from SQL injection?

Does this process look protected from SQL injection attacks? Is there something I could possibly change to make it more protected? ...
John Beasley's user avatar
4 votes
1 answer
97 views

Displaying a user's uploaded posts

I'm working on prepared statements for my website and I'm wondering if it's possible to have multiple prepared statements one after another. In this example, I have 2 select statements. I'm hoping ...
Cole's user avatar
  • 43
1 vote
1 answer
592 views

PHP MySQLi Prepared Statements: Can this select query be hacked/injected?

i want to know can this be hacked/injected? ...
Ingus's user avatar
  • 215
1 vote
1 answer
103 views

PHP code for search page

Want to show you part of code that I wrote to process search request. User commit search by articles (codes) of products. The goal is to allow user write his search request to textarea element in any ...
EmberSpirit's user avatar
3 votes
1 answer
2k views

PHP code to insert phone number and IP address into a table if not already present

I am currently coding a PHP script that connects to a database and inserts a phone number and IP address if either item is not present in the table. I believe I have completed it and it is working but ...
Paul Hashmi's user avatar
3 votes
4 answers
2k views

storing data about available RPG games

I have been developing a little, private Blog Site to make notes/ stories of pen and paper RPG games available for my players and me. This is my first project. As I am new to coding in PHP and MySQL I'...
chainsaw42's user avatar
2 votes
2 answers
147 views

Is this a 100% safe from SQL Injection and will work correctly for any input? [closed]

...
Steve143's user avatar
3 votes
1 answer
93 views

Showing all records on a webpage

I have a connection with my database to show all my records on a webpage, and I'm not sure if this code is safe: ...
Susi's user avatar
  • 63

15 30 50 per page
1
2 3 4 5