On 29 September 2011 23:28, PHProg wrote:
>
> Hello Richard,
>
> Your suggestion worked perfectly.
> ... it works beautifully.
Now that's what I like to hear!
Glad to be of help.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
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
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:
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
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
5 matches
Mail list logo