473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 11688

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim218 | last post by:
Hi Everyone This is my first day with PHP and, not surprisingly, I've run into a problem :-) I want to allow file uploads to the server without exposing the non-technical end-users to FTP...
1
by: Xenofon Papadopoulos | last post by:
When I was using /usr/tmp to keep the temp uploaded files, move_uploaded_file used to fail randomly. Since I created a directory owned by nobody:nobody (my apache user) and set upload_tmp_dir to...
4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
0
by: Robert_Wr | last post by:
hello PHP Masters:) my privider set: safe_mode to ON and leave upload_tmp_dir blank I think that there is the reason for my trouble with upload files via POST method. If yes - I will ask my...
2
by: iulian.ilea | last post by:
I have a problem when I upload files: if try to upload files stored in the same directory whith upload script it is ok, it uploads them on the ftp. IF I select a file from another directory than...
9
by: Synapse Syndrome | last post by:
Hi I've been given what I am told is a PHP script to be used on my server. I do not know any PHP. I am trying to use a feature of a program called ArchiCAD. This feauture allows CAD drawing...
1
by: TJ | last post by:
Hello All, This is my first posting on this group and I'm also new to PHP ;-) We have a client who is providing Web Hosting Solutions to customers. One of the latest requirements is to enable...
1
by: howa | last post by:
Using Windows, PHP5.2 ini_set("upload_tmp_dir", "c:/temp"); echo ini_get('upload_tmp_dir'); // print out the default one no effect...
2
by: TheReckter | last post by:
I'm currently on a shared host, and upload_tmp_dir is set to none, I was wondering if I was required to change that value to allow for file uploads, and how I could go about doing that, as I cant...
1
by: howa | last post by:
Hi, I have not set the "upload_tmp_dir" in my php.ini, so I am assuming it is using /tmp/. From time to time, I noticed that some strange files appear in the / tmp, and when I viewed it, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.