RE: [PHP-WIN] Closing Excel using DCOM and Release()

2001-09-10 Thread jeff.waldock
Thanks again - I've looked at your class as suggested (this was where I got the original example from!) Unfortunately I still seem to get the same problem - the instance of Excel will not close on exit. The code reads the data in cell 11,5 of the Excel file fine - it's ALL OK, I just can'

Re: [PHP-WIN] tutorials

2001-09-10 Thread George Pitcher
I would recommend DevShed (www.devshed.com) as it's pretty much all well written and fairly easy to follow and loads of exapmles. George - Original Message - From: "leo g. divinagracia iii" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 10:53 PM Subject: Re:

[PHP-WIN] Php and IIS dont stop loading...

2001-09-10 Thread Mattias Larsson
Hi all! I have a little problem with PHP and IIS5.1 (Xp) I have made a site or two with PHP and MySQL as the foundation and I used to run Apache as webserver. I'm now trying out IIS as a webserver and the response time is great and it looks good and all. The problem is that the pages never stop

[PHP-WIN] Fast Template PHP4 patch

2001-09-10 Thread Chris Burwell
How do I patch Fast Template to PHP4? I see the code to do so on their web site (http://www.thewebmasters.net/php/FastTemplate.phtml), but I do not know where in class.fasttemplate.php3 to put that cade. Can someone help me out? Any Help is greatly appreciated! -- PHP Windows Mailing List (htt

Re: [PHP-WIN] Closing Excel using DCOM and Release()

2001-09-10 Thread Alain Samoun
Well, to close your Excel App, you will use: xlApp->quit; Talk about consistency from M$ ;) For Excel, you may want to have a look at my class: http://www.phpbuilder.com/columns/alain20001003.php3 It's becoming old now, but still has some value I guess. Alain On Mon, Sep 10, 2001 at 07:25:30PM +0

Re: [PHP-WIN] tutorials

2001-09-10 Thread leo g. divinagracia iii
i recommend books. first one i picked up was WROX's "beginner php". great cause it shows you how to install it as well. then it goes through the basics... "Gillies, James V. & Cynthia L." wrote: > > Do you know of any tutorials for PHP? -- Leo G. Divinagracia III [EMAIL PROTECTED] -- PHP

php-windows Digest 10 Sep 2001 21:10:35 -0000 Issue 748

2001-09-10 Thread php-windows-digest-help
php-windows Digest 10 Sep 2001 21:10:35 - Issue 748 Topics (messages 9283 through 9306): 405 Method Not Allowed 9283 by: Sichta Daniel Re: How to pass the authentication info. to SMTP server? 9284 by: Michel Laine Re: webserver root 9285 by: Michel Laine tutorials

Re: [PHP-WIN] Re: php4apache.dll not loading under W98/Apache/PHP4.0.4

2001-09-10 Thread Jean Philippe Reis
All the extensions in php.ini are commented out, and i also commented out most of the modules i don't use, but it's useless. I think that the the problem is related to ODBC, but i don't know how to disable it. I would apreciate if someone could give me some help on this. Thanks. Jean Reis "Igna

[PHP-WIN] Re: reading arrays within a field from mysql and separating the values

2001-09-10 Thread CJD
If I read this right, the data field actually contains "name1, name2, name3, name4" in which case, you'll need to explode the field to access it's parts. $vals=explode(", ", $DCD); foreach ($vals as $val ) { print "$val\n"; } "Robert Trembath" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

[PHP-WIN] Re: searching for a file

2001-09-10 Thread CJD
if you know the name of the file, and the directory, then use: if (file_exists("directory/filename.jpg")) { print "found"; } Watch out for case sensitive OS's tho. x.jpg != X.JPG A more complete method for searching a directory would be: $handle=opendir('.'); while (($file = re

RE: [PHP-WIN] reading arrays within a field from mysql and separating the values

