Ask coding questions

← Back to all posts
Can PHP in save files to the repl?
tussiez (1637)

Just wondering. I would like to be able to upload temporary files to my Repl with PHP.

Answered by Vandesm14 (2727) [earned 5 cycles]
View Answer
Vandesm14 (2727)

As has confirmed that file saving only works if you have the repl open, this will not work.

tussiez (1637)

@Vandesm14 Well yeah, I just realized that the PHP server is not running all the time like a conventional server system.

Vandesm14 (2727)

@tussiez PHP servers are different. If you need a 24/7 server, use Expressjs