On Sat, 2008-07-19 at 16:31 -0400, tedd wrote: > At 4:06 PM -0400 7/19/08, Robert Cummings wrote: > >On Sat, 2008-07-19 at 10:15 -0400, tedd wrote: > > > http://www.webbytedd.com/a/easy-page-db > > > >Actually I thought it was intentional at first since maybe the client > >would want to past in soem JS. But when I was playing around I found > >that the JavaScript was being munged in weird ways. So I had to go with > >an all on one line simple script that didn't use any vars. > > > >Either way, I knew you'd take it in stride as the humour it was > >intended :) > > > >Cheers, > >Rob. > > Rob: > > No problem -- I had the data backed-up anyway. I figured that someone > would do what you did and I was ready for it -- it was easy enough to > fix. > > But, it did start me thinking about what bad things might happen if I > allowed to work as before. So, I made it not work as before. > > Next time, if the page is going to be editable, I put a logon on it. What do you mean backed up? I just replaced the filler data on the page with some filler JavaScript that basically did the following: <script>document.body.innerHTML = 'Rob was here';</script> I didn't do anything to your server files. It was easily remedied by loading the page with JavaScript disabled. I hope you didn't think I tainted your filesystem. I wouldn't do that even as a joke. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php