The fundamentals of iPhone App Development

January 25, 2011 § Leave a comment

Friends,

I started iphone app development with little or can be said as no C/C++ knowledge. Now I am confident of developing quality iPhone apps. I will share my knowledge curve with you, asap. Just busy with some works.

Joomla 1.6 is there

January 13, 2011 § 1 Comment

Nested categories, ACL, improved language support & SEO, built-in redirects, template styles, & much more. New features for designers, developers, admins, and webmasters, certain to make you happy!

http://joomla.org/16/

Remote Timing Attacks On PHP Applications

January 5, 2011 § 1 Comment

Example of the addressed issues ..

At first look, this seems like an impossible task but in reality it doesn’t take much thinking to realise how many web applications likely treat existing and non-existing usernames differently during a login attempt. Differing treatment may lead to clues about the validity of any username in a few ways:

1. The website might reveal that the username does/does not exist via an error message or more subtle response elements (e.g. slight markup differences).
2. The client might be redirected to different URLs depending on whether the username exists or not.
3. An attacker might measure the response time difference between processing a login with an invalid username versus one with a known valid username.

For more info visit the owner of this post http://blog.astrumfutura.com

Parse HTML using php

January 3, 2011 § 3 Comments

I found it useful for me, thanks to the original provider www.phpro.org

function getTextBetweenTags($tag, $html, $strict=0)
{
/*** a new dom object ***/
$dom = new domDocument;

/*** load the html into the object ***/
if($strict==1)
{
$dom->loadXML($html);
}
else
{
$dom->loadHTML($html);
}

/*** discard white space ***/
$dom->preserveWhiteSpace = false;

/*** the tag by its tag name ***/
$content = $dom->getElementsByTagname($tag);

/*** the array to return ***/
$out = array();
foreach ($content as $item)
{
/*** add node value to the out array ***/
$out[] = $item->nodeValue;
}
/*** return the results ***/
return $out;
}

$html = '<body>
<h1>Heading</h1>
<a href="http://phpro.org">PHPRO.ORG</a>
<p>paragraph here</p>
<p>Paragraph with a <a href="http://phpro.org">LINK TO PHPRO.ORG</a></p>
<p>This is a broken paragraph
</body>';

$content = getTextBetweenTags('a', $html);

foreach( $content as $item )
{
echo $item.'<br />';
}

Where Am I?

You are currently viewing the archives for January, 2011 at ARP's Web Blog.