Recent questions and answers in PHP

Ask a Question
0 votes
1 answer 23 views

This is my code: $email= mysqli_real_escape_string($db_con,$_POST['email']); $psw= ... SQL Injection attack or other SQL attacks ?...

–3 votes
0 answers 13 views

Is it possible, in PHP, to flatten a (bi/multi)dimensional array without using recursion or ... in the lines of array_map() and array_values()....

+5 votes
0 answers 9 views

I need to keep a session alive for 30 minutes and then destroy it....

+3 votes
0 answers 13 views

Is there a catchall function somewhere that works well for sanitizing user input for SQL injection ... still allowing certain types of HTML tags?...

0 votes
0 answers 16 views

In my local/development environment, the MySQLi query is performing OK. However, when I upload it on my web ... a non-object in... Here is the code:...

0 votes
0 answers 11 views

How can one parse HTML/XML and extract information from it?...

0 votes
0 answers 18 views

What is this? This is a number of answers about warnings, errors, and notices you might encounter ... explain the solution in a general way to apply....

0 votes
0 answers 11 views

What are the technical reasons for why one shouldn't use mysql_* functions? (e.g. mysql_query(), ... work on my site, why do I get errors like...

0 votes
0 answers 13 views

If user input is inserted without modification into an SQL query, then the application becomes ... SQL injection, like in the following example:...

Help get things started by asking a question.
...