Connecting Tech Pros Worldwide Help | Site Map

upload_tmp_dir

  #1  
Old October 18th, 2006, 05:25 AM
Mark
Guest
 
Posts: n/a
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, 06:15 AM
Mark
Guest
 
Posts: n/a

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, 11:05 AM
Jerry Stuckle
Guest
 
Posts: n/a

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, 11:55 PM
Mark
Guest
 
Posts: n/a

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, 02:55 AM
Lone Clapper
Guest
 
Posts: n/a

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, 07:45 AM
Rik
Guest
 
Posts: n/a

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 26th, 2006, 12:35 AM
Mark
Guest
 
Posts: n/a

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 26th, 2006, 12:35 AM
Mark
Guest
 
Posts: n/a

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, 04:45 AM
Rik
Guest
 
Posts: n/a

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, 04:55 AM
Mark
Guest
 
Posts: n/a

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, 10:25 PM
Jerry Stuckle
Guest
 
Posts: n/a

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, 10:25 PM
Mark
Guest
 
Posts: n/a

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 :)

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cat set `upload_tmp_dir` in Windows howa answers 1 June 5th, 2007 01:25 PM
upload_tmp_dir iulian.ilea answers 2 September 30th, 2006 10:55 AM
safe mode, upload_tmp_dir - case with upload Robert_Wr answers 0 August 16th, 2005 07:45 PM
File uploads and upload_tmp_dir Xenofon Papadopoulos answers 1 July 17th, 2005 02:20 AM
File upload from a form / upload_tmp_dir query Tim218 answers 4 July 17th, 2005 12:42 AM