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 Postare you using xampp ,lamp or wamp?if yes is the apache and mysql …
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(); ?>
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.