Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Wednesday, April 18, 2012

How to install PhpDocumentor on lampp (xampp on Ubuntu)

1. open terminal and run the command (we are installing phpdocs version 2.0.0a2)
sudo /opt/lampp/bin/pear install channel:pear.phpdoc.org/phpDocumentor-2.0.0a2

2. add lampp bin to $PATH variable so that phpdoc can be called from anywhere
echo 'export PATH=$PATH:/opt/lampp/bin/' >> ~/.profile

3. reload the .profile
. ~/.profile

4. Test by running the phpdoc on the terminal.
phpdoc


References:

Wednesday, November 10, 2010

PHP Exceptions

PHP Exception
http://www.w3schools.com/php/php_exception.asp

Tuesday, July 7, 2009

Simply Scheme (CS) book goes online, Cassandra DB

Goto in php
http://php.net/manual/en/control-structures.goto.php

Goto in javascript
http://www.summerofgoto.com/

books: Simply Scheme - Introducing Computer Science
http://www.cs.berkeley.edu/~bh/ss-toc2.html

Up and running with Cassandra (bigtable like distributed database)
http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra/

Monday, April 13, 2009

Create custom 404 error documents with PHP, Force no-cache using PHP

Custom Error Document 404 with PHP
http://www.devarticles.com/c/a/Apache/Custom-Error-404-Documents-with-PHP/

PHP: Force no-cache (using PHP header)
http://in.php.net/header
<?php
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>

Monday, April 6, 2009

PHP 5 Standard Library

Introducing PHP 5
http://www.sitepoint.com/article/coming-soon-webserver-near/

Introducing PHP 5's Standard Library
http://www.sitepoint.com/article/php5-standard-library/

Saturday, March 14, 2009

Embed images into html, Let me Google That For You service

Embed base64 encoded images into web pages
http://www.hedgerwow.com/360/dhtml/base64-image/demp.php

Let Me Google That For You
http://www.lmgtfy.com/
info: Polite way of saying, "Google it you n00b".

Friday, March 13, 2009

Online Legacy, Infinite depth expandable categories using PHP and Javascript, Pay per view image licensing,

Online Legacy
http://www.sitepoint.com/blogs/2009/03/11/rest-in-peace-your-online-legacy-will-continue/

a-r-t: Web 2.0 gradients
http://www.dezinerfolio.com/2007/03/14/ultimate-web-20-gradients-free-download/

a-r-t: work: How to display infinite depth expandable categories using PHP and javascript
http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/

Gumgum - Pay per view or ad supported image licensing for internet
http://gumgum.com/publishers

Online PDF to Word converted
http://www.pdftoword.com/
.

Saturday, March 7, 2009

Online Courses, Incrementing Characters in PHP

Free Online Cources
http://u.about.com/

Journalism Training
http://www.newsu.org/

Incrementing characters in PHP
a++: Using PHP Strings in unusual ways | TechnoSophos
http://technosophos.com/content/using-php-strings-unusual-ways

Tuesday, March 3, 2009

PHP Calendars, Wordpress Calendar Plugin

Advance in Making Stem Cells From Skin
http://science.slashdot.org/article.pl?sid=09/03/03/0050233

SageBase - Harnessing the Crowd to Make Better Drugs:
http://www.sagebase.org/

seems: good: Keith Devens - PHP Calendar
http://keithdevens.com/software/php_calendar#examples

Wordpress Calendar for Wordpress
http://www.kieranoshea.com/projects/calendar/

Friday, February 20, 2009

Image preview, Gmail Custom Buttons, Good Flash Classes, Utilities CD organising & Driver backup/restore

Good resource: The web design/development blog and css menu showcase of Josh Jones
http://eight7teen.com/articles/20-free-wordpress-themes-for-2009

a-r-t: Dynamic Thumbnails and preview images with DOM, CSS and PHP
http://icant.co.uk/articles/imagepreview/

Image Preview using jQuery
http://james.padolsey.com/demos/imgPreview/full/

