Log in

View Full Version : plz help me



sreerag
09-04-2013, 01:00 PM
How to add a page for are you sure you want to leave this page

And
How can I protect my script completily
And
Script for mailing users in my site

james438
09-04-2013, 02:07 PM
What have you tried? Try searching for mail tutorials first as this is a very common and straightforward request: https://www.google.com/search?q=mail+php If you have more specific questions please come back and ask and someone will be happy to look into this further.

As for protecting your scripts completely you can't, but it is more likely I am not understanding exactly what you are referring to. If you have a more specific question please ask in a new thread and include as many details as you can to make your goals clear.

I will be closing this thread for now as it is also likely to attract spam.

jscheuer1
09-04-2013, 03:10 PM
Oh, and for "How to add a page for are you sure you want to leave this page" thing, I think you mean:


<script type="text/javascript">
window.onbeforeunload = confirmExit;
function confirmExit() {
return "Are you sure you want to leave this page?";
}
</script>

See also:

http://www.dynamicdrive.com/forums/showthread.php?70433-Warn-if-new-data-in-form-before-leaving-page

traq
09-04-2013, 04:57 PM
This thread might also be helpful (re:"How can I protect my script completily[sic]"): Why you cannot protect your source code and files (http://www.dynamicdrive.com/forums/showthread.php?48916).