Click here to Skip to main content
15,881,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In ASP.NET, there's a really nice thing, the tilde (~). If used in a file path, it signifies the root of the site. Is there any such equivalent in PHP?
Posted

1 solution

It looks there isn't: Find the PHP Document Root[^].
 
Share this answer
 
Comments
Jack R. Schaible 12-Jun-13 11:18am    
Okay, thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900