-
Posts
286 -
Joined
-
Last visited
-
Days Won
14
Posts posted by einet
-
-
On 28/6/2018 at 21:44, PlanetCloud said:
De todos modos, hey @einet , mucho tiempo sin verte
if a little lost haha but I'm trying to enter a little more often
-
On 19/1/2018 at 21:52, Angel said:
Perdón por molestarte de nuevo @einet , pero perdí el enlace de descarga del cliente API. ¿Podría volver a enviarlo a mí: [email protected]
I do not know if you still need the script but I have sent you an email with the script link in case you need it and I regret my absence I do not have much free time greetings
-
On 28/6/2018 at 7:39 AM, PCTipsGR said:
I know that the topic is a bit old, but could you also send me the client area example if you still have it?
Email: [email protected]
Sorry for being late. I have sent a message to the email address that has left me with the details of the script
-
7 hours ago, PCTipsGR said:
I left one there, your tutorial will not work in every case because Let's Encrypt always performs a validation check and will revoke the certificate.
Go and check it if you want, if you really want a Let's Encrypt/SSLForFree Certificate you can use it with CloudFlare by adding a TXT record through Cloudflare DNS.
It will not work if you have CloudFlare from vPanel, if you have CloudFlare from there you can use the Manua Verification, not the DNS one, and it will work.
I install | certificates in accounts that host someone in this way [without using the cloud of clouds] since the cloud of clouds has problems to disconnect and generate products in the networks of the clients. And so far I have not had any problems greetings maybe someone else will work for that I take an hour and a half of my valuable time to create this tutorial, to try to help them.
-
-
21 hours ago, PlanetCloud said:
¿Entonces estás diciendo que el uso de inodos se reiniciará todos los meses?
¿O es Google Translate lo arruinó?
if at the same time that the counters of the consumed bandwidth are restarted, I explain if it was consumed or frame more than what it really possesses when resetting itself auntomatically it shows the real quantity that it has but this is reset every 30 days
-
9 hours ago, Tamil said:
Cómo reducir el almacenamiento detelo todo el archivo de la carpeta mysite y la base de datos, pero no disminuye.
the inodes are restarted every 30 days when the server reboots the monthly fee you can delete the files you think are unnecessary on your website and wait for the next reboot that is each end of the month your website can work as long as it is not suspended
-
https://i.imgur.com/QUyxqx1.png
Here I leave a clearer example to verify a domain with a form and the function plus the working library I remind you that the file should go next to the index since it requires the library that you spent last remember to add the user and pass of your reseller panel to the file that happened to them
I apologize if I wrote with spelling errors and if my English is not understood ice a quick example
THE FILE >> CHECK DOMAIN FILE
-
17 hours ago, PlanetCloud said:
De acuerdo, ¿cómo agregar el parámetro sobre qué dominio verificar?
to verify a domain you can do it from a search form or by POST or GET method in the example that I add to verify the domain was by get in the url when ending like this? domaim = the examplenameofexample.com and in this case use the function $ client-> availability ($ domain); showing answer of 1 if the domain is available and 0 or nothing if it is already registered I will make a simpler example to make it easier
-
12 hours ago, CrazyMAzeY said:
Is anyone in this forum directly linked to iFast (MOFH) ?
I setup a few reseller domains for testing and a couple of websites in the reseller panel. But i've looked everywhere and cannot delete them.
also been trying to setup the main hosting site where clients sign up and does not seem to work with SSL so I came here as suggested and have been trying out the newly created login/signup module but still not sure if that is created by iFast ??
If I create test domains, go to the cpanel of the account where you created them and proceed to remove domain by domain from the domains area in your cpanel once deleted all go to your reseller panel and deactivate the accounts created after 30 days the server will automatically remove them from the system
-
14 hours ago, PlanetCloud said:
<?php include 'vendor/autoload.php'; // In [API username and API password] go the data of your reseller account that the data gives you here https://panel.myownfreehost.net/panel/index2.php?option=api $client = new \HansAdema\MofhClient\Client('ZbzVk5V3JxXnFK50tmB8reIBSSCir9UrdMwi', 'SFZb6XH4VW2Ii9SyIKQFq0bi0'); //example 1 domain exist? $domain = $_GET['domain']; // We check if the sub-domain is available echo $client->availability($domain); // Create a user account ('User8charactersmax', 'password','email','Domainorsub-domain','planName') //echo $client->createAccount('username8charmax', 'password', 'email', 'domainexample.com', 'plan_one'); // Suspend user account must be the same as example registry name ('username8charmax', 'Suspension message') //echo $client->suspend('username8charmax', 'Towards a test with a script in php'); // Change account password example('username8charmax', 'newpassword') //echo $client->password('username8charmax', '123456as'); // Reactivate account suspended Need only the example user name (username8charmax) //echo $client->unsuspend('username8charmax'); // One example live in create account //echo $client->createAccount('x3bugger', '123456asxl', '[email protected]', 'x3bugger.domain.com', 'standar');
That is my code (Of course I changed the Password and Username!.
Do I need to modify anything??
if you have placed the user and password of your reseller api mas IP in the panel of the api reseller does not need to do anything else can perform tests with functions that are disabled with //
for example:
// echo $ client-> availability ($ domain);
// echo $ client-> createAccount ('');
// echo $ client-> suspend ('');
// echo $ client-> password ('');
// echo $ client-> unsuspend ('');
// echo $ client-> createAccount ('');
are the only ones you can use with the script uncheck the line you want to use since it is currently active is echo $ client-> availability ($ domain); to verify if a domain name exists in your reseller -
10 minutes ago, einet said:
if you are going to carry out local tests from your pc, you must indicate the ip of your computer, the one indicated by https://www.cualesmiip.com/ if you are going to execute the script from your web server, you must indicate the ip of your web server in the api reseller
can also activate the error log in alter php config to see with more details the errors shown by the php when the ip is incorrectly configured shows the address from where the script is running on your hosting
-
1 minute ago, PlanetCloud said:
PHP 7.0 still the same.
How to check my server IP?
Is it correct to Google "What Is My IP" for my computer?
And is it correct to use Google Dig Tool to search "www.planetcloudhosting.cf" IP?if you are going to carry out local tests from your pc, you must indicate the ip of your computer, the one indicated by https://www.cualesmiip.com/ if you are going to execute the script from your web server, you must indicate the ip of your web server in the api reseller
-
2 minutes ago, PlanetCloud said:
I added my API and Password also my IP.
When I put it on my website, it shows ERROR 500
https://api.planetcloudhosting.cf/mofh complete/mofh/?i=2Why not?
We could chat thru Email or WhatsApp if you wanted toupdate the php version from your hosting cpanel where you test a version higher than 5.4 eh sent another message to the indicated mail
-
10 minutes ago, Hostingaj said:
Thanks, got the email.
16 minutes ago, einet said:oquei you placed your username and password of your client reseller in
$ client = new \ HansAdema \ MofhClient \ Client ('API Username', 'API Password');
and you added the ip of the team where you are executing the script inside the folder there are some images and a txt with instructionsLocal test with the script working. In this case, testing if the google.com domain exists in my reseller server.
Showing 1 indicates that the domain is available in my reseller server logically is to verify if a domain or sub domain of your reseller hosting exists or not a basic example. If you were able to perform this test without any error, indicate that the usename and password are well added remember to add the ip from where you are doing tests -
2 minutes ago, Hostingaj said:
I can help you set up the api but you would have to look for a chat or where you can write them message send your email
-
3 minutes ago, PlanetCloud said:
oquei you placed your username and password of your client reseller in
$ client = new \ HansAdema \ MofhClient \ Client ('API Username', 'API Password');
and you added the ip of the team where you are executing the script inside the folder there are some images and a txt with instructions -
1 hour ago, PlanetCloud said:
Hi, I keep getting this error : Parse error: syntax error, unexpected '-', expecting ',' or ';' in C:\wamp64\www\other-project\mofh-api\index.php on line 5
Can somebody help me out?
My code :
<?php require_once(vendor\autoload.php); use vendor\hansadema\mofh-client\src\Client.php; // Create a new API client with your API credentials. $client = Client::create([ 'apiUsername' => 'your_api_username', 'apiPassword' => 'your_api_password', 'plan' => 'my_plan', // Optional, you can define it here or define it with the createAccount call. ]); // Create a request object to create the request. $request = $client->createAccount([ 'username' => 'abcdefgh', // A unique, 8 character identifier of the account. 'password' => 'password123', // A password to login to the control panel, FTP and databases. 'domain' => 'userdomain.example.com', // Can be a subdomain or a custom domain. 'email' => '[email protected]', // The email address of the user. 'plan' => 'my_plan', // Optional, you can submit a hosting plan here or with the Client instantiation. ]); // Send the API request and keep the response. $response = $request->send(); // Check whether the request was successful. if ($response->isSuccessful()) { echo 'You can login as: ' . $response->getVpUsername(); } else { echo 'Failed to create account: ' . $response->getMessage(); } ?>
try to use the one that I just sent to the email remember to read the instructions and that the php version of your localhost is 5.4 or higher
-
On 21/12/2017 at 3:02 PM, weytar said:
kararhosting.tk/panel not working ?
no you panel or empty no found
-
On 17/12/2017 at 4:38 AM, weytar said:
mail : [email protected]
you other email no found the server reboot message
Message send to new email please load you email
-
13 hours ago, weytar said:
i want use mofh api
send me a private message with your email because I can not send mp in the forum I do not have permission
-
On 15/12/2017 at 0:21 AM, Hostingaj said:
sent message (Y)
-
15 hours ago, mike said:
I believe documentation already exist for what einet sent you.
@mike is right there is already a project created in GitHub only that the one that exists there does not include the complete script (composer) and its libraries and I would like to participate in such a project but I do not have free time
-
On 15/12/2017 at 9:06 PM, Angel said:
Puse el nombre de usuario y la contraseña de la API y lo cargué en mi sitio, Chrome devuelve un error de 500, ¿estoy haciendo algo mal?
remember to use a PHP version 5.3 or higher in your test hosting to avoid code errors
Ssl Certificate
in Free Hosting General
Posted
I meant that if you have customer websites already created with the extension of the main domain example.mydomain.com you will have problems with cloudflare when it comes to keeping the dns connected, there are disconnections of the sub-domain sites of the clients that already they have an account, now if you have the main website of your hosting separately you do not have problems with cloudflare.