seco Posted August 17, 2008 Share Posted August 17, 2008 Hi how can i make code that searchs through all the output of a page and search for any thing like a image that has the class of class1 then assign the click event of that image to some routine? thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/120038-how-to-search-through-page-output-and-handle-it/ Share on other sites More sharing options...
sKunKbad Posted August 17, 2008 Share Posted August 17, 2008 Sounds like you need a javascript forum if you are dealing with click events. Quote Link to comment https://forums.phpfreaks.com/topic/120038-how-to-search-through-page-output-and-handle-it/#findComment-618375 Share on other sites More sharing options...
seco Posted August 17, 2008 Author Share Posted August 17, 2008 thanks for reply i think that there is php classes that can do that do you know any code that can do that? thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/120038-how-to-search-through-page-output-and-handle-it/#findComment-618421 Share on other sites More sharing options...
seco Posted August 17, 2008 Author Share Posted August 17, 2008 what i need is like http handlers in asp.net which intercepts the request and deal with it and give the needed response ex. you can intercept requests and make all images links to be homepage (to avoid hotlinking) thanks. Quote Link to comment https://forums.phpfreaks.com/topic/120038-how-to-search-through-page-output-and-handle-it/#findComment-618428 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.