First  |  Prev |  Next  |  Last
Pages: 173 174 175 176 177 178 179 180 181 182 183 184 185 186
MDB2 over DB
It's been recommend that if you are starting with PEAR and/or will be using the database abstraction classes, you should use MDB2 instead of DB. That's well and fine. But does MDB2 have a functionality similar to DB's createTables.php? I looked around but wasn't able to find anything like that. Alternativel... 1 Sep 2006 13:53
HTML_QuickForm addOptions Value and htmlspecialchars
I am currently trying to create a select menu using HTML_Quickform but addOption seems to be replacing my values with HTML characters. Take for example the following: $select->addOption($name, 'ga_merchants.php?op=deals&id=' . $id); When processed, the markup for the option is as follows: <option value="ga... 31 Aug 2006 23:00
DB_DataObject and specific mysql client encoding
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, today I faced the problem that data returned from the and sent to the database was not in UTF8 when using DB_DataObject. The core problem as it seems to me is that the mysql client library on most if not on all systems is compiled with 'latin1' as default ch... 28 Aug 2006 14:24
Pear::Soap PHP 4 and header madness
Hello, I think I just need a fresh pair of eyes looking at this. Goal: Talk to the Yahoo EWS Sandbox and make it add a campaign. Problem: The headers don't seem to be correctly formed down the wire. The EWS API says I need to send the following as part of the soap headers. <code> $header = array( "use... 24 Aug 2006 01:51
HTML_QuickForm and image button
Hello! How can I use an image as a submit button with HTML_QuickForm? ... 23 Aug 2006 18:00
Solved (kinda) Re: FormBuilder Crosslinks Problem
I had $fb_fieldsToRender set in my ga_merchants class. After commenting it out I now get the crosslinked form element. Now, how do I set fieldsToRender properly? I tried inserting 'category' and 'categoryid' but to no avail. led_belly wrote: Sorry, I accidently removed var $fb_crossLinks entirely. I hav... 21 Aug 2006 22:40
FormBuilder Crosslinks Problem
I am trying to setup a cross-linked select box based on the info presented below. For some reason FormBuilder isn't presenting the cross linked form element. I have the following DB tables/fields: [ga_merchants] merchantid .... [ga_categories] categoryid .... [ga_merchant_categories] merchantid... 22 Aug 2006 09:49
Date class conflicting withPHP 5.1
I've just moved to a new server that has PHP 5.1 on it. Unfortunately some of my pages that use the PEAR Date class now give me "Fatal error: Cannot redeclare class date in /usr/local/share/pear/Date.php on line 88". Apparently there's a new PHP class also called Date <http://blog.agoraproduction.com/index.php?g... 10 Aug 2006 09:56
HTTP_Upload
Hello! I'm using HTTP_Upload in order to upload multiple files on some webserver. Thing is, I also have to record in a database table the first picture uploaded in one session. Code looks like this: // snip // Upload market pics $upload = new HTTP_Upload("en"); $files = $upload->getFiles(); $last_id = $_... 25 Jul 2006 06:27
File_Archive: gzinflate()
Warning: gzinflate() [function.gzinflate]: buffer error in C:\php\PEAR\File\Archive\Reader\Zip.php on line 268 I'm getting the above error when I try and unzip a file. Here's my code: File_Archive::extract( File_Archive::read( $path.'/'.$fileData['name'].'/'), File_Archive::toFiles($path) ); If I do: e... 21 Jul 2006 13:17
First  |  Prev |  Next  |  Last
Pages: 173 174 175 176 177 178 179 180 181 182 183 184 185 186