Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

henbast

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    henbast got a reaction from Jock in Encryption algorithms   
    Bcrypt. You can use the unfortunately named phpass to handle it. Everything else is pretty much a waste of time.
  2. Like
    henbast got a reaction from apollo-articles in Form not showing at all in Firefox   
    Your iframe src has backslash seperators:
     

    ><iframe src="lblform\life-insurance-form.php?keyword=" name="iframe_lbl" height="1270" width="460" frameborder="0"> </iframe>
     
    Change to forward slash to sort the 404
  3. Like
    henbast got a reaction from funsella in Form troubles   
    You can use something like http://labs.thesedays.com/projects/jquery/clearfield/ which will work across browsers.
  4. Like
    henbast got a reaction from mbabuskov in Which payment processor for web based services?   
    Paypal is about as widely used here as it is in the US. If you go for Website payments pro or Payflow then you can also take cards directly too, which covers everyone else. Google checkout is another option as mentioned. No experience of chronopay.
  5. Like
    henbast got a reaction from Tommo in iPad 2,   
    I don't think that will be here for a while. For a "retina" display, it would require a massive resolution beyond anything that is affordable or mass producible at the moment.
  6. Like
    henbast got a reaction from Faevilangel in SQL ORDER BY not working ?   
    Change to:

    $readresult=$write->query("SELECT title, created_time, identifier, post_content FROM aw_blog WHERE status=1 ORDER BY identifier LIMIT 5");//select from db last 5 post
     
    ORDER BY needs to go after the WHERE clause.
  7. Like
    henbast got a reaction from gfxpixeldesigns in SQL ORDER BY not working ?   
    Change to:

    $readresult=$write->query("SELECT title, created_time, identifier, post_content FROM aw_blog WHERE status=1 ORDER BY identifier LIMIT 5");//select from db last 5 post
     
    ORDER BY needs to go after the WHERE clause.
  8. Like
    henbast got a reaction from Renaissance-Design in SQL ORDER BY not working ?   
    Change to:

    $readresult=$write->query("SELECT title, created_time, identifier, post_content FROM aw_blog WHERE status=1 ORDER BY identifier LIMIT 5");//select from db last 5 post
     
    ORDER BY needs to go after the WHERE clause.
  9. Like
    henbast got a reaction from Adam Boyce in CSS Curved Edges Bottom   
    -webkit-border-bottom-right-radius: 8px; -webkit-border-bottom-left-radius: 8px; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px;
  10. Like
    henbast got a reaction from BreakdownDesign.co.uk in Online application for sharing code/programming?   
    For snippets you can use gists.
     
    for anything bigger, use a DVCS. Bitbucket offers free private repos for up to 5 users & hg is easy to get started with. Unfuddle offers free private repos for git, or you could use github (paid).
  11. Like
    henbast got a reaction from kingy da killa in is my site assecible by screen readers   
    Why not try it in some?
     
    There's one here that's free.
  12. Like
    henbast got a reaction from Renaissance-Design in PHP Monitor Script   
    Very simple quick & dirty method:
     

    <?php $ip = $_SERVER['REMOTE_ADDR']; $dt = date("d/m/Y H:i:s"); $msg = "Visitor to site.\nIP: $ip\nTime: $dt"; mail("you@example.com", "Visitor", $msg, "From: My site <you@example.com>"); ?>
     
    Shove that at the top of your PHP file and it'll email you each time someone visits. If you have any real number of visitors though, it'll get very annoying. Why not add Google Analytics if you want to track visits & IP's?
  13. Like
    henbast reacted to Connetu_C in UK VPS (cPanel) required   
    In my opinion, it depends. Example: we run most of our internal services virtualised (in a "cloud" as it were). Each VM is assigned its own 2GHz+ core and at least 1GB RAM. Aside from CPU cache misses, this works very well - better guaranteed resources for each application than on a shared server, and we ensure enough is available. We benefit from consolidation of hardware, power, wasted CPU cycles and RAM segments, improving efficiency.
     
    In addition, files are cached by Linux in RAM - so it doesn't matter that the underlying hard drives are shared between VMs, as most static resources are being buffered in the VM RAM anyway, so are fast (much faster than dedicated hard drive in fact). Intensive disk I/O (usually very busy databases) is where VMs will bottleneck - for everything else they're usually as good, if not better (due to superior hardware), than a budget dedicated solution. Obviously if you're not paying for larger RAM allocations, that will decrease performance - RAM is basically the most important factor for a VPS with decent performance.
     
    It's all highly dependent. To say VMs will never be speedy is relative as technology progresses: today's VMs (done right) are superior to the dedicated servers of 5 years ago.
  14. Like
    henbast got a reaction from sarah3585 in Claiming expenses with student software/hardware   
    You could buy it from him maybe? There's no law against that but I'm not sure if it would single you out for a bit more attention from the taxman.
     
    Best bet I think would be speak to an accountant. They usually do a free hour consultation and even if not, it will be worth it to find a way of saving thousands without coming across as a crim
  15. Like
    henbast got a reaction from AlecIsh in Wordpress and server load   
    Are you hosting the videos themselves? If not, then get a simple VPS with nginx and cache the **** out of everything. You'll be able to handle hundreds of requests/sec on a basic setup if you're just serving HTML. You can get proper good VPS's from Linodefrom $20pm.
     
    p.s. I'm typing this while eating and rushing so it might make less sense than normal. if so, I'll come back later with a better post
  16. Like
    henbast got a reaction from Crispy in Conflict Disabled my Lightbox   
    Try loading prototype first, then jquery and then moving this to immediately after you load jquery.
     

    <script type="text/javascript"> var $j = jQuery.noConflict(); </script>
     
    Then load all the other stuff
  17. Like
    henbast got a reaction from timmo76 in Should height and width of image be in HTML tag or in CSS?   
    Do it in HTML. It works everywhere, whether users have CSS off/custom/unsupported. It validates & it works.
     
    Also yes, if there's a delay loading the CSS for some reason then it could affect the layout. Just do it in HTML and be done with it
  18. Like
    Mercurial is easy to pick up if you've used SVN and you get all the advantages of a DVCS. Git vs hg is much of a muchness.
     
    There's a good guide to getting started here which includes an SVN primer.
     
    edit: Also, hg plays nicely with Windows which git does not.
  19. Like
    henbast reacted to Ash Scott in New Website Help Needed!   
    well for what you want your looking at about £6000 minimum. You need logins, ladders, forums, security, credits, a system which shows latest match results, SEO.
     
    Many people have come here with kind of idea, then they have either given up, or the site hasnt been successful
  20. Like
    Mercurial is easy to pick up if you've used SVN and you get all the advantages of a DVCS. Git vs hg is much of a muchness.
     
    There's a good guide to getting started here which includes an SVN primer.
     
    edit: Also, hg plays nicely with Windows which git does not.
  21. Like
    henbast got a reaction from AlecIsh in Copying data from website?   
    Quick and dirty way is to do a File->Save As on each page. It'll take a bit of work to reassemble and normalise, but you'll have all the stuff. A better way would be to use something like wget and crawl the site, grabbing & saving resources.
     
    If there's anything dynamic though, he's out of of luck without access to the server.
  22. Like
    henbast got a reaction from j05hr in Virus on one of my websites   
    Is it Wordpress? Free themes are somewhat notorious for adding little presents (see here) and there's been several times where older versions have been vulnerable to having code injected.
     
    If that's the case, best bet is to nuke the whole thing, install from latest clean version and careful re-insert your data after scanning for the common stuff like base64 and JS. If it's a dodgy theme, get one from Wordpress themselves or go to somewhere reputable like Woothemes or Theme Forest.
     
    If it's not Wordpress, that's a whole new can o' worms.
  23. Like
    henbast got a reaction from Renaissance-Design in Virus on one of my websites   
    Is it Wordpress? Free themes are somewhat notorious for adding little presents (see here) and there's been several times where older versions have been vulnerable to having code injected.
     
    If that's the case, best bet is to nuke the whole thing, install from latest clean version and careful re-insert your data after scanning for the common stuff like base64 and JS. If it's a dodgy theme, get one from Wordpress themselves or go to somewhere reputable like Woothemes or Theme Forest.
     
    If it's not Wordpress, that's a whole new can o' worms.
  24. Like
    henbast got a reaction from Renaissance-Design in Excuse not to meet with client   
    Just say it in a different way. Charge for call outs. Explain it takes up 50% of your day which could be spent working and so you have a standard £50/100/150 charge for face to face meetings. Set it enough so that you won't mind going out for that
  25. Like
    henbast got a reaction from Pondering tea drinker in Guestbook script - Admin/Mod comment   
    Just whack in another field in the table for admin posts. Set this to 1, true, whatever when you add something as an admin and then check for that when printing output.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.