Top 30 PHP Interview Questions and Answers for beginners and experts.

Question : How can we encrypt password using PHP?
Answer : crypt () function is used to create one way encryption. It takes one input string and one optional parameter.

Question :How to scrape data from website using CURL?
Answer : To scrap the data from website, Website must be public and open for scrapable.
In the blow code, just update the CURLOPT_URL to which websites data you want to scrap.

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress

Translate »