Jump to content
MakeWebGames

The Spirit

Members
  • Posts

    334
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by The Spirit

  1. Yeah possibly which is why I said I agree with laravel. Kotlin has a good community and unbelievable IDE support seen as Jetbrains created it. Entry barrier is pretty subjective. It's the promoted language for android apps now so it might be more popular than you think.
  2. Interesting project. I'd try help out if I got some time ? My UI library of choice would be ReactJS but would be comfortable with either. I think kotlin would be a good choice for the backend but agree with Dave that Larvel would be a good choice for this.
  3. Hi, I used to spend a lot of time of this forum years ago when I was in school and college and it's what got me into programming. I'm now a software engineer. I mainly use Javascript, React, Java, Node, Postgres etc.. It's great to see the forum back up. I mainly read posts and played around with Mccodes. Is there still a market for text based games?
  4. For vms i always go to DigitalOcean
  5. I would advise building native apps but if you want to go down the other road take a look at Ionic framework, its very good.
  6. Was Sniko not part of the team?
  7. They seem very cheap as well which is a bonus! What kind of setup do you have on your droplet Sniko? if you mind me asking
  8. Im considering switching to digital ocean. Let us know how you get on
  9. Whats your prefered way of dealing errors and in your opinion what way do you think is best practise? If you use both when do you use each? trigger_error() or throw new exception() or a custom error handler At the moment I deal with errors such as database or file handling errors through exceptions and user generator errors with a custom error handler A discussion on this topic may be interesting
  10. This is probably the best post in this forum in two years... Lots of potential here.
  11. Ill bid 8 to get it moving
  12. The Spirit

    Validate URL

    Cant seem to get it working :/ This is the code im using: else if ((!preg_match('#^http(s)?://(www\.)?([a-z0-9_\-\.]+)\.([a-z\.]){2,5}([/\?&\#\w=]+)?$#', $url))) { $return['error'] = true; $return['msg'] = 'URL not valid'; }
  13. The Spirit

    Validate URL

    Thanks Djk and Bluegman! Djk Im using yours, the only problem I have is that it allows urls such as http://test
  14. The Spirit

    Validate URL

    Im getting an Unknown modifier '+' error :/ I'd really like to use the same regex as im using for the javascript but it doesnt seem to want to work with php
  15. The Spirit

    Validate URL

    a, http://a, http://www.a //Not Valid http://localhost //not valid test.com //not valid http://test.com //valid http://www.test.com //valid http://www.test.com?searchblah&blajjj //valid http://www.te$%^$.com //not valid http://test.1223 //Not Valid http://test.co //valid http://test.co.uk //valid http://sub.test.com //valid
  16. The Spirit

    Validate URL

    filter_var() allows a number of urls I deem not valid for my purpose, thanks though
  17. The Spirit

    Validate URL

    Im want to validate a URL in my php script and cant quite get it working. Im trying to use if (preg_match($pattern, $link) === false) I have it working in javascript but php is being a problem Heres the Regex (/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/i);   Anyone have a solution? Thanks **edit the regex in this post gets changed by smilies inserting themselves The regex can be seen here http://pastebin.com/4kU801pE
  18. Good work Magictallguy Heres a good tutorial/ explanation for anyone who wants to know more about mysqli http://codular.com/php-mysqli
  19. Whats subline text 3 like?
  20. Subline Text all the way
  21. Great news, two great additions. Actually looking forward to seeing the product I think yous should open a fresh thread to see what people actually want from v3.
  22. I dont think programming for windows phone is enough of a push factor for me. Ill probably wait and see what updates come out for it and decide then.
  23. Im currently running windows 7 on my PC but got a free download of Windows 8. Im wondering whether I should install it or not? What are the best/worst features of windows 8? What apps do you have to install to get the best out of windows 8? For those of you in college yous should check out http://www.dreamspark.com You can get a wide variety of free software from Microsoft.
  24. Cheers! --min text--
  25. The Spirit

    Php?

    Why Larry Ullmans books may I ask sniko? :)
×
×
  • Create New...