SVG SESSION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux