tashg_86 Posted July 26, 2019 Share Posted July 26, 2019 Hi. I have our company website running on an older Joomla and so running PHP v5.6. We were encountering some issues so I have been rebuilding on latest Joomla version and will run the latest PHP now but I have encountered an issue (and I'm no php expert). We have a brochure page on the site where a user can select one or more brochures from a list, and then have to complete their details in a form and an email is sent to them with the brochures as a pdf attachment. We also receive an email notification with the user details and what brochure was selected so we can follow up on the lead. So I have the html coding for the web page, which links back to a php file with the brochures listed in an array and using phpmailer to send. Would someone be able to assist me by looking at the current files I have and showing me how to update the deprecated php commands - and also to ensure that the fields info is being properly verified etc. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/309029-needing-help-with-updating-deprecated-php-commands/ Share on other sites More sharing options...
ginerjm Posted July 26, 2019 Share Posted July 26, 2019 Which commands are you having a problem with? The db interface perhaps? If you tell us what we can point you at some references that will help you learn how the code has to be changed. Quote Link to comment https://forums.phpfreaks.com/topic/309029-needing-help-with-updating-deprecated-php-commands/#findComment-1568703 Share on other sites More sharing options...
cyberRobot Posted July 26, 2019 Share Posted July 26, 2019 In case it helps, the changes in PHP from v5.6 to v7.0 are described here:https://www.php.net/manual/en/migration70.php Quote Link to comment https://forums.phpfreaks.com/topic/309029-needing-help-with-updating-deprecated-php-commands/#findComment-1568710 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.