Is it possible to end an PHP process from within PHP, to make it seem on the client side that it stopped responding, from a users perspective not from a technical point of view.
This is not a solution:
<?php
die();
?>
The idea is there is a file that's being downloaded and I don't want it ever to complete. Possible solution:
<?php
sleep(1000000000000000); //Or any really large number
?>
The downside is that this process will stay alive on the server side and you probably don't want that to happen.