session svg

[email protected]
Newsgroups gmane.comp.php.documentation.windows
Message-ID <[email protected]>
hi every one

i am using php5 apache2 windows-xp and internet exlorer version 6 to
create svg tools (adobe 3 the plagin)
i have written a very simple code which has a session variable
the problem when i click the next botton to go to the next page a dialog
box comes up (called download file ) giving an options open , save ,
cancel,more info

why this box comes up :
is it becouse wrong configration in the php.ini
or is it becouse server configration
or becouse IE dosn't support this kind of functionality

could any one please help me , becouse i think i am not going any where
with my solutions

the code for the first page

<?php
session_start();
header("Content-type: image/svg+xml");

print('<?xml version="1.0" encoding="iso-8859-1"?>');
?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/SVG/DTD/svg10.dtd">
  <svg width="500" height="500" viewBox="0 0 500 500">
<?php

 $_SESSION['ses_vars']="hello world";
 ?>
 <a xlink:href="zz.php"><text x="50" y="50">next</text></a>
</svg>



the second file :

<?php
session_start();
header("Content-type: image/svg+xml");

print('<?xml version="1.0" encoding="iso-8859-1"?>');
?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/SVG/DTD/svg10.dtd">
  <svg width="500" height="500" viewBox="0 0 500 500">
<?php

 echo ($_SESSION['ses_vars']);
 ?>
 <a xlink:href="zzz.php"><text x="50" y="50">next</text></a>
</svg>

-- 
PHP CHM Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.