Log In · Register

 
 
Closed TopicStart new topic
a box that shows the code?
Tomates
post Sep 21 2008, 09:07 PM
Post #1


poison
*******

Group: Official Member
Posts: 4,806
Joined: Mar 2008
Member No: 629,020



What is the code that people use for W4W stuff?
I cant remeber what it is.
It was like <textarea > or something like that.

Does anyone know what im talking about?
 
Marlons
post Sep 21 2008, 10:58 PM
Post #2


Thread Killer
******

Group: Staff Alumni
Posts: 1,012
Joined: Jun 2007
Member No: 530,544



Yeah you had it right. Just type that in. I think if you add something like this to your coding the boxes will be preset each time you type a textarea code.
CODE
.textarea {background-color: ###; background-image: "URL"; font-family:arial; color:ffffff; border:3px; rows="10" cols="20"
 
Splek
post Sep 22 2008, 07:13 AM
Post #3


Count Splek, Charming Fiend!
*****

Group: Member
Posts: 333
Joined: Jun 2008
Member No: 658,428



CODE
<textarea>TEXT</textarea>
 
Tomates
post Sep 22 2008, 04:26 PM
Post #4


poison
*******

Group: Official Member
Posts: 4,806
Joined: Mar 2008
Member No: 629,020



I think Splek you got it right

Its like the type that you can put html in it and it allows the html to show up instead of a picture or whatever.
 
mipadi
post Sep 22 2008, 11:24 PM
Post #5


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



I took this one step further! Here's a script that shows itself in a text box!

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>
    <title>Self</title>
</head>

<body>
    
    <textarea cols="80" rows="30"><?php
        $fh = fopen($_SERVER['SCRIPT_FILENAME'], "r");
        if ($fh) {
            while (!feof($fh)) {
                $c = fread($fh, 1);
                echo htmlspecialchars($c, ENT_QUOTES);
            }
        }
        fclose($fh);
    ?></textarea>
    
</body>

</html>


Amazing!
 
Blaqheartedstar
post Sep 27 2008, 03:34 AM
Post #6


Two can keep a secret if one of them is dead.
******

Group: Staff Alumni
Posts: 2,682
Joined: Jun 2005
Member No: 156,187



^amazing.
umm
CODE
<xmp>TEXT</xmp>

like a text box just without the box
 
manny-the-dino
post Apr 2 2010, 01:00 PM
Post #7


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed, and Moved to Resolved Topics. Please PM a moderator if you would like this reopened.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: