Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages?

Recommended Answers

All 4 Replies

you can do this using javascript. but i m not aware about php

Member Avatar for langsor

Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages?

Nope, and why would you want to?

...

Member Avatar for iamthwee

I agree with the above post, disabling such functionality is a nuisance. It can't be done with php but may be possible using javascript.

However, considering people use very different web browsers you won't be able to guarantee standard behaviour.

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.