Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attention PHP Coding Gurus
#4
(2013-11-13, 11:51:56)saint Wrote: "http://www.mydomain.com/music.php?song_title,youtube_id"

That would be dangerous - anyone could create a link to display any youtube video with any title in your site.

I'd rather use only one id parameter and have a list of id's and titles stored in an array, file or something, and only allow those.
Reply


Messages In This Thread
Attention PHP Coding Gurus - by saint - 2013-11-13, 11:51:56
RE: Attention PHP Coding Gurus - by datiswous - 2013-11-14, 10:20:04
RE: Attention PHP Coding Gurus - by saint - 2013-11-14, 15:19:22
RE: Attention PHP Coding Gurus - by datiswous - 2013-11-15, 09:25:24
RE: Attention PHP Coding Gurus - by saint - 2013-11-15, 10:59:39
RE: Attention PHP Coding Gurus - by Carlos - 2013-11-14, 16:40:14
RE: Attention PHP Coding Gurus - by shawn_a - 2013-11-16, 00:09:57
RE: Attention PHP Coding Gurus - by saint - 2013-11-20, 12:55:48



Users browsing this thread: 1 Guest(s)