Remove parameters from url in PHP

In case you have a url and you want to remove all parameters from it use this:

This regex directive means – replace everything

Read more

What page did the user come from?

If you wish to know what page was the previous page the visitor visited prior to this page you can use:

I’m using this

Read more

HTML and Plain text emails

Read more