Help with "Notice: Undefined index: title in" Error

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Help with "Notice: Undefined index: title in" Error

Post by seandisanti » Sat Mar 29, 2014 12:59 am

You're assuming there's a 'title' element present in the $_GET array. Also you don't want to do what you're trying to do if that page is going to be visible to anyone but yourself. all someone would have to do is pass a filename through the address bar and they could force your script to process or display files you really don't want them to be able to see.

Post Reply

Who is online

Users browsing this forum: phpnoob and 1 guest