Re: [PHP] newbie migration issues

2001-04-23 Thread Jack Dempsey

S.J.

Basic syntax that you would be using in things like counters,
statistics, date and time functions hasn't changed much at all...I don't
have personal experience with php3, but i know that the developers of
php4 have tried hard to make php4 very compatible with php3...i'm sure
you'll get an e-mail in a second from several others saying the same
thingas far as security issues, that's not very descriptive, so its
hard to understand exactly what's happening...explain what you're doing
better and you'll get a more helpful response...

all the best,
jack

S.J. Black wrote:
 
 Hi, all -
 
 Hoping someone can help me with this..I have a client who has a webiste
 with a number of  php3 scripts in it, and we're having a spate of
 problems relating to migration to php4.
 
 1) I need to know what needs to be done to convert php3 scripts to be
 compatible with php4.
These are scripts largely to do with counters, statistics, date 
 time functions, and thelike. What needs to be done to their
 extensions as well?
 
 2) Not having access to that info at the time, we decided to go back to
 php3 - and then ran into a host of security issues re visibility of
 the html directory. The requisite
libraries were there, apache was configured to work with php3, and so
 forth. If anyone
can explain how security issues arose, and give me some faint clue as
 to how to prevent
that from ever happening again,I will try to send maple syrup. 8)
 
 3) Can anyone begin to explain the rationale for making php3 and php4 so
 utterly
incompatible?
 
 Thanks in advance,
 
 Alpha
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] newbie migration issues

2001-04-23 Thread Plutarck

Check out the FAQ on php.net to see about migration issues. They have a
section in there...or is it in the manual...well it's in one of those
somewhere.

First, what security issues are you having? If code is being displayed to
the browser it's because the extension is probably not correctly figured.
When you start with PHP4 I believe the standard is it will use .php3 and
.php, but leave off .php4 and .inc. So you'll need to add those into your
server configuration files.

On the final question, great care was taken to make PHP4 compatible with
PHP3, but certain things are just blasted impossible. Preserving complete
compatibility would be little more than a big speed-bump in the road of
progress, so to speak :)


Then again, it's easy for me to not complain because I started learning on
PHP4, hehe.


--
Plutarck
Should be working on something...
...but forgot what it was.


S.J. Black [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi, all -

 Hoping someone can help me with this..I have a client who has a webiste
 with a number of  php3 scripts in it, and we're having a spate of
 problems relating to migration to php4.

 1) I need to know what needs to be done to convert php3 scripts to be
 compatible with php4.
These are scripts largely to do with counters, statistics, date 
 time functions, and thelike. What needs to be done to their
 extensions as well?

 2) Not having access to that info at the time, we decided to go back to
 php3 - and then ran into a host of security issues re visibility of
 the html directory. The requisite
libraries were there, apache was configured to work with php3, and so
 forth. If anyone
can explain how security issues arose, and give me some faint clue as
 to how to prevent
that from ever happening again,I will try to send maple syrup. 8)

 3) Can anyone begin to explain the rationale for making php3 and php4 so
 utterly
incompatible?

 Thanks in advance,

 Alpha

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]