PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ethana
Hangin' Around


Joined: Jan 05, 2006
Posts: 32
Location: Phoenix, AZ

PostPosted: Mon Feb 06, 2006 10:12 pm Reply with quote Back to top

Hey there, question on sessios in nuke. Writing my own little shopping cart and wanted to use sessions to accomplish this. I see throughout the files that the only place that has "session_start" is in the following:

includes/sessions.php
modules/Forums/admin/index.php
modules/Private_Messages/index.php
update_patches_etc/sql/nuke.sql
update_patches_etc/upgrades/6.x/upgrade60-65.php



"session_start" needs to be stated before any other output. Is there a standard way to handling sessions in nuke that im not aware of? Any comments would be helpful. Thanks all.
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Feb 06, 2006 10:44 pm Reply with quote Back to top

session_start is a standard function in PHP
Read up on sessions at
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
ethana
Hangin' Around


Joined: Jan 05, 2006
Posts: 32
Location: Phoenix, AZ

PostPosted: Mon Feb 06, 2006 10:50 pm Reply with quote Back to top

Yes, this i know, but it needs to be the first thing outputted. Writing it in my module wont work because im assuming that the framework is already outtputting data back to the client browser. If im mistaken then id be pleased to use it Smile
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Feb 07, 2006 8:33 am Reply with quote Back to top

I'm not sure what you mean. Nothing is outputted to the client until you explicitly do so.. either using include("header.php"); or echo
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum