How do I allow dot in subdirectory on php?

Question:
How do I allow dot in subdirectory on php?

like /@user.name or /@… ?

Is it possible?

Hey @cattoapp!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

3 Likes

my bad my bad… sorry
here: https://replit.com/@cattoapp/main?v=1

at /user/ but ye i just use query.

You should be able to create a folder or file with . in it, in a fork of your Repl I was able to do so. While I don’t PHP will realise that folders with .s are the same as regular folders, you can still access them using /sub.directory/index.php, /sub.directory just doesn’t seem to work.