Block Uploads of Adult or Nude Images using PHP.

I found an interesting and useful class file in phpclasses.org, that helps to detect image nudity based on skin pixel score developed by Bakr Alsharif from Egypt. I had integrated this with my previous...

Use ajax to call a php method

Hi i would like to use ajax in my website where all requests pass are loaded in index.php (i use htacess for rewriting urls) so when i use ajax i always reload the current page and then use if(expressio)...

CakePHP query additions in controller

I am migrating raw PHP code to CakePHP and have some problems. As I have big problems with query to ORM transformation I temporary use raw SQL. All is going nice, but I met the ugly code and don’t...

Showing and hiding buttons per ajax request in jquery

I’ve coded up a sort of inventory managing system and I’m adding a shipping cart so to speak to it. I’m trying to make the interface easier to use and navigate through jquery. The ‘cart’...

html/css framework, what should I definitely not miss?

I’m working on a little html/css framework that I can use for most of my websites, at least to have a basis to build on. Here’s what I’ve been using so far:CSS frameworkReset.css –...

Get the absolute position of a div relative to the window

This question is quite similar to what I want I’m looking for, but my situation is different enough, I think, to merit a new question. I have several divs positioned absolutely inside of a parent...

getting ajax to update corresponding div in mySQL row result

I have this AJAX code:function updateAssigned(assigned , ticketid)if (window.XMLHttpRequest)// code for IE7+, Firefox, Chrome, Opera, Safarixmlhttp=new XMLHttpRequest();else// code for IE6, IE5xmlhttp=new...

Do I need to learn server-side programming and web framework

I’m new to web development and programming and have decided to start with web design after about six months of learning C#. I’ve been learning HTML, CSS, and JavaScript and am trying in general...