469,343 Members | 5,380 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

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?

Oct 18 '06 #1
11 11473

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

Oct 18 '06 #2
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
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.
js*******@attglobal.net
==================
Oct 18 '06 #3

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('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.
js*******@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.

Oct 18 '06 #4
"Mark" <mn*******@gmail.comwrote in news:1161212988.345958.154010
@i42g2000cwa.googlegroups.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('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.
js*******@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

Oct 19 '06 #5
Rik
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.'?
--
Rik Wasmus
Oct 19 '06 #6

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.'?
--
Rik Wasmus
quite sure.
i somehow managed to crash the entire server using an html form to
upload stuff.

Oct 25 '06 #7

Lone Clapper wrote:
"Mark" <mn*******@gmail.comwrote in news:1161212988.345958.154010
@i42g2000cwa.googlegroups.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('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.
js*******@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?

Oct 25 '06 #8
Rik
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
Oct 26 '06 #9

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...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.

Oct 27 '06 #10
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...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.
js*******@attglobal.net
==================
Oct 27 '06 #11

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...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.
js*******@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 :)

Oct 28 '06 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tim218 | last post: by
1 post views Thread by Xenofon Papadopoulos | last post: by
4 posts views Thread by dickiedyce | last post: by
reply views Thread by Robert_Wr | last post: by
2 posts views Thread by iulian.ilea | last post: by
9 posts views Thread by Synapse Syndrome | last post: by
1 post views Thread by TJ | last post: by
1 post views Thread by howa | last post: by
2 posts views Thread by TheReckter | last post: by
1 post views Thread by howa | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.