PHP Interview Questions for PHP Candidates
good interview question.I want some more interview question which i can read quicky at interview time
What is SQL injection? Is the following query vulnerable to SQL injection:mysql_query("SELECT name FROM info WHERE id='".$_POST['id']."'") If yes how would you correct it? If no how can you make it vulnerable?
Write a PHP page, which will accept input url in a form and on submitting and extract all the images of that url and will display them.For e.g. if the url is http://www.yahoo.com, then it will fetch www.yahoo.com and will display all the images on this page. (Hint use curl)
Hey Mandeep!I think you can find out more php interview questions from,http://www.phpinterviewquestions.comBest of luck with your interviewcheers!
Is there anyone know about good resources/tutorials for PHP imagick extension?
please provide more Questions
Post a Comment
6 comments:
good interview question.I want some more interview question which i can read quicky at interview time
What is SQL injection? Is the following query vulnerable to SQL injection:
mysql_query("SELECT name FROM info WHERE id='".$_POST['id']."'")
If yes how would you correct it? If no how can you make it vulnerable?
Write a PHP page, which will accept input url in a form and on submitting and extract all the images of that url and will display them.
For e.g. if the url is http://www.yahoo.com, then it will fetch www.yahoo.com and will display all the images on this page. (Hint use curl)
Hey Mandeep!
I think you can find out more php interview questions from,
http://www.phpinterviewquestions.com
Best of luck with your interview
cheers!
Is there anyone know about good resources/tutorials for PHP imagick extension?
please provide more Questions
Post a Comment