Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 23rd, 2006, 05:50 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
Hiding the url magic

I came across a website that had links to other websites, but if you clicked on them, the url of the orginal website showed only in the address bar. Viewing the source code showed this:
Code:
<HTML><HEAD>
<META NAME="description" content="">
<META NAME="keywords" content="">
<TITLE>www.MyNightOff.com</TITLE>

</HEAD>
<FRAMESET ROWS="100%,*" BORDER="0" FRAMEBORDER="0">
<FRAME SRC="http://www.planpot.net/mynightoff/" SCROLLING="AUTO"
NAME="bannerframe" NORESIZE>
</FRAMESET>
<NOFRAMES>
www.MyNightOff.com
<P>
<DIV ALIGN="CENTER"><A
HREF="http://www.planpot.net/mynightoff/">http://mynightoff.com/</A></DIV>
</NOFRAMES>
</HTML>


Would the url switch happen to be something do with the HREF="http: line? They display the webpage in a frame which would disguise the url anyway. Would anyone know exactly what is happening?

Reply With Quote
  #2  
Old August 24th, 2006, 08:49 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
The status bar usually shows the value of the HREF

Some sites use frames so the URL in the address bar remains the same and short... I've never known a user to leave a page because the address was too long, but maybe I'm not looking at the right research =)

When a site with frames links to another site, by default the page opens in the current frame. The ethical thing to do when using frames is to use target="_top" when you link to an external page.
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #3  
Old September 16th, 2006, 04:33 AM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
On a similar note.....

Another website does this when placing a link to another website. This code I believe, opens up an asp page on their site and calls the external link to be viewed within their page, thus getting the hits registered to them, not to the external website. This is the code of the link:
Code:
http://www.awebsite.com/extern.aspx?src=http://www.anotherwebsite.com


Can I do this in php? Like the use of include $src ; which will open up the variable of value http://www.anotherwebsite.com?

Thanks!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Hiding the url magic


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway