Форумы / Cotonti / Support / A Couple Qustions

Kilandor
#12230 08.05.2009 07:48
well you would be almost correct

See it redirects you to message.php

So if you took the above code and put it in message.php similar to user.php it would work however you don't need all that if all you would need is this...

if($_GET['msg'] == 118)
{
	define('SED_AUTH', TRUE);
}
That should work, just a note, you don't have to quote numbers :) if thats all there is in it ex 118, but strings have to be quoted ex '118b' Just a small tip though in most cases it wouldn't ever make a difference.