Hello!
I'm developing a webpage that will commence a download file process when visited.
Then will automatically redirect to another page.
I've tried using the following code below, but it doesn't work. It only redirects to another page without downloading the file.
Please does anyone know a better way to accomplish both?
Kindly respond, thnaks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="rhapsody of relaities, daily, daily devotional, Christ Embassy, mobile downloads, ebook readers, ios, android, devotional, christian, gospel, pastor chris,pastor, chris, free download, Channel, TV, pastor chris teaching, atmosphere for miracles, special videos, faith speaks"/>
<title>Hello!</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
= 'July-2013.pdf'='.basename($file));
header('