Connecting Tech Pros Worldwide Help | Site Map

upload_tmp_dir

Mark
Guest
 
Posts: n/a
#1: Oct 18 '06
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
Guest
 
Posts: n/a
#2: Oct 18 '06

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

Jerry Stuckle
Guest
 
Posts: n/a
#3: Oct 18 '06

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
==================
Mark
Guest
 
Posts: n/a
#4: Oct 18 '06

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.

Lone Clapper
Guest
 
Posts: n/a
#5: Oct 19 '06

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

Rik
Guest
 
Posts: n/a
#6: Oct 19 '06

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


Mark
Guest
 
Posts: n/a
#7: Oct 26 '06

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.

Mark
Guest
 
Posts: n/a
#8: Oct 26 '06

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?

Rik
Guest
 
Posts: n/a
#9: Oct 26 '06

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


Mark
Guest
 
Posts: n/a
#10: Oct 27 '06

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.

Jerry Stuckle
Guest
 
Posts: n/a
#11: Oct 27 '06

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
==================
Mark
Guest
 
Posts: n/a
#12: Oct 28 '06

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