=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 line 155 is the line which changes the current working directory to where the data dir is supposed to be. Evidently, PHP thinks that=20 whatever directory you set as the data directory doesn't exist (or maybe is mispelled?) http://us2.php.net/manual/en/function.chdir.php This does not appear to be a 'platform sensitive' function (only a few PHP functons are). The "formatdb" program is used to convert a fasta file into a set of BLAST database files, so once this program has been run, the database files should exist. In the example I use, the database files for that amino acid patent database ("pataa") are: pataa.phr pataa.pin =20 pataa.pnd =20 pataa.pni =20 pataa.psd =20 pataa.psi =20 pataa.psq The "database name" that you give to BLAST is just "pataa" in this case. Without knowing exactly how your system is set up, I would just guess that you have the path to the database files mis-typed in some way. Unlike the path to the blast executable, you don't need to include the database name in the "data directory" path. On Sunday 16 November 2003 03:52 pm, you wrote: > hi Sean ! > here is the error message i have when i execute the example : > ------- > Warning: chdir(): No such file or directory (errno 2) in > d:\easyphp1-7\www\ycmpdb\frontend_blast.php on line 155 ------- > is chdir() proper to unix/linux systems?? is there an option for windows > systems ? ANIBA ! =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/uA1KJ6yQLhNTzSkRAt0GAJ9XtP6bhPk0bmBZqPe7TpHCxXBJygCgtIkw 6z5SaoTiLI1lRu0cOOoLmv4=3D =3DYiub =2D----END PGP SIGNATURE-----