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'])) {

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.