session_save_path()


 

session_save_path()

In this example you will learn how to use session_save_path()in PHP.

In this example you will learn how to use session_save_path()in PHP.

session_save_path()

session_save_path() command returns the current working directory path. 

Syntax

session_save_path();

Example:

<?php
echo session_save_path();
#return the current working directory path
?>

 

Ads