Davey
02-23-2003, 05:30 PM
I'm trying to come up with a hack where if the action is invalid, it reports an error (template: error_invalidaction).
It works fine, except I've only done it for member.php.
So if you go to:
member.php?s=&action=getinfo&userid=1
This will work. However:
member.php?s=&action=blahblah
This will give a blank page. I'm trying to make it report the error_invalidaction template. And I have got it working fine, too.
Trouble is, look at the amount of files there are to hack!
I don't fancy making instructions to add that bit of code to the necessarry place of each and every file, and I'm positive people wouldn't want to edit each and every file just to install this hack.
There must be an easier way to place it in each file, no?
Dave.
It works fine, except I've only done it for member.php.
So if you go to:
member.php?s=&action=getinfo&userid=1
This will work. However:
member.php?s=&action=blahblah
This will give a blank page. I'm trying to make it report the error_invalidaction template. And I have got it working fine, too.
Trouble is, look at the amount of files there are to hack!
I don't fancy making instructions to add that bit of code to the necessarry place of each and every file, and I'm positive people wouldn't want to edit each and every file just to install this hack.
There must be an easier way to place it in each file, no?
Dave.