php-windows Digest 25 Apr 2002 03:41:38 -0000 Issue 1110

2002-04-24 Thread php-windows-digest-help
php-windows Digest 25 Apr 2002 03:41:38 - Issue 1110 Topics (messages 13274 through 13299): Re: $POST vars 13274 by: Eduards Cauna 13275 by: Matt Babineau 13276 by: Mike Flynn 13277 by: Nicole Amashta Image generation question 13278 by: Matt Babineau

RE: [PHP-WIN] installing on a remote web host

2002-04-24 Thread Ross Fleming
It's already installed and enabled, they've told you that. Simply call your pages .php or .phtml (whatever they tell you to call them) instead of .html Ross -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 02:58 To: [EMAIL PROTECTED] Subject: [PHP-WIN] install

[PHP-WIN] installing on a remote web host

2002-04-24 Thread rob
Hi all, I have searched for any info on installing php up to a web host's server as far as they have told me "PHP is enabled by default" so! I am looking for the documentation that will guide me in the process of uploading and activateing php ... thanks! Rob deltona, fl -- PHP Windows Maili

Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Alan Popow
On Wed, 24 Apr 2002 17:28:32 -0400, you wrote: >Thanks for the suggestion. I tried using SaveAs(...) in >addition to Save(), to no avail. Excel still stays resident. > >This is my "end" sequence, when i'm all done processing >the spreadsheet. Can anyone see any flaws or errors in >what i'm doi

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Helphand
At 05:28 PM 4/24/02 -0400, Scott Hurring wrote: >This is my "end" sequence, when i'm all done processing >the spreadsheet. Can anyone see any flaws or errors in >what i'm doing ?? > >$book->Save(); >$book->Close(); Try $book->Close("False"); >I agree with a previous poster to this l

[PHP-WIN] Re: PDF extensions freeze server 4.2.0

2002-04-24 Thread Webmaster
Probably you have not set the dll folder right in your php.ini file. Example: If you make an extentions directory in c:\php you must point php.ini to it extention_dir="c:\php\extentions" It works with me Cor van de Veen "Ethan Nelson" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTE

RE: [PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Neil Lincoln
This problem is real and is undocumented as a bug by MS but has appeared several times in several newsgroups. No solutions were ever proposed. So I repeat our solution to this problem despite its brute force nature. We installed PVIEW and exec a pview KILL EXCEL* when we are done with the EXCEL C

RE: [PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Scott Hurring
Short answer: Do some google searches. :) Longer answer: Personally, I've not really found too much info on PHP+COM+Excel on the web. If you are very comfortable with PHP and know a little VB, there are COM VB\VBScript examples on MS's website, that (with a little work) can be translated into w

RE: [PHP-WIN] Re: COM vs. ODBC

2002-04-24 Thread Scott Hurring
If you use the COM interface, please let me know if 'EXCEL.EXE' stays resident in memory after the script has completed itself. I've been having trouble... every time the script runs, a new instance of 'EXCEL.EXE' is created and *stays* in memory. So after a few runs of the script, there are a b

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Scott Hurring
Thanks for the suggestion. I tried using SaveAs(...) in addition to Save(), to no avail. Excel still stays resident. This is my "end" sequence, when i'm all done processing the spreadsheet. Can anyone see any flaws or errors in what i'm doing ?? $book->Save(); $book->Close(); unset($sheet);

RE: [PHP-WIN] File upload issue 4.2.0

2002-04-24 Thread Dash McElroy
You should probably check to see if the variable is set before you try and read the uploaded file... -Dash -Original Message- From: Ethan Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 11:57 AM To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] File upload issue 4.2.0 I get

[PHP-WIN] PDF extensions freeze server 4.2.0

2002-04-24 Thread Ethan Nelson
I'm trying to use the PDF extensions and have just upgraded to 4.2.0. When I enable the extension in the PHP.INI file, all my sites just hang when I try to load them. Any ideas? Thanks, -Ethan ___ Ethan Nelson, Systems Administrator Net Solutions, LLC 840 Lawre

[PHP-WIN] File upload issue 4.2.0

2002-04-24 Thread Ethan Nelson
I get this error when I submit a form with nothing specified in the file upload field. My understanding is that the server or PHP should submit "none" by default when nothing is submitted as the value of the name associated with the file upload field. This doesn't appear to be sending anything at

[PHP-WIN] re: Image creation

2002-04-24 Thread Matt Babineau
Thanks for your help everyone, I got it working by installing the full release of PHP with all the goodies, then configuring the extension mapping, then changing the extension registration to extension=php_gd2.dll, which is included in php 4.2.0. Thanks~! Matt Babineau Freelance Internet Devel

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
Ahhh, maybe I am having all these problems because I don't have the version with all the extensions installed, I just have the base version of PHPlet me install the other one Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.c

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I found the DLL but I do not have an 'extensions' folder. Where should I create this folder? Under the /PHP folder I installed PHP to? Aldo when I try to run my code now, I get a new message: X-Powered-By: PHP/4.1.2 Content-type: text/html Fatal error: Call to undefined function: imagecreatefrom

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
Still no idea about the php_gd.dll file. I looked on http://www.boutell.com/gd and only saw the 1.8.4 uncompiled version. Where can I get the compiled DLL for windows? Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Ori

