Warning: require() [function.require]: open_basedir restriction in effect. File(/usr/local/php-spez-5.2.17/lib/php/geshi/geshi.php) is not within the allowed path(s): (/usr/local/php/lib/php/:/home/www/:/usr/bin/:/tmp:/usr/local/php52/lib/php/) in /home/www/web25/html/syswiki/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 376
Perl - basic configuration – HS Syswiki

Perl - basic configuration

Aus HS Syswiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error. <syntaxhighlight lang="bash" style="font-size:9pt;"> #!/us…“)
 
Zeile 5: Zeile 5:
 
print "Hello World!\n";
 
print "Hello World!\n";
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Server]]

Version vom 17. Juni 2014, 16:21 Uhr

For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World!\n";
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge