Track Server With A Php Variable

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXIAH.com » Suggestions » Track server with a php variable
Track server with a php variable
 Ragnarok.Tubbers
Offline
サーバ: Ragnarok
Game: FFXI
user: Tubbers
Posts: 2
By Ragnarok.Tubbers 2008-10-19 01:08:36  
Right now the server is tracked via a cookie, is it possible to easily add in tracking via a php variable? (Maybe this already exists, I'm not sure) Then absolute links etc. wouldn't point to the wrong servers.

Example:

Currently:
http://www.ffxiah.com/item.php?id=90 refers to Rusty bucket on the server your cookie points to
http://www.ffxiah.com/item.php?id=90&server=Ragnarok would refer to Rusty bucket on Ragnarok.

Edit: You could of course just use and id to/instead, like &serverid=1 or whatever.

If no server is specified then the default should fill in to the server stored in your cookie. Hopefully that makes sense!
 Ifrit.Andromida
Offline
サーバ: Ifrit
Game: FFXI
user: Andromida
Posts: 2
By Ifrit.Andromida 2008-10-19 17:01:58  
Actually the server is selected by an ID number (if you look at the server drop down list you can see the ID numbers for the server). In your request you could query
http://www.ffxiah.com/item.php?id=90&sid=20
for a Rusty Bucket on Rangnarok or
http://www.ffxiah.com/item.php?id=90&sid=13
for Ifrit and so on
 Ragnarok.Tubbers
Offline
サーバ: Ragnarok
Game: FFXI
user: Tubbers
Posts: 2
By Ragnarok.Tubbers 2008-10-20 03:02:51  
Ah silly me so it was there the whole time, this is just what I was hoping for. Thanks a lot!