ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / External file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the physical name of the directory containing the images, JavaScript files and Java files of the WEBDEV website. This directory corresponds to the <Project name>_WEB directory. This directory is present on both the development computer and the deployment computer.
This enables you to read, write or modify the files found in this directory.
Warning
Modifications and write operations are performed on the development computer.
These operations can only be performed on the deployment server if the hosting provider grants the necessary permissions.
PHP Returns the full physical name of the directory containing the PHP page currently run, the images, the JavaScript and Java files of the WEBDEV site. This directory corresponds to the language subdirectory of <Project name>_WEB. This directory is present on both the development computer and the deployment computer.
Npte: To get the "<Project name>_WEB" directory, you can use:
  • FolderWeb: This function returns a relative path to be interpreted by the browser.
  • fWebDir: This function returns an absolute path to be used from the server with the external file functions (fxxx).
Example
// Runtime directory
Info("Image files located in the following directory: " + fWebDir())
Syntax
<Result> = fWebDir()
<Result>: Character string
Full physical name of the directory containing the images, the JavaScript and Java files of the WEBDEV site. This result has the following format: "C:\My Project\Schedule\Schedule_WEB". No "\" character is found at the end of this result.
PHP Full physical name of the directory containing the PHP page, the images, the JavaScript and Java files of the WEBDEV site. This result has the following format: "C:\My Projects\Schedule\Schedule_WEB\US". No "\" character is found at the end of this result.
Component: wd300page.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/17/2024

Send a report | Local help