2,141 reputation
1617
bio website tfountain.co.uk
location United Kingdom
age 33
visits member for 4 years, 2 months
seen 12 hours ago

PHP/Zend Framework Developer based in the UK.


Oct
5
comment Good, or Bad? 'www A Record (IPv4)' - “website has a CName Record.”
Well like I said in my answer, the A record will be a tiny bit faster in some circumstances, but the difference is probably not worth worrying about.
Oct
5
comment Good, or Bad? 'www A Record (IPv4)' - “website has a CName Record.”
I'm not sure if I understand the question. DNS records always resolve to an IP (even if a CNAME is used), that's their purpose.
Aug
27
comment UFW Log Question
I always assumed SPT was source port and DPT destination port. You might want to try on askubuntu.com.
Aug
17
comment Should I keep host name info for moderation purpose?
You don't need to find out who owns an IP to report abuse. You can easily find out which ISP an IP belongs to and report abuse to them.
Jul
24
comment Using ini_set() to change memory lmit for individual PHP scripts
The problem with setting a high limit in php.ini is that it hides memory usage problems that might develop in other scripts. If another script started using silly amounts of memory, the user wouldn't necessarily know this. By having a sane default in php.ini you can then increase it with ini_set() on a script-by-script basis only if you know there's no way to reduce the memory requirements.
Jul
11
comment How can you diagnose the cause of slowness for some users but not all?
It would help you narrow down which resource is causing the slowness (if it's just one), whether it's DNS/network related. Definitely worth a go.
May
21
comment page load wait time on my machine is 55ms but on test websites like pingdom.com it is 1.5 seconds, why would this happen?
Can you provide the URL so we can give it a try as well?
Apr
24
comment Will moving some ecommerce products from one domain to another with redirects cause SEO penalties?
I actually think this is a much simpler issue than the question it's been marked a duplicate of. You're permanently moving some pages to a different domain, so clearly a 301 for each is the correct approach.
Apr
17
comment Too many duplicate image alt attributes. What to do?
The images do have value in this case. The whole point of the table is to show 'yes' or 'no' values as part of a package comparison. With no images or alt text the content won't make any sense.
Apr
7
comment Google Pagespeed not recognizing minify, cache leveraging, etc
What is your question? And can you provide your website URL?
Apr
2
comment Google jQuery hosted library - is it any good?
That's a little misleading. Browsers download assets in parallel regardless of where they are hosted, but there is a limit to the number of things they'll download from the same host at once.
Apr
2
comment Which MIME type to compress? and what If I omit the `type` attribute from the HTML?
Well, it depends a bit on whether 'compress all' means literally that. But like I said, you don't want to compress things like images, as they are already compressed. So you waste server resources by doing so.
Mar
21
comment Should I ask for additional CPU cores?
Have you tried benchmarking or load testing the site to see how much traffic it can handle at the moment? Also, are you sure your current page loads are <5 ms? As that is very fast.
Mar
21
comment SEO: best way to deal with short lifetime URLs?
The fact that it's a 410 is invisible to the user. You can control the content shown on this page, and since (in this example) the site knows what job posting was previously at this URL, the page can try to link to similar job postings in order to convert/engage the user as you suggested. There's no advantage in redirecting, but several disadvantages.
Mar
21
comment How should I format my HTML emails
Hoytman: this is tricky to do with PHP natively, I'd suggest using a third party mail library like SwiftMailer or Zend Mail to help with this.
Mar
21
comment SEO: best way to deal with short lifetime URLs?
Why do you think a 301 would be more useful than a user-friendly 410 page in this case? The latter is more technically correct, better for crawlers, and won't be seen as a 'soft 404' by Googlebot (see: support.google.com/webmasters/answer/181708?hl=en)
Mar
18
comment HTML Sitemap URL format
Are you referring to XML sitemaps, or a just a HTML 'sitemap' page?
Jan
20
comment How to scan files for malware as they are uploaded to the website?
Your goal shouldn't be to prevent hackers uploading files containing malware, it should be to prevent hackers from uploading files.
Jan
9
comment Can a foreign company take my domain name?
I've seen some scams where you get emails saying "XXX company wants to register <domain similar to yours>, which appears to be similar to your brand. If you want to register them contact us within X days" - I think you can safely ignore these
Oct
24
comment Long 'Wait' Time for three php/CSS files. Is something blocking them?
The delay appears to be the time it's taking the web server to generate those files, but 7 seconds is an extremely long time for a PHP script. Can you provide any info about what it is those two scripts are doing?