Forums
This topic is locked
DSN-less connections for PHakt PHP
Posted 25 Feb 2002 00:49:41
1
has voted
25 Feb 2002 00:49:41 RJ Skypala posted:
Im trying to set up PHakt to connect to a .csv or .txt file. I can do this with asp using the driver, but I can not find a place in PHakt to put the driver. thanks
thanks
-RJ
Replies
Replied 28 Feb 2002 22:46:30
28 Feb 2002 22:46:30 andrew de guia replied:
Hi,
i think you have to use PHP's file handling functions to do this.
int fopen ( string filename, string mode [, int use_include_path])
- used to open system files such as text or cvs files
If you already have the PHP Manual, please refer to it to learn more about PHP's filehandling Functions.
If you don't have the Manual, you can download it at:
www.php.net/download-docs.php
Regards,
Andrew de guia
Macromedia Technical Support
Andrew de Guia
Macromedia Technical Support
i think you have to use PHP's file handling functions to do this.
int fopen ( string filename, string mode [, int use_include_path])
- used to open system files such as text or cvs files
If you already have the PHP Manual, please refer to it to learn more about PHP's filehandling Functions.
If you don't have the Manual, you can download it at:
www.php.net/download-docs.php
Regards,
Andrew de guia
Macromedia Technical Support
Andrew de Guia
Macromedia Technical Support
Replied 03 Mar 2002 03:29:54
03 Mar 2002 03:29:54 Tim Green replied:
Not strictly true adeguia.
You should read the ADODB documentation (check out the readme.htm file in your adodb directory in your website root). Alternatively visit adodb-csvlib.inc.php for more information.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
You should read the ADODB documentation (check out the readme.htm file in your adodb directory in your website root). Alternatively visit adodb-csvlib.inc.php for more information.
All the best
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>