SESSION question


Posted on 16th Feb 2014 07:03 pm by admin

I am building an application , a directory for auctions.
For SEO i made a script which copies a php file to all the directories paths that it creates.
I made it work and into all the php files into each directory it includes the base file which shows the code with some variables to recognize the file.
Its time now to make the user access and make the sessions.
I read that session_start(); should be at the top of the code but this means that should change all the files in all directories.
Can i put the session_start(); at the header.php of my script will it work or should i put it onto every php file at the top?
Thank you

No comments posted yet

Your Answer:

Login to answer
160 Like 45 Dislike
Previous forums Next forums
Other forums

(sub)screen resize modification doesn't work after ECC 6 EhP 4 installation
Hello,

We have previously extended the size of the custom data tab on PO transaction ME23

Transport data between itab and textfield on ALV event
Hallo,

I have a ALV Grid ( cl_gui_alv_grid ) and I also have hotspot click event with a h

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

no idea what to do...
I'm fed up. I had issues with code that I have working on a different site that didn't work on my cu

turning an array into a string then poping it into a db
Hi im just wondering how you get a requested array into a single string then pop it into the db so f

FILTER_CALLBACK -- Files?
Hi All,

I'm using the php filter functions to validate my form data. For custom filters, I'm

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?

how to hide input fields on selection screen using variant attribute
Hello all,

I want to know how to hide input fields on selection screen using variant attr

PHP Search Issue
Hi, I am using the following code to search and return flights from a database. The user searches by

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash