Warning: Cannot modify header information - headers already sent by (output started at /home/algaxy/domains/varnagiris.net/public_html/index.php:5) in /home/algaxy/domains/varnagiris.net/public_html/wp-includes/feed-rss2.php on line 2
Algirdas Varnagiris http://www.varnagiris.net The cyber-place where I live Wed, 26 Dec 2007 08:46:04 +0000 http://wordpress.org/?v=2.2.2 en Moving MySQL data from 4.0 to 5.x http://www.varnagiris.net/2007/12/03/moving-mysql-data-from-40-to-5x/ http://www.varnagiris.net/2007/12/03/moving-mysql-data-from-40-to-5x/#comments Mon, 03 Dec 2007 13:24:55 +0000 Algirdas http://www.varnagiris.net/2007/12/03/moving-mysql-data-from-40-to-5x/ I needed to move date from one database to another.The source DB was MySQL 4.0 and the destination was MySQL 5.1. And all the problems was with UTF-8 symbols. I couldn’t get it to work on MySQL 5.1. I search on the internet and figured out that MySQL 4.0 does not support UTF-8 and it is supported only from MySQL 4.1.
You can store UTF-8 date on MySQL 4.0 but it’s not encoded using UTF-8. The data is encoded using the default encoding ‘Latin1′, so the only thing what you need is to make an export file and upload using PhpMyAdmin, but dont forget to select that the data is encoded ‘Latin1′ and not UTF-8.

]]>
http://www.varnagiris.net/2007/12/03/moving-mysql-data-from-40-to-5x/feed/
Another FedEx class update http://www.varnagiris.net/2007/09/28/another-fedex-class-update/ http://www.varnagiris.net/2007/09/28/another-fedex-class-update/#comments Fri, 28 Sep 2007 20:09:39 +0000 Algirdas http://www.varnagiris.net/2007/09/28/another-fedex-class-update/ FedEx supports only 150 pound per package, so if you are trying to calculate rates for package which weight more than 150 you get an error. The fix was made and now PackageCount is automatically counted by given weight.

You can download updated FedEx class from this post.

]]>
http://www.varnagiris.net/2007/09/28/another-fedex-class-update/feed/
PHP: FedEx shipping rates calculator updated http://www.varnagiris.net/2007/08/31/php-fedex-shipping-rates-calculator-updated/ http://www.varnagiris.net/2007/08/31/php-fedex-shipping-rates-calculator-updated/#comments Fri, 31 Aug 2007 10:22:56 +0000 Algirdas http://www.varnagiris.net/2007/08/31/php-fedex-shipping-rates-calculator-updated/ setCarrierCode(“FDXG”); After this I found few bugs witch I fixed and now you can download [...]]]> One user was using my FedEx class and could not get rates for Ground service. I have just figured out what was the problem. First of all Ground and Home delivery are ground services and you must set Carrier code to FDXG.

$fedex->setCarrierCode(“FDXG”);

After this I found few bugs witch I fixed and now you can download updated FedEx class from this post.

]]>
http://www.varnagiris.net/2007/08/31/php-fedex-shipping-rates-calculator-updated/feed/
406 Not Acceptable error http://www.varnagiris.net/2007/07/03/406-not-acceptable-error/ http://www.varnagiris.net/2007/07/03/406-not-acceptable-error/#comments Tue, 03 Jul 2007 10:59:51 +0000 Algirdas http://www.varnagiris.net/2007/07/03/406-not-acceptable-error/ 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

]]>
http://www.varnagiris.net/2007/07/03/406-not-acceptable-error/feed/
Godaddy promo code | renew .NET http://www.varnagiris.net/2007/07/03/godaddy-promo-code-renew-net/ http://www.varnagiris.net/2007/07/03/godaddy-promo-code-renew-net/#comments Tue, 03 Jul 2007 10:57:39 +0000 Algirdas http://www.varnagiris.net/2007/07/03/godaddy-promo-code-renew-net/ 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

]]>
http://www.varnagiris.net/2007/07/03/godaddy-promo-code-renew-net/feed/
PHP: FedEx shipping rates calculator http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/ http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comments Thu, 01 Jun 2006 06:49:38 +0000 Algirdas http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/ 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…)

]]>
http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/feed/
PHP: USPS rates calculator http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/ http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comments Thu, 04 May 2006 14:10:02 +0000 Algirdas http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/ 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…)

]]>
http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/feed/
PHP: UPS Address Validation tool http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/ http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/#comments Sat, 11 Mar 2006 10:28:14 +0000 Algirdas http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/ 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…)

]]>
http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/feed/
The winners of Eurovision 2006 http://www.varnagiris.net/2006/03/05/the-winners-of-eurovision-2006/ http://www.varnagiris.net/2006/03/05/the-winners-of-eurovision-2006/#comments Sat, 04 Mar 2006 21:00:43 +0000 Algirdas http://www.varnagiris.net/2006/03/05/the-winners-of-eurovision-2006/

“We are the winners of Eurovision, so you have to vote, vote,… vote for the winners�?. It’s the song words of future Eurovision winners. Six guys from Lithuania (Andrius Mamontovas, Saulius „Samas“ Urbonavi�?ius, Viktoras „Vee“ Diawara, Arnoldas Lukošius, Eimantas Belickas and Marijonas Mikutavi�?ius) established group dedicated for Eurovision contest. They named it “LT United”, the team of best musicians. Today they won national contest and they are going to Greece. It will be really nice to watch how they will look like there… The song is really interesting but the words are simple like two plus two…

Would you like to watch theirs show? Here is a TV rip from semifinal of national contest. Click here to download.

And here is official music clip: (Scroll down and choose Lithuania).

]]>
http://www.varnagiris.net/2006/03/05/the-winners-of-eurovision-2006/feed/
DWL-G700AP new accessory for my notebook http://www.varnagiris.net/2006/02/10/dwl-g700ap-new-accessory-for-my-notebook/ http://www.varnagiris.net/2006/02/10/dwl-g700ap-new-accessory-for-my-notebook/#comments Fri, 10 Feb 2006 17:43:42 +0000 Algirdas http://www.varnagiris.net/2006/02/10/dwl-g700ap-new-accessory-for-my-notebook/ If you have read all my blog, you should noticed month ago I bought new HP nx8220 PY538ES notebook. So the next purchase was wireless access point D-Link DWL-G700AP.

Here is some product features:
The DWL-G700AP is Wi-Fi IEEE 802.11g compliant, meaning that it can connect and interoperate with other 802.11g compatible wireless client devices. The G700AP is also backwards compatible to 802.11b.

It is really easy to use. With its web-based setup wizard, the DWL-G700AP Access Point ensures that you will be up and running on a wireless network in just a matter of minutes. The DWL-G700AP also includes an embedded DHCP server that can automatically assign IP addresses to wireless network clients.

DWL G700AP (more…)

]]>
http://www.varnagiris.net/2006/02/10/dwl-g700ap-new-accessory-for-my-notebook/feed/