July 18th, 2006
We, at phpResource Group, started to keep solutions of problems posted to our group’s site. Already two solutions have been deployed there. In future, we will provide more solutions of the problems posted to phpResource Group. In this regard, we would like to request you all members to send your demos (runnable solutions without major dependencies) of problems.
Once you solved any problem (of phpResource Group), post the solution to the group and then if you want to provide your solution as a demo solution to our group’s site, please send it to info@phpresgroup.org. We will deploy it to the demo section of http://www.phpresgroup.org/
Before submitting the demo, make sure:
- You mentioned the problem number (message number of phpResource)
- You mentioned your name, email, and website(if any) - we will keep it
along with the demo.
- Your solution does not depend on another programs of size is 1+ MB
- The demo is tested and it runs properly.
Once again, we request and encourage you all to send your demos.
Regards,
$Rupom
No Comments » |
Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
July 13th, 2006
We get some common problems during our development work by PHP/MySQL. Here is a short list of common problems with MySQL and PHP along with possible solutions:
Error: Maximum Execution Time Exceeded: This is a PHP limit; go into the php.ini file and set the maximum execution time up from 30 seconds to something higher, as needed. It is also not a bad idea to double the RAM allowed per script to 16MB instead of 8MB.
Fatal error: Call to unsupported or undefined function mysql_connect() in …: This means that your PHP version isn’t compiled with MySQL support. You can either compile a dynamic MySQL module and load it into PHP or recompile PHP with built-in MySQL support. This process is described in detail in the PHP manual.
Error: Undefined reference to ‘uncompress’: This means that the client library is compiled with support for a compressed client/server protocol. The fix is to add -lz last when linking with -lmysqlclient.
Error: Client does not support authentication protocol: This is most often encountered when trying to use the older mysql extension with MySQL 4.1.1 and later. Possible solutions are: downgrade to MySQL 4.0; switch to PHP 5 and the newer mysqli extension; or configure the MySQL server with –old-passwords. (See “Client does not support authentication protocol”, for more information.)
[reference: http://dev.mysql.com]
See more about it here:
http://dev.mysql.com/doc/refman/5.0/en/php-problems.html
Enjoy PHPing !
Regards,
Rupom
No Comments » |
General, Sharing Experiences, phpResource, PHP |
Permalink
Posted by MA Razzaque Rupom
July 6th, 2006
Google Checkout is a checkout process that you integrate with your website, enabling your customers to buy from you quickly and securely, using a single username and password. Once they do, you can use Google Checkout to charge their credit cards, process their orders, and receive payment in your bank account.
Google Checkout works with Google’s search advertising program, AdWords, to increase your sales and minimize your expenses. Shoppers who see the Google Checkout badge on your AdWords ads will more easily find you when they search, and for every dollar you spend on AdWords, you can process $10 in sales for free.
See more of Google Checkout API
Google Checkout will spread light to the world of online transaction — no doubt.
Google is greatly serving the online peoples and making life easier.
$Rupom
No Comments » |
General, Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
July 6th, 2006
I got the moderatorship of WeberForums. Site admin Berber proposed me this moderatorship. I was really very excited getting this offer. It’s really a good option to contribute the Open Source Community. I am hoping that I will be able to contribute there more and more.
Here is the list of forums I have been moderator for :
——————————————————————-
1. PHP General
2. PEAR
3. MySQL General
4. Security
5. JavaScript
6. SEO
7. XML & XSL
——————————————————————–
My special thanks to the WeberForums admin Berber. Now it’s time to contribute there as well as phpResource Group.
I am very happy !
$Rupom
3 Comments |
General, Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
July 3rd, 2006
I won the first prize at WeberDev coding contest for June, 2006. My codes were published there. I submitted maximum number of codes there. To get the first prize, one needs to submit at least 5 codes. I have submitted 6 codes there and won the first prize ($100 Cash). The amount is not big but it’s always amazing to get prizes and awarded. It gives inspirarions — same for me. I won the “Innovation Award” at phpclasses.org and then won the first prize at Weberdev. These two gave me a lot of inspirations to go ahead strongly.
Prize and Winners for June, 2006
My Codes at WeberDev.Com
Happy PHP Coding !!
$Rupom
No Comments » |
Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
June 28th, 2006
I have put a demo implementation of my Url2PdfReport Classs in the web. Many users asked me their problems using the Class. This demo is for their better understanding. My demo is here:
http://phpresource.bdwebwork.com/pdf_test
[Choose your PDF reader’s version in the demo.]
If you are facing any kind outputting problem, please see the demo outputs from this link. In failure, feel free to contact me.
Regards,
$Rupom
No Comments » |
Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
June 27th, 2006
Yesterday I added phpResource Feeds to phpResource Website (http://www.phpresgroup.org). From now on, lastest posts of phpResource Group will be available in these URLs:
http://services.phpresgroup.org/phpResourceFeed/
http://services.phpresgroup.org/
I used my XmlToArray Class to parse the RSS of phpResource Group.
Visit the URLs to see the feeds.
Rupom
No Comments » |
Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
June 27th, 2006
Yesterday I released version 1.1 of Url2PdfReport Class. Changes that come with this version are simple but helpful. Because of some user-queries, I added the following methods to the class:
———————————————————–
/**
* Sets PDF version (added on 06/23/2006)
* @param pdf version
* @return none
*/
function setPdfVersion($pdfVersion)
{
/*
$pdfVersion = 1.3 for Adobe Acrobat Reader 4
$pdfVersion = 1.4 for Adobe Acrobat Reader 5
$pdfVersion = 1.5 for Adobe Acrobat Reader 6
*/
$this->pdfVersion = $pdfVersion;
}
/**
* Sets PDF header (added on 06/26/2006)
* @param pdf header
* @return none
*/
function setPdfHeader($pdfHeader)
{
$this->headerHtml = $pdfHeader;
}
/**
* Sets PDF footer (added on 06/26/2006)
* @param pdf header
* @return none
*/
function setPdfFooter($pdfFooter)
{
$this->footerHtml = $pdfFooter;
}
———————————————
I got some mails from some members of phpclasses.org. They suggested me to give a pdf version option so that they can choose their version option according to their available pdf reader. I did so.
And yesterday one of the phpResource members asked if header and footer can be added to the pdf. I added so to the class.
To use the latest options with your PDF, use the class as following :
——————————————————————
require_once(’Url2PdfReport.class.php’);
$obj = new Url2PdfReport();
//pdf version
$pdfVersion = ‘1.4′; //change it according to your need
/*
$pdfVersion = 1.3 for Acrobat Reader 4
$pdfVersion = 1.4 for Acrobat Reader 5
$pdfVersion = 1.5 for Acrobat Reader 6
*/
//set PDF version
$obj->setPdfVersion($pdfVersion);
//set Pdf Header
$headerHtml = “put whatever you want to put in header”;
$obj->setPdfHeader($headerHtml);
//set Pdf Footer
$footerHtml = “put whatever you want to put in footer”;
$obj->setPdfFooter($footerHtml);
//sets URL of the HTML file which will be converted to PDF
//change this according to your URL
$obj->setUrl(”http://localhost/phpclasses/url2pdfreport/first_test.html”);
//gets the pdf report of the URL data
$obj->getPdfReport();
——————————————————————-
Hopefully programmers using this class will get some more helps by these changes.
Regards,
$Rupom
1 Comment |
General, Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
June 23rd, 2006
Paul Stamatiou shares with us five ways to speed up your site, some quick and easy recommendations to making your site fly.
He pointed out these five ways:
1) Reduce Overall Latency by Reducing HTTP Requests
2) Properly Save Your Images
3) Compression
4) Avoid _JavaScript Where Possible
5) Strip Extraneous PHP Calls
See his nice article:
http://paulstamatiou.com/2006/06/22/5-ways-to-speed-up-your-site/
My thanks to Paul Stamatiou for such nice knowledge-sharing.
$Rupom
No Comments » |
General, Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom
June 21st, 2006
Yesterday phpResource reached to 300 members. We are really very happy seeing this number. We always wait to deal with a big community, to be with a big community so that we can help and exchange our views vastly. I appreciate the great contributions of our great and awesome moderators and members. They are making our goal successful.
If you are not a member of phpResource Group, please Join phpResource to share your views with us all. Hopefully you will be impressed by phpResource’s activities.
Join phpResource and Enjoy PHPing !!
Regards,
$Rupom
1 Comment |
General, Sharing Experiences, phpResource |
Permalink
Posted by MA Razzaque Rupom