Form Submit, Downloads Php March 08, 2024 Post a Comment WHen I submit this form it downloads the php script that it refers to. Is it porblem in the code? HTML: Solution 1: Your server sounds like it isn't configured to serve PHP files properly.Solution 2: If your website is forcing your browser to download PHP files, Apache obviously doesn't recognise PHP as a valid file type. You might need to reconfigure httpd.conf so that it acknowledges PHP and its installation directory.Check out PHP's documentation. Solution 3: There is nothing wrong with the code. Most probably is your server configuration, have you checked that PHP is installed properly and mod_php is enabled in Apache?Solution 4: Code looks good.Baca JugaJava(tm) Binary Has Stopped Working While Ant Converts .jmx To .jtlHow To Display Base64 Encoded Image In Html If It Is Located In A Separated File?How To Return Specific Http Status Code In A Plain Html PageCreate Phpinfo.php and use the following code:<?php// Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information.// phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?>CopyRun the website and use the information provided to troubleshooting your settings, if php does not run, it will not display the page, and will most likely not be installed and/or configured properly.Reference: PHP Manual - phpinfo Share You may like these postsIe 11 Downloads Page Instead Of Opening It, Works In Chrome And FirefoxHttps Works Fine But *.com:443 Gives A 400 Error?How To Style Directory Listings With Apache Mod_autoindex Using Namewidth & Htmltable?Change Link Mouseover Text On The Bottom Of A Browser Window Post a Comment for "Form Submit, Downloads Php"
Post a Comment for "Form Submit, Downloads Php"