$plPath = '../backend/playlist_form.php';
$absolute_plPath = realpath($plPath);
echo $plPath; // returns ../backend/playlist_form.php
echo $absolute_plPath; // returns nothing at all on either my localhost or on my hosted site.
going crazy here
real path not working
Moderator: General Moderators
Re: real path not working
According to the documentation,
realpath() returns FALSE on failure, e.g. if the file does not exist.
Re: real path not working
$plPath does exist so why would realpath($plPath) not exist?
Re: real path not working
Thanks for the help my dumb.