2001-09-10 Thread Asendorf, John
I have no idea if this will work: $DCD = mysql_fetch_array ( $result4 ); $DCD = array ( $DCD ); I'm just wondering if you need to force PHP to understand that DCD is an array? or maybe: settype ( $DCD , "array" ); $DCD = mysql_fetch_array ( $result4 ); - John Asendorf -

[PHP-WIN] reading arrays within a field from mysql and separating the values

2001-09-10 Thread Robert Trembath
Hello everyone, Ran into a problem trying to get this to work. I have multiple names in a mysql field (DCD_Access) that contains "name1, name2, name3, name4" and I want read this information as an array so I can use these values to populate a pull-down list using a while or foreach loop. Below is

RE: [PHP-WIN] Closing Excel using DCOM and Release()

2001-09-10 Thread Jeff Waldock
Ok thanks! That works fine for Word, but a similar techniques fails for Excel. I want to pull data from a spreadsheet - and have been trying to test out the technique using something like the code below. Thiw works fine, insofar that the data are correctly displayed on the browser, but Excel is

Re: [PHP-WIN] Closing Excel using DCOM and Release()

2001-09-10 Thread Alain Samoun
To close Word, you should use: $word->quit(); You are right, my PHPBuilder example has an error, thanks for pointing it to me ;) Alain On Mon, Sep 10, 2001 at 06:30:20PM +0100, Jeff Waldock wrote: > Thanks for the comment, but this code was lifted from an example on > PHPbuilder.com! The central

RE: [PHP-WIN] searching for a file

2001-09-10 Thread Asendorf, John
$file = "foo.jpg"; if ( file_exists ( "D:/bar/$file" ) ) { //DO SOMETHING } - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iucundum est > -O

[PHP-WIN] searching for a file

2001-09-10 Thread afan
Hi to all, how can I search folder with images for the image some_name.jpg and find does it exist or not? Thanks for any help! Afan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

RE: [PHP-WIN] Closing Excel using DCOM and Release()

2001-09-10 Thread Jeff Waldock
Thanks for the comment, but this code was lifted from an example on PHPbuilder.com! The central problem is that the instance of Excel (or Word) does not quit following $word->Quit(); I expected that the ->Release() function would release the memory associated with the object, but it clearly doesn

[PHP-WIN] Latest version of PHP

2001-09-10 Thread Mitja Pagon
Hello! I was wondering if there is a way of getting the latest dev version of PHP for win already compiled. I know about www.php4win.com, but I don't think that their site is updated regulary. Also, is the any documentation on the dev versions, like descriptions of new features and so?? Thanks,

[PHP-WIN] Re: Status of a stable ISAPI??

2001-09-10 Thread Steve
Thanks to everyone for responses to my initial post. Thanks goes especially to Rasmus for giving us the "state" of things. It is much more clear now why things are the way they are. Although I am not in a financial position to influence the development of PHP Win32, I am certainly willing to try t

[PHP-WIN] mail() emalloc() Error

2001-09-10 Thread Simon Myers
We've been getting an error message when trying to call the mail() function: FATAL: emalloc(): Unable to allocate -5675919 bytes Treating that large negative number as an unsigned integer makes that just over 4 gigabytes, which the server blatantly doesn't have. But it doesn't make sense for

Re: [PHP-WIN] tutorials

2001-09-10 Thread Juan-Pierre Havenga
http://www.phpbeginner.com/ -- Juan-Pierre Havenga, [EMAIL PROTECTED] on 10/09/2001 at 02:43:48 PM

[PHP-WIN] getallheaders() help!

2001-09-10 Thread Ross Fleming
Hello, I've used php before, but have only just installed it on my win98 machine at home with apache for the first time. Does anyone have ANY idea why I get "Call to undefined function: getallheaders()" ? Is there a certain extension I should be loading? Appreciate any help Ross Fleming --

[PHP-WIN] LDAP with SSL

2001-09-10 Thread Sigurd Brinch
Hi, Does anyone know wether the LDAP module delivered with php 4.0.6 is compiled with SSL support, If not, does anyone have one? Regards Sigurd Brinch -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP-WIN] Can´t get ImageTTFBBox to work

