PHP Help - Delete cookies and redirect back to referrer

I was wondering if any one would be willing to help me with this.

I'd like to create a 503 error page using a PHP script that will do the following:

  • delete all cookies that contains 'something' in the host and 'JSESSIONID' as the cookie name. There are either 1 or 2 cookies that each user will have.
  • redirect them to the referrer that sent them to this php script in the first place.