ID:276358
 
_>
I would know how to do this in DM, but not in CSS/Java/HTML/WYNTDI(whatever-you-need-to-do-it).
DM version:
if(address==iphere)
verbs+=/post/verb/addpost

But how would I add an "Add Post" function at the top of the page in CSS if the viewer's IP is equal to a value I put, and clicking it would add a post to the "content" div?
Thanks for reading,
~Yeller
You'd need to use some kind of dynamic content generator. PHP is popular, but any language that can be used for CGI scripts (the technical name) will do. Common choices include PHP (free and popular), DMCGI (TEH AWESOME, but not widely supported), Python (my second favourite to DMCGI), Perl (if you can wrap your head around its crazy syntax), C/C++ (if you're feeling masochistic)... but the list goes on (and on and on and on).

Your choice of language will probably be restricted most by what your website provider supports. Usually this is PHP or nothing.
In response to Crispy
Okay, I'll go google some tutorials on it. Thanks, Cryspi. =p
In response to Ol' Yeller
I edited my post with a bit more info. =)
In response to Crispy
DMCGI is sadly not one of my options, or else I would've had this done by now. =p I'll check out Perl, thanks for all the help, Cryspi. <3
In response to Ol' Yeller
Ol' Yeller wrote:
DMCGI is sadly not one of my options, or else I would've had this done by now. =p I'll check out Perl, thanks for all the help, Cryspi. <3

I'd personally check out something other than Perl. It's quite possible to have ascii art as a Perl program's source code, and have it work, too. :P
In response to Jon88
Jon88 wrote:
I'd personally check out something other than Perl.

Me too. Specifically, I would check out Python. It's not too hard to pick up once you've learned DM, it's a powerful language, and most importantly, it's fun to program in. =)