homepage Welcome to WebmasterWorld Guest from 54.166.105.24
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
workaround to ; separator in url?
Xuefer

10+ Year Member



 
Msg#: 9641 posted 7:05 am on Feb 9, 2005 (gmt 0)

i'm using ; instead of & for query string separator.
a.php?id=1;a=2;b=4

this works fine until i use meta refereh
<meta http-equiv="Refresh" content="{$delay}; URL={$url}" />

e.g.:
<meta http-equiv="Refresh" content="3; URL=http://domain.com/a.php?id=1;a=2;b=4" />

only [domain.com...] is used to refresh

browser: ie6xpsp2
any idea?

 

adb64

10+ Year Member



 
Msg#: 9641 posted 7:34 am on Feb 9, 2005 (gmt 0)

Try using %3B instead of ;

Regards,
Arjan

Hester

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 9641 posted 8:53 am on Feb 9, 2005 (gmt 0)

Why not use &? If you need it in the variables, then use another character and replace it afterwards. BTW, I have a method on my website that takes the whole variables as one string. Makes for easier use of characters, plus you don't need to specify the names, just the values.

Xuefer

10+ Year Member



 
Msg#: 9641 posted 9:51 am on Feb 9, 2005 (gmt 0)

using %3B makes:
"id=1;a=2;b" = 4
not "id" = 1 and "a" = 2 and "b" = 4

using & in html should be written as "&amp;" which is troublesome

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved