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

Save remote XML to local website folder
Hi, I hope you can help me out. I would like to be able to pull an XML file from another site and t

New Search Engine problem
Hey everyone,

I have a ZIP Code Radius search engine already functional. it displays all of t

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

Any Good MMORPGs you've played?
I'm about to have ALOT of free time on my hands (finished highschool) and I need something to fill t

How to show a complete textarea ??
I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 c

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

date function help
i need help with date function

Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD H

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