Algirdas Varnagiris


406 Not Acceptable error

Posted in Internet, Technology by Algirdas on the July 3rd, 2007

This is an error I got today:

406 Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.

I saw it for the first time and tried to find out where’s the problem. And the problem was in Apache mod_security. I have disabled mod_security specific to resolve the 406 errors. Sometimes mod_security rules are too strict for some web applications.

In order to disable mod_security add this line to .htaccess file: SecFilterEngine Off



Godaddy promo code | renew .NET

Posted in Internet, Technology by Algirdas on the July 3rd, 2007

My anekdotai.net domain expiration was going to the end so today i decided to renew it. And first of all I was looking for godaddy promo codes. Most of them were not working or already expired but there are two codes still working:

.NET Domain Names Just $5.99/yr!
gdm0431 expires 15 may 2007

SAVE 25% on every .COM, .NET, .ORG, .MOBI, .NAME, .BIZ, .US, .TV and .WS domains.Expires: May 7, 2007
gdm0420a May 7, 2007



PHP: FedEx shipping rates calculator

Posted in Internet, PHP, Technology by Algirdas on the June 1st, 2006

FedEx Ship Manager (FSM) Direct was designed to allow customers to connect directly to the FedEx back end systems using their own communications protocol. Welcome to FSM Direct!
You can compose FedEx XML Transactions to interface between your e-commerce application and the FedEx server and vice versa.
This solution is applicable only to those customers that have the development resources and knowledge to develop their own FedEx interface.

Before you begin:
FSM Direct Site Registration: To register in the FSM Direct program, go to http://www.fedex.com/us/solutions/wis/. Register and complete the brief registration form.

Steps for developing your own communications protocol and integrating it into your application are listed below.

  • Read and accept the FedEx Ship Manager Direct license agreement.
  • Review the FedEx Direct Documentation: Determine if this alternative or FedEx API is appropriate for your application.
  • Develop your application.
  • Send an email to websupport@fedex.com. Request to be set up for testing. Attach FedEx Express and/or FedEx Ground account number(s).
  • Test your application.

All documentation can be found here:
http://www.fedex.com/us/solutions/wis/pdf/fsm_directmanual.pdf
http://www.fedex.com/us/solutions/wis/pdf/xml_transguide.pdf

Here’s more about this class
(more…)



PHP: USPS rates calculator

Posted in Internet, PHP, Technology by Algirdas on the May 4th, 2006

The USPS Web Tools allow developers of web-based and shrink-wrapped applications access to the on-line services of the United States Postal Service (USPS). They provide easy access to shipping information and services for your customers. Your customers can utilize the functions provided by the USPS without ever leaving your web site. Once the Web Tools are integrated, your server communicates through the USPS Web Tools server over HTTP using XML (eXtensible Markup Language).

Rates Calculators

Everything in details can be found here:
http://www.usps.com/webtools/htm/Rates-Calculatorsv1-0.htm

First steps:

  1. Register online (You will get your own user name)
  2. Test this script (You can use only test data)
  3. Contact ICCC and go live.

When you have completed your testing, email the USPS Internet Customer Care Center (ICCC). They will switch your profile to allow you access to the production server and will provide you with the production URL. (more…)



PHP: UPS Address Validation tool

Posted in Internet, PHP, Technology by Algirdas on the March 11th, 2006

Free php UPS address validation tool.

With UPS Address Validation, available in the latest XML technology, you don’t have to worry about your customers entering incorrect address information. If customers make a mistake, UPS Address Validation alerts them with an error message, ensuring that errors are corrected at the point of entry long before orders leave the shipping dock. This reduces costly returns for you and headaches for your customers.

UPS Address Validation uses U.S. Postal Service guidelines to thoroughly check the city, state and postal code of every shipment. UPS provides up to ten alternate addresses, including an accuracy rate that lets your customers know how closely the address they entered matches the suggested address. (more…)



Next Page »