Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Include php files Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
laurisnet
Newbie
Newbie
Avatar

Joined: 28 April 2009
Location: Latvia
Online Status: Offline
Posts: 2
Posted: 28 April 2009 at 3:46am | IP Logged Quote laurisnet

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 View laurisnet's Profile Search for other posts by laurisnet
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5873
Posted: 28 April 2009 at 4:12am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide