![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Moderator Join Date: Apr 2006 Location: India
Posts: 1,731
Thanks: 2
Thanked 198 Times in 164 Posts
Rep Power: 38 | PHP Qs Set - 5 1) How do I use the sqlite extension? SQLite is essentially a simple SQL based database that creates and uses simple text files, files that the SQLite user creates. Further : http://www.zend.com/php5/articles/php5-sqlite.php
__________________ Sree |
| | |
| | #2 (permalink) |
| Moderator Join Date: Apr 2006 Location: India
Posts: 1,731
Thanks: 2
Thanked 198 Times in 164 Posts
Rep Power: 38 | Re: PHP Qs Set - 5 2) What is the easiest way to write out an array to a file? using : $fd = @fopen("output","w") or die ("I/O error"); fwrite($fd,implode("\n",$file)); fclose($fd);
__________________ Sree |
| | |
| | #3 (permalink) |
| Moderator Join Date: Apr 2006 Location: India
Posts: 1,731
Thanks: 2
Thanked 198 Times in 164 Posts
Rep Power: 38 | Re: PHP Qs Set - 5 3) What is leak() A leak allocates a resource and loses all references to it. it's mostly used for debugging purposes
__________________ Sree |
| | |
| | #4 (permalink) |
| Moderator Join Date: Apr 2006 Location: India
Posts: 1,731
Thanks: 2
Thanked 198 Times in 164 Posts
Rep Power: 38 | Re: PHP Qs Set - 5 4) What is fgetss() Gets line from file pointer and strip HTML tags Further : http://in2.php.net/manual/en/function.fgetss.php
__________________ Sree |
| | |
| | #5 (permalink) |
| Moderator Join Date: Apr 2006 Location: India
Posts: 1,731
Thanks: 2
Thanked 198 Times in 164 Posts
Rep Power: 38 | Re: PHP Qs Set - 5 5) What is clearing the contents of an array? You may need to clear the contents of an array when reusing the same variable to hold different array data (say in a loop). If you don't clear the contents then the contents from the previous loop iteration may be left in the array (if the previous array data was longer than the current array data).
__________________ Sree |
| | |
![]() |
| Tags |
| php , set |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP based web application frameworks | vjsreevs | WEB DESIGNING, DEVELOPMENT ,PROMOTION & SEO | 4 | 11-08-06 05:13 PM |
| PHP Qs Set - 4 | vjsreevs | PERL, PYTHON, PHP & MY SQL | 5 | 17-07-06 08:01 PM |
| Software Engineer / Analyst in PHP, .net, and Web Designer | sridhar | Fresher Jobs | 0 | 15-07-06 03:51 PM |
| knowledge of PHP, MySQL, Sugar CRM, XML | hameed | Experienced Jobs | 0 | 25-05-06 12:26 AM |
| Installing Apache, PHP on Windows | BINNY | PERL, PYTHON, PHP & MY SQL | 1 | 11-04-06 07:34 AM |
| More Interview Questions Here... |