Connecting Tech Pros Worldwide Help | Site Map

upload_tmp_dir

 
LinkBack Thread Tools Search this Thread
  #1  
Old October 18th, 2006, 04:25 AM
Mark
Guest
 
Posts: n/a
Default 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?


  #2  
Old October 18th, 2006, 05:15 AM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Mark wrote:
Quote:
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 :(

  #3  
Old October 18th, 2006, 10:05 AM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: upload_tmp_dir

Mark wrote:
Quote:
Mark wrote:
>
Quote:
>>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 :(
>
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@attglobal.net
==================
  #4  
Old October 18th, 2006, 10:55 PM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Jerry Stuckle wrote:
Quote:
Mark wrote:
Quote:
Mark wrote:
Quote:
>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 :(
>
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@attglobal.net
==================
That's very frusterating. Especially since I was told not to upload
anything to the temporary directory...this basically means I can't
upload at all.

  #5  
Old October 19th, 2006, 01:55 AM
Lone Clapper
Guest
 
Posts: n/a
Default Re: upload_tmp_dir

"Mark" <mnbayazit@gmail.comwrote in news:1161212988.345958.154010
@i42g2000cwa.googlegroups.com:
Quote:
>
Jerry Stuckle wrote:
Quote:
>Mark wrote:
Quote:
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
Quote:
Quote:
Quote:
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@attglobal.net
>==================
>
That's very frusterating. Especially since I was told not to upload
anything to the temporary directory...this basically means I can't
upload at all.
>
>
Get a new host.

Check out www.cirtexhosting.com

  #6  
Old October 19th, 2006, 06:45 AM
Rik
Guest
 
Posts: n/a
Default Re: upload_tmp_dir

Mark wrote:
Quote:
That's very frusterating. Especially since I was told not to upload
anything to the temporary directory...this 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


  #7  
Old October 25th, 2006, 11:35 PM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Rik wrote:
Quote:
Mark wrote:
Quote:
That's very frusterating. Especially since I was told not to upload
anything to the temporary directory...this 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.

  #8  
Old October 25th, 2006, 11:35 PM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Lone Clapper wrote:
Quote:
"Mark" <mnbayazit@gmail.comwrote in news:1161212988.345958.154010
@i42g2000cwa.googlegroups.com:
>
Quote:

Jerry Stuckle wrote:
Quote:
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('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
Quote:
Quote:
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@attglobal.net
==================
That's very frusterating. Especially since I was told not to upload
anything to the temporary directory...this 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?

  #9  
Old October 26th, 2006, 03:45 AM
Rik
Guest
 
Posts: n/a
Default Re: upload_tmp_dir

Mark wrote:
Quote:
Rik wrote:
Quote:
>Mark wrote:
Quote:
>>That's very frusterating. Especially since I was told not to upload
>>anything to the temporary directory...this 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


  #10  
Old October 27th, 2006, 03:55 AM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Rik wrote:
Quote:
Mark wrote:
Quote:
Rik wrote:
Quote:
Mark wrote:
>That's very frusterating. Especially since I was told not to upload
>anything to the temporary directory...this 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.

  #11  
Old October 27th, 2006, 09:25 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: upload_tmp_dir

Mark wrote:
Quote:
Rik wrote:
>
Quote:
>>Mark wrote:
>>
Quote:
>>>Rik wrote:
>>>
>>>>Mark wrote:
>>>>
>>>>>That's very frusterating. Especially since I was told not to upload
>>>>>anything to the temporary directory...this 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@attglobal.net
==================
  #12  
Old October 28th, 2006, 09:25 PM
Mark
Guest
 
Posts: n/a
Default Re: upload_tmp_dir


Jerry Stuckle wrote:
Quote:
Mark wrote:
Quote:
Rik wrote:
Quote:
>Mark wrote:
>
>>Rik wrote:
>>
>>>Mark wrote:
>>>
>>>>That's very frusterating. Especially since I was told not to upload
>>>>anything to the temporary directory...this 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@attglobal.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 :)

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.