Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > Script Languages

Script Languages Perl/PHP/Python/Ruby so on and so forth.

Reply
 
Thread Tools Display Modes
Old 12-04-2005, 05:08 PM   #1 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,294
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default PHP: URL Masking; how to?

If my url redirection setup redirects (URL1) http://xibalba.vorspire.com to (URL2) http://www.vorspire.com/xibalba/index.php how can i keep the integrity of the original URL1, or replace URL 2 with URL 1 when the page is displayed?
__________________

RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard
Vorspire is offline   Reply With Quote
Old 12-04-2005, 08:03 PM   #2 (permalink)
Newbie
 
Join Date: Oct 2004
Location: Charleston, SC
Age: 27
Posts: 37
Send a message via ICQ to LightShade Send a message via AIM to LightShade
Question Not sure if this is it...

Not sure if this is what you're looking for, but here's a good start...

LINK
LightShade is offline   Reply With Quote
Old 12-17-2005, 11:47 PM   #3 (permalink)
 
Join Date: Dec 2005
Location: Montreal
Age: 23
Posts: 3
Default

the easiest way is to use Frames that will call your PHP page

You can use only one frame width = * and height = * and all your anchors target the actual frame.
p4tRi0t3 is offline   Reply With Quote
Old 12-20-2005, 03:07 PM   #4 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,832
Default

send a Location header, usually the browser keeps displaying the only address in the bar but displays the new page....

Code:
<? header( "Location: the real url" ); ?>
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 01-21-2006, 01:56 PM   #5 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,422
Default

Quote:
Originally Posted by p4tRi0t3
the easiest way is to use Frames that will call your PHP page

You can use only one frame width = * and height = * and all your anchors target the actual frame.
It's easy enough to get the address from a frame...right-click> properties.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5