Php Gzdecode Function
PHP file_get_contents giving garbled output
if the server forces gzip output. We can use the gzdecode function avaliable from PHP 6.0 or the gzdecode function definition given in gzdecode man page on PHP.net. The code to deflate is given below ... ;quot;http://www.example.com" ) ) ;
if ( ! function_exists ( "gzdecode" ) ) {
function gzdecode ( $data ...
php
Are you getting garbled values when using file_get_contents fetching an external URL (website scrapping using php ...
http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping
Solve "Cannot modify header information - headers already sent by *.php"
before using the header or setcookie functions, make sure the file does not have a closing php tag (?> ... want to add ob_* functions to it !
You can turn on buffering in PHP on by default using php ...
php
Warning: Cannot modify header information - headers already sent by somefile.php (output started at somefile.php :###) in somefile.php on line ###
This Warning is shown by PHP when you use the header ...
http://digitalpbk.com/php/warning-cannot-modify-header-information-headers-already-sent
Sprintf Function in Python
python
The printf or sprintf function is used to format strings in PHP and C programming constructs. sprintf in php returns the formatted string whereas printf just prints the output.
$variable = sprintf ( " %d %s %d = %d " , 4 , "+" , 5 , 9 ... 4 + 5 = 9
On python, sprintf is handled using an operator instead of function ...
http://digitalpbk.com/python/php-sprintf-function-in-python
How to Enable/Disable Battery care function on Sony Vaio to improve Battery life.
http://digitalpbk.com/hardware/sony-vaio-enable-battery-care-function-improve-battery-life
Free Light weight Social media sharing javascript for Facebook, Twitter, Stumble Upon, Digg and Reddit
: function ( title , url ) {
this . share ( 'http://www.facebook.com/sharer.php?u=##URL##&t=##TITLE##' , title , url ) ;
} ,
tw : function ( title , url ... ) ;
} ,
su : function ( title , url ) {
this . share ( 'http://www.stumbleupon.com/submit?url=##URL##' , title , url ) ;
} ,
reddit : function ( title , url ... ) ;
} ,
digg : function ( title , url ) {
this . share ( 'http ...
http://digitalpbk.com/javascript/free-light-small-social-media-sharing-javascript-facebook-twitter-stumble-upon-digg-and-r
Removing index.php From URL in CodeIgniter
Ignitor by default all URLs except the default home contains "index.php" by default in the URL, For example http://localhost/index.php/class/function.
In order to make the URLs "cleaner", we have to remove "index.php" from the URL. This is done using the mod_rewrite module in apache to redirect all traffic to index.php/ . The following code inside .htaccess does the redirection.
Code Igniter ... Engine on
# Rewrite URLs of the form 'x' to the form 'index.php/x'.
RewriteCond %{REQUEST_URI} !=/favicon ...
http://digitalpbk.com/code-ignitor/removing-indexphp-url
Sony Vaio Battery Care utility Download
http://digitalpbk.com/software/sony-vaio-battery-care-utility-download
How to change root admin user password in Drupal ?
drupal
In order to reset the root or superadmin password on a drupal system, login into the database by looking at the settings.php . You can use phpMyAdmin or any other MySQL utilities like SQLYog, or MySQL command line.
Run the following query to reset the password.
UPDATE users SET pass = MD5 ( 'password' ) WHERE uid = 1
The user id of administrator is always 1 .
Password field ...
http://digitalpbk.com/drupal/how-change-drupal-root-user-password
CodeIgniter: Use GET Parameters for OAuth or Facebook
codeigniter
Codeignitor destroys your GET parameters, because it does not use it, however for applications that use OAuth, Facebook Applications or Facebook authentication using Facebook connect, GET parameters are required.
In order to retrieve GET parameters from Code Ignitor, first we have to change the config.php, uri_protocol to PATH ... Thanks, very helpful!
(Codeigniter, PHP) ...
http://digitalpbk.com/codeigniter/use-get-parameters-facebook-application
Arun Prabhakar - Web Designer
Skills related to Web Designing,
Knowledge and experience in magical blending of HTML , JavaScript w AJAX , CSS , to make elogant simple pages that are simply usable, appealing and light to download.
Over 3+ years experience in developing websites in PHP backend scripting language in raw PHP, and exposure to various frameworks such as Drupal and Code Ignitor , making applications that are efficient, fast, optimized, and with a clean extensible code.
Experience in tweaking PHP installations ...
http://digitalpbk.com/about/resume/web-designer
- Battery Care Function Vaio Windows7
- Php Codeigniter
- Php File_get_contents
- Substr File_get_contents Php
- Php Virus Bagle
- Php Website Scrape
- Php Json In Perl
- Php Cron Timezone
- Php Codeignitor Jquery Library
- Php Page Scrape Facebook
- More Archives related to Php Gzdecode Function
- Php Find Mac Address
- Php Perl Content Management System
- No Input File Specified Php Dreamhost Rewrite
- How To Avoid Injection On Old Php Site Hosting
- Php Mysql Javascript Engineer Yahoo! Resume
- Cannon Sx120is Windows 7 Driver
- Www Mechanize Resume On Error
- Sony Vaio Car Adapter
- Hdmi Cable Sony Vaio
- Vpccw26fg Online Buy
- Css Visual Designer Web Design Server
- Vsat Coder Css Shopping Cart
- Cisco Css 11501 11500
- Canon Digital Rebel Xt Copiers
- Sql Injection Protection Avoid Sql Injection Techniques
- Sql Injection Database Book Drupal
- Graphic Design Schools Cards Printing
- Bad Credit Secured Loan To Buy Macbook
- Mac Address Book Software
- Free Website Screenshot Software
