This must be on a server running apache/(or whatever web server you want)
php3 is not used too much any more. Nowadays most scripts are just php.
And the server must be configured to interpret scripts with the .php
extension.
And depending upon the server you could probably get away with just the
short tags like <? and ?>
Michael Havens wrote:
> You know, as I was investigatin the web on this I found that PHP and MySQL
> supposedly do a magnificent jobwith data driven websites and I found what I
> hope is a good tutorial on this. I thoutght I might have to Download these
> programs until I investigated /etc and saw they were both there. I put a
> script from the tutorial in there (see 1 below) but when I tried to open the
> file that it was saved as I got a blank screen. Why is this?
>
> Then again, it says, "Now call up the URL, for instance, http://myserver/
> test.php3." but it was just saved as a file. Do I need to save this on a
> server or something?
>
> 1-
> <html>
> <body>
> <?php
> $myvar = "Hello World";
> echo $myvar;
> ?>
> </body>
> </html>
>
>
>
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss