Jump to content


mrj

Member Since 11 Jul 2017
Offline Last Active Oct 14 2020 02:46 AM
-----

Topics I've Started

[Solved] can not read session save path in php

12 October 2020 - 09:24 AM

Hi,

I am using following function to get online users count. But it appears that there is no permission for reading content of that dir. Can you help me please?

Server: tommy

function onlineUsers() {
        $i = 0;
        $path = session_save_path();
        if (trim($path)=="") {
            return FALSE;
        }
        $d = dir($path);
        while (false !== ($entry = $d->read())) {
            if ($entry!="." and $entry!="..") {
                if (time()- filemtime($path."/$entry") < 1 * 60) {
                    $i++;
                }
            }
        }
        $d->close();
        return $i;
}


[Solved] Request for installing gmp extension

02 June 2020 - 08:01 PM

Hi,
I needed gmp to be installed in tommy to run a app. Can you install gmp extension in tommy please?
TIA

Tommy is returning 522 most of the time

28 May 2020 - 11:22 AM

Hi,
I am posting after a long time :) . It seems like tommy is going down (or not responding maybe?) too often. So, I wanted to just confirm if it's only me.

[Answered] Need some guidelines about Node.js

26 October 2019 - 08:18 AM

Hi,
I don't know much about hosting and server stuff. I know basis web development with PHP, MySQL, Javascript and CSS. But I have a little knowledge about other stuff around hosting.
So, I wanted to know about nodejs. If you know then please guide me. Here is some questions:
➤ How can I enable nodejs for my account? Do I have to request it?
➤ How to deploy a nodejs files (single executable file or a project IDK)? Can I upload nodejs files via ftp as I do for php?
➤ Does node work like PHP? For instance: process.php => process.js
➤ Is w3schools.com tutorial for nodejs suitable for heliohost?
➤ Is there any complete guide which can give a proper understanding tutorial for nodejs?

Note: I want learn nodejs because nowdays it is being so popular. So any help will be appreciated. TIA.