headfallingoff Posted August 13, 2015 Share Posted August 13, 2015 Hello guys,I am using a php code to check for unseen mails every second or so (using a refresh function), and when I do receive a new email, the content of this email I can also retrieve and pass on a url from this content to a php variable ($url).Now, I want this system to automatically open a new tab in the browser, when the new email is opened and the $url retrieved. Not only that. I also need the url of the new tab to correspond to $url.Finally, I also need a second tab to be opened automatically. On this tab I will refer to an existing url (sound.php) from my own website. On this page I need to play a sound on page load (alarm.wav). In Firefox nonetheless.This is meant to be an alert system to minimize the amount of time used to access the emailed url. I have tried with different solutions from stackoverflow.com, but failed to pass on the php variable to the java script opening the tab, and also, did not succeed with the sound playing in Firefox.Thank you in advance! Quote Link to comment Share on other sites More sharing options...
scootstah Posted August 13, 2015 Share Posted August 13, 2015 Please post the code that you are having trouble with. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.