<?xml version="1.0" encoding="windows-1252"?>
<node id="207051" title="Re: CGI open of tmpfile" created="2002-10-22 08:30:54" updated="2004-08-13 06:59:32">
<type id="11">
note</type>
<author id="35391">
tune</author>
<data>
<field name="doctext">
If you have your temp dir on an unordinary place, just do this:

&lt;code&gt;
BEGIN { $TempFile::TMPDIRECTORY = '/mytmp' }
use CGI;
&lt;/code&gt;

Or edit your CGI.pm in the right place:

&lt;code&gt;
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
# $TempFile::TMPDIRECTORY = '/usr/tmp';
&lt;/code&gt;

&lt;p&gt;--
&lt;br&gt;


tune</field>
<field name="root_node">
207037</field>
<field name="parent_node">
207037</field>
</data>
</node>
