I have trouble using upload scripts - none of them work on my current
config. I'vq got php 4.2.3 and global registerd = off. The problem is
that the script doesnt send the variable $_FILES['my_file'] as it
should. I can only upload if i hard code the filename into the script.
OS: OS X 10.2
Hi Magnus,
Your problem was you weren't using the correct part of the $_FILES array
when using copy();
Cut and Past This:
if ($ok){
$res = copy($bilde_fil[tmp_name], $path./.$nyttnavn.$ending);
print ($res)?bFerdig/b, uploadet
.$nyttnavn.$ending.!br:bSorry/b, Kunne ikke uploade.br;
It works, partially. I can upload the file, but it's named array.
On fredag, nov 29, 2002, at 16:28 Europe/Stockholm, Beth Gore wrote:
Hi Magnus,
Your problem was you weren't using the correct part of the $_FILES
array when using copy();
Cut and Past This:
if ($ok){
$res =
On Saturday 30 November 2002 06:42, magnus nilsson wrote:
It works, partially. I can upload the file, but it's named array.
print_r($_FILES)
to see what it contains and how you can use it.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web
4 matches
Mail list logo