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.
Did you know?Explore Trending and Topic pages for more stories like this.
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

phph within href not showing php if change ? to &
Code: [Select]<a href="<?php echo $puser; ?>?m=<?php=(($m-1)&l

Recording popularity by day, week.. all time?
Hey everyone, I'm creating a site designed around users uploading music. How can I implement a syste

Problem in back link
I have page where i have given javascript back link but when i click on it browser give a message

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

Insert to MySQL inside foreach
Hey.
I am parsing some html, and putting inside an html db.
I need to create a randomized inte

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

Hotlinking Picasa as the image folder of a website
Hi there PHP freaks, I would like to create a private album in Picasa to use it as the image folder

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

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

WHYISNT THIS MYSQL STATEMNT NOT WORKING? (php)
caps because its absolutely rediculous.
i dontunderstand why its not working. there is a column c

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