Re: PHP script
| From: | r | Date: | Sun, 26 May 2002 03:46:37 +0000 |
| Subject: | Re: PHP script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99250@lists.php.net to get a copy of this message | ||
Hey,
thanks for writing,
The script will be on the remote server, but how do i access the cgi-bin
directory when it is below the host root...
eg:
/home/cgi-bin/mysite.com/upload.php
how will upload.php add/modify /cgi-bin/?
-Ryan A.
----- Original Message -----
From: "SP" <internetracer@yifan.net>
To: "r" <r@jumac.com>
Cc: <php-general@lists.php.net>
Sent: Saturday, May 25, 2002 6:38 AM
Subject: RE: [PHP] PHP script
> Okay how about in your upload form, try putting in
> the whole url instead of upload.php. I don't know
> if that would work. You would have to have the
> upload.php script on the remote server.
>
> <form ENCTYPE="multipart/form-data" method="POST"
> action="http://www.remoteserver.com/upload.php">
>
>
>
>
>
>
>
> -----Original Message-----
> From: r [mailto:r@jumac.com]
> Sent: May 25, 2002 10:03 PM
> To: SP
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] PHP script
>
>
> Hey there,
> Guess you too are a newbie,
> anyway, have been doing what you think is
> impossible for years using perl
> and servlets without any problems,
> And I know its possible with PHP too, since its
> possible i'm pretty sure
> someone has used it in some app already or is
> going too, the php community
> is FASSSST...
> The problem is I have been using it on servers
> with paths to cgi something
> like this
>
> /home/somedotcom/cgi-bin/
>
> but now the new path i have is
>
> /home/cgi-bin/mydotTLD/ which of course resolves
> to http://mydotTLD/cgi-bin/
> and I will need to administrator the files in the
> cgi-bin too.
>
> Any ideas?
>
> -Ryan.
>
> ----- Original Message -----
> From: "SP" <internetracer@yifan.net>
> To: "r" <r@jumac.com>; <php-general@lists.php.net>
> Sent: Saturday, May 25, 2002 5:30 AM
> Subject: RE: [PHP] PHP script
>
>
> > I'm not an expert but that doesn't sound like
> it's
> > possible. I mean if you could upload files and
> > chmod them on a remote server you would have
> some
> > serious security issues. The only thing I can
> > think of is you could upload files to your
> remote
> > datebase.
> >
> >
> >
> > -----Original Message-----
> > From: r [mailto:r@jumac.com]
> > Sent: May 25, 2002 7:00 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] PHP script
> >
> >
> > Hi Guys,
> >
> > I need a PHP script that will allow me to
> > upload/download chmod files etc
> > on
> > a remote server...
> > I know there are loads of these scripts out
> there
> > but being a newbie to PHP
> > I really dont know which one is good...
> > can you recomend any? coming from Java I love
> PHP
> > so would appreciate if
> > you
> > would recomend only a php script and not
> > perl,servlet,asp etc.
> > Another problem is my webserver is something
> like
> > /wtn/cgi-bin/www/
> >
> > all cgi scripts will have to be put in the
> > cgi-bin directory of course but
> > must be called like this
> > mysite.com/cgibin/script.pl
> >
> > the php script should allow me access to this
> > directory too!
> >
> > ANY ideas or recomendations will be deeply
> > appreciated esp from John
> > Holmes,
> > Jason Wong, Miguel Cruz coz you guys are really
> > brainy and have helped me
> > in
> > the past so I know your advise is supurb.
> > I would tip my hat to you, but dont wear
> > one...;-)
> >
> > Cheers,
> > -Ryan A.
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> > http://www.php.net/unsub.php
> >
> >
>
>