Author |
|
laurisnet Newbie
Joined: 28 April 2009 Location: Latvia
Online Status: Offline Posts: 2
|
Posted: 28 April 2009 at 3:46am | IP Logged
|
|
|
How to include php file in attachment section?
I need to put this inside attachment upload form:
<?php
$id = uniqid('');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="lv" lang="lv">
<head>
<title>Faila augšupielādes forma</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="progress.js" type="text/javascript"></script>
</head>
<body>
<h1>Faila augšupielāde</h1>
<form action="" method="post" enctype="multipart/form-data">
<div>
<input type="hidden" name="APC_UPLOAD_PROGRESS"
value="<?php echo($id) ?>"/>
<input type="hidden" name="MAX_FILE_SIZE" value="20971520"/>
<label for="file">Fails (max izmērs 20 MB): </label>
<input type="file" id="file" name="file"/>
<br />
<input type="submit" value="UPLOAD"
onclick="apc_progress('<?php echo($id) ?>');return true;"/>
<div id="apc_progress"> </div>
</div>
</form>
</body>
</html>
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 April 2009 at 4:12am | IP Logged
|
|
|
We only support original product functionality. Product modifications are the responsibility of the client, and once the product is modified by the client, we can not support a customized product. All issues that fall outside of answering questions related to our unmodified products must be addressed to our Professional Services team.
Of course, you can always count on forum community support.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|