You are here: Download xml file « PHP Programming Language « IT news, forums, messages
Download xml file

Posted by C. M�ller on 09/30/56 12:00

Hello,
First, I am very new to php. Bloody Beginner.
My problem is, that i want the user to be able to download a generated
xml file. I have working code which savies it to a file and sends it:

$fp = fopen($xml_file,'a');
fwrite($fp, $result[..]);
fclose($fp);

Is it possible to avoid writing the file? the $result contains all
data. how can I do this? Can someone help me with the command to send
data back to the user? I found similar code in
http://groups.google.de/group/comp.lang.php/browse_thread/thread/ecdc3bb9845ea721/96cd1d6bc5fbeb08?hl=de&lnk=gst&q=download#96cd1d6bc5fbeb08
Should i provide some information about the xml mine type?

Thanks for help!
c

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация