The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Upload image from localhost to online server

  • Anonymous
    # August 17, 2014 at 9:46 pm

    I’m building my CMS that will only be on my localhost and will submit data to my online server’s MYSQL database. Is it possible to upload an image to my websites filesystem like in img/newimage.png from my localhost CMS, to my online websites filesystem with PHP?

    # August 18, 2014 at 10:32 am

    I suppose you could have the upload form on your local machine submit to your remote host… but why not just use FTP?

    # August 18, 2014 at 10:40 am

    She is probably trying to do something like I was talking about a few months back. Remember the git-based CMS? Ha ha. Silly.

    @elkrocke, I’d recommend you use git hooks OR look into something like Jekyll.

    # August 18, 2014 at 11:19 am

    Meh, not that silly.

    # August 18, 2014 at 11:21 am

    Meh, not that silly.

    I’ll inevitably use it at some point. Why the hell not? Git already tracks for changes.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed