php 4 script with php 5.
| From: | Dwayne Hottinger | Date: | Sat, 24 Sep 2005 12:14:18 +0000 |
| Subject: | php 4 script with php 5. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223117@lists.php.net to get a copy of this message | ||
I am trying to transfer some databases and php scripts that populate them to a
new server. Server is running Fedora core 4 with mysql 4.x and php 5.0.5.
Original scripts were writen with php 4.x and worked fine. I get a PHP Notice:
Undefined variable: return_array when running them on the new server and the
database doesnt get populated. Mysql database and mysql user rights seem to be
correct. Do I have to rewrite the script for php 5.x or should it work and I
need to dig for another problem? Im quite new to php and dont know quite which
way to go for help. I hope I have posted this on the right list.
ddh
--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools