Re: [PHP] FTP problem..

2001-04-24 Thread J. Jones
On Tue, Apr 24, 2001 at 10:10:58AM -0400, Chad Day wrote: I'm trying to write a script to ftp the contents of one directory structure onto another server.. I'm having problems recursing the directories, either it a) doesn't do it or b) gets stuck in a loop. Here's the function I'm having

Re: [PHP] A simple problem!

2001-04-24 Thread J. Jones
On Tue, Apr 24, 2001 at 11:24:26PM +0530, Subodh Gupta wrote: Can You figure out the mistake here...?? print EOQ tr\n td valign=top align=rightbfont color=#$colour[$colouroffset]$name:/font/b/td\n // The problem is here.. the value of $colour[$colouroffset] is not

Re: [PHP] ereg_replace

2001-04-24 Thread J. Jones
On Tue, Apr 24, 2001 at 06:21:20PM -0400, Wade wrote: I am attempting to do an ereg_replace(), but the charachter I want to replace is a \. Any Ideas how I make the following work? $F_name = ereg_replace (\, , $acc_fname); echo $F_name; Thanks, Wade use \\ -- PHP General

Re: [PHP] random letters and numbers

2001-04-24 Thread J. Jones
On Mon, Apr 23, 2001 at 11:10:48PM -0700, Randy Johnson wrote: Is there a way to generate a random set of characters ranging from 8 to 12 characters and numbers where it is crucial that the letters and numbers are truly random because I need to create temporary files for people to download

[PHP] is_link() behavior

2001-04-23 Thread J. Jones
verifying the link's target? I ask this because much of linux's /proc contains (intentionally) broken symlink's and is_link()'s behavior is making the scouring of /proc very difficult on me. ;) Thanks for any input.. J. Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] file_exists with remote file???

2001-04-23 Thread J. Jones
On Tue, Apr 24, 2001 at 12:20:01AM -0300, Paulo - Bruc Internet wrote: Can anyone help me? The sintax of function file_exists is: if(file_exists(t.txt)) { print... } Does anybody knows how can work with remote files? This is not working:

Re: [PHP] is_link() behavior

2001-04-23 Thread J. Jones
On Tue, Apr 24, 2001 at 05:31:04AM +0200, Martin Skjöldebrand wrote: Warning: stat failed for /tmp/this_is_a_symlink (errno=2 - No such file or directory) in ./test.php on line 3. Do you have permission to read the /tmp catalog? Otherwise you may get that error I suppose. M. Yes..