upload_tmp_dir

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    #1

    upload_tmp_dir

    so, I'm trying to change the upload temp directory... I've put a
    php.ini file in my public_html folder, but it doesn't seem to be
    reading it..so I tried this instead

    <pre>
    <?php
    $old =
    ini_set('upload _tmp_dir','/home/myusername/public_html/uploads');
    echo "old value: $old<br />";
    print_r(ini_get _all());
    ?>
    </pre>

    and..that isn't changing it either. what could be the problem?

  • Mark

    #2
    Re: upload_tmp_dir


    Mark wrote:
    so, I'm trying to change the upload temp directory... I've put a
    php.ini file in my public_html folder, but it doesn't seem to be
    reading it..so I tried this instead
    >
    <pre>
    <?php
    $old =
    ini_set('upload _tmp_dir','/home/myusername/public_html/uploads');
    echo "old value: $old<br />";
    print_r(ini_get _all());
    ?>
    </pre>
    >
    and..that isn't changing it either. what could be the problem?
    oh..right now it's using /usr/local/Zend/etc/php.ini but i can't edit
    this file :(

    Comment

    • Jerry Stuckle

      #3
      Re: upload_tmp_dir

      Mark wrote:
      Mark wrote:
      >
      >>so, I'm trying to change the upload temp directory... I've put a
      >>php.ini file in my public_html folder, but it doesn't seem to be
      >>reading it..so I tried this instead
      >>
      >><pre>
      >><?php
      >>$old =
      >>ini_set('uplo ad_tmp_dir','/home/myusername/public_html/uploads');
      >>echo "old value: $old<br />";
      >>print_r(ini_g et_all());
      >>?>
      >></pre>
      >>
      >>and..that isn't changing it either. what could be the problem?
      >
      >
      oh..right now it's using /usr/local/Zend/etc/php.ini but i can't edit
      this file :(
      >
      They very well could be disabled. A lot of shared hosts do that.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • Mark

        #4
        Re: upload_tmp_dir


        Jerry Stuckle wrote:
        Mark wrote:
        Mark wrote:
        >so, I'm trying to change the upload temp directory... I've put a
        >php.ini file in my public_html folder, but it doesn't seem to be
        >reading it..so I tried this instead
        >
        ><pre>
        ><?php
        >$old =
        >ini_set('uploa d_tmp_dir','/home/myusername/public_html/uploads');
        >echo "old value: $old<br />";
        >print_r(ini_ge t_all());
        >?>
        ></pre>
        >
        >and..that isn't changing it either. what could be the problem?

        oh..right now it's using /usr/local/Zend/etc/php.ini but i can't edit
        this file :(
        >
        They very well could be disabled. A lot of shared hosts do that.
        >
        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===
        That's very frusterating. Especially since I was told not to upload
        anything to the temporary directory...thi s basically means I can't
        upload at all.

        Comment

        • Lone Clapper

          #5
          Re: upload_tmp_dir

          "Mark" <mnbayazit@gmai l.comwrote in news:1161212988 .345958.154010
          @i42g2000cwa.go oglegroups.com:
          >
          Jerry Stuckle wrote:
          >Mark wrote:
          Mark wrote:
          >
          >>so, I'm trying to change the upload temp directory... I've put a
          >>php.ini file in my public_html folder, but it doesn't seem to be
          >>reading it..so I tried this instead
          >>
          >><pre>
          >><?php
          >>$old =
          >>ini_set('uplo ad_tmp_dir','/home/myusername/public_html/uploads');
          >>echo "old value: $old<br />";
          >>print_r(ini_g et_all());
          >>?>
          >></pre>
          >>
          >>and..that isn't changing it either. what could be the problem?
          >
          >
          oh..right now it's using /usr/local/Zend/etc/php.ini but i can't
          edit
          this file :(
          >
          >>
          >They very well could be disabled. A lot of shared hosts do that.
          >>
          >--
          >============== ====
          >Remove the "x" from my email address
          >Jerry Stuckle
          >JDS Computer Training Corp.
          >jstucklex@attgl obal.net
          >============== ====
          >
          That's very frusterating. Especially since I was told not to upload
          anything to the temporary directory...thi s basically means I can't
          upload at all.
          >
          >
          Get a new host.

          Check out www.cirtexhosting.com

          Comment

          • Rik

            #6
            Re: upload_tmp_dir

            Mark wrote:
            That's very frusterating. Especially since I was told not to upload
            anything to the temporary directory...thi s basically means I can't
            upload at all.
            Euhmm, usually this should work on most shared hosts, uploading to temp...

            Are you absolutely sure they didn't mean: 'Don't upload files by FTP to the
            temp directory, that's for other uses, like a HTTP upload.'?
            --
            Rik Wasmus


            Comment

            • Mark

              #7
              Re: upload_tmp_dir


              Rik wrote:
              Mark wrote:
              That's very frusterating. Especially since I was told not to upload
              anything to the temporary directory...thi s basically means I can't
              upload at all.
              >
              Euhmm, usually this should work on most shared hosts, uploading to temp...
              >
              Are you absolutely sure they didn't mean: 'Don't upload files by FTP to the
              temp directory, that's for other uses, like a HTTP upload.'?
              --
              Rik Wasmus
              quite sure.
              i somehow managed to crash the entire server using an html form to
              upload stuff.

              Comment

              • Mark

                #8
                Re: upload_tmp_dir


                Lone Clapper wrote:
                "Mark" <mnbayazit@gmai l.comwrote in news:1161212988 .345958.154010
                @i42g2000cwa.go oglegroups.com:
                >

                Jerry Stuckle wrote:
                Mark wrote:
                Mark wrote:

                >so, I'm trying to change the upload temp directory... I've put a
                >php.ini file in my public_html folder, but it doesn't seem to be
                >reading it..so I tried this instead
                >
                ><pre>
                ><?php
                >$old =
                >ini_set('uploa d_tmp_dir','/home/myusername/public_html/uploads');
                >echo "old value: $old<br />";
                >print_r(ini_ge t_all());
                >?>
                ></pre>
                >
                >and..that isn't changing it either. what could be the problem?


                oh..right now it's using /usr/local/Zend/etc/php.ini but i can't
                edit
                this file :(

                >
                They very well could be disabled. A lot of shared hosts do that.
                >
                --
                =============== ===
                Remove the "x" from my email address
                Jerry Stuckle
                JDS Computer Training Corp.
                jstucklex@attgl obal.net
                =============== ===
                That's very frusterating. Especially since I was told not to upload
                anything to the temporary directory...thi s basically means I can't
                upload at all.
                >
                Get a new host.
                >
                Check out www.cirtexhosting.com
                the prices look good.. but how about speed, reliability and support?

                Comment

                • Rik

                  #9
                  Re: upload_tmp_dir

                  Mark wrote:
                  Rik wrote:
                  >Mark wrote:
                  >>That's very frusterating. Especially since I was told not to upload
                  >>anything to the temporary directory...thi s basically means I can't
                  >>upload at all.
                  >>
                  >Euhmm, usually this should work on most shared hosts, uploading to
                  >temp...
                  >>
                  >Are you absolutely sure they didn't mean: 'Don't upload files by FTP
                  >to the temp directory, that's for other uses, like a HTTP upload.'?
                  >
                  quite sure.
                  i somehow managed to crash the entire server using an html form to
                  upload stuff.
                  Well, if you manage to crash a server with that, those people have
                  absolutely no idea what they're doing. If it simply doesn't work, but the
                  server is up, they are (needlessly) strict/paranoid. Hosting is dirt cheap
                  at present, I agree with Lone Clapper: find a new host, there are lots of
                  decent hosts out there.

                  Unfortunaely I cannot give you any hosting adviuce, I usually use local
                  (dutch) hosts (or my own) for my stuff for better communication (and
                  ass-kicking capability without buying a planeticket).
                  --
                  Rik Wasmus


                  Comment

                  • Mark

                    #10
                    Re: upload_tmp_dir


                    Rik wrote:
                    Mark wrote:
                    Rik wrote:
                    Mark wrote:
                    >That's very frusterating. Especially since I was told not to upload
                    >anything to the temporary directory...thi s basically means I can't
                    >upload at all.
                    >
                    Euhmm, usually this should work on most shared hosts, uploading to
                    temp...
                    >
                    Are you absolutely sure they didn't mean: 'Don't upload files by FTP
                    to the temp directory, that's for other uses, like a HTTP upload.'?
                    quite sure.
                    i somehow managed to crash the entire server using an html form to
                    upload stuff.
                    >
                    Well, if you manage to crash a server with that, those people have
                    absolutely no idea what they're doing. If it simply doesn't work, but the
                    server is up, they are (needlessly) strict/paranoid. Hosting is dirt cheap
                    at present, I agree with Lone Clapper: find a new host, there are lots of
                    decent hosts out there.
                    >
                    Unfortunaely I cannot give you any hosting adviuce, I usually use local
                    (dutch) hosts (or my own) for my stuff for better communication (and
                    ass-kicking capability without buying a planeticket).
                    --
                    Rik Wasmus
                    thing is, it's my friend, and he's hosting me for free. can't complain
                    too much...
                    oh well. some nice fellow i might gave me some additional hosting free
                    of charge.

                    Comment

                    • Jerry Stuckle

                      #11
                      Re: upload_tmp_dir

                      Mark wrote:
                      Rik wrote:
                      >
                      >>Mark wrote:
                      >>
                      >>>Rik wrote:
                      >>>
                      >>>>Mark wrote:
                      >>>>
                      >>>>>That's very frusterating. Especially since I was told not to upload
                      >>>>>anything to the temporary directory...thi s basically means I can't
                      >>>>>upload at all.
                      >>>>
                      >>>>Euhmm, usually this should work on most shared hosts, uploading to
                      >>>>temp...
                      >>>>
                      >>>>Are you absolutely sure they didn't mean: 'Don't upload files by FTP
                      >>>>to the temp directory, that's for other uses, like a HTTP upload.'?
                      >>>
                      >>>quite sure.
                      >>>i somehow managed to crash the entire server using an html form to
                      >>>upload stuff.
                      >>
                      >>Well, if you manage to crash a server with that, those people have
                      >>absolutely no idea what they're doing. If it simply doesn't work, but the
                      >>server is up, they are (needlessly) strict/paranoid. Hosting is dirt cheap
                      >>at present, I agree with Lone Clapper: find a new host, there are lots of
                      >>decent hosts out there.
                      >>
                      >>Unfortunael y I cannot give you any hosting adviuce, I usually use local
                      >>(dutch) hosts (or my own) for my stuff for better communication (and
                      >>ass-kicking capability without buying a planeticket).
                      >>--
                      >>Rik Wasmus
                      >
                      >
                      thing is, it's my friend, and he's hosting me for free. can't complain
                      too much...
                      oh well. some nice fellow i might gave me some additional hosting free
                      of charge.
                      >
                      Well, you get what you pay for.

                      Good shared hosting can be had for < $5.00/mo. If your website is
                      important to you should be willing to pay at least that much.

                      --
                      =============== ===
                      Remove the "x" from my email address
                      Jerry Stuckle
                      JDS Computer Training Corp.
                      jstucklex@attgl obal.net
                      =============== ===

                      Comment

                      • Mark

                        #12
                        Re: upload_tmp_dir


                        Jerry Stuckle wrote:
                        Mark wrote:
                        Rik wrote:
                        >Mark wrote:
                        >
                        >>Rik wrote:
                        >>
                        >>>Mark wrote:
                        >>>
                        >>>>That's very frusterating. Especially since I was told not to upload
                        >>>>anything to the temporary directory...thi s basically means I can't
                        >>>>upload at all.
                        >>>
                        >>>Euhmm, usually this should work on most shared hosts, uploading to
                        >>>temp...
                        >>>
                        >>>Are you absolutely sure they didn't mean: 'Don't upload files by FTP
                        >>>to the temp directory, that's for other uses, like a HTTP upload.'?
                        >>
                        >>quite sure.
                        >>i somehow managed to crash the entire server using an html form to
                        >>upload stuff.
                        >
                        >Well, if you manage to crash a server with that, those people have
                        >absolutely no idea what they're doing. If it simply doesn't work, but the
                        >server is up, they are (needlessly) strict/paranoid. Hosting is dirt cheap
                        >at present, I agree with Lone Clapper: find a new host, there are lots of
                        >decent hosts out there.
                        >
                        >Unfortunaely I cannot give you any hosting adviuce, I usually use local
                        >(dutch) hosts (or my own) for my stuff for better communication (and
                        >ass-kicking capability without buying a planeticket).
                        >--
                        >Rik Wasmus

                        thing is, it's my friend, and he's hosting me for free. can't complain
                        too much...
                        oh well. some nice fellow i might gave me some additional hosting free
                        of charge.
                        >
                        Well, you get what you pay for.
                        >
                        Good shared hosting can be had for < $5.00/mo. If your website is
                        important to you should be willing to pay at least that much.
                        >
                        --
                        =============== ===
                        Remove the "x" from my email address
                        Jerry Stuckle
                        JDS Computer Training Corp.
                        jstucklex@attgl obal.net
                        =============== ===
                        well, it's a personal site, and there isn't a heck of a lot on it. but
                        i do love working on my little web projects..

                        i'll might consider paying for something when i have some actual
                        content :)

                        Comment

                        Working...