paypal / ipn-code-samples

Other
560 stars 487 forks source link

PHP magic_quotes_gpc is deprecated #44

Closed heyallan closed 8 years ago

heyallan commented 8 years ago

This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

Reference: http://php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc Used in: https://github.com/paypal/ipn-code-samples/blob/master/paypal_ipn.php#L28

LukeGillespie88 commented 8 years ago

I do not think it is a bug as it checks to see if the function exists and if it is true then it does .... and if it isn't true then it does ..... Isn't that script so it can be used for different versions of php?

gabriele-carbonai commented 8 years ago

magic_quotes_gpc is deprecated but not get_magic_quotes_gpc http://php.net/manual/en/function.get-magic-quotes-gpc.php

heyallan commented 8 years ago

@gomonkey You got a point!

heyallan commented 8 years ago

magic_quotes_gpc is deprecated, but not get_magic_quotes_gpc http://php.net/manual/en/function.get-magic-quotes-gpc.php

My bad.