Premius
  • Home
  • Windows Software
  • Presentation Control
  • Website Transfer Services
  • Blog
    • Internet Marketing
    • Mailing Lists
    • SEO
    • C++
    • PHP
    • Web Design
    • Windows
    • Android
    • Linux
    • JavaScript
    • C# .NET
    • iPhone

PHP

  • Home
  • Blog
  • PHP
Blog Categories
  • Internet Marketing
  • Mailing Lists
  • SEO
  • C++
  • PHP
  • Web Design
  • Windows
  • Android
  • Linux
  • JavaScript
  • C# .NET
  • iPhone
02 Apr

How to fix PHP upload file inherit permissions error using Windows IIS Server

If you’re like me, and you use Windows IIS, you’ve spent hours trying to figure out why your uploaded file won’t inherit the permissions needed to display correctly. Luckily, the answer is extremely easy and something most people would have never thought of.

The problem only happens when you use PHP to upload a file. When you upload a file, PHP sends the file to a temporary directory on the hard drive (for me it is C:\Windows\Temp) and then copies it over to it’s intended directory. Once the file has landed in the temporary directory, it is assigned the permissions of that directory. The problem is when Windows copies that file, it keeps the temporary directory’s permissions and doesn’t inherit your web directory’s permissions.

By premius PHP Read more: %s
11 Nov

Fixing Magento error "[unknown object].fireEvent()"

Recently I've encountered the following Javascript error in my Magento store:

error: error in [unknown object].fireEvent():
event name: address_country_changed
error message: zipElement.up(...).down(...) is undefined

This error pops out when creating the order from admin panel and entering customer shipping address. It pops out when editing every filed in the address, which is quite annoying.

Regarding to this forum post, this has something to do with defining the zip code as not required filed in the database. Specialists recommend to set zip code as required filed in the database and then setting it as not required on the country basis. But people report that setting so will still not make zip code as optional field.

So I decided to do my own fix. Here it is:

By premius PHP Read more: %s
14 Sep

Premius Free Simple Shipping Magento Extension

We are glad to annouce our free Magento Simple Shipping Extension. This extension allows you to add up to 10 fixed price shipping methods to your Magento shopping cart. Easy to use and self-explanatory.
Link to extension: http://www.magentocommerce.com/magento-connect/premius-simpleshipping-3960.html

Direct download link: Premius_Simpleshipping-1.2.1.tgz

To install, use Magento Connect Manager or directly unpack the ‘app’ and ‘skin’ folders to the root of your Magento installation. After installation, a cache cleanup and Admin re-login may be required.

icon

By premius PHP Read more: %s
02 Aug

What’s new in PHP 5.4? A huge list of major changes!

The PHP 5.4 is now available.

As you probably know, the updates that were intended for postponed PHP 6 were added to PHP 5.4.0 instead, so now PHP includes a huge set of new language features and removes several legacy behaviors.

Because of that I created a list of major changes since PHP 5.3 ,along with some examples and brief descriptions of these changes…

Major PHP improvements

Changes since PHP 5.3 version include:

By premius PHP Read more: %s
Get in Touch
ABOUT PREMIUS

Premius develops Windows and Android software, Magento extensions, and provides professional technology services including website transfer and market research.

Professional services

LATEST POSTS
  • Support page for Prayerbook app

    8:08 PM Oct 6th

  • Support page for StIoannCitates app

    8:08 PM Oct 6th

  • Privacy Policy for optinskiestartsi app

    2:43 PM Mar 29th

CONTACT US
  • info@premius.net

  • www.premius.net

  • Developer Blog

PRODUCTS
  • NetAdmin
  • Presentation Control
  • PC Shutdown Timer
  • Website Transfer
Premius

© Copyright 2026 Premius. All Rights Reserved.