Web form uploading finally works again!
I deleted the directory that was created to be the ftp's root and made a soft link with the same name that pointed to the comic/rant/avatar image directory (I made 3 ftp accounts). Since the ftp accounts have usernames like [email protected], I couldn't use my old system of having php treat an ftp url like a file (the @ in the username messes it up), so I switched to a more old-school approach where you call functions to connect, log in, chdir, and put a file. It actually made the code smaller, since there isn't/wasn't really a php function for copying a file from one place to another, so I had to load it into memory before and dump it back to the ftp url before, but now I have an ftp_put() function that uploads a file straight to the ftp.
Also, made the rant preview button jump to the previewed rant instead of the top of the page and made the rant post button jump to the bottom of the page...
--regolith
|