<?php
echo $GLOBALS['width'];
(31 May, 2016, 11:47 pm)Omar G. escribió: No debes usar eval(), nunca.
Intenta
Código PHP:<?php
echo $GLOBALS['width'];
<?php
session_start();
//..
// doy valor a $width
$_SESSION['width'] = $width;
<?php $_SESSION['width']; ?>
<?php
session_start();
$_SESSION['width'];
?>