First  |  Prev | 
Pages: 78 79 80 81 82 83 84 85 86 87 88
RecursiveDirectoryIterator and foreach
I have discovered that when I foreach over a RecursiveDirectoryIterator (see example below) the $item actually turns into a SplFileInfo object. I would expect it to be a RecursiveDirectoryIterator. How do I do a hasChildren() on SplFileInfo? However, if I change it to a non-recursive, DirectoryIterator, $item ... 3 Sep 2009 05:29
ssh2_tunnel
Hi, Could you please give me short sample of ssh2_tunnel usage. The only sample that I found was manual sample and I can not understood how it works. -- Best Regards, Gevorg Harutyunyan ... 3 Sep 2009 05:28
RES: [PHP] paging
MySql or MsSql or other dB? -----Mensagem original----- De: tedd [mailto:tedd.sperling(a)gmail.com] Enviada em: terça-feira, 10 de fevereiro de 2009 11:26 Para: Jim Douglas; php-general(a)lists.php.net Assunto: Re: [PHP] paging At 3:26 AM +0000 2/10/09, Jim Douglas wrote: Does anyone have a link to any example... 3 Sep 2009 05:27
COM and the PHP equivalent of ASP Currency data type
Hi all, I am working with a COM interface and the specification which is wrtten for ASP calls for a "Currency" data type to be passed to a function. What is the equivalent in PHP? If I call com_print_typeinfo() I can see that the function has the following info: function GetPrice( /* VT_PTR [2... 4 Dec 2008 15:42
c99shell
Hi there, Not sure if this is proper place to post but here it goes. We got nailed by someone using c99shell today. They were able to upload and overwrite a bunch of index files. I am working on discovering how they were able to get it on our server. Here's some basic info. I am by no means a php expert. Should... 30 Apr 2006 17:12
c99shell
Hi there, Not sure if this is proper place to post but here it goes. We got nailed by someone using c99shell today. They were able to upload and overwrite a bunch of index files. I am working on discovering how they were able to get it on our server. Here's some basic info. I am by no means a php expert. Should t... 1 May 2006 16:01
What am I missing?
Hi there! Why... I have this code: <b>Add manufacturer:</b><br> <form name="frmMan" action="admin/phpfunctions/addnewmanufacturer.php?frmManufacturer=<?php echo $frmIDManufacturer;?>&frmModel=<?php echo $frmIDModel;?>" method="post"> <input type="text" size="30" name="frmManufacturerName"> <input type="... 7 Mar 2006 14:32
OpenSSL error:0E06D06C:configuration file routines:func(109):reason(108) ??!
I copied and pasted the example found here: http://www.php.net/openssl_csr_new And this one too: http://www.php.net/manual/en/function.openssl-pkey-new.php And I get the output that looks like valid 'gibberish' for all three (CSR, Cert, PK), except what concerns me is that I get fifteen of the same (completely ... 7 Mar 2006 14:32
PHP 4.2.2 Float->Mysql addition problem
Hi List ^_^ PHP 4.2.2 Redhat 7.3 Mysql 3.23.54 Ok here is the problem: I try to summary float values from my database (mysql) in PHP. code: $sql = "SELECT * FROM somwehere WHERE 1"; $result = mysql_query($sql); while ($assoc = mysql_fetch_assoc($result)) { //adding values $sum = $sum + ... 6 Feb 2006 04:10
Convert Feet to Metres
Hi, I am trying to create a function that will convert metres to feet and vice versa. After searching Google I have found that 1 meters = 3.2808399 feet. However if someone enters 10.5 to mean 10 feet and 5 inches this is not the same as 10 feet and half a foot as there are 12 inches in a foot! Is there a s... 2 Nov 2005 10:24
First  |  Prev | 
Pages: 78 79 80 81 82 83 84 85 86 87 88