in reply to Re: Upload problems
in thread Upload problems

Actually, that's a link to the Perl 4 library for handling CGI programming. I wouldn't recommend anyone start with it. If you need to port some Perl 4 code to Perl 5, it's worth considering, but CGI.pm is definitely a better starting point now.

Replies are listed 'Best First'.
Re: Re: Re: Upload problems
by eoin (Monk) on Aug 14, 2003 at 10:45 UTC
    Yes i've looked into the docs for CGI.pm but its not there that my problem lays.
    After a bit of pondering i'v discovered that the script will work(or a least I hope so) from a *nix run because they use / as there directory structure dividers but windows use \ and the way my script works it seems to interpolate the whole file name string taken in by the %pics.
    So what should be
    " C:\WINDOWS\Profiles\eoin\My Documents\images\border.jpg"

    Acctualy becomes
    "C:WINDOWSProfilesoinMy Documentsimageorder.jpg"

    Before I get a chance to stip the filepath from the filename. And obviously the stripping process won't work anymore because there is nothing to strip from. (I.e no \).
    Is there anyway to fix this without changing alot of the script.
    Thanks for any help in advance.

    All the Best, Eoin...

    If everything seems to be going well, you obviously don't know what the hell is going on.