Connecting Tech Pros Worldwide Forums | Help | Site Map

Programmer wanted

T Hanson
Guest
 
Posts: n/a
#1: Jul 17 '05
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




Keith Bowes
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Programmer wanted


T Hanson wrote:[color=blue]
> 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.
>[/color]

Cool. Fixing it should keep you entertained for a long time.


lawrence
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Programmer wanted


Keith Bowes <do.not@spam.me> wrote in message news:<1066094073.237549@cache7.usenetserver.com>.. .[color=blue]
> T Hanson wrote:[color=green]
> > 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.
> >[/color]
>
> Cool. Fixing it should keep you entertained for a long time.[/color]

Not sure how to read this response.
Dominic Rogers
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Programmer wanted


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]
Please can you specify a bit more details as to what scripts are
currently being used on the old site.

Justin Koivisto
Guest
 
Posts: n/a
#5: Jul 17 '05

re: Programmer wanted


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.

Closed Thread