Jump to content

unexpected T_ISSET error...?


acctman

Recommended Posts

whats the last code line before that bro?

 

EDIT : you beated me corbin :P lol

It's time for me to go to bed anyway ... All yours bro hehe

 

<?php
session_start();
$userid = $_SESSION['userid'];

if($userid == '') {
header("Location: http://www..com");
exit;
}

ob_start(); //hold output
require_once '../password.php';

if (isset($_GET['mid']) && isset($_GET['iid']) && isset($_GET['idat']) && isset($_GET['sec'])) {

What's the full error message?

 

 

Should be something like "Unexpected T_ISSET, expecting <blah>."

 

 

Anyway, what is the last line of password.php?

 

[09-Feb-2009 19:02:36] PHP Parse error:  syntax error, unexpected T_ISSET in /home/site1/public_html/files/pvtexp.php on line 13

Hrmmmm weird....

 

 

What is the last line of the required file?  Nothing in the snippet you posted should cause an error.

 

the weird thing is I can't duplicate that error either. the coding is part of a image display script i wrote for my comminuty site. I'll just have to keep monitoring it and ask users if they experience an problems

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.