Runescape Bits & Bytes
https://www.rsbandb.com/forums/

Help with a PHP script
https://www.rsbandb.com/forums/viewtopic.php?f=27&t=292
Page 1 of 1

Author:  PHP Coder [ October 25th, 2004, 6:20 pm ]
Post subject:  Help with a PHP script

I am learning PHP and have written a PHP script that creates a dynamic image, but I want it to be able to be accessed like your dynamic sig. Currently, you have to type
http://www.host.com/img/image.php?name=NAME

to create the image. How would you make it so you can just access it by

http://www.host.com/img/image.php?NAME
or
http://www.host.com/img/image.php/NAME

Author:  Adbot [ October 25th, 2004, 6:20 pm ]
Post subject:  Register and login to get these in-post ads to disappear


Author:  Mike [ October 25th, 2004, 8:12 pm ]
Post subject: 

Well obviously im not just gonna tell you flat out how to do it, but it uses the REQUEST_URI in the server commands and string functions to get the name if you know how to do that.

And I thought guest posting was disabled....

Author:  PHP Coder [ October 25th, 2004, 8:22 pm ]
Post subject: 

Thx! It works now!

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/