Learn how to code a PHP notification function for use when you need to display success or failiure messages which are set on different pages depending on …

source

12
Leave a Reply

avatar
12 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
yeahrightyoudidBastian WaidelichvkaapaiThe Guru Codergolinmarq Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Tam Crush
Guest

Thx a lot broo…´╗┐

yeahrightyoudid
Guest

actually just figured it out was a dumb question. haha thanks for the great tutorials.´╗┐

Bastian Waidelich
Guest

…and this is how you code an XSS vulnerability. Make sure to sanitize user input!´╗┐

Bastian Waidelich
Guest

I didn't want to rant about your work, but I'm afraid of people using this kind of code in production. Try submitting some javascript code..´╗┐

The Guru Coder
Guest

Sorry the source is no longer available, please just follow the tutorial to code the notification function.´╗┐

The Guru Coder
Guest

Added a link to all the original source´╗┐

vkaapai
Guest

Thanks Guru! For a person just getting their feet wet in PHP, this is really a great introduction!´╗┐

The Guru Coder
Guest

Glad you liked it!´╗┐

golinmarq
Guest

Which app did you use to code?´╗┐

Hayford Okrah
Guest

Great tutorial but cannot unset the session variable.
Please solve that for me. Thanks´╗┐

Hayford Okrah
Guest

Great tutorial but cannot unset the session variable.
Please solve that for me. Thanks´╗┐

yeahrightyoudid
Guest

Hi Excellent tutorials – had a question .
Under the _php/ functions you have made a change to the notify function, which now includes the classes. Not sure what the $karma variable does or how it relates to sessions. Probably a dumb question, but can you provide us dummies an understanding of how this type of notification is set using these new classes? think I have it all backwards.. How do they work ie $karma to $class = 'notification-positive' .. negative and neutral and why do we set them? ´╗┐