prosoxi.com | Author Archives

Author Archives | admin

How to sanitize your php input

Never trust user input, it may be malicious, always check your php input.

Check all global arrays like $_GET, $_POST, $_REQUEST, $_COOKIE, allow only known variables and make sure that they contain the right type of data.

What does this mean ? It means that if you have a $_GET['id'] variable in your script which has to be an integer, always check it and make sure it is an integer.

Also don’t allow other variables in $_GET or other globals, keep only variables that your scripts need. So, if your script only uses only one variable $_GET['id'] then dispose other variables. Here is how I do it.

http://www.codeassembly.com/How-to-sanitize-your-php-input/

Continue Reading

Posted in PHP0 Comments

Apple Ipad larger versions

Apple iPad, the device which looks like a larger version of Apple’s iPod Touch is available from April 2010. A lot of people be disappointed after iPad introduced and created many funny pictures and illustrations about it, but I really liked this one.

Continue Reading

Posted in News0 Comments

Generate Outlook Calendar Events with PHP and iCalendar

The internal web application at my company tends to send out a lot of email notifications. Some of them are reminders about various deadlines. Recently I got a feature request to allow people to add these reminders as events to their Outlook calendar. Continue Reading

Posted in PHP0 Comments

Google FONT

Continue Reading

Posted in Graphics0 Comments

Wii Wedare

Continue Reading

Posted in News0 Comments

PHP Remove NULL values from Array

Remove NULL values only Continue Reading

Posted in PHP0 Comments

array_slice

array_slice — Extract a slice of the array

http://uk.php.net/manual/en/function.array-slice.php

Continue Reading

Posted in PHP0 Comments

True Black (CMYK)

I’ve got a quick Photoshop 101 tip for print media. This can also apply to Illustrator, but I just filed it under Photoshop. We should all know by now that RGB documents are meant for screens, and CMYK documents are meant for printing. Therefore, when you print a CMYK document and you need a really rich black it’s important to remember one little teeny tiny thing: 100% K isn’t the blackest black you can get. More after the jump. Continue Reading

Posted in Graphics0 Comments

Illustrator Create pattern swatches

  1. Create artwork for the pattern.
  2. (Optional) To control the spacing between pattern elements or to clip out portions of the pattern, draw a pattern bounding box (an unfilled rectangle) around the artwork you want to use as a pattern. Choose Object > Arrange > Send To Back to make the rectangle the backmost object. To use the rectangle as a bounding box for a brush or fill pattern, fill and stroke it with None. Continue Reading

Posted in Graphics0 Comments

Make large prints | Upsampling Software

Higher Quality: Equipped with S-Spline Max, the latest generation of BenVista’s patented S-Spline algorithm, PhotoZoom Pro 4 creates image enlargements of unequalled quality. PhotoZoom Pro 4 beats any of the alternative solutions, such as Photoshop’s Bicubic technique, fractal-based methods, and so-called ‘industry standards’. Continue Reading

Posted in Graphics0 Comments

Nike sneakers featuring Firefox, Twitter and Google. You want one, you know you do.

Last year, we showed you the cool Twitter and Facebook Adidas Superstars Originals by designer Gerry Mckay and boy did it make our mouths water. This time,  it’s Nike’s turn with these geek-friendly, customized Dunks inspired by Firefox, Twitter and Google.

These cool, customized sneakers designed by David Reese will definitely appeal to both sneakerheads and geeks. Love them too? You can also check out more unique sneaker designs at Brass Monki. Continue Reading

Posted in News0 Comments

increase php upload limit

.htaccess Continue Reading

Posted in .htaccess, PHP0 Comments

About rel=”nofollow”

Watch a video on rel=nofollow.

“Nofollow” provides a way for webmasters to tell search engines “Don’t follow links on this page” or “Don’t follow this specific link.” Continue Reading

Posted in Programming0 Comments

Automatically make a url a clickable link

Sorry just realised that my response was missing a line.

$str=ereg_replace(“[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]”,”<a href=\”\\0\” rel=\”nofollow\”>\\0</a>”,$str)

This is the one I use to put the no-follow link in.

Posted in PHP0 Comments

How To Automatically Make URL Clickable on WordPress

There are a time we need to put some URL on our WordPress content and make this content clickable. We need to added the link manually or using WYSIWG menu. And this is real pain if we must do this each time we add URL.

Did you know that, WordPress offering functions to make this pain jobs more easier? All need to do is activated the function and let’s WordPress do all the pain jobs ;) The Functions is make_clickable() and you can find out more here http://codex.wordpress.org/Function_Reference/make_clickable. Continue Reading

Posted in PHP0 Comments

FF PicPick: Steps to capture a scroll down Problem

Press Ctrl+Alt+PrtScn (scrolling window shortcut)  on FF with Full screen mode (F11)

Posted in Windows0 Comments

Domain Name Finder, Lookup, Whois

Domain Finder Tool by Truste.gr

read more for domains

Advertise

Sponsors

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting