Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Help with Script or coding on page (https://www.warriorforum.com/programming/912585-help-script-coding-page.html)

mrtonyp29 11th March 2014 10:54 AM

Help with Script or coding on page
 
Hello Fellow Warriors,

Does anyone know how to set the path with php to a specific folder like this one:

session.save_path to '/home/content/72/9503472/html/killer-secrets/sessions'

I mean to set it to that folder /session, right now it is set to 'no value'
Please help me and let me know.

phpg 11th March 2014 04:23 PM

Re: Help with Script or coding on page
 
$_SESSION['save_path'] = '/home/content/72/9503472/html/killer-secrets/sessions';

session_start() also should called somewhere before that.

Aleksenator 29th March 2014 09:33 AM

Re: Help with Script or coding on page
 
Some hosting providers, lock this options. You need read hosting specification.


All times are GMT -6. The time now is 05:06 AM.