RE: [PHP-WIN] R: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I don't think so, I looked in my php folder and I cannot find the DLL Richard Black said I needed. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Darvin Andrioli [mailto:[EMAIL PROTECTED]]

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Richard Black
If its not in your extensions folder, you should be able to download it from php.net. On the downloads page there are 2 different windows binary downloads. The first of these is a zip package, which contains a whole host of extensions. The second has a windows installer, but no extensions include

[PHP-WIN] R: [PHP-WIN] Image generation question

2002-04-24 Thread Darvin Andrioli
Do you have enabled the GD extension ? Darvin > -Messaggio originale- > Da: Matt Babineau [mailto:[EMAIL PROTECTED]] > Inviato: mercoledi 24 aprile 2002 18.02 > A: 'Php-Win (E-mail)' > Oggetto: [PHP-WIN] Image generation question > > > I have been trying to generate images dynamicall b

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I don't think so, where can I get this? I found a GD library but it needs to be compiled or something and I don't know how to do that. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Richard

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Richard Black
Do you have the php_gd.dll extension?? And if so, is it listed as an extension which is listed in your php.ini file??? -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED]] Sent: 24 April 2002 17:02 To: 'Php-Win (E-mail)' Subject: [PHP-WIN] Image generation question I have b

[PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I have been trying to generate images dynamicall but I keep getting this message. Fatal error: Call to undefined function: imagecreatefrompng() in D:\wwwroot\counter\img.php on line 5 Here is my code: Matt Babineau Freelance Internet Developer e: [EMAIL PROTE

Re: [PHP-WIN] re: $POST vars

2002-04-24 Thread Nicole Amashta
You can set a hidden variable in your form that will be passed to the script when it is posted. Then, you can check for that variable like so: If you want to limit what scripts can post to the handling script, check the referering script to make sure it is allowed, like so: Just some idea

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Mike Flynn
At 10:49 AM 4/24/2002 -0400, you wrote: >Yeah that is the idea, are there any bad things about doing it this way? >The POST array does not exist if the page has not been posted to? To be safer, you could check the sizeof($HTTP_POST_VARS), rather than just if it is set (exists). That might work

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Matt Babineau
Yeah that is the idea, are there any bad things about doing it this way? The POST array does not exist if the page has not been posted to? Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Edua

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Eduards Cauna
>I am merely trying to see whether a page was posted to or not, and >perform an action from the result. > >Matt Babineau -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 24 Apr 2002 14:11:33 -0000 Issue 1109

2002-04-24 Thread php-windows-digest-help
php-windows Digest 24 Apr 2002 14:11:33 - Issue 1109 Topics (messages 13261 through 13273): setting php variables from the client side 13261 by: RS Herhuth Authentication 13262 by: Nik Alleyne Re: COM vs. ODBC 13263 by: Ray Hunter Getting Apache 2.0.35 and PHP 4.2

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Matt Babineau
I am merely trying to see whether a page was posted to or not, and perform an action from the result. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED]]

[PHP-WIN] Re: php_imap extension in PHP 4.2.0

2002-04-24 Thread Lars Schwarz
good question, also the php.exe isnt in the root directory any more which caused me some trouble, when just copying the new version over the old one, without the old php.exe being overwritten. no mention in the changelog about any imap changes ... hmmm "Ulf Haueisen" <[EMAIL PROTECTED]> schrieb i

[PHP-WIN] php_imap extension in PHP 4.2.0

2002-04-24 Thread Ulf Haueisen
Hi, Why is the php_imap extension missing from the windows distribution of PHP 4.2.0? Ulf. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Jack
Dear all i know if i want the php script to access data from MS Word or Excel, i got to know about COM, but i don't know where to start on COM, so is there any Recommendation on books which i can learn about COM from the Beginning! -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Windows Mailing

[PHP-WIN] Can't load CSV file into Mysql Table using "LOAD Data"

2002-04-24 Thread Jack
Dear all i had posted this question to mysql@list, but got no reponse, therefore i think this group might help! I had made a TXT file from XLS, the field is seperate by comma, there are 4 fields in mysql table (hkd_rate), then i tried this command on mysql: "LOAD DATA LOCAL INFILE 'c:\hkd_rate.txt

[PHP-WIN] Can't import CSV data to Mysql

2002-04-24 Thread Jack
Dear all i had posted this question to mysql@list, but got no reponse, therefore i think this group might help! I had made a TXT file from XLS, the field is seperate by comma, there are 4 fields in mysql table (hkd_rate), then i tried this command on mysql: "LOAD DATA LOCAL INFILE 'c:\hkd_rate.txt

RE: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-24 Thread Svensson, B.A.T. (HKG)
Hey guys. Go to google, type in "SQL State S1000", there will be some hundred or thousand hits. There is a documented bug in thew ODBC driver it self related to this issue. > -Original Message- > From: John Lim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 9:23 PM > To: [EM

[PHP-WIN] Re: [PHP-DB] Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-24 Thread Lars Schwarz
well, so anyone has a solution, except downgrading to 4.1.2 ? what i can say is, that it's definitately the 4.2, not the mdac version, because thats what i tried, 4.1.2 even runs fine with the latest mdac vesion (2.7). i'm on win2k prof and apache 2.0 if this helps anyway. thanks: lars "Alan Popo