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

Help with email validation please...
Hi,
Please could you help.
I have a register.php login page where users register, the detail

How to make a input/output field with multiple lines
Hello.
I put a input/output field on the screen but I could not change height of it. I need to

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

output_buffering so rewrite
I'm planning to rewrite some of my scripts so they don't have to use output buffering to accomplish

Getting PHP to ammended the selected in option field
Hey Guys

thanks for everyones help so far. This site and its users are oozing awesomness.

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

Problem with array max size.
Hi to everyone,
I've got a homework about filling a bidimensional array un spiral shape, I alre

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