Recent questions tagged php

Ask a Question
+1 vote
2 answers 26 views

How do you convert a string such as 2009-05-08 14:40:52,531 into a DateTime?...

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()....

+1 vote
0 answers 20 views

I want to pass JavaScript variables to PHP using a hidden input in a form. But I can't get ... ; Code for displaying the query result. </table>...

+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 8 views

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried ... server, running MySQL 5, PHP, 5 and Apache 2....

0 votes
0 answers 29 views

When running my script, I am getting several errors like this: Warning: Cannot modify header information - ... reason for this? And how to fix it?...

0 votes
0 answers 8 views

I've tried creating a simple mail form. The form itself is on my index.html page, but it submits to ... but never sends an email. How can I fix this?...

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:...

To see more, click for the full list of questions or popular tags.
...