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=f&gcx=w&sourceid=chrome&ie=UTF-8&q=PHP+%2B+~tutorial+~%22getting+started%22 >From that list, I can have almost all kind of be

[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... Enter the filename you wish to copy. Enter the directory at mydomain.net where

[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

Re: [PHP] Input variable from form help request

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

Re: [PHP] Input variable from form help request

2011-09-29 Thread Tim Streater
On 29 Sep 2011 at 13:30, PHProg 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] > if(!@copy('http://mydomain.com/files/".$_POST['trakname']."','/".$_POST['dirna > me']."/".$_POST['trakname']."')) This line:

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 wrote: > 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://e

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 > t

[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 htm

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 10:12 AM, George Langley wrote: > > 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

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 wrote: > 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 th

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, PHPro

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 wrote: > On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling wrote: > >> 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/pro

Re: [PHP] php5-fpm segfault

2011-09-29 Thread Laruence
Hi : could you file a bug at https://bugs.php.net/ this is the proper way to report a bug :) thanks -- Laruence  Xinchen Hui http://www.laruence.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php