Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Output XML file!

 
   Database Help (Home) -> PHP RSS
Next:  Form/Subform Searching  
Author Message
Ansti

External


Since: Feb 03, 2005
Posts: 8



(Msg. 1) Posted: Wed Feb 23, 2005 3:40 am
Post subject: Output XML file!
Archived from groups: alt>php (more info?)

I have a XML variable (string). I want to output it to a XML file. I'm using

<?php
header("Content-type: application/gps");
header("Content-Disposition: attachment; filename=paring.xml");
print $xml;
?>

But I get an error message from my browser: "Cannot download 'filename'
file"

 >> Stay informed about: Output XML file! 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
When output file shows only text...what's the problem? - this post is not archived.

Read a file with filter, and give the output - Hi! I would like to create a php script that read a txt file and filter it with 2 keywords, first keyword deifne the start and the second one the end of the txt to read. And then give the output extracted. Expter of the group, could you help me? thanks!

'grep' a file - output to browser not working - I cannot figure why this works fine at the command-line of the linux server, but will not output anything to the browser, and no errors in the error_log (syslog). The goal here is to have a page to enter a search term and grep or zgrep pattern matches in...

write output query to a cvs file - I would like to output a odbc query to a text file. I have the following php code but it isnt working. <? //conneccion $conn=odbc_connect('DBA','',''); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT BKAR_INV_SONUM ...

FFMPEG with PHP- Output File Is Null - If anybody has done any work with FFMPEG and could help me, it would be GREATLY appreciated... Using a Linux VPS (Apache) and with FFMPEG properly installed (the code works perfectly from SSH command line). The following code is supposed to use FFMPE...
   Database Help (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]