Extreme Newbie Question

From: Date: Fri, 15 Sep 2000 21:17:11 +0000
Subject: Extreme Newbie Question
Groups: php.general 
Request: Send a blank email to php-general+get-16987@lists.php.net to get a copy of this message
howdy all, i requested the FAQ and was told it wasn't available, so i'm gonna resort to bothering the list :-( i've been doing web design and c programming on and off for quite a while, so i'm only a newbie to PHP :-) i'm trying to verify that PHP is functional on my new hosting service's server and have been failing miserably. i've named the file .phtml but everything i've tried has given me a: Premature end of script headers: <path to file> the entire file is: <html> <head> <title>Doug's PHP test page</title> </head> <body> <p>this might actually show up...</p> <?php echo "if you want to serve XML documents, do like this\n"; ?> </body> </html> is there something else i need to specify to invoke PHP? this example is pretty much straight from the PHP docs on the PHP web site. i'm wondering if perhaps no one has tested PHP on the particular server my domain is being hosted on and have asked this of their tech support. tips, corrections, and web liks appreciated. thanx. doug. Doug Greenwald Unix and Internet Geek fsgreen@gwis.com Amateur Photographer http://w3.gwis.com/~fsgreen Official Procrastinator I shall meet all of my deadlines directly in proportion to the amount of bodily injury I could expect to receive from missing them.

« previous php.general (#16987) next »