Jump to content

what's with all of the &'s

Featured Replies

Posted



just wondering.
ya, I have issues when it comes to this stuff. :P

http://forums.invisionpower.com/index.php?app=forums&module=forums&section=markasread&marktype=forum&forumid=298&returntoforumid=298


I'm just wondering why there's so much info in the links. we already know it's a forum. It's not just that link but I've seen it in others. Can't it be simplified to something shorter?


http://forums.invisionpower.com/index.php?cmd=markasread&forumid=298

It's passing different information to the script.

It's how query strings work. Does it actually matter what the URL looks like? Does that impact anything, really?


This tells it where to send you after marking it as read. Again, flexibility.

app=forums&module=forums&section=markasread

This is boilerplate code in 3.0--it tells it what part of the code to actually go to. Every page on the forum has a similar strand, whether you see it or not.


&marktype=forum

This tells it what type of content it's marking as read--I don't know what other possibilities there might be, but it's for flexibility.


&forumid=298

This tells it what forum you're actually marking as read.


&returntoforumid=298

I knew it was script related, I just thought it was saying something like '& include "blahblah.php' too type of thing (not got a bit of code experience in my head :lol: )

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.