<aclass="el"href="common_8inc_8php.html">common.inc.php</a> Common hotglue infrastructure<p>
Copyright Gottfried Haider, Danja Vasiliev 2010. This source code is licensed under the GNU General Public License. See the file COPYING for more details. save a page in the cache<p>
<tr><tdvalign="top"></td><tdvalign="top"><em>bool</em> </td><td>$header_only only send header information this function does not return. </td></tr>
move an uploaded file to the shared directory of a page<p>
this function reuses existing files when possible. <dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$fn filename of newly uploaded file (most likely in /tmp) </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$page page or pagename </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$orig_fn the original filename on the client machine (optional) </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>bool</em> </td><td>&$existed set to true if the filename returned did already exist before </td></tr>
</table>
</dl>
<dlclass="return"compact><dt><b>Returns:</b></dt><dd>filename inside the shared directory or false in case of error </dd></dl>