This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $URL = "mailto:?subject=Is this a test message!"; | |
| $url_var = $URL; | |
| //explode it and if it has a '?' it means it must have URL Parameters | |
| if(count($mail_split = explode('?', $URL))>1) | |
| { | |
| //if for some reason there's more than one '?' then we'll just add the exploded parts to the second part | |
| $mail_params = $mail_split[1]; | |
| for($i=2; $i<count($mail_split); $i++) |
NewerOlder