Help with designing a website.

BoomAM

Diamond Member
Sep 25, 2001
4,546
0
0
Hi,
I was wondering, if i wanted to place a link to a file, say a driver, or a picture, on my website, how would i do it?
Would i upload the file to my webspace, and then make a link on one of the pages to the the file? If so how would that work?

Thanks in advance.
 

GtPrOjEcTX

Lifer
Jul 3, 2001
10,784
6
81
yup, upload the file, then link to it. pretty darn easy.

<a href="filename.drv">DOWNLOAD IT</a>

make sure you have the correct path in the filename though, ex. <a href="images/picture.jpg">DOWNLOAD IT</a>
 

theNEOone

Diamond Member
Apr 22, 2001
5,745
3
81
yah. like he said.

just remember if it's an image file, chances are iexplorer will be able to open it just fine, and people browsing your site will see the image. but if it's another format, i.e. *.zip, *.exe, etc. then iexplorer will just open a dialog box asking the user if he/she wants to download the file.
 

BoomAM

Diamond Member
Sep 25, 2001
4,546
0
0
so for the link, say if i was to make in in ms pub, would read, "/foldername/filename.exe"
 

RossMAN

Grand Nagus
Feb 24, 2000
78,794
266
116
First you need to upload the file from your PC to the website using an FTP client.

If you're using Dixiesys as a webhost make sure ALL your files go into the httpdocs directory.

If you're using another webhost who has cPanel put ALL your files into the public_html or www directory.

Then you'll just need a link to the file would be http://www.yourdomain.com/filename.ext

Remember everything is case sensitive so picture.jpg and picture.JPG are not the same.
 

RossMAN

Grand Nagus
Feb 24, 2000
78,794
266
116
Originally posted by: theNEOone
also try giving files simple names w/ no spaces.

Yep file names with no spaces eithertogetherlikethis or together_like_this or make them short like carmix.mp3
 

BoomAM

Diamond Member
Sep 25, 2001
4,546
0
0
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.
 

RossMAN

Grand Nagus
Feb 24, 2000
78,794
266
116
Originally posted by: BoomAM
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.

Congrats!

Now you just need to get an index.html or index.htm page :)
 

Placer14

Platinum Member
Sep 17, 2001
2,225
0
0
Originally posted by: RossMAN
Originally posted by: BoomAM
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.

Congrats!

Now you just need to get an index.html or index.htm page :)

Quit acting like you're so smart all the time. :p :) You make the rest of us look bad.
 

RossMAN

Grand Nagus
Feb 24, 2000
78,794
266
116
Originally posted by: Placer14
Originally posted by: RossMAN
Originally posted by: BoomAM
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.

Congrats!

Now you just need to get an index.html or index.htm page :)

Quit acting like you're so smart all the time. :p :) You make the rest of us look bad.

That's kinda difficult considering you know more than I do esp about HTML, PHP, etc. :p
 

Placer14

Platinum Member
Sep 17, 2001
2,225
0
0
Originally posted by: RossMAN
Originally posted by: Placer14
Originally posted by: RossMAN
Originally posted by: BoomAM
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.

Congrats!

Now you just need to get an index.html or index.htm page :)

Quit acting like you're so smart all the time. :p :) You make the rest of us look bad.

That's kinda difficult considering you know more than I do esp about HTML, PHP, etc. :p

I don't know what you're talking about. I know how to turn the computer on and play my computer games, but that's about it. :)
 

rh71

No Lifer
Aug 28, 2001
52,853
1,048
126
Originally posted by: RossMAN
Remember everything is case sensitive so picture.jpg and picture.JPG are not the same.
Not always true. ;)
 

BoomAM

Diamond Member
Sep 25, 2001
4,546
0
0
Originally posted by: RossMAN
Originally posted by: BoomAM
Result!!!
Got it working using the above method.
Ignore the semi link above.
Click on the "My Website" part of the webpage, and on the main page, there a download for a small 200kb mp3 file. Download it, its amazingly funny.
Its from Peter Kays Phoenix Nights Season 2.

Congrats!

Now you just need to get an index.html or index.htm page :)
I already have one. The website address is in a link in my sig.
 

Placer14

Platinum Member
Sep 17, 2001
2,225
0
0
Originally posted by: rh71
Originally posted by: RossMAN
Remember everything is case sensitive so picture.jpg and picture.JPG are not the same.
Not always true. ;)

True. It's dependant on the OS of the server. *nix servers are almost always case sensitive unless that was specifically turned off with the web server (and a majority of the time, it usually is because internet users are dumb). And I don't think i've ever come accross an MS server where it was case sensitive.