[#4038] - update of the php-sample

Category:
Bug report
Priority:
Low
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

the php-sample directory contains old PHP code with deprecated variables like HTTP_POST_VARS, HTTP_GET_VARS, and HTTP_SESSION_VARS.

There are also other small mistake that produce unecessary warning (like direct access to array members without isset() check, constant wich are not used properly).

So I propose as attachement new PHP files, wich should be more compatible with PHP 5.

Maybe the README file should also mention that the pear SOAP package should be recent enought (0.9.0 was not enought) => http://pear.php.net/package/SOAP

I also needed to install the Net_Dime package => http://pear.php.net/package/Net_DIME

An other step that is necesary is to give write right to the images directory.

AttachmentSize
Package icon php-sample.zip19.22 KB
jmini's picture
18
Joined: Jun 12 2009 - 2:50am
Last seen: 12 years 2 weeks ago
Feedback
randomness