Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread raditha dissanayake
John W. Holmes wrote: Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Lik

Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread John W. Holmes
Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the

[PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread Tony
Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the file size, "