HTML <a href> question?

smokey joe

New member
I'm trying to link files from my computer to a locally hosted apache server, something like this.

<?php

$conn = mysql_connect($dbhost,$dbuser,$dbpass) or die ('Error connecting to mysql');
?>
<BODY BACKGROUND="drive\folder\picture.jpg">
<a href="movie_file.avi">Movie Name</a>
<a href="file:///drive:/folder/movie_file2.avi">Movie Name2</a>
</BODY>
...

movie_file.avi being in the same folder as my php file and movie_file2.avi being in a different folder.

movie_file.avi is working properly but movie_file2.avi does not


Any suggestions? Thanks in advance.
sorry it should say

Name2

NOT

Something weird happened with last addition. J I used your code and have a list of links on the page now but nothing happens when I click any of them. Do I need to put the movie folder in the folder that my php files are in?

The reason I didn't simply place all my videos in that file was that I was hoping to be able to use the movies on my external hard drive / network with this.

Someone please let me know if this is not possible.

Again, thanks much in advance.
 
Back
Top