

Header("Content-Transfer-Encoding: binary") Header("Content-Disposition: attachment filename=\"$fileName\"") Header("Content-Description: File Transfer") Finding file extension from the mime type This is the standard force download process in PHP.

This script is responsible for the force download of the file to your computer or mobile.

You may have noticed there is a page called downloader.php in the above script. How to download the video using the link? The below code will show you how to display the YouTube download links in a tabular format, with quality and type. Finally, we confirm the POST method and fetch the results from the class methods. $error = "Please enter a YouTube video URL" Ībove script, we include the class file, which is the core of this application. If(!empty($info) & $info = 'ok' & strtolower($IsPlayable) = 'ok') ->url $IsPlayable = $playabilityJson->playabilityStatus->status $adaptiveFormats = $playabilityJson->streamingData->adaptiveFormats

I just want that a browser window opens, and the URL with email-ID is opened.YouTube is the most popular video-sharing platform in the world. Can you give me an example, how i can get a button in the new outlook which does exactly the same as the vba script? Unfortunately i have heard thath with the new web based outlook, vba addons are no longer supported. Set Selection = currentExplorer.SelectionĬreateObject("Wscript.Shell").Run "https:\\\.php?email_id=" & email_id Set currentExplorer = Application.ActiveExplorer The PHP script then pulls the Email-details from Exchange-Server and processes them. At the moment i use a VBA macro which is triggered in Microsoft Outlook ("old" offline version) and pushes the EntryID of the currently selected Email to a php-script.
