php-general Digest 29 Sep 2011 12:17:23 -0000 Issue 7497

2011-09-29 Thread php-general-digest-help
php-general Digest 29 Sep 2011 12:17:23 - Issue 7497 Topics (messages 315049 through 315060): Re: Curl cost 315049 by: tamouse mailing lists Re: using passthru or system() even and passing the $_FILES array 315050 by: tamouse mailing lists book quest 315051 by:

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
On Wed, Sep 28, 2011 at 5:29 PM, Jim Lucas li...@cmsws.com wrote: On 9/28/2011 3:26 PM, Bastien Koert wrote: On Wed, Sep 28, 2011 at 6:20 PM, Kirk Bailey kbai...@howlermonkey.net wrote: The best book for a beginner? No, don't tell me php.net, I hear that one already, and while it is

Re: [PHP] book quest

2011-09-29 Thread Nam Gi VU
I'm a newbie in PHP technology and what I started with PHP was googling for PHP + ~tutorial ~getting started which results as this page http://www.google.com.vn/search?aq=fgcx=wsourceid=chromeie=UTF-8q=PHP+%2B+~tutorial+~%22getting+started%22 From that list, I can have almost all kind of beginner

[PHP] Input variable from form help request

2011-09-29 Thread PHProg
I'm trying to create a standard web form that will use a PHP script to copy a file from one server to another. Both servers have the files in publicly accessible directories. The html form I'm using follows... form name=form method=post action=server2server.php Enter the filename you wish to

[PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Shaun Morrow
I am running a server with cPanel on and want to have php run as a cgi with Suexec enabled I cannot seem to rectify an issue, when I set the handler to cgi, my rewrite rules on one of my sites stop working Sample url: http://examplesite.com/ad/123-abcde/ The rewrite rule for this is below;

Re: [PHP] Input variable from form help request

2011-09-29 Thread Richard Quadling
On 29 September 2011 13:30, PHProg php...@speedemessenger.com wrote: ?php if(!@copy('http://mydomain.com/files/ .$_POST['trakname'].','/.$_POST['dirname']./.$_POST['trakname'].')) {    $errors= error_get_last();    echo COPY ERROR: .$errors['type'];    echo br /\n.$errors['message']; }

Re: [PHP] Input variable from form help request

2011-09-29 Thread Tim Streater
On 29 Sep 2011 at 13:30, PHProg php...@speedemessenger.com wrote: I'm trying to create a standard web form that will use a PHP script to copy a file from one server to another. [snip] ?php if(!@copy('http://mydomain.com/files/.$_POST['trakname'].','/.$_POST['dirna

Re: [PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 5:43 AM, Shaun Morrow morrow.sh...@gmail.comwrote: I am running a server with cPanel on and want to have php run as a cgi with Suexec enabled I cannot seem to rectify an issue, when I set the handler to cgi, my rewrite rules on one of my sites stop working Sample

Re: [PHP] book quest

2011-09-29 Thread Andy McKenzie
Is there something wrong with the PHP.net manual?  Or you just want something physical to be able read any where and stay unplugged?  If the latter and there's nothing wrong with the official manual, try downloading the chm or single html file and print as you go.  No need to lug around thick

[PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Richard Quadling
Hi. I'm looking to process very large XML files without the need of first downloading them. To that end, SimpleXMLIterator('compress.zlib://http://www.site.com/products.xml.gz') is working perfectly. But a downside is that I have no information of my progress. Is there any mechanism available

Re: [PHP] book quest

2011-09-29 Thread George Langley
On 2011-09-29, at 8:53 AM, Andy McKenzie wrote: Is there something wrong with the PHP.net manual? Or you just want something physical to be able read any where and stay unplugged? If the latter and there's nothing wrong with the official manual, try downloading the chm or single html file

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 10:12 AM, George Langley george.lang...@shaw.cawrote: On 2011-09-29, at 8:53 AM, Andy McKenzie wrote: Is there something wrong with the PHP.net manual? Or you just want something physical to be able read any where and stay unplugged? If the latter and there's

Re: [PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling rquadl...@gmail.comwrote: Hi. I'm looking to process very large XML files without the need of first downloading them. To that end, SimpleXMLIterator('compress.zlib:// http://www.site.com/products.xml.gz') is working perfectly. But a

Re: [PHP] Input variable from form help request

2011-09-29 Thread PHProg
Hello Richard, Your suggestion worked perfectly. Basically, I just copied and pasted your example and with a few, very minor adjustments, it works beautifully. Many thanks for your help. All the best. At 08:43 AM Thursday 9/29/2011, Richard Quadling wrote: On 29 September 2011 13:30,

Re: [PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 3:27 PM, Tommy Pham tommy...@gmail.com wrote: On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling rquadl...@gmail.comwrote: Hi. I'm looking to process very large XML files without the need of first downloading them. To that end, SimpleXMLIterator('compress.zlib://