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

2001-09-03 Thread Michelle Marcicki
Hi there, I have recently taken over the webmaster responsibility for an educational 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, resource sites, manuals and documentation, but all

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

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

2001-09-03 Thread Jason Murray
now, freak later! -Original Message- From: Michelle Marcicki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Newbie Question: Converting PHP3 files to PHP4? Hi there, I have recently taken over the webmaster

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

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

2001-09-03 Thread Michelle Marcicki
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: Converting PHP3 files to PHP4? Just

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 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

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

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