1. Kaan Helmut

    Why error log in PHP is disabled as default?

    Hello everyone, I was not much of a PHP fan, because I've been using and creating websites on WordPress (the beloved drag and drop drama). When practicing on PHP, I learned about the php error logging and noticed that by default, the error log in PHP is disabled and you can enable the error log...
  2. D

    I need help with PHP AJAX

    hey guys I need help with AJAX. I want to UPDATE my DB without refreshing. I don't really know how to do this. I have found piece of code online but for some reason is not working. Another thing is : how to make run PHP code after 5 minutes. For example: someone push the button and after 5...
  3. F

    Correct way of installing php extension in directadmin

    Guys the above link is one way and the other is to go to directadmin custom build interface. Now I installed a php extension using the link above and then by mistake I installed the same way in direkctadmin custom build interface Can this cause issue...
  4. G

    How to enable php extensions?

    I require these in my hosting service. How do I make sure if these are available and how to enable...? OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension My hosting provider says I can enable these through cPanel. The main problem for me...
  5. H

    How to Install Zend Optimizer with cPanel?

    Zend Optimizer is a PHP addon which offers storing to enhance speed when stacking destinations; it can build execution by up to 40% by reserving as often as possible saw segments of PHP pages. Zend Guard likewise is helpful for encoding PHP documents to secure source code. Here's the manner by...
  6. webalternative

    Email Level Dashboard for DirectAdmin 1.00

    Hello, We are happy to announce the release of our new project: Email Level Dashboard for DirectAdmin. This interface allows all e-mail users to change their password and their vacation message without access to the DirectAdmin user account. Lastest release: v1.00 FEATURES -----------------...
  7. Mihai B.

    Which cache providers work with PHP 7.2.x?

    I am running Centos 6 and installed PHP 7.2.x for my websites, I want to install one of popular cache providers for my server APC File system cache Memcached Redis WinCache XCache Which cache providers work with PHP 7.2.x? if yes, how to install it?
  8. anilkvm85

    How to Get Domain Name Details using PHP Script?

    How to get following information through PHP script respect to any Domain Name? 1) Hosting Provider 2) Domain Name Servers 3) IP Addresses 4) Domain Registrar 5) Registration Date 6) Expiry Date If anyone have working PHP code, please share.
  9. Kaz Wolfe

    Are you still using PHP 5.x? Why?

    I am using both PHP 5.6 and PHP 7 because some my scripts require PHP 5.6 What about you? Are you still using PHP 5.x? if yes then why?
  10. Mujkanovic

    How to check PHP CURL function is enabled on my server?

    My website requires to have PHP CURL function enabled, how to check if it is enabled on my server or not?
  11. Mujkanovic

    Extract email addresses from a file using PHP and Regex?

    Hi everyone, I have a small forum and I exported its database to a .sql file, I want to get all email addresses from this file using using PHP and Regex. How can I do this? Here's sample data from my file. I want to get emails on per line like this
  12. Mujkanovic

    How to read a file and assign its content to a variable using PHP?

    I have a large data in a file .txt How can I use PHP to read the content in this file and assign it to a variable?
  13. Life Sayings

    How to install BC Math and configure PHP to use BC Math?

    I have a PHP script and it is requiring this I am using Centos 6.x and Apache. How to install BC Math and how to configure PHP to use BC Math?
  14. Sean101

    Allow IP addresses dynamically using .htaccess or php?

    I have a website and now I want to create a new section on it but this section will be targeted on a specific country. Mean that when people visit it from a country that allowed then they will be redirected to that the section I wanted. My question is, How to allow IP addresses dynamically using...
  15. satopeng4

    Which is the better tool to program a website ASP.Net MVC or PHP?

    When making a website, how do you consider the effective programming language to use in the development stage? ASP.Net MVC or PHP? Both are great to use in web development, but the difference is like night and day. Which is easier to manage? Who has a greater demand for programming? Which pays...
  16. Mujkanovic

    PHP 7.1 or PHP 7.2?

    I am having a small Xenforo 2 forum that running on server with PHP 7.1 installed, everything seems good now, I want to upgrade PHP to 7.2 version but not sure this can make addons on my forum not work. What are the differences between PHP 7.1 and PHP 7.2? and it is worth upgrade to this latest...
  17. Cheerag Nundlall

    PHP 5.x vs 7.x - which version is better?

    I am using PHP 5 for several sites and some sites with PHP 7 but I don't see any differences between them because I can use Memcache on server that running PHP 5 while with PHP 7 I had to remove that caching. In your point of view, which is better for websites? PHP 5.x vs 7.x?
  18. Carlos

    Getting ip address with PHP

    Hello, I'm trying to get my ip with: $_SERVER['REMOTE_ADDR']; The thing is that i'm getting a different address with php than from websites like I've read that there is no 100% reliable way to get an ip address, but what would be my best option using only php? Thanks. :)
  19. Dr. McKay

    Disable PHP CGI?

    I would like to be able to run file hosting and email hosting on a VPS, no PHP or any other programming language support on hosted accounts which I think it will be more secure. Can you disable PHP/CGI features on Feature Manager in cPanel or Plesk?
  20. jason223

    How to learn OOP PHP easily?

    I am struggling learning OOP in PHP. I know how to code procedural but it's hard for me to learn OOP. Any tips and any tutorial recommendation? Thanks in advance!