Category: PHP

0

How to get user ip address in symfony2 controller?

Get user ip address in symfony2 controller In symfony2 controller we can get user ip address by request service. Following is statement to get ip address. Share this…FacebookPinterestTwitterLinkedinTumblr

Install imagick php extension 0

How to hide notices and warnings in php?

You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site, I added following code in index.php file and it works. Share this…FacebookPinterestTwitterLinkedinTumblr

0

Run custom query in symfony 1.2 with propel

Sometimes we require to execute complex query in symfony 1.2 with propel. For this following code can be used. $rowObj will have result of your given query. You can check it via var_dump or...