Jump to content

Search the Community

Showing results for tags 'PHP'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hello, I am trying to run PHP code in an HTML file. I wish to maintain the UX of my website by avoiding the .php extension on pages that my users see whenever possible. For this reason, I am trying to find a way to run PHP within an HTML file. Upon doing research I found that it is possible to write a .htaccess file but was unsure what code to add to the .htaccess file so that it would work properly on Heliohost's servers (mine is Tommy). For an Apache server for example, the .htaccess file to solve the issue would be : AddType application/x-httpd-php .html Please let me know the best way to achieve the desired functionality on Heliohost servers. Thanks.
  2. Hello I need Mcrypt extension on PHP. PHP Version: 7.2.6 User: projeto2 Host: diskpilaco.heliohost.org Thanks
  3. Hi. I'm bfpsw on Johnny. I deployed a php web app, but trying to connect to index.php page results in an internal server error. Can you give me some help to find the error? Thanks
  4. Hi, Through a contact form I try to send certain data to an email account but it shows "Internal Server Error", the domain is hosted in Ricky, I have reviewed the configuration of both php and html and everything is correct Will there be any steps to that this works? The PHP.ini in ricky is enabled the mail parameter? Any solution?
  5. I am trying to change my php version in MultiPHP Manager, but it's not working. I am trying to apply php 7.2
  6. i try to install a script for testing end learning, but its says that i need ioncube_loader_lin_7.2.so how to fix that? i try change php version.
  7. Hi, is it possible to install this package on Tommy (http://pecl.php.net/package/APC)? It will speed up PHP pages and it will improve performances. Thanks
  8. username: goark server: ricky main domain: ping.usehype.ga Could you please increase max_user_connections? Thank You.
  9. Hello and thank you for the free service you offer. I just signed up and have my account on Johnny, but I need to use PHP 7. I can't find the multiple php version link on the software tab, could you please tell me how to switch PHP version? Thank you
  10. I'm making a login system for Unity, and I'm using your hosting website for online testing because it worked in localhost. I uploaded my 2 PHP files that are attached on the bottom and then when I test the login system in Unity it says "Empty" on the registration and "Username or Password cannot be empty." which means that $_REQUEST is not getting any information from the game. I would like a quick answer on how to fix this (it is not an error in the code, definitely) login.php register.php
  11. Hi HelioHost, Is it possible to install the PHP intl extension? My web app requires it... Thanks
  12. Hi HelioHost, I have to upload an update for my installed web app but it requires these values: upload_max_filesize = 16MBpost_max_size = 16MBI browsed on the forum and I can't on PHP.ini. Could you do this for me in PHP 7.2? Thanks
  13. Hi there! I'm trying to run a simple php file (see attachment), but I'm getting the following: _____ Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@mojica.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. _____ Please help. index.php
  14. Hello, I am using ClipBucket, a Softaculous script I downloaded through the cPanel Softaculous Scripts Installer. However, after setting it up, in the admin area I am receiving a notification telling me: You must update "Server Configurations". When I tried to troubleshoot with the official ClipBucket website, it tells me that I must make certain modifications to PHP such as the following new settings: max_execution_time = 7500 (must be at least 7200)post_max_size = 100M (must be at least 50M)upload_max_filesize = 100M (must be at least 50M)memory_limit = 100MRight now, the max_execution time is 30, post_max_size is 32M, and upload_max_filesize is also 32M. The memory_limit is fine. Please advise on how I should proceed. Thanks!
  15. I was writing PHP code to send users of my site an automated email for account creation/verification... However, when I tested the code everything worked just fine, except the sender is myusername@myusername.heliohost.org. How can I change this address so that users see that the email is sent by myusername@mydomain.com instead? I know it has something to do with changing Service Configuration/PHP Configuration but I can't even find that in my cPanel... Please advise on what to do next. Thanks in advance!
  16. trey

    PHP GMP

    Hey, Trying to use a critical plugin on my wordpress site, but it requires the GMP PHP extension. Any plans on installing it? Thanks!
  17. Hi I use PHP framework http://seerio.us/w/doku.php It has an error: Warning: system() has been disabled for security reasons in /path_to_public_html_dir/az/server/php/generator.php on line 32 Because, it can't to call php command. How can i manage this?
  18. I've been setting up a notification system for users on a service I have set up on heliohost, but have encountered a major issue. I am sending mail via a python script (mail.py), which takes several arguments and sends the mail, but my php cannot use shell_execute or system to run this script. What is a method that is allowed on heliohost?
  19. Hi, I'm trying to upload in WordPress a wallpaper but it is bigger than 2 MB (the limit for PHP 7.2 7.1 version...). Is it possible to increase this limit on Tommy server? Thanks
  20. I am sending my users a confirmation email. I see that the limit per hour is 1 email. Is there any way to upgrade my plan to be able to send more emails per hour? If not then how do I change my settings so that I can use another provider? my registrar is one.com and I use their email service. I read that I can update settings in zone editor but I do not know where to start. Is there any documentation on this? Many thanks
  21. Hello again guys! My domain is now properly working (http://ctfisep.heliohost.org) : if i put a index.html, it properly displays. However, when it turns to .php files, i'm afraid it reads Internal Error (as if php, or apache wasn't enabled). Any tips of how to enable it from cPanel? Have a good day.
  22. How can i access to php.ini to change some setting on my website, or how can i change allow_url_fopen form Off to On status i tried to set my custom php.ini in /public_html but it's still unchanged to it's setting thanks for advice -- AhmedSk
  23. Hi, I wrote a PHP script that sends me an email but I can't receive it. Why? Thanks PHP script: (he gives me error that Mail class doesn't exists) <?php /** * Created by PhpStorm. * User: Maicol * Date: 17/09/2017 * Time: 20:49 */ $post_name=$_POST["name"]; $post_email=$_POST["email"]; $post_message=$_POST["message"]; if ( $post_name ) { $to = "maicolbattistini@live.it"; $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); $subject = "Request from 'About Me' Page"; $message = " <html> <head> <title>Request from 'About Me' page</title> </head> <body> <p>You have received a request from your personal webpage:</p> <table> <tr> <th>Name</th> <th>Email</th> <th>Message</th> </tr> <tr> <td>".$post_name."</td> <td>".$post_email."</td> <td>".$post_message."</td> </tr> </table> </body> </html> "; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From: <noreply@maicol07.tk>' . "\r\n"; $headers .= 'Cc: noreply@maicol07.tk\r\n'; $mail = new Mail(); $mail->setFrom(SITEEMAIL); $mail->addAddress($to); $mail->subject($subject); $mail->body($body); if ($mail->send()) { echo "<script> alert('Email successfully sent!') </script>"; } else { echo "<script> alert('Email not sent! Please contact the administrator')</script>"; } echo "<script> location.href = 'index.php'; </script>"; ?> With PHP mail() function: <?php /** * Created by PhpStorm. * User: Maicol * Date: 17/09/2017 * Time: 20:49 */ $post_name=$_POST["name"]; $post_email=$_POST["email"]; $post_message=$_POST["message"]; if ( $post_name ) { $to = "maicolbattistini@live.it"; $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); $subject = "Request from 'About Me' Page"; $message = " <html> <head> <title>Request from 'About Me' page</title> </head> <body> <p>You have received a request from your personal webpage:</p> <table> <tr> <th>Name</th> <th>Email</th> <th>Message</th> </tr> <tr> <td>".$post_name."</td> <td>".$post_email."</td> <td>".$post_message."</td> </tr> </table> </body> </html> "; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From: <noreply@maicol07.tk>' . "\r\n"; $headers .= 'Cc: noreply@maicol07.tk\r\n'; if (mail($to, $subject, $message, $headers)) { echo "<script> alert('Email successfully sent!') </script>"; } else { echo "<script> alert('Email not sent! Please contact the administrator')</script>"; } echo "<script> location.href = 'index.php'; </script>"; ?>
  24. Hi, I have some PHP pages (from my last topic: https://www.helionet.org/index/topic/28805-dropdown-with-mysql-tables-names-of-a-database-as-options-and-php-mysql-errorssuggestions/) that integrates MySQL that don't work very well... here are my problems: If you go on http://apps.maicol07.tk/app/sld/voti/ and you register/login you can see what doesn't work... When you click on the pencil or the trash button (after you have inserted a new record with the + button on the right-bottom of the screen) it gives this error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE id=1' at line 2 SQL QUERY: SELECT * FROM $materia WHERE id=$id; The dropdown in the view.php (or view-paginated.php) file it is blank (except the first option that I've added) while on XAMPP it works... The table of view.php doesn't work on Tommy, while on XAMPP it works.Source Code: http://s000.tinyupload.com/index.php?file_id=87380380194489995693 Thanks
  25. Hi, I'm trying to build a dropdown in a form with, as options, the names of the tables of one database. How can I do? This is my script, it doesn't work: there isn't the dropdown... <form method="get"> <?php // database connection include('connect-db.php'); $result = mysql_query("SHOW TABLES") or die(mysql_error()); ?> <select name="select1"> <?php while ($line = mysql_fetch_array($result)) { ?> // The database I choose is "members", as can you see in the code below <option value="<?php echo $line['Tables_in_members'];?>"> <?php echo $line['Tables_in_members'];?> </option> <?php } ?> </select> <input type="submit" class="btn waves-effect waves-light" value="SEND"> </form> connect-db.php <?php /* CONNECT-DB.PHP Allow PHP to connect to the database */ // Database variables (I'm trying on XAMPP) $server = 'localhost'; $user = 'root'; $pass = ''; $db = 'members'; // Database connection $connection = mysql_connect($server, $user, $pass) or die ("Impossible connecting to the server ... \n" . mysql_error ()); mysql_select_db($db) or die ("Impossible connecting to the database ... \n" . mysql_error ()); ?> Thanks
×
×
  • Create New...