The Dink Network

caps lock

December 16th 2005, 06:16 AM
slayer.gif
RANKN67
Peasant He/Him
 
DOES IT MATTER WEN WRITIN A SCRIPT THAT U USE CAPS TO WRITE THE PROCEDURES AND SUCH CUS AS U CAN SEE I LIKE TO TYPE THIS WAY
December 16th 2005, 07:06 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
It does matter. Only constants should be written that way
December 16th 2005, 01:32 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Why would you want to write a script in all caps, anyway? It's annoying as hell as you can see in this post...
December 17th 2005, 02:28 AM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
Remember Shrek when he first saw Farkwards castle?
mm
December 17th 2005, 08:01 PM
slayer.gif
RANKN67
Peasant He/Him
 
IVE SEEN IT MANY TIMES BUT I STILL DONT REMEMBER WAT UR SAYIN
December 17th 2005, 11:36 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
This guy rocks... for at least a few days.
December 18th 2005, 02:21 AM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
IRC, Farkward was a shrimpo with a big castle.

Shrek asked if he was over compensating.

mm.
December 18th 2005, 06:40 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
How hard would it be to let Miasma convert all characters in a post made by someone to lower case?
December 18th 2005, 06:43 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
It'd be easier to make a function that changes all upper-case words of more than n letters in the equivalent in lower-case.

Never mind, I don't want posts like:

HEL LO I LIK E TO TYP E ALL UPP ER CAS E. It's starting to look scarily like a DNA-sequence.
December 18th 2005, 07:07 AM
slayer.gif
RANKN67
Peasant He/Him
 
IF U HAVENT NOTICED I DONT TYPE LIKE THAT
December 18th 2005, 07:19 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
You haven't read my post thoroughly then.

I stated that writing a script (script in this case is a .cgi or a .php script, or even javascript) to change all upper case words larger than n (for example 3) letters to lower case automatically would be easy.

Also it'd be easy to circumvent this by only typing "words" of n (for example 3) letters, like I did.
December 18th 2005, 10:50 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
There is a C function, located in string.h, that converts all the text to lowercase. It's strlwr.
December 18th 2005, 10:54 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
So how are you gonna implement C in php or cgi code? Indeed, so you'll need it in php or cgi
December 18th 2005, 12:35 PM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
I'm just nitpicking, but you can use C for CGI scripts, as long as the server supports it. In fact, CGI is language neutral. It's just a standard for passing data between client and server, IIRC.
December 18th 2005, 01:01 PM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Ok ok, I'm no expert at it It just seems easier to write some code in php or cgi itself compared to using code from other languages
December 19th 2005, 12:27 AM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
It must be nice to have power.
Rankin has been repaired.

While
Redink Gave an awesome reply.

mm
*Edited to make the links more appealing.

December 19th 2005, 01:34 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
So how are you gonna implement C in php or cgi code? Indeed, so you'll need it in php or cgi.
I'm just learning C and I know a bit of HTML. I have no ideea how php and cgi works.
December 19th 2005, 03:24 PM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
I'm just learning C and I know a bit of HTML. I have no ideea how php and cgi works.

Well, as you can see by Phoenix's reply, I'm no expert at it either But I just reasoned that it would be easier to write it in php/cgi directly, as that would be more obvious.
December 19th 2005, 04:11 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Beh, I could write php code for it, but as Phoenix says, cgi apparently isn't a language. It's more of a standard to run other-language scripts/programs via a web browser. I believe this site is written in Perl, stored in .cgi scripts and made executable that way.
December 19th 2005, 11:32 PM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
C for cgi

I would assume that any scripting language could be used to create a cgi compliant script, and elsewhere on this site they include VB, not just VBscript.

I suppose Perl is a frequent choice because Unix/Linux are popular for Server implementations. It is often already available on ISP Web Servers, and you just need them to turn it on for your site.

My 2p,
mm.
December 21st 2005, 01:24 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
I know how to write that function in C, so Simeon was probably right, it's easier to write that function in cgi/php than make C work in web pages.
December 22nd 2005, 11:56 PM
dinkdead.gif
millimeter
Peasant He/Him Canada
Millimeter is Wee-Lamm, Recording Artist. :-) 
Having taken a second look, why not accomplish the whole thing in your CSS Stylesheet?

text-transform : [none|capitalize|uppercase|lowercase};

mm