2001-09-10 Thread Claus Bloch
Becuse that i haed som problen whith my news group this file wil appaer more than ones: I get an error :: Could not find/open font . My the font is locating at the same dir as the file/string that call it: ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt); Is the setup of php wrong or what???

[PHP-WIN] Can´t get ImageTTFBBox to work

2001-09-10 Thread Claus Bloch
I get an error :: Could not find/open font . My the font is locating at the same dir as the file/string that call it: ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt); Is the setup of php wrong or what??? If you can help me i bee happy Claus Bloch DK [EMAIL PROTECTED] -- PHP Windows Mai

[PHP-WIN] Re: Can´t get ImageTTFBBox to work

2001-09-10 Thread Claus Bloch
"Claus Bloch" <[EMAIL PROTECTED]> skrev i en meddelelse news:... > I get an error :: Could not find/open font . My the font is locating at the > same dir as the file/string that call it: > > ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt); > > Is the setup of php wrong or what??? > > If you can

[PHP-WIN] Can´t get ImageTTFBBox to work

2001-09-10 Thread Claus Bloch
I get an error :: Could not find/open font . My the font is locating at the same dir as the file/string that call it: ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt); Is the setup of php wrong or what??? If you can help me i bee happy Claus Bloch DK [EMAIL PROTECTED] -- PHP Windows Mai

[PHP-WIN] tutorials

2001-09-10 Thread Gillies, James V. & Cynthia L.
Do you know of any tutorials for PHP? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Re: webserver root

2001-09-10 Thread Michel Laine
Can't you just use include("filename.php") for the webroot... ...and use include("..\pages\filename.php") for subdirs? Assumed that you set the webroot in PHP .ini and change forward/backward slash depending on what OS you use. Mitja Pagon wrote: > Hi! > > I'm am an ASP developer, that decided

[PHP-WIN] Re: How to pass the authentication info. to SMTP server?

2001-09-10 Thread Michel Laine
If you are using the "built in" mail() function in PHP you cannot sent authentication - it assumes that you have a "sendmail" server. There is a php class available at http://phpclasses.upperdesign.com/ that may solve your problem. -- Michel Laine Balaji Ankem wrote: > Hi, >here my SMTP

[PHP-WIN] 405 Method Not Allowed

2001-09-10 Thread Sichta Daniel
Hi all, cfg: w2k, Apache1.3, php4.0.4 In index.html I have form with method set to POST. When I try to acces this page I'm getting this error The requested method POST is not allowed for the URL /index.html. Could anybody know what does it mean and how can I solve it ? DAN

php-windows Digest 10 Sep 2001 09:07:23 -0000 Issue 747

2001-09-10 Thread php-windows-digest-help
php-windows Digest 10 Sep 2001 09:07:23 - Issue 747 Topics (messages 9275 through 9282): Re: bug in class? 9275 by: Alain Samoun 9279 by: jlim.natsoft.com.my Using com_get() or com_propget() 9276 by: Kelvin Param Re: php4apache.dll not loading under W98/Apache/PHP4

[PHP-WIN] Re: mail(); Help

2001-09-10 Thread Christoph Biernoth
You forgot to declare $sitename and $admin_mail as global variables in your function. Either declare them global by adding the following line to your function: global $site_name, $admin_mail; or use the PHP-GLOBALS-Array: function new_user_mail ($username, $password, $email, $name, $homepage)

[PHP-WIN] Unable to fork???

2001-09-10 Thread Leon
Hi all I am witnessing a odd error: PHP unable to fork in .. This script is stiill able to run etc. What is this? Cheers Leon -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-WIN] Re: PHP on W2K/IIS5 issues

2001-09-10 Thread Roman Spanner
Rich That seems to have sorted it. Cheers Roman "Richard Powys" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I had the same problem. > > I change my \ to / and I dont appear to get these error messages anymore. > However that doesnt mean that its all wor