Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Re: uploading to a different directory

by mojobozo (Monk)
on Nov 07, 2002 at 16:51 UTC ( #211119=note: print w/ replies, xml ) Need Help??

in reply to Re: uploading to a different directory
in thread uploading to a different directory

Went back and added the line to see what it thought the path was and it came up "0", so I went and looked at the .= code again and noticed it was wrong. Now I'm using

my $uploaded_path = "\\Inetpub\\wwwroot\\uploaded_files\\"; $uploaded_path .= $base; print h2('Uploaded Path'),$uploaded_path; open FILE, ">$uploaded_path"; binmode FILE;

and it works fine. As you can see above, I also esacped the \'s. Thanks!!
word (wrd)
interj. Slang. Used to express approval or an affirmative response to
something. Sometimes used with up. Source

Comment on Re: Re: uploading to a different directory
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211119]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2015-10-06 19:01 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (158 votes), past polls