You cannot disable right click in classic, web based PHP. you may be able to do that in command line/batch PHP though
what you might be able to do is use Javascript to inhibit the right click methods used buy the browser, however Im not really up to speed on Javascript so I don't know if that will meet your requirements
Quote:
|
econd that when open the source it shows NOTHING or something that i want
|
sorry I haven't got a clue what you are trying to do, or what you are struggling with here.
within PHP you can test for the existence of resources and take appropriate action. I think that test only wokrs on local resources (IE you can test if an image in on the same physcial server, but you cannot test if a remote resources is present, that may well have changed with subsequent releases of PHP)
hgowever I suspect you coudl test if resources are found using javascript.