Code:require "file.txt"; &statement;
Have all your statements in the file.
what's the code to include text files in cgi?![]()
best regards,
The pbxanime.com webmaster
Code:require "file.txt"; &statement;
Have all your statements in the file.
or...
open (TEXT,"mytextfile.txt");
print join('<br>', (<TEXT>));
close (TEXT);
the poster formerly known as needcgispace - NOTHING!
Obsidian Hosting Networks - Head Admin - Changing the way you play the game.
URL: http://www.obhost.net/
IRC: irc.gamesurge.net/obhost
thanx i think i will use the second one maybe
best regards,
The pbxanime.com webmaster
MindRash, he wanted to include text files, not subroutines or statements.
dscikate, here's another version:
print "<pre>\n";
open (TEXT,"mytextfile.txt");
for (<TEXT>){
print $_
}
close (TEXT);
print "</pre>\n";
the poster formerly known as needcgispace - NOTHING!
Obsidian Hosting Networks - Head Admin - Changing the way you play the game.
URL: http://www.obhost.net/
IRC: irc.gamesurge.net/obhost
well thanx again i only know how to set up cgi i can't really write it like you guy's
best regards,
The pbxanime.com webmaster
Bookmarks