Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Help! can some1 knows why?
Old 08-13-2007, 08:41 AM Help! can some1 knows why?
Experienced Talker

Posts: 37
Trades: 0
i have this pic in my Home page it works fine with Internet Explorer but when i open the site with Firefox something got added to the url and doesnt shot the pic, this is the code on my php script:


echo '<img src="\images/clanfiles/suzerged7.jpg" width="600" height="450">';


When i right click the pic and go to properties to see the location of the pic says this: www.mysite.com/%5Cimages/clanfiles/suzerged7.jpg

if u see the url the %5 got added to the url when i open the site in firefox and the address should be like this
www.mysite.com/images/clanfiles/suzerged7.jpg
thats what i got when i open the site in Internext explorer.

Jesus so weird its driving me crazy, pls any idea whats happening???
vanhell06 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-13-2007, 08:52 AM Re: Help! can some1 knows why?
dlaroche22's Avatar
Skilled Talker

Posts: 84
Name: Dustin Laroche
Trades: 0
I'm not too familiar with how PHP uses paths to resources, but I would try changing your code from:

PHP Code:
echo '<img src="\images/clanfiles/suzerged7.jpg" width="600" height="450">'
To something like this to change your backslash to a front slash like a normal URL would require:

PHP Code:
echo '<img src="/images/clanfiles/suzerged7.jpg" width="600" height="450">'
Let me know if it works.
dlaroche22 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2007, 08:55 AM Re: Help! can some1 knows why?
Experienced Talker

Posts: 37
Trades: 0
YAY!!!!!!! yeah man it worked thank you so much
vanhell06 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2007, 08:59 AM Re: Help! can some1 knows why?
dlaroche22's Avatar
Skilled Talker

Posts: 84
Name: Dustin Laroche
Trades: 0
Some talkuptation would be greatly appreciated for my hard work.
dlaroche22 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2007, 09:04 AM Re: Help! can some1 knows why?
Experienced Talker

Posts: 37
Trades: 0
i DID already ^_^
vanhell06 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2007, 09:05 AM Re: Help! can some1 knows why?
dlaroche22's Avatar
Skilled Talker

Posts: 84
Name: Dustin Laroche
Trades: 0
Thanks and glad to help!!!
dlaroche22 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help! can some1 knows why?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24892 seconds with 12 queries