No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Howdy heck (was that right? ;) ) I'm Kenley and I've been programming with PHP for.. hmm.. 6 years now? (I'm only 17! :o ) And with MySQL for ~5 years, and I'm STILL learning. I came to this place to start offering some tutorials and stuff (even though I …
Ever feel the default session handling is insecure? Or do you just want some originality to show off? Well, here you are. A custom, MySQL-based session handler. It supports base64_encoding and MySQL storage. Note: I haven't tested this thing in months so I don't know how well it'll work : …
[PHP] $id = $_GET['id']; [/PHP] That's how you get [B]$id[/B] on the following page.
I know exactly what you want and I'm currently working on a tutorial to further explain in detail what one needs to understand/do to create a single file used to load other files, or a page to load other pages for a website. It should be ready by tomorrow night. …
It should be.. [PHP] "<body bg=\"graybg.jpg\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">"; [/PHP] I [B]THINK[/B]. I don't use PHPNuke but it seems you just incorrectly escaped the string.
hmm. sounds to me like a simple include, but that's probably inefficient. [PHP] <?php $pages = "/path/to/pages/"; $default = 1; if(is_file($pages.$_GET['id'].".php")) $p = $_GET['id']; else $p = $default; include $pages.$p.".php"; ?> [/PHP] Just have all your pages as ID numbers.. IE: news page = 3.html But that's really inefficient, and …
Man I've got a lot of learning to do before I can tackle that baby. Everything looks fine until I hit emails and up >_< So I got some work to do.
The End.
kenleycapps