PDA

View Full Version : Pass me that parameter!


Proximo
January 22nd, 2003, 01:51 PM
Odd question this. I'm just working on modifying a PHP content parser for use in my website, with a view to programming my own, and I'm wondering what the best way to pass parameters is. Should I do it all in the url, like this:

http://www.simpworks.com/fanfiction/index.ctnt?&yabbnum=1032887429&ficname=thing&quotes=1

Or should I do most of it in a file, like this:

http://www.simpworks.com/fanfiction/index.ctnt?&ficname=thing

thing.sum

Some text goes here

<?
$yabbnum = 1032887429;
$quotes= 1;
$review = 0;
?>



Which is better? No, better yet, which would you prefer to use on a website?