Technology Powered Knowledge Base
Click Here To Make FREE Audio & Video Call From Web Browser!

Extract Text Content from Rich Documents using Simple PHP

VN:F [1.9.22_1171]
Rating: +29 (from 33 votes)
VN:F [1.9.22_1171]
Rating: 9.8/10 (36 votes cast)

It’s much easier to extract text from reach documents using exec() for linux/windows or COM() for windows with PHP script. If we don’t have dedicated/VPS server or don’t have support applications(MS Word, AntiDOC, Adobe PDF etc) then its not possible to do with exec() or COM().
 
This is technical document to understand how we can extract text from DOC, PDF, ODT, HTML, DOCX, XLSX, PPTX etc with block of general PHP code. We know that Microsoft follows Open XML Format for there reach documents for MS Office 2007 and higher. That’s why we have some known solution to extract raw text from DOCX, XLSX, PPTX files but its very much painful for DOC(MS Office 2003 and below) files. We have a working solution for DOC but accuracy for extraction of text is 70% – 95%. Continue reading

CURL and Real Time Implementations with PHP Applications

VN:F [1.9.22_1171]
Rating: +29 (from 29 votes)
VN:F [1.9.22_1171]
Rating: 10.0/10 (32 votes cast)

Modern PHP applications mostly depended on CURL, as we can do lots of thing with CURL. Mostly use of CURL is, creating communication gateway between different domains. With CURL we can grab any Web Page, can upload file with remote call to other webpage, can access FTP server with credential, we can parse data from one URL to another URL and many other uses are associated with CURL. PHP supports libcurl as native library.
 
It allows connecting and communicating with many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. Current version also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, and user authentication. Continue reading

Micro-Data with Itemized Markup & Google Search Implementation

VN:F [1.9.22_1171]
Rating: +27 (from 27 votes)
VN:F [1.9.22_1171]
Rating: 10.0/10 (28 votes cast)

By June 2011 Google announced that, they have started support for micro-data format. Basically micro-data format standardize by schema.org. Google announced as new initiative from Google, Bing and Yahoo to create and support a common set of schemas for structured data markup for various sections like Product, Event, Person, Organization, Recipe etc.
 
Useability of this type coded snippets, “itemized search” in search engines. It can be easily implemented as this is simple markup properties of existing HTML tags. Continue reading

SignIn with Facebook Implementation using Facebook Connect

VN:F [1.9.22_1171]
Rating: +22 (from 22 votes)
VN:F [1.9.22_1171]
Rating: 9.6/10 (24 votes cast)

Right now Facebook is the most popular website in the world. As part of there social web service they already declared a service called Facebook Connect. With this service we can authenticate user with there FB account and can get some information of particular user, as a result we can authenticate a user with his/her FB account and sign into our websites. Other famous services of FB is build custom Facebook Page, Aplication, Games etc.
Continue reading

Third Party Sign In with Google and Yahoo Account via OpenID

VN:F [1.9.22_1171]
Rating: +22 (from 22 votes)
VN:F [1.9.22_1171]
Rating: 10.0/10 (24 votes cast)

We may already informed about OpenID sign in process. Here we can understand how user can sign in to our websites with Google/Yahoo account via OpenID authorization process. Right Now OpenID is the best choice to sign in various websites with other website accounts.
 
Google and Yahoo also provide us OpenID authorization service that can help us to authenticate Google/Yahoo user from there site and call back to our sites with some user information along with unique identifier of the particular user. In this application we used a third-party OpenID class as this is very conceptual over the net. Continue reading