Quote:
Originally Posted by Nookster
You really should sanatize your variables man. With the way it is there if I were a spammer I could use your script as my own redirect tool. And now that I think of it, using header like that to redirect complete url's is kinda dumb. Make a database hold the urls you want to use then call them by id.  See sig for example.
|
hi, i'm not a programmer, i was just coming up with a simple solution to a problem i had. when you say sanatize the urls do you mean by using urlencode like the others were saying?
regarding using an id to call the url's, that's a good idea, but i'm using autoblogger to post to blogs and this relates to my sourcelinks on the blog posts, and i can't edit the autoblogger code. this was my only solution i could think of for the particular problem i had.