Search found 4 matches

by AvalonMel
Tue Jun 05, 2007 7:01 am
Forum: PHP - Code
Topic: Passing variables from one php file to another
Replies: 5
Views: 641

I know that PHP does not transfer variables automatically, I was thinking of transferring them through a form, but I get the variable through a function that is not in any form. What would the code look like if it was in a form? Doesnt the form need to have input types? And what would I input if th...
by AvalonMel
Mon Jun 04, 2007 1:27 pm
Forum: PHP - Code
Topic: Working with sessions
Replies: 7
Views: 518

I'm not explicitly passing through a query and I haven't set any cookies. This turned out to be a permissions problem with the temp folder where the sessions are stored. *facepalm*
by AvalonMel
Mon Jun 04, 2007 12:48 pm
Forum: PHP - Code
Topic: Issues connecting php and mysql as well as others
Replies: 13
Views: 829

I just had a similar problem and changing <? to <?php fixed the error for me.
by AvalonMel
Mon Jun 04, 2007 12:46 pm
Forum: PHP - Code
Topic: Working with sessions
Replies: 7
Views: 518

Working with sessions

We've just set up PHP on our new web server however I can't seem to get sessions working properly. The session ID gets created and carried over from page to page but the variables seem to get wiped out. Does this sound like a configuration thing or a code thing? verifyuser.php <?php session_start();...