P functions and use those.
"Cc Zona" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Dalton Hunter) wrote:
>
> > Hi, I want to use fopen to connect to a remote server
Hi, I want to use fopen to connect to a remote server via ftp and overwrite
a file like ...
fopen("ftp://username:[EMAIL PROTECTED]/system/path/to/file.php";, "w")
... but after connecting I get the "Warning: File already exists" error
message and it fails. What is the proper way to overwrite it
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sat, 6 Apr 2002, Dalton Hunter wrote:
> > Hi, does fopen() support the opening and reading of remote files in
> > directories protected with .htaccess files like ...
> >
> > fopen("http://user:[EMAIL PROTECTED
Hi, does fopen() support the opening and reading of remote files in
directories protected with .htaccess files like ...
fopen("http://user:[EMAIL PROTECTED]/directory/file.php","r";);
If not, is there an alternative way to do this? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To
Hi, I would like to include a version checker/update utility with a php
program I am writting. Can someone tell me what php commands would be needed
to write a script that would compare the versions or dates of a customers
php files against those from a remote server and provide a way for the
cust
Thanks, worked great!
"Bvr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> preg_grep("/^file/", $arr)
>
> bvr.
>
> Dalton Hunter wrote:
>
> >Hi, I want to search for a partial match in an ar
Hi, I want to search for a partial match in an array? Does in_array() or
search_array() support this or is there another way? For example if I have
30 file names in an array in the format ...
file1.txt
file2.txt
pic1.gif
pic2.gif
... how can I check to see if any values in the array start with t
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 28 Mar 2002, Miguel Cruz wrote:
> > Right. I think the "No such file or directory" message is because it's
> > failing to find an interpreter called "/bin/bash\r".
>
> Sorry, I mean "/bin/sh\r
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, 27 Mar 2002, Dalton Hunter wrote:
> > Hi, I am trying to write a file that contains a shell script. The file
> > writes to the server but when I try to
Hi, I am trying to write a file that contains a shell script. The file
writes to the server but when I try to execute it it fails with a command
not found error. But if I copy and paste the files contents into a new text
file using Textpad on my PC and upload it to the same directory it works?!
It
10 matches
Mail list logo