Php is installed on the webhost server that I use. I'm trying to change the upload_temp_dir but I'm not sure if I'm trying to do it right.
Here's the code I'm trying to use to change the ini file.
<?php
ini_set ('upload_tmp_dir','/home/newbie/public_html/temp');
?>
1. would that be right?
2. Is all I'm supposed to do is put that on a php page and open it on the webserver from a browser? Should that make the changes because no changes are made when I view phpinfo().
thanks
need help with ini_set()
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 191
- Joined: Wed Jan 29, 2003 7:11 am
- Location: UK
- Contact:
it would only affect it for the duration of the script and then only if the server admin has allowed that variable to be modified.
avatar image based upon nasas apod (only updates if I post though)