Yuri_orlov Posted April 12, 2008 Posted April 12, 2008 ok i got tired of having to add the garbage at the top of every file when i wanted to create a new one so i consolidated and made something im sure a few of you can use create a file called standards.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then to write a new page all you have to do is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. obviously you need to put each page into the case statement and create a function for each type of transfer and universal things that you need to add to each page, but im sure by now you got the idea of what you can do with this. Quote
Magictallguy Posted August 8, 2008 Posted August 8, 2008 Re: Simplify for V1 (and make it easier to use V2 mods) I put You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. into a file called v1.php I created another file called status.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then just include v1.php in every file (or leave as it is..) and include status.php in whichever files you want. Or you could change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. into You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and include into the files you don't want your users to get into while in jail/hospital A slightly longer way, but it works for me! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.