Skip to content

Tag: php

How to zip a whole folder using PHP

I have found here at stackoveflow some codes on how to ZIP a specific file, but how about a specific folder? inside in My Folder, there are files. after zipping the My Folder, i also want to delete the whole content of the folder except important.txt. Found this here at stack I need your help. thanks. Answer …

PHP terminal emulator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and …

Good Alternative DBAL to Doctrine2 DBAL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 1 year ago. Improve this quest…

Calculating rank in PHP/MySQL

I’ve got a table in MySQL lets just say for example its got two fields Username, GameName and Score. I want to calculate the rank of a user for an indivudal game name so I could do the query SELECT * …

php change script while is running

I have a php script that I’m running from command line (e.g php test.php &). I would like to know if the execution is “flushed” automatically when I change some values in the script (using vim) while the script is running or if the script is somehow “cached” in the php engine…