retrodog Posted March 5, 2007 Share Posted March 5, 2007 I cut and pasted PHP code that I used for a contact form on a site that had PHP 4.3.11 installed to another site that had 5.2.1 installed and now the form no longer works. Looking for some help determining what i need to do to make it work. I am not seeing anything but the php code being written to the page when scripts are run? Anyway, here are the sites with the php info... http://www.christchurchlife.com/staging/test.php and http://www.rrmusictherapy.com/test.php Thanks! Quote Link to comment Share on other sites More sharing options...
btherl Posted March 5, 2007 Share Posted March 5, 2007 If you're seeing php code, then your webserver is not treating your script as php. You'll need to alter the configuration (if you control the server) or contact the administrator. You may also be able to fix it by renaming your script, or moving it to a directory where php is enabled. Quote Link to comment Share on other sites More sharing options...
rcorlew Posted March 5, 2007 Share Posted March 5, 2007 are you using shorthand script like <? ?> are are you using the correct method <?php ?> Php 5 is inherintly more secure because you have to do a better job of coding in order to get your scripts to function properly. Quote Link to comment 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.