Saturday, January 28, 2012

General

Multiple modal box on one page, cakePHP-jQuery

November 6, 2010 · Leave a Comment 

You must have installed jquery, called ajax helper in your controller and also call jquery in your layout Dynamically calling multiple modal box on a single page: In your view page, <?php echo $html->scriptStart() ?> $(function() { $(‘a#userinfoID’).click(function() { var uid = $(this).attr(‘userinfo’); $(‘#userdialog’ + uid).dialog(‘open’); return false; }); }); <?php echo $html->scriptEnd() ?> <?php echo $this->Html->link(__($user['User']['user_name'], true), array(‘action’ => ‘view’,     $user['User']['id']),... [Read the full story]

PHP

Permission denied, cake bake console

November 6, 2010 · Leave a Comment 

If you are getting a permission denied error while trying to bake, remember to chmod +x on the console file in your cake folder. keep walking…  Read More →

PHPlist

Split name in phplist to first and last name

March 14, 2010 · Leave a Comment 

If you’ve got your phplist set up as “name” and you are wondering how to split this field into first and last name (import on phplist seem to break), follow these instructions: 1. Export the users’ ID and Name, 2. Split the “name” into 2 columns in excel 3. Save the document as a text file, separating the users’ ID and names using commas 4. Create a First name and Last name attribute in phplist 5. Run this code to get the first and last name into your database: put opening php tag here $dbhost = ‘localhost’; $dbuser = ‘database_user’; $dbpass... [Read the full story]

Security

Vulnerabilities in web apps – Google

May 4, 2010 · Leave a Comment 

Google releases Jarlsberg, an application to demonstrate common security vulnerabilities in web apps. We want Google employees to have a firm understanding of the threats our services face, as well as how to help protect against those threats. We work toward these goals in a variety of ways, including security training for new engineers, technical presentations about security, and other types of documentation. We also use codelabs — interactive programming tutorials that walk participants through specific programming tasks. via – Jarlsberg  Read More →

Themes

Comment Rating plugin not working with Thesis 1.7 Theme – Fix

May 18, 2010 · Leave a Comment 

Modify /lib/classes/comments.php Change line 276 : if ($output) echo $output; To: if ($output) echo apply_filters(‘comment_text’,$output);  Read More →

Web Security

Vulnerabilities in web apps – Google

May 4, 2010 · Leave a Comment 

Google releases Jarlsberg, an application to demonstrate common security vulnerabilities in web apps. We want Google employees to have a firm understanding of the threats our services face, as well as how to help protect against those threats. We work toward these goals in a variety of ways, including security training for new engineers, technical presentations about security, and other types of documentation. We also use codelabs — interactive programming tutorials that walk participants through specific programming tasks. via – Jarlsberg  Read More →

Web Security

Vulnerabilities in web apps – Google

Google releases Jarlsberg, an application to demonstrate common security vulnerabilities in web apps. We want Google employees to have a firm understanding of the threats our services face, as well as how to help protect against those threats. We work toward these goals in a variety of ways, including security training for new engineers, technical... Read more of this article


Fingerprint verification for a web application

I was replying to a post about this topic on a forum where I habitually visited, I started thinking on how to point this person in the right direction for this exercise since he wants to develop it using asp & mssql. Biometric verification is doubtlessly a sound security measure, but why would you want to have that for a web based application?... Read more of this article


Top 25 Most Dangerous Programming Errors, should developers be liable?

Programming gaffes are bound to occur. Whether it is a minor issue, which leads to a temporary collapse of the software system or a major one, that allows for a cyberattack, should vendors be liable for these flaws after delivering a code that gets a nod when tested? Customers want products, they want it fast, they also want it cheap. If developers... Read more of this article


More Posts From Web Security

CRM

Upgrading 1-2-All

To update 12all, copy the 12all folder into the root 1. rename /12all/admin/default.authentication_db.inc.php... 


Webform – lead entry notification in vTiger

No notification is sent out when a form is sent via the webform. So you don’t... 


More Posts From CRM

General

Multiple modal box on one page, cakePHP-jQuery

You must have installed jquery, called ajax helper in your controller and also call... 


Disabling comments on media page, WordPress

Comment out the code calling the comments template in your custom theme. For twenty... 


cakePHP ‘created’ truncated to the date only

$this->yourTableName->find(“all”,array(‘conditions’ => array(‘yourTableName.id’... 


More Posts From General