Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jack Sasportas
One thing I noticed when I did some updates to a few of our programs, is that certain comment lines caused strange errors, and really nothing else. I basically made a backup copy removed comments, and then added them back in which made everything work...not sure if somehow the older box ( using pi

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
> OOOH ... Nasty! If the admin can't add the .php3 extension > for you, then you'll be stuck renaming files, and correcting > references within them. Shouldn't be hard to add either way :) > If it's a unix host, it's not that painful ... just a small > shell script, and a sed script. (In Il

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > I am NOT running the server. I am using a local ISP (excellent guy but not > really accessible on this long weekend), so I have no control over what the OOOH ... Nasty! If the admin can't add the .php3 extension for you, then you'll be stuck renami

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
> OR is there only a server fix and nothing that I can do at my > end as far as code or file name changes? Changing all your file names and links in the files is very time-consuming and not really necessary. If you can wait until tomorrow morning, the change that the guy who runs the server can

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Michelle Marcicki
er fix and nothing that I can do at my end as far as code or file name changes? Michelle -Original Message- From: Rasmus Lerdorf <[EMAIL PROTECTED]> To: Michelle Marcicki <[EMAIL PROTECTED]> Date: Mon, 3 Sep 2001 20:15:30 -0700 (PDT) Subject: Re: [PHP] Newbie Question: Convert

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Rasmus Lerdorf
Just configure your server to serve up .php3 files as PHP 4. ie. add this line to your httpd.conf file: AddType application/x-httpd-php .php .php3 And get rid of your other AddType line. -Rasmus On Mon, 3 Sep 2001, Michelle Marcicki wrote: > Hi there, > > I have recently taken over the webma

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
Just fiddle the configuration of the server so that it recognises .php3 files as if they were .php. In Apache, this means you find this line in the config: AddType application/x-httpd-php .php And add one just like it nearby: AddType application/x-httpd-php .php3 Also, fiddle the Director

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > website. It is using PHP3 and MySQL. We had to move it to a new server, that > as it turns out only supports PHP4. I have been looking through all the FAQs, Are you running an Apache web server? If so, add this line to your httpd.conf file and r