Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


OldGuy last won the day on December 20 2016

OldGuy had the most liked content!

About OldGuy

  • Rank
    Dedicated Member
  • Birthday 01/01/1980
  1. I'm not entirely sure I'd agree with your logic here, not that I'm in any way trying undermine your post, however as I think you will agree any program/code (web based or otherwise) can generally be broken down into simple routines / methods. Saying that because a program uses "a few database queries" therefore is not worthy of IP does not seem logical as IP would not apply to basic methods and or routines but the overall product. Take a basic IPhone email app for example, it'll use basic IMAP queries, probably uses an SQLite DB for indexing. Has a simple front-end that shows, mailboxes, messages, and message content. Despite many of these being remarkably similar (Take Spark and AirMail for a real world example) they are both copyrighted in there own rights. I understand where your coming from but I'm not sure the logic holds out, after all would we consider a Picasso just a series of brush strokes? Sent from my iPhone using Tapatalk
  2. I'm not sure about building an empire maybe just a small dwelling [emoji23][emoji23] Sent from my iPhone using Tapatalk
  3. Very true they've only got the front end code and probably won't know how to make it work again, at least without putting in a lot of effort[emoji23][emoji23]. Totally agree with all comments, I'm busy setting up some VPS boxes at the moment so my head has been stuck in a terminal all morning, better focus on that as I don't want an accidental "sudo -rf /" to break everything [emoji23][emoji23]! I might send a quick email to the hosting company later just to see if they'll do anything to help. Sent from my iPhone using Tapatalk
  4. Email

    To be honest I've never used google apps or office 365 so can't check this, but I'm assuming that when you sign up for their service you point your MX records to them. If that is the case I don't see how you could point your MX records to two different services. So I'd be inclined to say no it's no possible. Sent from my iPhone using Tapatalk
  5. Your probably quite right It's just so frustrating that people can just take your work without even paying for it. If I stole something from shop I'd be in serious trouble yet in the digital world it sometimes feels like a free for all, very sad. Sent from my iPhone using Tapatalk
  6. I've already read some really useful information regarding IP and Copyright on this forum but would like some real world advice on an problem that I'm currently facing. Unfortunately for me this problem has been caused by the same client from my previous post regarding the £260 website project. I'm not going to go into that again but the situation is as follows. A client has decided to move their site to another host which is fine, before they moved I made it clear that they could re-use everything which they had paid for i.e. the main site code and design but could not take my proprietary gallery code, or the logo design neither which they had paid for. However I have just found that the client has ripped all of the front end gallery code from the original website and appear to be in the process of rebuilding the back end code to make the my gallery code work again. They have also removed my branding and copyright notice. The front end code was totally scratch written and was a substantial amount of work and code. Sure I understand it impossible to protect client side code but this is a blatant attempt to take my intellectual property. My questions are :- Does anyone have any real world experience with an issue like this? Is there anything I can do to protect my intellectual property now they have removed my branding? Most importantly is it actually worth perusing? TIA OldGuy Sent from my iPhone using Tapatalk
  7. Hi Jack thanks for your reply, re XSS the HTML is filtered server side so it'll be ok. I've resolved the problem which turns out was amazingly simple, I'm kicking myself for not thinking of it earlier. The fix which was so blatantly obvious now I look at it! Simply encode the HTML into a base64 string server side then decode it into the AngularJS $scope.variable. It's as simple as :- PHP $enchtml = base64_encode($html); AngularJS $scope.html = atob("<?php echo $enchtml; ?> No problems with quotes or line breaks. Job done! Now back to kicking myself :-) Sent from my iPhone using Tapatalk
  8. Website easy to edit

    I've scratch written something similar for a client last year as they wanted to be able to edit their site, the editor was a lot of work, but worked very well, the problem I had was that the client had no idea about page layouts so would totally mess up the structure of their pages which made the whole site look awful, then they would ask me to fix it again. Although it depends on the clients ability having a client editing their own site can cause more problems than it solves. Sent from my iPhone using Tapatalk
  9. Hi Jack, I tried converting the variable into HTML entities which as expected solved the quote problem, however when the newly converted string containing HTML entities is fed back into TInyMCE it simply displays HTML source rather than fully rendered HTML, obviously this then defeats the purpose of using TInyMCE as a WISIWYG editor. I have got the whole thing working successfully at the moment by doing what I mentioned previously, it just seems a little messy and makes me feel as though there must be a better method. When I'm back at my desk I'm going to try rendering the raw HTML as entities within the $scope variable on the containing page, but then use AngularJS to convert them back to raw HTML before passing it to TInyMCE. Just to recap, the problems I'm experiencing here seem two fold:- The first problem is caused when I transfer my raw HTML string from PHP into an AngularJS variable, my raw HTML string obviously needs to be echoed within the <script> <script> elements on the containing page. As such certain chars i.e. quotes and new lines simply break the HTML within the containing page which is quite understandable. The second problem arises when attempting to fix the first issue by encoding the raw HTML into HTML entities. Although the encoding works fine TInyMCE does not convert the input HTML entities back into raw HTML instead it just renders the HTML source rather than the fully rendered HTML. Is it possible to get TInyMCE to take HTML entities as an input yet display them as fully rendered HTML rather than source? Can't see anything specific to input format in the docs. So any advice would be great. Sent from my iPhone using Tapatalk
  10. Having worked as an electrical engineer (not household but industrial power and automation control systems) it's not uncommon for people to ask for a socket, light or shower to be fitted, I've done jobs for mates in the past and normally not only do they pay quickly but it's quite common offer you a bit extra to show their appreciation, (Although it's never expected ). However I can honestly say I've never fitted a socket, light or shower, for someone then to have them change their mind on it's position a week later and expect me to come back rip it all back out and re-wire it three feet to left... and expect to be done for free! Which is pretty much exactly what my now ex-mate was wanting me to do with his website. Thanks again for everyone's advice on this frustrating matter. Sent from my iPhone using Tapatalk
  11. Ok I'm working a project and need to setup TInyMCE to edit HTML content pulled from MariaDB/MySQL. The flow is as follows :- 1> PHP pulls the raw HTML from MariaDB/MySQL (works fine) 2> PHP echos the raw HTML into a $scope variable in the AngularJS HTML code (this causes a problem depending on the content of the raw HTML ). 3> AngularJS passes the raw HTML via $scope to tinyMCE. Problem: When the the raw HTML contains quotes or line-breaks it breaks the AngularJS $scope HTML for example:- Source code: $scope.rawhtml = "<?php echo $rawhtml; ?> Example HTML output: $scope.rawhtml = "<p>Test Image <image src=" <-------- (causes broken quote) Or $scope.rawhtml = "Line 1<br>Line 2 <-------- (actual 'r' 'n' breaks the HTML) Line 3<br>Line 4"; Both of these problems can be remedied by using preg_replace to remove 'r' 'n' line-breaks an replacing double quotes with single quotes, but my question is this, is there a better way of handling this? Sent from my iPhone using Tapatalk
  12. My reasoning is that we had originally agreed on a simple overhaul of his site as it was not responsive. The original had no gallery, no method of editing content and in all honesty was a total mess, as I know the guy I'd agreed to re-write the basic site for mates rates which I did mainly in my spare time. As stated previously he kept wanting extras, all of which I did purely as a favour to him (in hindsight I should have said no to those extras). I don't mind him using the main site code as he (eventually) paid for that. But considering he's taken all of my extra (unpaid) work and just thrown it back in my face I see no reason to graciously give him that as well. It's sad because I naturally tend to trust people that I know. In this case I was very wrong. Sent from my iPhone using Tapatalk
  13. To be honest after this saga I doubt that I would undertake anymore "Mates Rates" jobs. I'm the kind of guy who's happy to help anyone and even to do those little extras. Neither the fact that I'd done this job cheaply or the fact that I'd done a load of free extras were even appreciated. In retrospect It feels that they just wanted the job doing cheaply and have absolutely no idea on how much work is involved in scratch coding a site. My advice to anyone reading this would be simply don't do mates rates jobs and always get a contract. Lesson learnt! Sent from my iPhone using Tapatalk
  14. Very nice post Moe. To be honest I've explained everything to him on multiple occasions now. It seems the only experience he has had previously with websites is Wordpress and I'm sure he thinks that scratch writing code is the same as clicking "add new plugin" in Wordpress, I think this is where the problem lies coupled with him being one of those people who "knows it all"!! The good news is that he has begrudgingly sent payment today. The not such good news is he's sent me a huge email complaining that "I m not prepared to help him" and "he feels let down" and is planning to move hosts!! Go figure [emoji848]. So I've politely told him no problem he is entitled to move hosts, but he cannot use any of the extra graphic work that I'd done for free, or my scratch written gallery code. I'm still awaiting his reply. Sent from my iPhone using Tapatalk
  15. Hi Fisicx Yes he realises it's got a holding page up. At the moment he's complaining about paying because he wants all of the changes making first (for free), he's also threatening to go elsewhere if I don't! To be honest I think he just wants a freebie, it's pretty frustrating as I've done loads of extras for him already, including quite a few hours of graphic work (again for free). As I posted previously he'd already agreed the design and was perfectly happy with it. He's since changed his mind and wants a load of design changes made, so I've politely told him that I can not do all of the extra work inside of the original price, but am happy to do it at cost. It's a very frustrating situation as I just want the customer to be happy and to get the job finished. My guess is that even if I did the design changes for free just to keep him happy he'd probably then want something else doing. Sent from my iPhone using Tapatalk