<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Serverphorums.com - php-general</title>
        <description>This is the general php discussion list for users.</description>
        <link>http://www.serverphorums.com/list.php?8</link>
        <lastBuildDate>Mon, 20 May 2013 14:08:22 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,709530,709530#msg-709530</guid>
            <title>[PHP] Question about session_id() and session_start() (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,709530,709530#msg-709530</link>
            <description><![CDATA[ I find the Note in PHP document.<br />
<a href="http://www.php.net/manual/en/function.session-id.php" target="_blank"  rel="nofollow">http://www.php.net/manual/en/function.session-id.php</a><br />
<br />
&quot;Note: When using session cookies, specifying an id for session_id() will<br />
always send a new cookie when session_start() is called, regardless if the<br />
current session id is identical to the one being set.&quot;<br />
<br />
I feel puzzled about this feature. Even if the current session id is<br />
identical to the one one being set, session_start will send a new cookie. I<br />
want to know why session_start behave in this way.<br />
<br />
Forgive my poor English. Thanks in advance.]]></description>
            <dc:creator>孟远涛</dc:creator>
            <category>php-general</category>
            <pubDate>Mon, 20 May 2013 05:40:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,709305,709305#msg-709305</guid>
            <title>[PHP] Moving from mysql functions to mysqli or PDO - which is best? (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?8,709305,709305#msg-709305</link>
            <description><![CDATA[ Hi folks,<br />
<br />
[post newbie abilities] - I'm attempting to move away from PHP mysql functions to something newer, either mysqli or PDO.<br />
<br />
I have read various things about them, but I'm curious at this point which would be best to learn for the present and future. I'm usually working on small to medium size projects.<br />
<br />
I understand that PDO has an extra abstraction layer so it can work with / convert to other databases like oracle and others fairly easily, but some have said that PDO can be a bit slower the MySQLi?<br />
<br />
So I would really like to hear opinions on the best choices of either MySQLi or PDO.<br />
<br />
Also I'm also trying to learn OOP, so I'm looking for a very good working PDO and/or mysqli database class - to get started with, that has all the basic needs like UPDATE - INSERT - DELETE - QUERY etc. That would be very helpful.<br />
<br />
Thanks in advance for your opinions!<br />
<br />
<br />
--<br />
Thanks,<br />
Dave - DealTek<br />
<a href="mailto:&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a><br />
[db-3]<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>dealTek</dc:creator>
            <category>php-general</category>
            <pubDate>Sat, 18 May 2013 20:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,709061,709061#msg-709061</guid>
            <title>[PHP] looking for a PDF generator class/library for PHP 5? (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,709061,709061#msg-709061</link>
            <description><![CDATA[ Hi all,<br />
<br />
I'm looking into a good versatile PDF generator class/library to use with PHP 5? --- Preferably one which is maintained somewhat recently...<br />
<br />
Mostly needed for basic pages, but I also have some longer reports (more than one  8.5&quot; x 11&quot; page) and it would be nice if  the pdf was able to split it up without losing part of the font when crossing page boundaries etc...<br />
<br />
<br />
<br />
--<br />
Thanks,<br />
Dave - DealTek<br />
<a href="mailto:&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a><br />
[db-3]<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>dealTek</dc:creator>
            <category>php-general</category>
            <pubDate>Sat, 18 May 2013 20:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,708082,708082#msg-708082</guid>
            <title>[PHP] A Good OOP Tutorial/Read? (21 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,708082,708082#msg-708082</link>
            <description><![CDATA[ Hey Folks,<br />
<br />
I'm looking to refine my PHP 5 OOP skills.  I know the basics, understand<br />
patterns, but have clearly missed a few things along the way.<br />
<br />
Do any of you have some real good PHP 5 OOP tutorials/reads bookmarked you<br />
could share?  Something other than php.net/oop5.<br />
<br />
Thanks!<br />
<br />
-- <br />
-Dan Joseph<br />
<br />
<a href="http://www.danjoseph.me" target="_blank"  rel="nofollow">http://www.danjoseph.me</a><br />
<a href="http://www.dansrollingbbq.com" target="_blank"  rel="nofollow">http://www.dansrollingbbq.com</a><br />
<a href="http://www.youtube.com/DansRollingBBQ" target="_blank"  rel="nofollow">http://www.youtube.com/DansRollingBBQ</a>]]></description>
            <dc:creator>Dan Joseph</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 19 May 2013 18:40:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,708071,708071#msg-708071</guid>
            <title>[PHP] Trying to understand what I've broken to not allow mkdir() to work. (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,708071,708071#msg-708071</link>
            <description><![CDATA[ Hi.<br />
<br />
I'm running on a Mac with a Centos VM (via VirtualBox).<br />
<br />
Was running from from our SVN server.<br />
<br />
New repo, now running from GIT.<br />
<br />
The checkout is on my local machine (using Netbeans, LESS, etc.)<br />
<br />
The VM is running Apache and PHP V5.4.15<br />
<br />
During the move, I've got some permissions issues, which I simply don't<br />
understand enough to a) resolve myself, b) know what to ask for to get the<br />
right help in solving the issue.<br />
<br />
I've been told that the permissions on my mac via the shared folder through<br />
VirtualBox to the Centos setup is where my problem lies. But I don't know.<br />
<br />
Is there anyone who can give me definite help here? I can manually create<br />
the directories, but that's just daft.<br />
<br />
Nothing LOOKS any different between the two repos, but I don't know how to<br />
tell beyond comparing ls outputs.<br />
<br />
Any help would be good.<br />
<br />
-- <br />
Richard Quadling<br />
Twitter : @RQuadling]]></description>
            <dc:creator>Richard Quadling</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 16 May 2013 17:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,707817,707817#msg-707817</guid>
            <title>[PHP] Saving session to database (7 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,707817,707817#msg-707817</link>
            <description><![CDATA[ I'm having a problem with webtrees ... <a href="http://webtrees.net/" target="_blank"  rel="nofollow">http://webtrees.net/</a><br />
My copy is running on <a href="http://webtrees.lsces.org.uk" target="_blank"  rel="nofollow">http://webtrees.lsces.org.uk</a> and you will see that it is <br />
throwing an error relating to the session handling.<br />
<br />
Running Apache 2.2.22, PHP5.4.14, MySQL 5.5.31 ( <a href="http://lsces.org.uk/phpinfo.php" target="_blank"  rel="nofollow">http://lsces.org.uk/phpinfo.php</a> )<br />
<br />
If I comment out the session_set_save_handler() section of session.php then I <br />
can log in and use the site. Have tried reworking that as a <br />
SessionHandlerInterface without any success. As far as I can see, the 'write' <br />
function of the handler is not being called and while there are various notes <br />
about problems with PHP5.4 blocking access to the write and close functions, <br />
none of the fixes I have tried have resulted in a working setup.<br />
<br />
Anybody seen this problem with PHP5.4?<br />
<br />
<a href="http://lsces.org.uk/hg/webtrees/file/dcf6ff358108/includes/session.php#l334" target="_blank"  rel="nofollow">http://lsces.org.uk/hg/webtrees/file/dcf6ff358108/includes/session.php#l334</a> is <br />
the code that seems to be failing.<br />
<br />
-- <br />
Lester Caine - G8HFL<br />
-----------------------------<br />
Contact - <a href="http://lsces.co.uk/wiki/?page=contact" target="_blank"  rel="nofollow">http://lsces.co.uk/wiki/?page=contact</a><br />
L.S.Caine Electronic Services - <a href="http://lsces.co.uk" target="_blank"  rel="nofollow">http://lsces.co.uk</a><br />
EnquirySolve - <a href="http://enquirysolve.com/" target="_blank"  rel="nofollow">http://enquirysolve.com/</a><br />
Model Engineers Digital Workshop - <a href="http://medw.co.uk" target="_blank"  rel="nofollow">http://medw.co.uk</a><br />
Rainbow Digital Media - <a href="http://rainbowdigitalmedia.co.uk" target="_blank"  rel="nofollow">http://rainbowdigitalmedia.co.uk</a><br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Lester Caine</dc:creator>
            <category>php-general</category>
            <pubDate>Sat, 18 May 2013 00:00:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,705700,705700#msg-705700</guid>
            <title>Re: [PHP] undef func - any more clues ? (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,705700,705700#msg-705700</link>
            <description><![CDATA[ Hi David, and all who helped,<br />
<br />
for now one step forward  my text message &quot;db open&quot; hit the screen.<br />
<br />
after som brain-melting of various inputs i ad hoc came to the quite obvious conclusion,<br />
try yum with what yum could be wanting:<br />
<br />
** yum install php-odbc **<br />
<br />
and see that magic, without knowledge of what Im really doing I got through<br />
<br />
tnx <br />
/georg<br />
  ----- Original Message ----- <br />
  From: georg <br />
  To: David OBrien <br />
  Sent: Sunday, May 12, 2013 9:00 PM<br />
  Subject: Re: [PHP] undef func - any more clues ?<br />
<br />
<br />
  found this that might be right (64  what does that stand for, i have to my knowledge a 32bit machine)<br />
<br />
  how would I go about to install this ? <br />
<br />
  tnx<br />
  Goerg<br />
    ----- Original Message ----- <br />
    From: David OBrien <br />
    To: georg <br />
    Sent: Sunday, May 12, 2013 7:54 PM<br />
    Subject: Re: [PHP] undef func - any more clues ?<br />
<br />
<br />
<br />
    On May 12, 2013 1:35 PM, &quot;georg&quot; &lt;georg.chambert@telia.com&gt; wrote:<br />
    &gt;<br />
    &gt; Hi<br />
    &gt; Im not really following, I have done:<br />
    &gt; pecl list-all ; but dont find anything that has to do with ODBC<br />
    &gt;<br />
    &gt; so still stuck with Apache error log saying : no such function (or eqiv speak) odbc_connect()<br />
    &gt; tnx<br />
    &gt; Georg<br />
    &gt;<br />
    &gt; ----- Original Message ----- From: &quot;Ashley Sheridan&quot; &lt;ash@ashleysheridan.co.uk&gt;<br />
    &gt; To: &quot;georg&quot; &lt;georg.chambert@telia.com&gt;<br />
    &gt; Cc: &quot;James Yerge&quot; &lt;james@nixsecurity.org&gt;; &quot;PHP General&quot; &lt;php-general@lists.php.net&gt;<br />
    &gt; Sent: Saturday, May 11, 2013 12:05 PM<br />
    &gt; Subject: Re: [PHP] undef func - any more clues ?<br />
    &gt;<br />
    &gt;<br />
    &gt;<br />
    &gt;&gt; On Sat, 2013-05-11 at 11:36 +0200, georg wrote:<br />
    &gt;&gt;<br />
    &gt;&gt;&gt; Hi again,<br />
    &gt;&gt;&gt; is there any more clues to how Apache/PHP would get hold of ODBC libraries ?<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt; (( summery; Im a bit new to linux (here Fedora 17) so Im not sure of how<br />
    &gt;&gt;&gt; these entities get hold of each other; are they linked into same module or<br />
    &gt;&gt;&gt; are they dynamically loaded<br />
    &gt;&gt;&gt; libraries, guess that the latter. Then Im not clear over the &quot;path&quot; or<br />
    &gt;&gt;&gt; &quot;linkage&quot; of these; that is where<br />
    &gt;&gt;&gt; are the definitions made to link them together; there is a series of conf<br />
    &gt;&gt;&gt; and ini files (and keyword) which should<br />
    &gt;&gt;&gt; link names, and point to file names in (defined ?) directories (given by<br />
    &gt;&gt;&gt; paths)    ))<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt; / Georg<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt; ----- Original Message ----- From: &quot;georg&quot; &lt;georg.chambert@telia.com&gt;<br />
    &gt;&gt;&gt; To: &quot;James Yerge&quot; &lt;james@nixsecurity.org&gt;<br />
    &gt;&gt;&gt; Cc: &quot;PHP General&quot; &lt;php-general@lists.php.net&gt;<br />
    &gt;&gt;&gt; Sent: Saturday, May 11, 2013 12:47 AM<br />
    &gt;&gt;&gt; Subject: Re: [PHP] undef func<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt; Ok, txn ! so<br />
    &gt;&gt;&gt; &gt; yum install php-devel<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt; worked, and got me a hole lot of pearl, however, still PHP has<br />
    &gt;&gt;&gt; &gt; odbc_connect() call as undefined function. as per Apache error log.<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt; There was some mentioning of php.ini; could that be something here ?<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt; /georg<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt; ----- Original Message ----- &gt; From: &quot;James Yerge&quot; &lt;james@nixsecurity.org&gt;<br />
    &gt;&gt;&gt; &gt; To: &quot;Gabriel Ricci&quot; &lt;gabrielricci@gmail.com&gt;<br />
    &gt;&gt;&gt; &gt; Cc: &quot;georg&quot; &lt;georg.chambert@telia.com&gt;; &quot;Serge Fonville&quot;<br />
    &gt;&gt;&gt; &gt; &lt;serge.fonville@gmail.com&gt;; &quot;Daniel Brown&quot; &lt;danbrown@php.net&gt;; &quot;tamouse<br />
    &gt;&gt;&gt; &gt; mailing lists&quot; &lt;tamouse.lists@gmail.com&gt;; &quot;PHP General&quot;<br />
    &gt;&gt;&gt; &gt; &lt;php-general@lists.php.net&gt;<br />
    &gt;&gt;&gt; &gt; Sent: Saturday, May 11, 2013 12:12 AM<br />
    &gt;&gt;&gt; &gt; Subject: Re: [PHP] undef func<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt;&gt; On 05/10/2013 06:08 PM, Gabriel Ricci wrote:<br />
    &gt;&gt;&gt; &gt;&gt;&gt; pear isntall php-dev<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt; Att.<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt; Gabriel Ricci<br />
    &gt;&gt;&gt; &gt;&gt;&gt; ____________________<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt; Website <a href="http://gabrielricci.github.com" target="_blank"  rel="nofollow">http://gabrielricci.github.com</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt; Follow @gabrielricci <a href="http://www.twitter.com/gabrielricci" target="_blank"  rel="nofollow">http://www.twitter.com/gabrielricci</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt; Facebook profile <a href="http://www.facebook.com/gabrielricci2" target="_blank"  rel="nofollow">http://www.facebook.com/gabrielricci2</a>, GitHub<br />
    &gt;&gt;&gt; &gt;&gt;&gt; profile<a href="http://www.github.com/gabrielricci/" target="_blank"  rel="nofollow">http://www.github.com/gabrielricci/</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt; <a href="http://code.google.com/p/syslibjs/" target="_blank"  rel="nofollow">http://code.google.com/p/syslibjs/</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt; On Fri, May 10, 2013 at 7:07 PM, georg &lt;georg.chambert@telia.com&gt; &gt;&gt;&gt; wrote:<br />
    &gt;&gt;&gt; &gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; **<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; So thanx again, closing in. It turned out that I had tried; yum &gt;&gt;&gt;&gt; install<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; php_pear  // i.e. with an underscore, should be with hyphen !<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; so crawling a mm forward; then stuck on; pecl install pdo_odbc    // &gt;&gt;&gt;&gt; in<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; this case the undrscore is ok (!)<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; which fails as<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; &quot;Cant find php headers in /usr/include/php&quot;  followed by &quot;Error &gt;&gt;&gt;&gt; phpize<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; failed&quot;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; /georg<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; ----- Original Message -----<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; *From:* Serge Fonville &lt;serge.fonville@gmail.com&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; *To:* georg &lt;georg.chambert@telia.com&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; *Cc:* Gabriel Ricci &lt;gabrielricci@gmail.com&gt; ; Daniel<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; Brown&lt;danbrown@php.net&gt;; tamouse<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; mailing lists &lt;tamouse.lists@gmail.com&gt; ; PHP<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; General&lt;php-general@lists.php.net&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; *Sent:* Friday, May 10, 2013 11:41 PM<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; *Subject:* Re: [PHP] undef func<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;  Assuming OP is using a distro that uses yum for package management;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; A &quot;yum whatprovides pecl&quot; should provide the package name that needs &gt;&gt;&gt;&gt; to<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; be<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; installed, in case of an apt based distro, this could be done &gt;&gt;&gt;&gt; through<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; aptitude. Either way, it seems what might provide more information &gt;&gt;&gt;&gt; is<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; details like the commands executed, the distro used and the errors<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; received<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; HTH<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;  Kind regards/met vriendelijke groet,<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; Serge Fonville<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="http://www.sergefonville.nl" target="_blank"  rel="nofollow">http://www.sergefonville.nl</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; Convince Microsoft!<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; They need to add TRUNCATE PARTITION in SQL Server<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table" target="_blank"  rel="nofollow">https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt; 2013/5/10 georg &lt;georg.chambert@telia.com&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; noop, didnt take, no such package, was my reward<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; /georg<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   ----- Original Message -----<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   From: Gabriel Ricci<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   To: georg<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Cc: Daniel Brown ; tamouse mailing lists ; PHP General<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Sent: Friday, May 10, 2013 11:06 PM<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Subject: Re: [PHP] undef func<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   To have pecl, you need to install PEAR first, &quot;yum install &gt;&gt;&gt;&gt;&gt; php-pear&quot;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; (or &quot;yum install php5-pear&quot;) should work.<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Then you can try &quot;pecl install pdo_odbc.&quot;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Att.<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Gabriel Ricci<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   ____________________<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Website<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Follow @gabrielricci<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   Facebook profile, GitHub profile<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;   On Fri, May 10, 2013 at 6:03 PM, georg &lt;georg.chambert@telia.com&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; wrote:<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     unfortunately that didnt take, pecl is undefined command (my &gt;&gt;&gt;&gt;&gt; linux<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; is<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; not so strong)<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     trying yum renders no such package<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     ----- Original Message ----- From: &quot;Daniel Brown&quot;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; &lt;danbrown@php.net&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     To: &quot;tamouse mailing lists&quot; &lt;tamouse.lists@gmail.com&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     Cc: &quot;georg&quot; &lt;georg.chambert@telia.com&gt;; &quot;PHP General&quot; &lt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; <a href="mailto:&#112;&#104;&#112;&#45;&#103;&#101;&#110;&#101;&#114;&#97;&#108;&#64;&#108;&#105;&#115;&#116;&#115;&#46;&#112;&#104;&#112;">&#112;&#104;&#112;&#45;&#103;&#101;&#110;&#101;&#114;&#97;&#108;&#64;&#108;&#105;&#115;&#116;&#115;&#46;&#112;&#104;&#112;</a>.net&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     Sent: Friday, May 10, 2013 9:21 PM<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     Subject: Re: [PHP] undef func<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       &lt;tamouse.lists@gmail.com&gt; wrote:<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;         Aren't DLLs a Windows thing?<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;          Yeah, I misread the bit about &quot;MS XP&quot; and thought he was<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; using XP<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       for this install.  I just realized the remainder of the<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt; discussion<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       between us was off-list, so - for posterity - my response, &gt;&gt;&gt;&gt;&gt; when<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       finding out it is indeed a Linux box, is: pecl install &gt;&gt;&gt;&gt;&gt; pdo_odbc.<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       --<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       &lt;/Daniel P. Brown&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       Network Infrastructure Manager<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       <a href="http://www.php.net/" target="_blank"  rel="nofollow">http://www.php.net/</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       --<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       PHP General Mailing List (http://www.php.net/)<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;       To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     --<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     PHP General Mailing List (http://www.php.net/)<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;     To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a><br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt; Should be yum install php-devel<br />
    &gt;&gt;&gt; &gt;&gt;<br />
    &gt;&gt;&gt; &gt;&gt; -- &gt;&gt; PHP General Mailing List (http://www.php.net/)<br />
    &gt;&gt;&gt; &gt;&gt; To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a><br />
    &gt;&gt;&gt; &gt;&gt;<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt; &gt; -- &gt; PHP General Mailing List (http://www.php.net/)<br />
    &gt;&gt;&gt; &gt; To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a><br />
    &gt;&gt;&gt; &gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;&gt;<br />
    &gt;&gt;<br />
    &gt;&gt;<br />
    &gt;&gt; So far it seems like you've only installed the Pear stuff (that was done<br />
    &gt;&gt; with the yum line) but not the PECL stuff. Try installing the PECL stuff<br />
    &gt;&gt; again now that you have Pear installed.<br />
    &gt;&gt;<br />
    &gt;&gt; Thanks,<br />
    &gt;&gt; Ash<br />
    &gt;&gt; <a href="http://www.ashleysheridan.co.uk" target="_blank"  rel="nofollow">http://www.ashleysheridan.co.uk</a><br />
    &gt;&gt;<br />
    &gt;&gt;<br />
    &gt;&gt;<br />
    &gt;<br />
    &gt;<br />
    &gt; -- <br />
    &gt; PHP General Mailing List (http://www.php.net/)<br />
    &gt; To unsubscribe, visit: <a href="http://www.php.net/unsub" target="_blank"  rel="nofollow">http://www.php.net/unsub</a>.<br />
    &gt;<br />
<br />
    Have you tried finding an rpm for it manually<br />
<br />
    <a href="http://rpmfind.net/linux/rpm2html/search.php?query=php-pdo_odbc(x86-64" target="_blank"  rel="nofollow">http://rpmfind.net/linux/rpm2html/search.php?query=php-pdo_odbc(x86-64</a>)]]></description>
            <dc:creator>georg</dc:creator>
            <category>php-general</category>
            <pubDate>Mon, 13 May 2013 11:50:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,705062,705062#msg-705062</guid>
            <title>[PHP] Sync CSV files with MySQL Database. (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,705062,705062#msg-705062</link>
            <description><![CDATA[ Hello mates,<br />
<br />
Perhaps this seems to be a silly question, but it is not to me, here is the<br />
scenario:<br />
<br />
I know how to import CSV files with PHP to a MySQL database, the thing is,<br />
that CSV file is automatically feed by a third-party application, I want to<br />
do something to add just the new records, not all the records again.<br />
<br />
Any idea or example, will be really appreciated.<br />
<br />
Thanks!<br />
<br />
-- <br />
Carlos Sura.-<br />
www.carlossura.com<br />
www.carlossura.com/blog]]></description>
            <dc:creator>Carlos Sura</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 12 May 2013 21:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,704645,704645#msg-704645</guid>
            <title>[PHP] pecl/gender bug in PHP V5.3 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,704645,704645#msg-704645</link>
            <description><![CDATA[ Hello all.<br />
<br />
Very odd behaviour.<br />
<br />
&lt;?php<br />
if (extension_loaded('gender')) {<br />
    $o_Gender = new Gender\Gender;<br />
<br />
    var_dump($o_Gender);<br />
}<br />
<br />
class Variable {<br />
<br />
    public $value = null;<br />
}<br />
<br />
$a = new Variable;<br />
$b = clone $a;<br />
<br />
var_dump($a, $b);<br />
?&gt;<br />
<br />
If using pecl/Gender V0.9.0 with PHP V5.3.3, V5.3.13, V5.3.23, then I get<br />
an error ...<br />
<br />
PHP Fatal error:  Trying to clone an uncloneable object of class Variable<br />
in - on line 14<br />
<br />
No problem with V5.4.14<br />
<br />
No idea why this is the case. Changelog for V5.3 doesn't reveal anything<br />
regarding cloning.<br />
<br />
I'm running this on a CentOS vm (not my speciality, so I can't diagnose any<br />
further, sorry).<br />
<br />
If anyone can shed some light on this, then that would be useful.<br />
<br />
Regards,<br />
<br />
Richard.<br />
<br />
-- <br />
Richard Quadling<br />
Twitter : @RQuadling]]></description>
            <dc:creator>Richard Quadling</dc:creator>
            <category>php-general</category>
            <pubDate>Fri, 10 May 2013 15:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,704550,704550#msg-704550</guid>
            <title>[PHP] undef func (19 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,704550,704550#msg-704550</link>
            <description><![CDATA[ Hello !<br />
<br />
im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory references, crapy stringency in description...)<br />
<br />
well:<br />
<br />
&quot;undefined function odbc_connect() &quot; is what I currently find in my Apache Error_log<br />
<br />
So evidently I have sucessfully gotten at least PHP to get working, but to connect to ODBC<br />
<br />
(this then would indicate that dynamical loading of libararies is not successful, but what...)<br />
<br />
man tnx for clues<br />
georg]]></description>
            <dc:creator>georg</dc:creator>
            <category>php-general</category>
            <pubDate>Tue, 14 May 2013 10:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,704527,704527#msg-704527</guid>
            <title>[PHP] Having a problem with clone. (5 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,704527,704527#msg-704527</link>
            <description><![CDATA[ Hi.<br />
<br />
I'm having an issue where I get ...<br />
<br />
Fatal error: Trying to clone an uncloneable object of class Smarty_Variable<br />
in<br />
xxxxxx/trunk.newbuild/includes/frontend/site_includes/classes/smarty-3.10/sysplugins/smarty_internal_template.php<br />
on line 269<br />
<br />
This issue happens consistently on our live server and on our test server,<br />
but not on my dev setup.<br />
<br />
The issue doesn't happen if I comment out 1 line of completely unrelated<br />
code ...<br />
<br />
$o_Gender = new Gender\Gender;<br />
<br />
If I immediately follow that with ...<br />
<br />
unset($o_Gender);<br />
<br />
and have no other access to $o_Gender, I still get the error.<br />
<br />
Comment out the code, no problems.<br />
<br />
The extension is used in other parts of the system with seemingly no<br />
problem. That is, the code behaves as expected and I get no errors, but<br />
those elements don't use Smarty. The error being reported is clearly wrong.<br />
And the extension (as far as I can see) has no interaction with global<br />
elements in any way (I have to use the Gender namespace to access anything<br />
in it - which I think is correct). I've var_dump()'d a debug_backtrace() at<br />
the point of failure in the Smarty code, with and without the $o_Gender<br />
variable being defined (it isn't used in the Smarty template - so Smarty is<br />
never touching it). When I compare the 2 dumps, the only differences is in<br />
the datetime stamp elements and the object count values (there's 1 more<br />
when $o_Gender exists).<br />
<br />
My setup is on a CentOS VM running PHP V5.4.14<br />
<br />
The live setup is on a remote CentOS server running PHP V5.3.21<br />
The test server is on CentOS server running PHP V5.3.3<br />
<br />
I don't know CentOS well enough to just swap out a new version of PHP. But<br />
I will be getting some help on that.<br />
<br />
<br />
Where do I start to find the problem?<br />
<br />
I have full root access to the command line test server, so I can, within<br />
reason, follow instructions to run/wrap the code in any way needed.<br />
<br />
Any help would be GREATLY appreciated!!!<br />
<br />
Thanks in advance,<br />
<br />
Richard.<br />
<br />
-- <br />
Richard Quadling<br />
Twitter : @RQuadling]]></description>
            <dc:creator>Richard Quadling</dc:creator>
            <category>php-general</category>
            <pubDate>Sat, 11 May 2013 11:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,704354,704354#msg-704354</guid>
            <title>[PHP] php extension about php_stream_fopen_tmpfile() (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?8,704354,704354#msg-704354</link>
            <description><![CDATA[ I write a php extension.<br />
How can I user Zend API do that?<br />
where can I find some doc about file_handle-&gt;handle ?<br />
<br />
ZEND_API zend_op_array *(*org_compile_file)(zend_file_handle *file_handle,<br />
int type TSRMLS_DC);<br />
ZEND_API zend_op_array *sead_compile_file(zend_file_handle *file_handle,<br />
int type TSRMLS_DC)<br />
{<br />
    php_stream *stream;<br />
    char *data_decode;<br />
    int data_decode_len;<br />
<br />
    /* ... */<br />
<br />
    /* Zend API Begin: This unsuccessful */<br />
    php_stream *tmpstream;<br />
    if ((tmpstream = php_stream_fopen_tmpfile()) == NULL) {<br />
        php_error_docref(NULL TSRMLS_CC, E_WARNING, &quot;Unable to create<br />
temporary file.  Check permissions in temporary files directory.&quot;);<br />
        php_stream_close(stream);<br />
        return org_compile_file(file_handle, type TSRMLS_CC);<br />
    }<br />
    numbytes = php_stream_write(tmpstream, data_decode, data_decode_len);<br />
    if (numbytes != data_decode_len) {<br />
        php_error_docref(NULL TSRMLS_CC, E_WARNING, &quot;Only %d of %d bytes<br />
written, possibly out of free disk space&quot;, numbytes, data_decode_len);<br />
        numbytes = -1;<br />
    }<br />
    php_stream_rewind(tmpstream);<br />
    /* Zend API End */<br />
<br />
    /* C Begin: This is OK */<br />
    FILE *tmpstream;<br />
    tmpstream = tmpfile();<br />
    fwrite(data_decode, data_decode_len, 1, tmpstream);<br />
    rewind(tmpstream);<br />
    /* C End */<br />
<br />
    file_handle-&gt;handle.fp = tmpstream;<br />
    file_handle-&gt;type = ZEND_HANDLE_FP;<br />
    file_handle-&gt;opened_path = expand_filepath(file_handle-&gt;filename, NULL<br />
TSRMLS_CC);<br />
<br />
    return org_compile_file(file_handle, type TSRMLS_CC);<br />
}]]></description>
            <dc:creator>Bleakwind</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 16 May 2013 14:30:03 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,703999,703999#msg-703999</guid>
            <title>[PHP] 5.4.15 and PHP 5.3.25 released! (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,703999,703999#msg-703999</link>
            <description><![CDATA[ Hello!<br />
<br />
The PHP development team announces the immediate availability of PHP<br />
5.4.15 and PHP 5.3.25. These releases fix about 10 bugs. All users of<br />
PHP are encouraged to upgrade to PHP 5.4. PHP 5.3.25 is recommended<br />
for those wishing to remain on the 5.3 series.<br />
<br />
The full list of changes are recorded in the ChangeLog on<br />
<a href="http://www.php.net/ChangeLog-5.php" target="_blank"  rel="nofollow">http://www.php.net/ChangeLog-5.php</a><br />
<br />
For source downloads of PHP 5.4.15 and PHP 5.3.25 please visit our<br />
downloads page at <a href="http://www.php.net/downloads.php" target="_blank"  rel="nofollow">http://www.php.net/downloads.php</a><br />
<br />
Windows binaries can be found on <a href="http://windows.php.net/download/" target="_blank"  rel="nofollow">http://windows.php.net/download/</a><br />
<br />
Stanislav Malyshev         Johannes Schlüter<br />
PHP 5.4 Release Master     PHP 5.3 Release Master<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Stas Malyshev</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 09 May 2013 21:00:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,703322,703322#msg-703322</guid>
            <title>[PHP] FW: (10 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,703322,703322#msg-703322</link>
            <description><![CDATA[ <a href="http://www.shinwa-kensetsu.sakura.ne.jp/bth7rz.php" target="_blank"  rel="nofollow">http://www.shinwa-kensetsu.sakura.ne.jp/bth7rz.php</a><br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Paul Novitski</dc:creator>
            <category>php-general</category>
            <pubDate>Wed, 08 May 2013 21:30:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,702716,702716#msg-702716</guid>
            <title>[PHP] array_map() with multiple callback functions (4 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,702716,702716#msg-702716</link>
            <description><![CDATA[ Hi all. I want to apply strtolower() AND trim() to all items in an array. But I don't see a way to call multiple callbacks with the array_map() function.<br />
Are my two choices the following:<br />
<br />
// 1) nesting two array_map() calls<br />
$cleanData = array_map('trim',(array_map('strtolower',$rawData)));<br />
<br />
<br />
// 2) call my own function with array_walk()<br />
$cleanData = array_walk('myCleaner',$rawData);<br />
<br />
function myCleaner($passedData){<br />
	$cleanData = array_map('strtolower',$passedData);<br />
	$cleanData = array_map('trim',$cleanData);<br />
}<br />
//(Of course, wouldn't bother with a function, just to call array_map twice...)<br />
<br />
Just seeing if there's a better way than having to go through the array twice to apply each callback separately. Thanks,<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>George Langley</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 09 May 2013 07:10:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,702694,702694#msg-702694</guid>
            <title>[PHP] Problems with array_push? (5 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,702694,702694#msg-702694</link>
            <description><![CDATA[ I know that I must be missing something really ridiculous, but when I <br />
print_r these arrays they are empty. I have confirmed that $arrayElement <br />
is properly formed, it just seems that array_push is not working. I know <br />
I have done this before, but I cannot find my older code. Can someone <br />
clear the mud from my eyes?<br />
<br />
$issueDifferently = array();<br />
$issueProblem = array();<br />
$issueComment = array();<br />
<br />
function addToArray($id, $namecred, $product, $level, $type, $message) {<br />
$arrayElement = $id <br />
..'|'.$namecred.'|'.$product.'|'.$level.'|'.$type.'|'.$message;<br />
<br />
if('DoDifferently' == $type) {<br />
array_push($issueDifferently, $arrayElement);<br />
} elseif ('Problem' == $type){<br />
array_push($issueProblem, $arrayElement);<br />
} elseif ('Comments' == $type) {<br />
array_push($issueComment, $arrayElement);<br />
}<br />
}<br />
print_r($issueDifferently);<br />
print_r($issueProblem);<br />
print_r($issueComment);<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Jay Blanchard</dc:creator>
            <category>php-general</category>
            <pubDate>Wed, 08 May 2013 05:00:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,702273,702273#msg-702273</guid>
            <title>[PHP] filesize question (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,702273,702273#msg-702273</link>
            <description><![CDATA[ Hello,<br />
I'm feeding a filename to a php script on the command line (command line <br />
program).  I run the following against it:<br />
<br />
$inputline = fread($inputfile, filesize($argv[1]));<br />
<br />
I'm getting an error complaining that the second parameter can't be '0'<br />
<br />
any ideas?<br />
<br />
thanks,<br />
Curtis<br />
<br />
<br />
<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Curtis Maurand</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 09 May 2013 05:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,701258,701258#msg-701258</guid>
            <title>[PHP] ODBC (19 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,701258,701258#msg-701258</link>
            <description><![CDATA[ Hi,<br />
<br />
Id like to get ODBC connection to SQL from PHP going. Ive done that on XP, but now Im switching<br />
to Linux (Fedora). <br />
<br />
My impression in that the connecting part is per the DB designers responsibility. Im using Mimer-SQL,<br />
but cant find any information on how to set up ODBC for that. Any advice welcome.<br />
<br />
BR georg]]></description>
            <dc:creator>georg</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 19 May 2013 18:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,700739,700739#msg-700739</guid>
            <title>[PHP] Re: generate onfly PDF (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?8,700739,700739#msg-700739</link>
            <description><![CDATA[ I have had outstanding success with wkhtmltopdf:<br />
<br />
<a href="https://code.google.com/p/wkhtmltopdf/" target="_blank"  rel="nofollow">https://code.google.com/p/wkhtmltopdf/</a><br />
<br />
It's a self-contained standalone program that you can call from PHP. It<br />
uses a full-bodied HTML interpreter based on Webkit. Highly recommended, I've been using it for years. It's open source and free.<br />
<br />
I should say, I've used the Linux version. It looks like there's a Windows version, but I have no experience with that, if that's what you need.<br />
<br />
Tim<br />
<br />
Rafnews&lt;raf.news@gmail.com&gt;  wrote:<br />
<br />
&gt; Hi,<br />
&gt;<br />
&gt;Is there a solution to generate onfly PDF from HTML page, and from data<br />
&gt;<br />
&gt;user typed in form (let's say like a template) without using PECL ?<br />
&gt;i read that is hosting does not allow such extension, we can not<br />
&gt;generate PDF, so i would rather get a solution without such library.<br />
&gt;<br />
&gt;Moreover i'm searching a solution free and that i can supply with my<br />
&gt;web<br />
&gt;components.<br />
&gt;I created a component that should be able to generate PDF files quite<br />
&gt;often as service for user.<br />
&gt;<br />
&gt;thx<br />
&gt;<br />
&gt;Al.<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Tim Behrendsen</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 05 May 2013 17:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,700695,700695#msg-700695</guid>
            <title>[PHP] PECL-Haru and UTF-8 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,700695,700695#msg-700695</link>
            <description><![CDATA[ Hello,<br />
<br />
Does anyone have experience with using Haru extension for creating<br />
PDF files containing UTF-8 encoded characters? I saw that UTF-8 encoding<br />
was added to libHaru 2.3.0RC1 ( see <a href="http://libharu.org/" target="_blank"  rel="nofollow">http://libharu.org/</a> ), but I did<br />
not find support for this in latest PECL-Haru (1.0.4). Am I missing<br />
something?<br />
<br />
Thank you,<br />
Puiu<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Puiu Hrenciuc</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 05 May 2013 11:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,700643,700643#msg-700643</guid>
            <title>[PHP] generate onfly PDF (7 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,700643,700643#msg-700643</link>
            <description><![CDATA[ Hi,<br />
<br />
Is there a solution to generate onfly PDF from HTML page, and from data <br />
user typed in form (let's say like a template) without using PECL ?<br />
i read that is hosting does not allow such extension, we can not <br />
generate PDF, so i would rather get a solution without such library.<br />
<br />
Moreover i'm searching a solution free and that i can supply with my web <br />
components.<br />
I created a component that should be able to generate PDF files quite <br />
often as service for user.<br />
<br />
thx<br />
<br />
Al.<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Rafnews</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 05 May 2013 20:40:03 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,696467,696467#msg-696467</guid>
            <title>[PHP] PHP compiler - HipHop performance (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,696467,696467#msg-696467</link>
            <description><![CDATA[ Hi, <br />
<br />
I have downloaded HipHop for my website, I am going through various web links which are suggesting that performance will improve 3-6 times. However I don't know the Stability of the HipHop. <br />
<br />
Please provide your inputs so that I can decide to use HipHop.<br />
<br />
Thanks,<br />
Norah Jones<br />
<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Norah Jones</dc:creator>
            <category>php-general</category>
            <pubDate>Fri, 26 Apr 2013 10:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,695855,695855#msg-695855</guid>
            <title>[PHP] 64bit php5.5.0beta3 on Windows (no replies)</title>
            <link>http://www.serverphorums.com/read.php?8,695855,695855#msg-695855</link>
            <description><![CDATA[ Hello,<br />
  I've tried VC11 x64 Thread Safe (2013-Apr-10 17:40:00) downloaded from <br />
<a href="http://windows.php.net/qa/" target="_blank"  rel="nofollow">http://windows.php.net/qa/</a><br />
and I've called filesize on 4,25 GB file. This call failed with <br />
&quot;Warning: filesize(): stat failed&quot;<br />
<br />
Then I printed values of<br />
echo PHP_INT_SIZE.&quot;\n&quot;;<br />
echo PHP_INT_MAX.&quot;\n&quot;;<br />
<br />
4<br />
2147483647<br />
<br />
This is weird. I've expected working filesize and values  8, 2 ^63.<br />
<br />
Jan.<br />
<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Jan Vávra</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 25 Apr 2013 10:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,695653,695653#msg-695653</guid>
            <title>[PHP] Updated PHP breaks processing-intense Procedure (9 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,695653,695653#msg-695653</link>
            <description><![CDATA[ Hey - --<br />
<br />
I have a huge screen -- to make it simple for the user, it does 100s of<br />
calls to MySQL and has 1,000s (literally) of POST variables.<br />
<br />
We have done extensive research and see that upgrading from php 5.1.6-27 to<br />
5.1.6-39 is the thing that caused it to break. All other issues (Apache,<br />
PHP and MySQL configuration and Versions) have been methodically ruled out.<br />
<br />
<br />
Anybody experience this? Heard of it? Suggest a repair (other than changing<br />
my screen)?<br />
<br />
*** Please don't tell me to redesign the screen -- this may come, but now<br />
is an urgent situation.***<br />
<br />
Worked fine in prior versions for the last 3 years.<br />
<br />
Thanks,<br />
<br />
Ken]]></description>
            <dc:creator>Ken Kixmoeller</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 25 Apr 2013 16:40:03 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,695571,695571#msg-695571</guid>
            <title>[PHP] IE 10 bug? (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,695571,695571#msg-695571</link>
            <description><![CDATA[ I know - it sounds OT, but listen.<br />
<br />
I have a form that has a &quot;sign in &quot; button which attempts to sent the <br />
user to a form in a password-protected folder.  In order to get there <br />
the user must provide credentials.  Once there the receiving script <br />
simply sets a session var and does a header() back to the calling <br />
script, where because of the session var that was set, a new group of <br />
buttons are visible for the user to click.<br />
<br />
Well, M$ did an update last week on me and now IE10 is acting <br />
differently in the above scenario.  Instead of my screen showing me back <br />
on my original menu screen it shows some other application window, <br />
probably the next one in z-order sequence.(?)  It looks like my app <br />
crashed or something since my IE is now behind the other appls sometimes.<br />
<br />
Has anyone else seen this, and if so, how does one counter it?<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Jim Giner</dc:creator>
            <category>php-general</category>
            <pubDate>Fri, 26 Apr 2013 17:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,694539,694539#msg-694539</guid>
            <title>[PHP] A little confused (6 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,694539,694539#msg-694539</link>
            <description><![CDATA[ Hi All,<br />
<br />
$_SESSION['ExpiryDate'] = &quot;2013-04-23&quot;;<br />
echo date_format($_SESSION['ExpiryDate'], &quot;D, \t\h\e jS \o\f M Y&quot;);<br />
<br />
Required Result: Mon, the 23rd of Apr 2013<br />
<br />
I get however:  PHP Warning:  date_format() expects parameter 1 to be<br />
DateTime, integer given in<br />
<br />
I've had a look at the date/time function list, but I cannot seem to find<br />
any way to convert $_SESSION['ExpiryDate'] to an DateTime??<br />
<br />
--<br />
Chris.<br />
<br />
<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Chris Knipe</dc:creator>
            <category>php-general</category>
            <pubDate>Tue, 23 Apr 2013 21:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,694344,694344#msg-694344</guid>
            <title>[PHP] Load testing an app (4 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,694344,694344#msg-694344</link>
            <description><![CDATA[ I'm looking for ideas to help load test a PHP site my office wrote and<br />
maintains. Peak usage for this site is during the fall when new students<br />
arrive, and for the first time this past fall the traffic rendered the web<br />
server completely unresponsive, almost as quickly as we could restart it.<br />
The only major change to the site last year was to upgrade the database<br />
server the site uses, but the curious thing is that it was the web server<br />
rather than the database that became unresponsive. Other apps could<br />
continue to use the database without any performance issues, and the<br />
database server performance counters suggest it wasn't even breaking a<br />
sweat.<br />
<br />
The other developer in our office spent some time profiling the site with<br />
xdebug and found that an exec() call to netsh used on a couple pages seems<br />
to take 2-4 seconds to complete. Unfortunately, those exec() calls are the<br />
one function that we cannot test in our development environment. We are<br />
considering some optimizations, but since load on the production server is<br />
at a seasonal low we want to duplicate the problem so we can measure the<br />
impact of any changes we make. We spent most of today hammering the site<br />
with JMeter today in an attempt to reproduce the issue. While we were<br />
easily able to slow the site to a crawl (some samples taking over 2 minutes<br />
to complete), the server returned to normal as soon as the test concluded<br />
and it never became totally unresponsive like it did this past fall.<br />
<br />
We're both new to JMeter. I know a single test server may not be able to<br />
create enough simultaneous requests to accurately simulate real traffic,<br />
but I'm fairly confident that our tests involved far more (roughly-)<br />
simultaneous connections than we were experiencing live. (The first test<br />
used 20 threads; we gradually increased the threads for each test to 500<br />
threads before we quit for the day.) The site is on a private subnet, so<br />
distributed and/or cloud-based testing are probably not options.<br />
<br />
The site is running PHP 5.3 on IIS/Windows Server 2003. The netsh calls are<br />
to a DHCP server on a separate Windows server, and the database is SQL<br />
Server 2008 (previously 2000).<br />
<br />
So, any ideas we can try?<br />
<br />
Andrew]]></description>
            <dc:creator>Andrew Ballard</dc:creator>
            <category>php-general</category>
            <pubDate>Thu, 25 Apr 2013 05:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,693471,693471#msg-693471</guid>
            <title>[PHP] Looking for complete entered URL (4 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,693471,693471#msg-693471</link>
            <description><![CDATA[ I've written a script that logs all visits to a web site, complete with referrer and IP address.  It also logs all 4xx errors.  What I'd like to add to this is, if someone adds extra code after the page_name.php, to be able to capture any extra code and log that.<br />
<br />
	I've tried:<br />
<br />
$_SERVER['QUERY_STRING']<br />
$_SERVER['REDIRECT_QUERY_STRING']<br />
$_SERVER['REDIRECT_URL']<br />
<br />
but nothing seems to get logged.<br />
<br />
	Is there a way, when either a false url is entered and a 404 is generated, or just when someone tacks on extra code to the URL, that I can grab that extra info?  I'm looking for the complete URL that was entered by the user, not anything returned by the server.<br />
<br />
	I've created my own 4xx_error.php files which calls my tracking script, along with creating the proper ErrorDocument lines in the main ..htaccess file.<br />
<br />
	There are a lot of pages that have come up in my search, but nothing seems to pertain to what I'm trying to do.<br />
<br />
Thank you,<br />
Angela<br />
<br />
BTW, I know about Piwik and I use that, as well.  This is something I'm doing on my own.<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Angela Barone</dc:creator>
            <category>php-general</category>
            <pubDate>Sun, 21 Apr 2013 15:50:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,693314,693314#msg-693314</guid>
            <title>[PHP] mysql_connect noob question (65 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,693314,693314#msg-693314</link>
            <description><![CDATA[ I know this has probably been answered already.<br />
<br />
When I pass a user name and password from a form to my PHP script and <br />
then pass those to mysql_connect it doesn't connect. When I paste those <br />
exact same values into mysql_connect as string literals it works.<br />
<br />
Can anyone tell me why this happens?<br />
<br />
I know the strings are identical to the literals I try in a test but <br />
they don't work when submitted via form.<br />
<br />
$form_user = $_POST[ 'user' ];<br />
$form_pass = $_POST[ 'password' ];<br />
<br />
# Connect to remote DB<br />
<br />
$LINK = mysql_connect( $host, $form_user, $form_pass );<br />
<br />
And yes, my $host param is correct.<br />
<br />
Thanks,<br />
<br />
-- <br />
PHP General Mailing List (http://www.php.net/)<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Glob Design Info</dc:creator>
            <category>php-general</category>
            <pubDate>Wed, 24 Apr 2013 15:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?8,693306,693306#msg-693306</guid>
            <title>[PHP] Newbie Question - Parse XML with PHP... (9 replies)</title>
            <link>http://www.serverphorums.com/read.php?8,693306,693306#msg-693306</link>
            <description><![CDATA[ Hi all,<br />
<br />
newbie - just starting with trying to parse XML...<br />
<br />
<br />
$mylist = simplexml_load_file('thelist.xml');<br />
<br />
then use a foreach to echo the data...<br />
<br />
&lt;?php<br />
    $mysongs = simplexml_load_file('songs.xml');<br />
    <br />
    foreach ($mysongs as $songinfo) {<br />
        $title=$songinfo-&gt;title;<br />
        $artist=$songinfo-&gt;artist;<br />
        $date=$songinfo['dateplayed'];<br />
        echo $title.' --- ';<br />
		echo $artist.' --- ';<br />
		echo $date.' --- ';<br />
		echo ' &lt;/br&gt; ';<br />
	}<br />
    <br />
?&gt;<br />
<br />
that I get ...<br />
<br />
Question: how do you use $mylist when the xml is not as a file but is returned on a web page?<br />
<br />
<br />
an example of the real xml I am trying to work with is like this demo below ....<br />
<br />
Goal : when this response comes back - I would like to be able to get the data as php and then update the database....<br />
<br />
<br />
example........<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;response&gt;<br />
  &lt;result&gt;1&lt;/result&gt;<br />
  &lt;result-text&gt;SUCCESS&lt;/result-text&gt;<br />
  &lt;transaction-id&gt;1865264174&lt;/transaction-id&gt;<br />
  &lt;result-code&gt;100&lt;/result-code&gt;<br />
  &lt;authorization-code&gt;123456&lt;/authorization-code&gt;<br />
  &lt;avs-result&gt;N&lt;/avs-result&gt;<br />
  &lt;cvv-result&gt;N&lt;/cvv-result&gt;<br />
  &lt;action-type&gt;sale&lt;/action-type&gt;<br />
  &lt;amount&gt;12.00&lt;/amount&gt;<br />
  &lt;ip-address&gt;::1&lt;/ip-address&gt;<br />
  &lt;industry&gt;ecommerce&lt;/industry&gt;<br />
  &lt;processor-id&gt;ccprocessora&lt;/processor-id&gt;<br />
  &lt;currency&gt;USD&lt;/currency&gt;<br />
  &lt;order-description&gt;Small Order&lt;/order-description&gt;<br />
  &lt;merchant-defined-field-1&gt;Red&lt;/merchant-defined-field-1&gt;<br />
  &lt;merchant-defined-field-2&gt;Medium&lt;/merchant-defined-field-2&gt;<br />
  &lt;order-id&gt;1234&lt;/order-id&gt;<br />
  &lt;tax-amount&gt;2.00&lt;/tax-amount&gt;<br />
  &lt;shipping-amount&gt;0.00&lt;/shipping-amount&gt;<br />
  &lt;billing&gt;<br />
    &lt;first-name&gt;John&lt;/first-name&gt;<br />
    &lt;last-name&gt;Smith&lt;/last-name&gt;<br />
    &lt;address1&gt;1234 Main St.&lt;/address1&gt;<br />
    &lt;city&gt;Beverly Hills&lt;/city&gt;<br />
    &lt;state&gt;CA&lt;/state&gt;<br />
    &lt;postal&gt;90210&lt;/postal&gt;<br />
    &lt;country&gt;US&lt;/country&gt;<br />
    &lt;phone&gt;555-555-5555&lt;/phone&gt;<br />
    &lt;email&gt;test@example.com&lt;/email&gt;<br />
    &lt;company&gt;Acme, Inc.&lt;/company&gt;<br />
    &lt;cc-number&gt;400000******0002&lt;/cc-number&gt;<br />
    &lt;cc-exp&gt;0118&lt;/cc-exp&gt;<br />
  &lt;/billing&gt;<br />
  &lt;shipping&gt;<br />
    &lt;first-name&gt;Mary&lt;/first-name&gt;<br />
    &lt;last-name&gt;Smith&lt;/last-name&gt;<br />
    &lt;address1&gt;1234 Main St.&lt;/address1&gt;<br />
    &lt;city&gt;Beverly Hills&lt;/city&gt;<br />
    &lt;state&gt;CA&lt;/state&gt;<br />
    &lt;postal&gt;90210&lt;/postal&gt;<br />
    &lt;country&gt;US&lt;/country&gt;<br />
    &lt;address2&gt;Unit #2&lt;/address2&gt;<br />
  &lt;/shipping&gt;<br />
  &lt;product&gt;<br />
    &lt;product-code&gt;SKU-123456&lt;/product-code&gt;<br />
    &lt;description&gt;test product description&lt;/description&gt;<br />
    &lt;commodity-code&gt;abc&lt;/commodity-code&gt;<br />
    &lt;unit-of-measure&gt;1&lt;/unit-of-measure&gt;<br />
    &lt;unit-cost&gt;5.0000&lt;/unit-cost&gt;<br />
    &lt;quantity&gt;1.0000&lt;/quantity&gt;<br />
    &lt;total-amount&gt;7.00&lt;/total-amount&gt;<br />
    &lt;tax-amount&gt;2.00&lt;/tax-amount&gt;<br />
    &lt;tax-rate&gt;1.00&lt;/tax-rate&gt;<br />
    &lt;discount-amount&gt;2.00&lt;/discount-amount&gt;<br />
    &lt;discount-rate&gt;1.00&lt;/discount-rate&gt;<br />
    &lt;tax-type&gt;sales&lt;/tax-type&gt;<br />
    &lt;alternate-tax-id&gt;12345&lt;/alternate-tax-id&gt;<br />
  &lt;/product&gt;<br />
  &lt;product&gt;<br />
    &lt;product-code&gt;SKU-123456&lt;/product-code&gt;<br />
    &lt;description&gt;test 2 product description&lt;/description&gt;<br />
    &lt;commodity-code&gt;abc&lt;/commodity-code&gt;<br />
    &lt;unit-of-measure&gt;2&lt;/unit-of-measure&gt;<br />
    &lt;unit-cost&gt;2.5000&lt;/unit-cost&gt;<br />
    &lt;quantity&gt;2.0000&lt;/quantity&gt;<br />
    &lt;total-amount&gt;7.00&lt;/total-amount&gt;<br />
    &lt;tax-amount&gt;2.00&lt;/tax-amount&gt;<br />
    &lt;tax-rate&gt;1.00&lt;/tax-rate&gt;<br />
    &lt;discount-amount&gt;2.00&lt;/discount-amount&gt;<br />
    &lt;discount-rate&gt;1.00&lt;/discount-rate&gt;<br />
    &lt;tax-type&gt;sales&lt;/tax-type&gt;<br />
    &lt;alternate-tax-id&gt;12345&lt;/alternate-tax-id&gt;<br />
  &lt;/product&gt;<br />
&lt;/response&gt;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
--<br />
Thanks,<br />
Dave - DealTek<br />
<a href="mailto:&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#100;&#101;&#97;&#108;&#116;&#101;&#107;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a><br />
[db-3]]]></description>
            <dc:creator>dealTek</dc:creator>
            <category>php-general</category>
            <pubDate>Mon, 22 Apr 2013 06:30:02 +0200</pubDate>
        </item>
    </channel>
</rss>
