Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 53,072
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
File upload script not working |
Posted by: ehcpuser - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (7)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I've created a file upload script, and it doesn't seem to be working. Here's my code. I'm wondering if there's something that has to do with ehcp. I asked a couple of php guys and they don't know so it might be php settings. I saw something when I searched, but I still don't understand it. Here's the code.
<?php
require('header.php');
require('links.php');
$name = mysql_real_escape_string($_POST['file']);
$url = mysql_real_escape_string($_POST['file']);
$filename = $_FILES['file']['name'];
$temp = $_FILES['file']['tmp_name'];
$error = $_FILES['file']['error'];
$sql = "insert into books set name='$name', url='$url'";
if(isset($_POST['submit'])) {
if($error > 0) {
die("Error uploading file! Code $error.");
}else{
move_uploaded_file($temp,"/center/resources/books/".$filename);
mysql_query($sql);
}
}
?>
<form method='post' enctype='multipart/form-data'>
Book Name<input type="text" name="name"></br>
File<input type="file" name="file"></br>
<input type="submit" name="submit" value="Upload">
</form>
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
|
|
|
Template System - How does it work? |
Posted by: foxtrot - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Ok, I have been tasked with redesigning a template for EHCP and having trouble getting my head around it.
My questions are:
1. The main pages, such as index.php?op=listselectdomain, op=serverstatus, op=listbackups etc where are they kept, how can I change the layout for these pages?
2. I can see certain template variables throughout, such as <div class="info"><b> {dynamicinfo}</b></div>, is there a list of all the variables? and how can I change the information and style that is displayed for the variables?
Restored from old drupal forum, for user uid:3297 username:foxtrot
You may reset your password to access your new account here.
|
|
|
Our Current Work on EHCP |
Posted by: foxtrot - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (8)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Example1: http://imgur.com/iVpyW.png
Example2: http://imgur.com/XwqkV.png
We are working on a redesign of EHCP, and a overhaul of some of the code with added functionality, its no where near complete but its getting there.
Our main point is consolidation and CSS control for the layout, this has required a lot of edits of the classapp.php file to allow CSS id's and class's to be added.
The side bar has been simplified, and the links that where below the "Domain" section originally have been added as icons to the domain page, this is to make the use more linear and obvious for new users. The deactive/active icons work as does the size quota, and the link at the end to deactivate domain also works.
Next task is to remove the "options" link and add it to another area with some heavy customisation.
Example2 shows the Server Options page, where we have moved the phpinfo() and other options.
Much appreciation to Razvan and his work on the Ubuntu theme which is what we have based our work from.
Restored from old drupal forum, for user uid:3297 username:foxtrot
You may reset your password to access your new account here.
|
|
|
Proposed Logo and Interface ReDesign |
Posted by: Noir - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I was wondering which graphics would need to be redone; and if any need to, if I may have an attempt at doing it?
Attached are two images as proposed logo revamps, which I will edit and revise as necessary. I'll make a new post with a complete overhaul mockup soon!
Restored from old drupal forum, for user uid:2767 username:Noir
You may reset your password to access your new account here.
|
|
|
Adding Email Users |
Posted by: maz - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (5)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hi.
I wanted to do some modification of your ehcp, I understand that when adding new email user data will be inserted into the MySQL database, and I also understand that some changes has to be made in The IMAP server to make the email works.
Will u tell me where or in which file of your ehcp u do all this changes. I have gone thru your classapp.php file but I could not see where this is done. Can u guide me please.
see u
Restored from old drupal forum, for user uid:2688 username:maz
You may reset your password to access your new account here.
|
|
|
Creating a billing system |
Posted by: headstew - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers
- Replies (31)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I am a decent programmer i am not great, but i can only get better. i am in development of a billing system for my hosting site. would like to find out what your ideas are for setting this up. I was thinking a system similar to cpanels secret code that would only allow this software to communicate with this software as the identifier to allow it to create the new account once payment is recieved also allowing it to create the plans in the billing system and it will automatically be set in ehcp.
Restored from old drupal forum, for user uid:2701 username:headstew
You may reset your password to access your new account here.
|
|
|
|