Re: [PHP-WIN] Is there a way I can read full path names of fileson theserver and enter it into the database ?

2005-02-21 Thread Luis Moreira
Have you tried to read the manual ? There is a lot of info on how to do this. Anyway, I think this does the trick : if ($handle = opendir('FULLPATHNAME')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { At this point, $file contains the file name. On

Re: [PHP-WIN] getting "Couldn't get file list" error.

2005-02-21 Thread Luis Moreira
You send way too much info, forcinf people to read through all of it, to understand your way of thinking and your problem. Keep it simple. Anyway, I think there is something wrong in here $sql = "SELECT furn_pic"; $sql .= "FROM crost"; $sql .= "WHERE item_num = $item_num"; $result = mysql_q

Re: [PHP-WIN] Is there a way I can read full path names of fileson theserver and enter it into the database ?

2005-02-21 Thread Zareef Ahmed
On Mon, 21 Feb 2005 09:02:21 +, Luis Moreira <[EMAIL PROTECTED]> wrote: > Have you tried to read the manual ? > There is a lot of info on how to do this. > Anyway, I think this does the trick : > > if ($handle = opendir('FULLPATHNAME')) { > while (false !== ($file = readdir($handle))) { >

Re: [PHP-WIN] php.ini

2005-02-21 Thread Zareef Ahmed
Hi, First run phpinfo(); funciton in one of your script then look for the path of php.ini in the out put of your script, one you know where is php.ini ... you can read that, there are lot of instructions as comments. zareef ahmed On Sun, 20 Feb 2005 15:29:14 -, christian tischler <[EMAIL PR

[PHP-WIN] php.ini detail

2005-02-21 Thread christian tischler
Hi, Please help... I think my php.ini is at fault but maybe it is something different. when i pass on more than one argument in the url they are seperated by %0F% rather than &. Whatever i tried i cannot change that and therefor use more than one argument??? Thanks Christian -- PHP Windows

Re: [PHP-WIN] php.ini detail

2005-02-21 Thread Luis Moreira
I am not sure I understand your problem. The separation of parameters is something YOU do, not PHP. An example of a call would be http://www.test.com/script.php?name=Luis&state=active to call SCRIPT.PHP with parameters "name" and "state". christian tischler wrote: Hi, Please help... I think my php.

[PHP-WIN] php.ini - cookies

2005-02-21 Thread christian tischler
help again, please. I asume it is a problem with php.ini but cookies don't work for my website. can anyone tell me the right configuration or the php.ini to make cookies work. Thanks Christian -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

RE: [PHP-WIN] php.ini detail

2005-02-21 Thread Chris Ramsay
Christian, Does the data handling part of php.ini look like the following? ### ; ; Data Handling ; ; ; ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 ; The separator used in PHP generated URLs to separate arguments. ; Default is "&". ;arg_separator.output

[PHP-WIN] Getting .NET to work

2005-02-21 Thread Csaba2000
I want to be able to run the .NET example at: http://at.php.net/manual/en/class.dotnet.php When I tried it on my Win XP Pro, SP2 machine using the CLI (command line) version of PHP I got: Fatal error: Uncaught exception 'com_exception' with message 'Failed to init .Net runtime [CoCreateInstance] C

Re: [PHP-WIN] getting close ...but still "record doesn't exist"

2005-02-21 Thread Patrick Roane
Thanks for information on this one. I am putting print statements in after my sql and getting more details about the problem. I proceeded to put spaces infront of my "from" & "where" statements. I am still getting a sql error, but I think it is past the prior trouble spot. Now, I get "Resource id #

[PHP-WIN] Re: php.ini - cookies

2005-02-21 Thread Jason Barnett
Christian Tischler wrote: > help again, please. > > I asume it is a problem with php.ini but cookies don't work for my website. > > can anyone tell me the right configuration or the php.ini to make cookies > work. > > Thanks > > Christian Cookies require two parts: the server and the browser

[PHP-WIN] Re: Outputting MS Word document

2005-02-21 Thread Christophe Deliens
Hi "application/msword" will do it. Regards, Christophe Deliens -- get2future Dale Attree wrote: Hi, I have saved the content of an uploaded MS Word document into a database table. Now I would like to output the content without recreating the file on the harddrive. I believe I will have to use head

[PHP-WIN] Re: Looking for PHP development software

2005-02-21 Thread Christophe Deliens
I *think* Zend Studio does that. -> http://www.zend.com/store/products/zend-studio.php Chris. Jim MacDiarmid wrote: Hi everyone, I'm not sure if the software I'm looking for exists, but I was wondering if there is a PHP IDE or utility program that has the functionality to read/index php and html

[PHP-WIN] Re: Problem using Include Function with PHP5/Apache2.0/W2K3 Server

2005-02-21 Thread Christophe Deliens
Hi, Including with "/something.php" will in fact include "c:\something.php". The root in PHP is NOT the website directory but the drive the sites resides on. Tip: define a constant set to your website's root, and use that root in every include, so that it's absolute and no longer relative. Tip2:

[PHP-WIN] [Fwd: Re: php.ini - cookies]

2005-02-21 Thread Jason Barnett
Please send messages to the newsgroup... not to my personal mailbox. Original Message Subject: Re: php.ini - cookies Date: Mon, 21 Feb 2005 16:56:53 - From: Christian Tischler <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Thanks for that. I have tried your suggestions but no

[PHP-WIN] Re: Time limit in the script

2005-02-21 Thread Christophe Deliens
Yes, You can do that using frames. You should have a frameset with 2 frames, one of 1px high which reloads itself every minute (and with the "1h logic") The other one with your online test. Hope this helps, Christophe Deliens -- get2future Veselina Jecheva wrote: Hello, everyone, I have to make a

[PHP-WIN] Re: Header Location pointing to a file

2005-02-21 Thread Christophe Deliens
Hi, You can use the header "Content-Disposition: inline", followed by "Content-Type: application/pdf". Then you can output your PDF file using readfile($pathToPdfFile) or print(file_get_contents($pathToPdfFile)) Hope this helps! Christophe Deliens -- get2future Ron Herhuth wrote: I am writing a

[PHP-WIN] Re: php.ini - cookies

2005-02-21 Thread christian tischler
Thanks for that. I have tried your suggestions but no succes. I asume it's a server issue. I have the same wesite on a webserver of my ISP and it's works fine there. Christian. "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP Windows Mailing List (http://ww

Re: [PHP-WIN] php 4.3.7 and MS-SQL access

2005-02-21 Thread Danny Willis
Ok, I restarted the web server but I am still getting the same error. I've uncommented the MSSQL server extension and restarted the server. Is my build version not compiled to run the extensions? Also, Are there build options that I can use to increase the performance of php? This really has

Re: [PHP-WIN] w2k and IIS4 partially working

2005-02-21 Thread The Disguised Jedi
you need to put all of your HTML and such in the *.php file. That is the only way it will work inline On Sat, 19 Feb 2005 08:30:02 -0500, Frank <[EMAIL PROTECTED]> wrote: > php runs from .php modules but not inline as add a server extension to handle the scripting, but I can't for the life

[PHP-WIN] Re: [PHP] Is there a way I can read full path names of files on the server and enter it into the database ?

2005-02-21 Thread Richard Lynch
Vaibhav Sibal wrote: > I wanted to ask whether there is a way whereby a script can read > filenames from a particular directory on the server and enter those > filenames with the complete path into the MySQL database? I am trying > to do this, because I am developing an application where a supervis

[PHP-WIN] Missing MySQL DLLs in Windows PHP 5.0.3 - not in pecl either!

2005-02-21 Thread Jimbus
The instructions state that php_mysql.dll is included in either the pecl extension package, or the installer itself (not sure, it wasn't clear). After installing this dll is no where to be found... neither is libmySQL.dll as the docs say it is. All I see is php_pdo_mysql.dll, i tried using this b

[PHP-WIN] Re: Missing MySQL DLLs in Windows PHP 5.0.3 - not in pecl either!

2005-02-21 Thread M. Sokolewicz
well, they should be available via PECL (php_mysql.dll that is), libmysql should be in the download of the main product. As for php_pdo_mysql.dll, you'll need php_pdo.dll running aswell, and then use the PDO functions: http://www.php.net/manual/en/ref.pdo.php Jimbus wrote: The instructions stat