PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a html page with hyperlinks, i have use a session variable for user id, but this variable does not carry a value to the page it directs when i clik a hyperlink,
but it works in the page i have mentioned in the form tag
are you calling session_start() at the top of your new page?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
If you don't want to add session_start() in every page, you can change the php.ini in the [Session] section and change the line session.auto_start = 0 to session.auto_start = 1. After that, reload the configuration or restart the web sever.
session_start() is not that hard to add to your scripts. Just make sure you call it before you send any output to the browser. No blanks spaces, no <html>, no echo's, nothing. Then you should be golden.