T Hanson wrote:[color=blue]
> Need PHP person to move a website from an old website to a new one.
>
> The current server we're on is running php version 4.0.4 and the new servers
> are running 4.3.1. The release dates between these versions are years
> apart. This will undoubtedly cause compatibility issues that will need to
> be fixed.
>
> look here:
>
www.wallstreetpager.com
>
> Then email me:
>
>
info@wallstreetpager.com[/color]
Step one:
beginning of every script (because register_globals was likely On):
<?php
extract($_GET,EXTR_REFS);
extract($_POST,EXTR_REFS);
extract($_COOKIE,EXTR_REFS);
extract($_SESSION,EXTR_REFS);
?>
Step 2:
Replace in all files, all instances:
$HTTP_GET_VARS with $_GET
$HTTP_POST_VARS with $_POST
$HTTP_SESSION_VARS with $_SESSION
$HTTP_ENV_VARS with $_ENV
$HTTP_COOKIE_VARS with $_COOKIE
$HTTP_SERVER_VARS with $_SERVER
$PHP_SELF with $_SERVER['PHP_SELF']
Step 3:
Test the site
If you have places where file uploads are done, you may have to rewrite
those parts.
HTH
--
Justin Koivisto -
spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.