Page 3 of 10

Re: Whats needed next

Posted: Tue Jun 30, 2009 3:32 pm
by hallsofvallhalla
Well if you guys run into any problems Noc is very knowledgable in this so he could help you guys through any speed bumps you might run into with some side videos whilst I stay on the central videos.

Re: Whats needed next

Posted: Tue Jun 30, 2009 3:53 pm
by Noctrine
Cooper wrote:
Noctrine wrote:If you tell me exactly what you want, I could probably do a video or two.
oh... i dont mean any vids cos halls' cover everything so far i think...

i meant that the guys like me that are watching the vids to learn this stuff could pull together and do something as a learning project.

because everyone doing their own little one will just make lots of little games but if we worked together we could make something quite good!
You missed the earlier message I had about not doing that, and hall's response I guess. The videos were in relation to halls being relatively busy and not able to meet your video demand, and me having about an hour or so of wasted time each day.

Re: Whats needed next

Posted: Tue Jun 30, 2009 10:17 pm
by Cooper
ah.. sorry dude.
i did think of that after and feel a little silly tbh :P

Re: Whats needed next

Posted: Wed Jul 01, 2009 2:55 am
by hallsofvallhalla
thanks for the offer to help Noc. This video series has been much more popular than I ever expected. I have been getting alot of emails and PMs on it and I am trying to push them all here so we can help answer questions and everyone can learn from them.

Re: Whats needed next

Posted: Wed Jul 01, 2009 9:46 am
by mrmajic
yeah cool .. anyone who develops a good idea along the same lines as the video .. should be able to post either code and a written explanation .. or post a vid on you tube. . .. i have done a bit of extra work .. (as halls already knows about) .. and im keen for ideas, code, other vids (thanks Noc) . .. but lets keep on the same track ...

Re: Whats needed next

Posted: Thu Jul 02, 2009 12:37 pm
by mrmajic
hows this for a logout.php script:

<?php
session_start();
session_destroy();
echo "You are now logged out!";
exit(); ?>

Re: Whats needed next

Posted: Sun Jul 05, 2009 12:10 pm
by mrmajic
halls - im hanging for the next exciting installment... :)

Re: Whats needed next

Posted: Sun Jul 05, 2009 12:40 pm
by Noctrine
Personally I like to put all my functions in one file, cuts back on the file bloat. So my logout looks like this.

Code: Select all


if ($process == 'logout'){
	session_unset(); // Destroys the session.
	header("Location: /"); // Goes back to main
}

Of course its not really optimized yet, I need to convert all my if's to switches.

Re: Whats needed next

Posted: Sun Jul 05, 2009 2:52 pm
by hallsofvallhalla
becareful where your header redirect is located too, it can cause issues...

I am working on the next video, try to get it up within a day or two. Had family for the holday

Re: Whats needed next

Posted: Sun Jul 05, 2009 7:51 pm
by Noctrine
Well of course I handle all those things like logins and outs before any text is sent