Dear visitor, welcome to Coder Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 |
if(file_exists('temp/'.$cvs_file)){
header('Content-Type: text');
header('Content-Disposition: attachment; filename="'.$cvs_file.'"');
readfile('temp/'.$cvs_file);
}
|
Quoted
Benutzername , Strasse , Stadt , email-Adresse, Teilname-Datum
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:47
BOB , mystreet , mycity , myemail , 2008-04-16 10:02:44
BOB , mystreet , mycity , myemail , 2008-04-16 10:02:44
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:50
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:50
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:50
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:49
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:49
BOB , mystreet , mycity , myemail , 2008-04-16 10:01:49
-----------------bis hier hin csv
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<title>Site/title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
blabla.........
, funktioniert aber
. Kann man so lösen, oder include muss unbedingt nach oben? Auf jeden Fall danke für die Idee
This post has been edited 1 times, last edit by "engel33" (Apr 19th 2008, 3:20pm)