First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
Iterating ASTs with SPL in PHP-5.3.1
Hi I have an abstract syntax tree which I need to iterate. The AST is generated by the lemon port to PHP, found in PEAR. Now "normally", I'd do it with the brand new and shiny (PHP 5.3.1) SPL classes, and it would look like this: $it = new \RecursiveIteratorIterator( new \RecursiveArrayIterator($a... 19 Jan 2010 15:50
Object Oriented Programming question
Hi, I've been learning about object oriented programming for the past few weeks and I've understood it pretty well, but I have one question. Usually with PHP scripts I make, all the functionality for a specific page is in the actual PHP file, and I'd use PHP functions in a separate directory which would be inclu... 20 Jan 2010 16:20
64 bit date in 32 bit php ??
php 5.2.12 running in CentOS 5.x Unfortunately, both my server (xen linode) and my test server (crappy old dell I found in a field) are 32-bit. I need to work with some dates earlier than 1901 and I would really prefer to store them in *nix time in the database and use the date() function to format them for di... 19 Jan 2010 09:03
Casting objects.
Hello. I've got an object via odbc_fetch_object (which is of stdClass). I have an class structuresRemovalReason. I want to cast the response of odbc_fetch_object to structuresRemovalReason. The only way I can see of doing this is to not use odbc_fetch_object, but odbc_fetch_assoc and then iterate the array... 19 Jan 2010 16:58
64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server
Dear All, I had config the php.ini as the following : extension=php_mssql.dll Then run the cli "iisreset" and reboot the web server machine... After that, there is NO any MS-SQL within the phpinfo()... So, would you mind to help more ? Thanks ! Edward. ... 20 Jan 2010 10:40
Zend debugger doesn't work
Hi I have installed php 5.3.1 (with thread safety = on) recently And I tried to install zend debugger yesterday. I downloaded zend debugger extension from But I didn't find dll module for 5.3.x release. So I tried dll file in 5_2_x_comp folder. When I start Apache, I ... 19 Jan 2010 13:33
order by ASC
Ok, I think this is a MySQl question. Take pity on me? $sql = "SELECT * FROM $db.`mailinglist` WHERE `type` IN ('Member', 'Affiliated', 'Life Member') ORDER BY `rollnumber` ASC"; rollnumber is a varchar(50). I need it to be a text field. ASC does not order the way I want. 1000 1001 998 999 I want it ... 19 Jan 2010 21:28
Shipping calculator
Hey all, I've written a few shopping carts, but not one that calculated shipping charges. So I did a bit of Googling and found SONICODE that looks pretty good here. It's a PHP library that handles the calls to the carries USPS, UPS and FedEx and t... 16 Jan 2010 21:39
Compiling PHP-GTK with PHP-5.3.1 with VC9
Hello, I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Windows. The first errors I was able to fix. The patch file with my fixes you find as an attachment to this mail. But now I get following error and I don't know why. VC9 doesn't find the SG-definition, but SAPI.h is included in php_gtk+.c. So what's goi... 16 Jan 2010 08:25
SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS
Hi All, Ash, Angelo, Any ideas how to send an email in PHP on windows platform/xp on local development machine. System Configuration PHP 5.2 Apache 2 No ISS NO SMTP Any trusted SMTP software to install on local development machine and how to set it up with php to send an email? Also just providing the... 16 Jan 2010 06:16
First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88