I faithfully (as instucted by my tutorial) added to /etc/apache/httpd.conf the
line 'AddType application/x-httpd-php3 .php3'. Since it has been said that
php3 is not used much could someone tell me what the line should say?
On Monday 12 April 2004 20:16, Patrick Fleming wrote:
> 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
This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spam or viruses.
Please report spam to
spamtrap@vei.net. If you would like 98.9 % spam blocked from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE with every account.
http://www.vei.net/
mailtospamtrap@vei.net
---------------------------------------------------
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