Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 12-19-2003, 08:23 AM
angelkitten angelkitten is offline
Hatchling Croc
 
Join Date: Dec 2003
Location: Mississauga, Canada
Posts: 10
Default

I set up a subdomain name of http://postcards.angelkitten.com, the dns and stuff are done and the page shows up, but my images are not. My question is this, when a php, or cgi script asks for the path, what do I put, not the full url, but the path like this
/home/username/public_html/now what do I put for the rest of this?, because what I have is NOT working. This is what I have
/home/myusername/public_html/postcards/images (where username I have my username). Any help would be appreciated.
This is for a sub domain, not my real domain.

Thank you!!
__________________
Angelkitten
http://www.angelkitten.com
Reply With Quote
  #2  
Old 12-20-2003, 04:29 AM
sonic sonic is offline
Baby Croc
 
Join Date: Nov 2003
Posts: 96
Default

Quote:
Originally Posted by angelkitten
I set up a subdomain name of http://postcards.angelkitten.com, the dns and stuff are done and the page shows up, but my images are not. My question is this, when a php, or cgi script asks for the path, what do I put, not the full url, but the path like this
/home/username/public_html/now what do I put for the rest of this?, because what I have is NOT working. This is what I have
/home/myusername/public_html/postcards/images (where username I have my username). Any help would be appreciated.
This is for a sub domain, not my real domain.

Thank you!!
I believe that if http://postcards.angelkitten.com is mapped to /home/myusername/public_html/postcards
then you should link to your images like this: <img src="images/image1.jpg">

Hope that helps!
Reply With Quote
  #3  
Old 12-20-2003, 07:31 AM
angelkitten angelkitten is offline
Hatchling Croc
 
Join Date: Dec 2003
Location: Mississauga, Canada
Posts: 10
Default

Thank you for the help. But I figured out what I was doing wrong. I had enabled Hot link, and forgot to add my subdomains. Figured that out after hours upon hours of trying to get it to work.. :|
__________________
Angelkitten
http://www.angelkitten.com
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 06:16 PM.