Announcement

Collapse
No announcement yet.

Can I attach files locally?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can I attach files locally?

    Is it possible to attach big files locally rather than trying to upload it thru PHP?

    For example, instead of using the upload script and cranking up the memory limit in PHP, can't I just put the attachment in if I give a local URL such as "/wwwroot/something/here/file.mpg" ?

    Any help is appreciated.

    Thanks!

  • #2
    There is not way to do this through vB. You can, of course, upload the file manually and post a link to it.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Originally posted by Steve Machol
      There is not way to do this through vB. You can, of course, upload the file manually and post a link to it.
      Will there be a way to do this in the future? - Just curious...

      Comment


      • #4
        Since vB is a PHP application, my guess is this will never be a feature of vB.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          Originally posted by Steve Machol
          Since vB is a PHP application, my guess is this will never be a feature of vB.
          Kinda funny to see that PHP cant support that. I mean after all, it IS grabbing it locally and not being sent thru http from a client, such as myself..

          Comment


          • #6
            Theoretically it could be done, but you're not really going to avoid the memory limit since we'd have to slurp the file to get it into MySQL (this could be avoided somewhat if you use attachments as files).

            However, more importantly, it's a security issue. A big one.

            Comment


            • #7
              Originally posted by b00tsauce
              Kinda funny to see that PHP cant support that. I mean after all, it IS grabbing it locally and not being sent thru http from a client, such as myself..
              You specifically said you did not want to do this with PHP which is why I said that vB will never be able to do this:

              Originally posted by b00tsauce
              Is it possible to attach big files locally rather than trying to upload it thru PHP?
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment

              Related Topics

              Collapse

              • zel
                Can't attach files
                by zel
                Vbulletin 5 beta26
                PHP 5.3.20 Safe Mode ON

                I can't attach files.
                When I create a new topic or reply to an existing one, I use the advanced tab to upload an attachment, I select...
                Thu 24 Jan '13, 12:48am
              • DemOnstar
                Uploading photos confusion
                by DemOnstar
                Apologies for the vague titling but I am not fully understanding this.

                I click on upload no problem, it uploads but I am presented with this and I don't really understand it.

                ...
                Sun 7 Apr '13, 9:07am
              Working...
              X