php 5 and uninitialized variables
From: steve (a_at_b.com)
Date: 12/27/04
- Next message: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Previous message: Janwillem Borleffs: "Re: TCP connection wrapper"
- Next in thread: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: steve: "Re: php 5 and uninitialized variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Dec 2004 12:06:58 -0600
i've setup a include page that's responsible for building the basic layout
of my web pages (header, menus, etc.). each page includes this
"sysheader.php".
the first page i've built with this header is having odd results. its job is
to add users to the system. the variables i expect to be there are: id,
userName, password...stuff like that. after the require_once
"sysheader.php", i've put an "exit;" statement. the header shows perfectly.
if i try and access or set one of the expected variables, only part of the
header shows...crapping out around the time it is building the company
logo - so that i see "<img src="http://www" and nothing else.
i've tried to set my own variable order and initialze the variables myself
like this:
$id = (isset($_POST) ? $_POST['id'] : $_GET['id']);
but that doesn't work either. i've been running similarly constructed pages
successfully under php < 5...what am i missing now that i'm moving to php 5?
tia,
steve
- Next message: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Previous message: Janwillem Borleffs: "Re: TCP connection wrapper"
- Next in thread: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: Janwillem Borleffs: "Re: php 5 and uninitialized variables"
- Maybe reply: steve: "Re: php 5 and uninitialized variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|