tags: load image preview automatically

Automatic Analytics Tracking code insertion with PHP
http://www.fivesevensix.com/posts/2007/07/11/automatic-analytics-tracking-code-insertion-with-php
http://www.fivesevensix.com/

Custom buttons (Like the Gmail)
http://stopdesign.com/archive/2009/02/04/recreating-the-button.html

S5 Reloaded - Browser based presentation slideshow
http://www.netzgesta.de/S5/

good: Online Diagramming Application
http://my.lovelycharts.com/

Social bookmarking menu revisited
http://eight7teen.com/freebies/social-bookmarking-menu-revisited

Flash class to create the page flip effect
http://www.bytearray.org/?p=77

Music player class for flash
http://playr.nocreativity.com/#/demos

Free: Driver backup and restore utility
http://www.boozet.org/dd.htm

Make a simple robot for beginners
http://www.instructables.com/id/S8ZJILKFR123ACT/

Free: Visual CD Browser
http://www.boozet.org/visualcd.htm

Tuesday, February 10, 2009

PHP DB Classes, J2ee Bulletin Board

Massless's PHP Database Abstraction Class
http://www.massless.org/_tests/phpdb/

PEAR Database
http://pear.php.net/package/MDB2

Krishi Vigyan Kendra, Baramati
http://www.kvkbaramati.com/

Vigyan Ashram - Rural Development Education System
http://www.vigyanashram.com/

iit: Java J2EE Bulletin board/Forum
http://www.mvnforum.com/mvnforumweb/index.jsp

Friday, January 30, 2009

htmlspecialchars() and mysql_real_escape_string()

http://shiflett.org/articles

What People are looking for in a good PHP developer
http://blog.rvdavid.net/php-developers-freelancers-or-companies-i-need-you/

quotes:
Artificial Intelligence is no match for Natural Stupidity.

Passwords are like underwear. You shouldn’t leave them out where people can see them. You should change them regularly. And you shouldn’t loan them out to strangers.


htmlspecialchars() Vs mysql_realescape_string()
http://www.sitepoint.com/forums/showthread.php?t=449054
inshort: htmlspecialchars() is for display
and mysql_real_escape_string() is for storage

details: and benefits of mysql_real_escape_string()
addslashes() vs mysql_real_escape_string()
http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-string

a-r-t:cf: Greedy Mysql and regular expression
SELECT * FROM `cf`
WHERE data REGEXP '(<text>).*([^<\/]image).*(<\/text>)';

Thursday, January 22, 2009

PHP Tools

PHP Snippet File for Notepad++ (Quicktext plugin) [Check the syntax]
http://searchlightdigital.com/the-greatest-php-snippet-file-ever-using-quicktext-for-notepad

a-r-t: Web application security for PHP
http://php-ids.org/

PHP: 50 Extremely useful php tools
http://www.smashingmagazine.com/2009/01/20/50-extremely-useful-php-tools/

10 most esoteric languages
http://nettuts.com/articles/top-10-most-bizarre-programming-languages/

PIET demo
http://www.dangermouse.net/esoteric/piet/samples.html

http://nettuts.com/tutorials/php/sanitize-and-validate-data-with-php-filters/
http://nettuts.com/tutorials/php/oop-in-php/

Wednesday, January 21, 2009

4 Free Ebooks for developers, Generating Reports in PHP

interesting: Mitsubishi Electric Research Laboratories
http://www.merl.com/projects/

Project Stonehenge
http://wiki.apache.org/incubator/StonehengeProposalProject Stonehenge
info: Stonehenge is a set of example applications for Service Oriented Architecture that spans languages and platforms and demonstrates best practise and interoperability.

Four Free Ebooks for web developers
http://yensdesign.com/2009/01/four-free-ebooks-web-developers/

Lemon screen - make 'your smile' your computer password
http://www.bananasecurity.ch/l_index.php

Mobile desktop based on FreeBSD
http://www.rofreesbie.org/download.htm


