Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE:(3) handling file uploads.

by Russ (Deacon)
on Jun 16, 2000 at 22:02 UTC ( [id://18569]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to RE: Re: handling file uploads.
in thread handling file uploads.

See This Node in the thread.

Russ

Replies are listed 'Best First'.
RE: RE:(3) handling file uploads.
by wonko (Pilgrim) on Jun 17, 2000 at 05:35 UTC
    There _is_ a problem with the name parameter though; on some system/browser combinations it consists of the whole path to the file. I guess you coud yse split on "/" and/or \. does anyone have a better solution?

    /wonko

      The core File::Basename module may be of assistance. You might also have luck with a regex like the following: $filename =~ s!.*[/\]([^/\]*?)!$1!; I put more stock in the module than in my regex, however.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18569]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.