Web Hosting Talk







View Full Version : Question on php and jpgs, gifs


southernlady
02-18-2005, 09:39 AM
I am trying to upload a gif to my website. I am able to use html coding in this and this is what I have:

<A HREF=><img src="Freeware.gif"> Graphics by Decent Downloads</A> Logo on this page courtesy of Decent Downloads<br><br>

I uploaded the image to the server. And I still get a broken link. You can't check it out yet since we haven't published the page. We are still working on this in the *back* room. But I'm wondering, is there something I'm not doing right. Now, I'm using 1&1 eShops. "1&1 Shop Professional " and that may be where the problem is.

If anyone can help, I would appreciate it. Liz

zupanm
02-18-2005, 11:14 AM
its probably permissions problem on the directory you are uploading to. FOr now try to chmod 777 it

southernlady
02-18-2005, 10:14 PM
FOr now try to chmod 777 it

zupanm, I have no clue what that is, can you explain it? Liz

krumms
02-18-2005, 10:38 PM
zupanm, I have no clue what that is, can you explain it? Liz


'chmod' is a unix command. '777' means "give read/write and execute access to everybody who wants it". This only applies to unix servers, obviously.

If you have CPanel, you can set these permissions from within your file manager. Otherwise, you'll have to use the command line or change the directory permissions in some other manner.

southernlady
02-18-2005, 10:54 PM
In other words, I can't do it cause I don't have the access to do it. Liz

Nullified
02-18-2005, 10:57 PM
Make sure the picture you uploaded is in the same directory as the file that contains the above code snippet. Also make sure that you uploaded the pic with a capital F. linux is case sensative. I highly doubt this is a permission error (99.9% sure).

southernlady
02-18-2005, 11:06 PM
Also make sure that you uploaded the pic with a capital F

This part, I'm sure of! I've written enough html, hand coding to remember THAT part, LOL.

Make sure the picture you uploaded is in the same directory as the file that contains the above code snippet.

As to the other, I'm not sure of a blasted thing!!! But I will see if I can figure it out. Liz