Incognito Live CD Tork - anonymityanywhere
http://www.anonymityanywhere.com/tork/index.php

Build your PDF and Excel reports with PHP
http://www.theregister.co.uk/2007/12/10/pdf_excel_reports_with_php/

Tomboy - Simple Note Taking Powerful Ideas
http://projects.gnome.org/tomboy/

List of opensource software packages.
http://en.wikipedia.org/wiki/List_of_open_source_software_packages#Finance

Based on OsCommerce
http://autoload.sourceforge.net/

Tuesday, December 23, 2008

Netbeans 6.5 IDE for PHP

mysql: error: #1062 - Duplicate entry '0' for key 1
http://blogs.vinuthomas.com/2008/06/18/mysql-error-1062-duplicate-entry-0-for-key-1/
info: it seems that Mysql throws this error because the field type of the auto increment field is not large enough to hold the next value, so it tries to wraps the count back to ‘0' where the is already a record with that value.

http://www.zen-cart.com/forum/showthread.php?p=488103

http://www.zen-cart.com/forum/showpost.php?p=215391&postcount=17
while export/import mysql db (while backing up a server)
moreinfo: it appears that the cause is related to the way in which various hosts will export backups of data to transfer from one server to another.
I'm guessing that many of them don't include the auto-increment property by default ...

Issue with Primary key
http://www.zen-cart.com/forum/showthread.php?p=488103
info: zen-cart specific: This table should not have a primary key.
And, since you've got one set, it's forcing uniqueness on every "0" record, which would happen for every "guest"/visitor.

Vector Lady - Vector Freebies and tutorials
http://vectorlady.com/

IDE: Netbeans 6.5 with PHP Support
http://www.netbeans.org/downloads/index.html

flex: flash: Changing the direction of Content Management
http://www.konductor.net/blog/

Thursday, December 4, 2008

Self configuring portable WAMPP Stack, Adobe cocomo

http://www.shiftspace.org

http://boo-box.com/site/en/shop

http://labs.adobe.com/technologies/cocomo/


http://www.server2go-web.de/
tag: memory: usb: stick: stand: standalone: stand alone: portable webserver

Monday, December 1, 2008

Saturday, November 29, 2008

Face Detection Library, Microcontroller Kit for kids, GPS

http://extendably.com/topics/browsers/firefox/

http://www.sitepoint.com/article/getting-started-with-pear/

http://www.phpscaffold.com/

http://www.hannonhill.com/products/cascade-server/index.html

http://www.sitepoint.com/article/quick-php-tips/

http://torch3vision.idiap.ch/
info: It's a machine vision library, written in simple C++ and based on the Torch machine-learning library.

http://nettuts.com/tutorials/php/how-to-use-amazon-s3-php-to-dynamically-store-and-manage-files-with-ease/


http://www.thinkgeek.com/geek-kids/7-13-years/b13e/

http://www.embedtronics.com/usb/usb232.html

http://www.parallax.com/Store/Sensors/CompassGPS/tabid/173/ProductID/396/CategoryID/48/List/0/Level/a/Default.aspx?SortField=ProductName,ProductName


http://www.instructables.com/id/SHHYST1FGBNNNNE/

http://www.embedtronics.com/GPS/lassenSQ.html

Friday, November 28, 2008

JS-Kit, Cruz browser for Mac, TooManyTabs Firefox add-on

info: Fast, powerful and incredibly simple, JS-Kit's services let web publishers build dynamic, compelling online experiences in just minutes. 

http://js-kit.com/

http://startupmeme.com/firefox-new-extension-toomanytabs-that-saves-your-memory/

http://www.troywolf.com/articles/php/class_http/
info: class_http.php is a "screen-scraping" utility that makes it easy to scrape content and cache scraped content for any number of seconds desired before hitting the live source again. Caching makes you a good neighbor! 

http://cruzapp.com/
Cruz


temp: Favicon is evil
http://tobyincode.blogspot.com/2008/11/favicon-is-evil.html