GoDaddy SMTP Email Relay
May 21, 2010I just spent several hours trying to figure out how to send an SMTP email with attachment from GoDaddy using PHPMailer. You can only do it via GoDaddy’s email relay. Here is the code for those looking. (more…)
I just spent several hours trying to figure out how to send an SMTP email with attachment from GoDaddy using PHPMailer. You can only do it via GoDaddy’s email relay. Here is the code for those looking. (more…)
Well one of the latest issues out there in the development would is this issue of infected websites that drop malware. Most of the time this is caused by not keeping your code up to date in the most secure methods of coding. Most open source code is taking this into consideration. However if its project is behind in updates or if you are using an old version of the script you can be faced with malware infections. Custom code is very at risk unless it is coded properly and is kept up to date.
I have developed a application that once installed on your server will scan all scripts and produce a list of infected scripts. It will should you the type of infection and what line number in the script that is resides.
Below is an image of a clean scan:
Below is an image of an infected scan:
If this is a service you would like please let me know at scottv@scovol.com.
I am currently working on developing an up to date malware site list that will be loaded into the scanner automatically.
With the ever increasing attacks on websites for place malware links and site defacement a programmer must be ready. Also many times these attacks are on older systems that need to be supported. I have developed a PHP 5.x approach to this. The code is a block of code that can be added at the top of your script. If you have a special need to sanitize the input then add the form field name or query string field name into the array and let the script do the rest. (more…)
Something that has come up with several clients of mine is an issue since IE8 has come out. Mysteriously Google Ads are not showing up. You can do a Google search and find several people asking what happened.
Well what I have found in many cases is that IE8 is more strict with html, xhtml and java script standards than previous IE versions and other browsers.
It appears that Microsoft is finally trying to say if you want common general public standards then we will do them to the hilt.
So if you find yourself in this problem double and triple check your code for compliance and you don’t have missing tags or incomplete tags near or around the Google Ads JavaScript.
Now this does not solve the funny way that IE8 wants to display some of the generated JavaScript. That is another issue altogether.
Well one of the many issues I do work through is the need to create thumbnails for dynamic sites. If someone has defined standard design elements for fonts, colors, and image sizes you can apply them across the pages of the site.
There are times though you have an image that when displayed at full size is good for a single page view. However you may want the image at different sizes in the site. (more…)