Forum Moderators: coopster
Is there a function to get the current serverpath to the directory of the php file thats in use?
Im creating a setup script and have a form / input box that asks for the path and url to the script files.
I was hoping to autofill it (value="")
<tr>
<td width="133">Script Path</td>
<td width="148"><input type="text" name="script-path" size="20" value=""></td>
</tr>
<tr>
<td width="133">Script Url</td>
<td width="148"><input type="text" name="script-path" size="20" value=""></td>
</tr>
Any advice would be greatly appreciated :)