Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Madlib
Topic Started: Oct 30 2009, 10:24 PM (95 Views)
dZ
Member
[ *  * ]
Just a code I made for Computer Networking at the CACC. Originally our Madlibz were made as Shell Scripts for Linux, but when we added PHP to our Apache servers, I recoded it into PHP and HTML, because Madlibs are $##*in' awesome! (Just FYI, my webserver is a bit over 3gb at school. =p We have a lot of &#^^ on there - And I mean MINE, not everyone combined)

Preview
Shell Script Version
Code
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
Is there a particular reason you keep opening and closing the PHP tags? Seems you could save a ton of space by just adding variables inline

(ala): echo "words words words words" . $_GET["noun3"] . "words words words";
Online Profile Quote Post Goto Top
 
dZ
Member
[ *  * ]
Das
Oct 31 2009, 02:40 AM
Is there a particular reason you keep opening and closing the PHP tags? Seems you could save a ton of space by just adding variables inline

(ala): echo "words words words words" . $_GET["noun3"] . "words words words";
I kept getting an error at school with the PHP tags like that. It was a server thing over there. I didn't feel like redoing it just for show at home, though. =p
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Programming and Scripting Chat · Next Topic »
Add Reply