Hi when i run php file on local host it directly go to download folder it not come in run condition
Please help me
i am new in php
thank

Member Avatar for diafol

Is Apache running? You need to start Apache otherwise, you may get this issue. Or if you run php files from outside the htdocs folder maybe

I think so syed is checking the file in any host provided space.There on click on any file,it will be downloaded.There is one more option called preview(as i can remember),on click of that you can see the page.
Just try to first work on local system then go to your host provided space.

make sure that the url is http://localhost/... and not file:///C:/xampp/htdocs/...
You get the wrong url if you right-clik ->open in brouwer on the file.

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.