Simple Upload Form Not Working

I was putting together an upload form today that uploads to a file to PHP. On submit, the $_FILES var was empty and for the life of me I couldn’t figure out what was going on.

Attempts:

  1. I tried a print_r on both $_POST and $FILES. Both showed up empty.
  2. Added info to the $_GET to make sure the POST was even going to the action page.
  3. Made sure I had enctype=”multipart/form-data” in the form.

Solution:

Continue reading

Published
Categorized as news

Tech News

Recently, I’ve started looking for different tech news sources (in companionship to slashdot). Mainly because I wanted to be more thorough about what I find for tech news. I want to be ahead of the curve. I realize that takes a lot of work and a lot of intel because there’s other devs doing the same thing. Not only that, but now that I’m a “small fish” — No one comes to me with new products they are developing. Rather, I have to scour the web myself (pros and cons). Continue reading

Published
Categorized as news

Notable CSS Tips

I found a CSS tip today that was new to me. You can find it as the last item on this CSS Validation Advanced Tips page.

Incase the link ever changes. The tip is to use: element * [att] (p * [href]) to target an element with the specified attribute on it. Targeting any p element with the attribute ‘href’ on it. Pretty nifty.

Continue reading

Published
Categorized as news

Notable Article On Keeping Scope

I have been perusing javascript articles on keeping method scope and allowing a function from one object to call a function in another object and while keeping the ‘this’ binding intact. This has proven to be easier said that done.

During my research I found a share-worty article at http://www.robertsosinski.com/2009/04/28/binding-scope-in-javascript/

As for the image used as the thumbnail: I do what I can.

Continue reading

Published
Categorized as news

HTML5 and Canvas w/ Flanvas

I’ve brushed off the dust of last years flanvas projects and I’m on it again. I’m ramping it up for use with a project I’m going to be helping on that will heavily benefit from something like flanvas.

 

Continue reading

Published
Categorized as news

Another Class for Flash

I decided I’m going to make a class for the Flash TextField which lets you animate the garbage out of it. I’ve already got some simple animations for text fields but I want to get nuts. The biggest thing it will do is break text up from a chunk into individual characters which you can then freely animate using a tweener. It’s going to be fun.

Continue reading

Published
Categorized as news

Cross-domain XHR

I just put together a short article on how you can load files via javascript from another domain. This doesn’t seem to be anything new, but it hasn’t been pronounced to all webbies yet so I’m here helping to push it across. You can check out the Cross-domain XHR article here

Continue reading

Published
Categorized as news