Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($isError1) {
- header("HTTP/1.1 415 Unsupported Media Type");
- trigger_error("HTTP/1.1 415 Unsupported Media Type", E_USER_ERROR);
- exit;
- }
- // do sth if not
- if($isError2) {
- header("HTTP/1.1 415 Unsupported Media Type");
- trigger_error("HTTP/1.1 415 Unsupported Media Type", E_USER_ERROR);
- exit;
- }
- // continue action
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement