By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,642 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,642 IT Pros & Developers. It's quick & easy.

Programmer wanted

P: n/a
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:

in**@wallstreetpager.com

Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
T Hanson wrote:
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.


Cool. Fixing it should keep you entertained for a long time.
Jul 17 '05 #2

P: n/a
Keith Bowes <do****@spam.me> wrote in message news:<10***************@cache7.usenetserver.com>.. .
T Hanson wrote:
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.


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


Not sure how to read this response.
Jul 17 '05 #3

P: n/a
T Hanson wrote:
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:

in**@wallstreetpager.com

Please can you specify a bit more details as to what scripts are
currently being used on the old site.

Jul 17 '05 #4

P: n/a
T Hanson wrote:
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:

in**@wallstreetpager.com


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 - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.