When I click a link a simple HTML web form linked to a php file, the browser is downloading the PHP file rather than executuing it in the browser. Any dieas?
lewashby 56 Junior Poster
Recommended Answers
Jump to PostIs web server configured to serve PHP? Can you show the code of the html file?
Jump to PostDo a simple test. Create a PHP file (say test.php) with only the following content and check in the browser what happens when you open it.
<?php phpinfo(); ?>
Jump to PostI have tested this in my environment (Ubuntu 12.10, Apache, Firefox 19.0) and it displays php file normaly.
What happens if you navigate your browser to the php file directly?
All 10 Replies
broj1 356 Humble servant Featured Poster
lewashby 56 Junior Poster
ehpratah 48 Posting Whiz in Training
broj1 356 Humble servant Featured Poster
lewashby 56 Junior Poster
lewashby 56 Junior Poster
broj1 356 Humble servant Featured Poster
lewashby 56 Junior Poster
broj1 356 Humble servant Featured Poster
broj1 356 Humble servant Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.