Oh Ok, If you want to prompt the use to save a download..
<?php
// download.php
// MIME type, i.e. text/plain text/html application/msword image/pjpeg.. etc
header("Content-type:
MIME TYPE HERE");
header("Content-Disposition: attachment; filename=
proposed file name here");
echo $body; // File contents here
?>
This will present the user with a save as dialouge.
The Zend Studio IDE was actually pretty cool I went ahead and downloaded it. For some reason I thought it was more WYSIWYG-ish.. it does have some pretty cool features. One being a kickass debugger.
Some things I noticed that it picks up on:
Use of assignment in a conditional statement
If you create a variable but don't use it (perhaps as the result of a typo or logic error)
Unsafe use of Global variables.
.. plenty more I'm sure..
It has a window that contains every PHP function complete with argument lists and return values, and if you right click on the function there's a link to the online manual entry for that function.
They say the shareware version which is fully function for, I dunno, 22 days, then supposedly a few "advanced" features cease to fuction. Is it worth $200? Personally I would wait for a future version with more bells and whistles before paying that much for it. What can I say, I'm a tight wad! I don't think its as cool as crimson just yet. The extra debugging and whatnot is cool and all, but productivity wise it could be a little better. Like support other language syntax, the ability to undock parts of the application for multiple monitor usage.. and well Crimson is free!
Just my two cents!
:D'
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::