php-windows Digest 23 Mar 2001 23:53:02 -0000 Issue 507 Topics (messages 6245 through 6270): smtp with authentication 6245 by: Giro De Roover Re: Prob with Send mail using mail() 6246 by: Giro De Roover Must read for Windoze users 6247 by: Urmil Parikh 6268 by: Alain Samoun X-powered line... can't get rid of it! 6248 by: Asendorf, John 6250 by: Darvin Andrioli 6251 by: Asendorf, John 6252 by: Asendorf, John Upgrading PHP3 to PHP4 6249 by: Fabian Lane Running systemcommands. 6253 by: Mattias Sundberg Tips for IIS & PHP in CGI mode 6254 by: Florian Poizac Re: [PHP-WINDOWS] Windows is Slow... 6255 by: Eric L.. Edberg 6256 by: Fernando Madruga 6258 by: Michael_OShea.palmtopsoftware.com Oracle ODBC 6257 by: John R. Tipton Re: NT Stability 6259 by: Eric L.. Edberg 6262 by: Fernando Madruga Memo field 6260 by: Charles Alves How to handle NULL value from Value property of Field object (ADO, DAO)? 6261 by: Alexander Nenashev Slow download bitrate using NT IIS & ASP/PHP, (Expert Problem) 6263 by: Eric L.. Edberg Re: resolution problems in dinamic .gif 6264 by: Praying Mantis 6265 by: Fernando Madruga asp to php 6266 by: analyst.libero.it 6269 by: Fernando Madruga How to handle NULL value of COM variant? 6267 by: Alexander Nenashev Re: php&win98 6270 by: Gaylen Fraley Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Hello, Anyone have experienced difficulties with a broadband, cable, dsl setting smtp for the mail fonction, where the smtp requires authentication. I am actually having a nightmare for sending the form .but I am making progress since I am able now to locate the problem. Thanks for the help
Dear andy, what if your smtp requires authentication? Any idea?? Thanks Giro ______________________________________________ Hello, Anyone have experienced difficulties with a broadband, cable, dsl setting smtp for the mail fonction, where the smtp requires authentication. I am actually having a nightmare for sending the form .but I am making progress since I am able now to locate the problem. Thanks for the help "Andy Hoffman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Mian Shafiq-Ur-Rehman wrote: > > > <? > > $email ="[EMAIL PROTECTED]"; > > $subject="Hai Dear Friend"; > > $message="Testing PHP mail"; > > $headers=" "; > > mail($email ,$subject,$message,$headers) > > ?> > > First, it is not necessary to send a BLANK headers string in your call to > the mail function... simply call it like this: > > mail($email, $subject, $message); > > Also, note that you left off the final ";" (semi-colon) on the line which > calls the mail function... just check to make sure the line is terminated > with a semi-colon in your script. > > > AND the settings in php.ini are > > > > SMTP = leo > > sendmail_from = [EMAIL PROTECTED] > > OK, there are 2 scenarios you can use when accessing your SMTP server... > 1) you have the SMTP server installed on the SAME computer as your running > web server > -or- > 2) you have the SMTP server running on another computer/server, to which you > have DIRECT IP access (via DNS naming, or static IP addressing) - for the > sake of our example, I'll say the SMTP server is on "mysmtp.mydomain.com" or > IP address "123.123.123.123". Here's what your PHP.INI lines should look > like in either of these cases... > > > For Example 1 - SMTP on same computer as Web Server - > > SMTP = localhost > sendmail_from = myusername@localhost > > > For Example 2 - SMTP on differenct computer - > > SMTP = mysmtp.mydomain.com > sendmail_from = [EMAIL PROTECTED] > > - or - > > SMTP = 123.123.123.123 > sendmail_from = [EMAIL PROTECTED] > > > So, depending on your setup of the web server and it's access to the SMTP > server, you'll use one of these examples, substituting the correct values > for "myusername", "mydomain", etc. > > That help at all? > > -- > Andy Hoffman > Web Developer > Bristol-Myers Squibb > email: [EMAIL PROTECTED] > > > -- > 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] >
VeriSign has wrongly issued digital certificate to a spammer in the name of Microsoft Corporation. So Windows Update could be a virus update, with this. Please go to this link. http://www.microsoft.com/technet/security/bulletin/MS01-017.asp Regards, | Linux Urmil Parikh | It is now safe to turn on your computer
Think that it took them two months to recognize the problem... Scary But even more scary is this: http://joel.editthispage.com/stories/storyReader$139 See the article on 'hailstorm' at http://php.weblogs.com/ Alain On Fri, Mar 23, 2001 at 05:14:53PM +0530, Urmil Parikh wrote: > VeriSign has wrongly issued digital certificate to a spammer in the name of > Microsoft Corporation. So Windows Update could be a virus update, with this. > Please go to this link. > > http://www.microsoft.com/technet/security/bulletin/MS01-017.asp > > Regards, | Linux > Urmil Parikh | It is now safe to turn on your computer > > > -- > 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]
I hosed (destroyed) my webserver last night and now I can't get a single thing to run right. My first concern is how to get rid of the X-Powered by PHP (etc.) line off of my pages. I have read repeatedly that I need to run in silent mode, but I can't seem to figure out how to do that. Anyone, please?!??! IIS 4 NT 4 PHP 4.0.4 CGI --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit
Hi John, I got this message the that I installed the release 4 of PHP. In that case it was caused by an error in php.ini. In that file I configured some dll that I hadnt installed, or, as someone wrote, php can't found. Have a look for "X-Powered" in the past ( last year.. ) threads of this list, to get the old mail about this message. Regards Darvin -----Original Message----- From: Asendorf, John [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:50 PM To: Php-Windows (E-mail) Subject: [PHP-WIN] X-powered line... can't get rid of it! I hosed (destroyed) my webserver last night and now I can't get a single thing to run right. My first concern is how to get rid of the X-Powered by PHP (etc.) line off of my pages. I have read repeatedly that I need to run in silent mode, but I can't seem to figure out how to do that. Anyone, please?!??! IIS 4 NT 4 PHP 4.0.4 CGI --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit -- 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]
After hunting on phpbuilder, php.net and phpwizard, I finally found something on Zend... It seems that if an extension (in my and someone else's case the oci8.dll) doesn't load... this is a result... Now all I have to do is figure out why the dll won't load... Aaarrrrghhh! Thank for the help so early (late?) Darvin, John --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Darvin Andrioli [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 7:09 AM > To: 'Asendorf, John'; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] X-powered line... can't get rid of it! > > > Hi John, > > I got this message the that I installed the release 4 of PHP. > > In that case it was caused by an error in php.ini. In that > file I configured some dll that I hadnt installed, or, as > someone wrote, php can't found. > > Have a look for "X-Powered" in the past ( last year.. ) > threads of this list, to get the old mail about this message. > > Regards > > Darvin > > -----Original Message----- > From: Asendorf, John [SMTP:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 12:50 PM > To: Php-Windows (E-mail) > Subject: [PHP-WIN] X-powered line... can't get rid of it! > > I hosed (destroyed) my webserver last night and now I can't > get a single > thing to run right. > > My first concern is how to get rid of the X-Powered by PHP > (etc.) line off > of my pages. > > I have read repeatedly that I need to run in silent mode, but > I can't seem > to figure out how to do that. > > Anyone, please?!??! IIS 4 NT 4 PHP 4.0.4 CGI > > --------------------- > John Asendorf - [EMAIL PROTECTED] > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Aut insanit homo, aut versus facit > > > -- > 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 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] >
Actually, I saw that post too and thought that that was the ticket, but it was related to an extension (php_oci8.dll) not loading. Thanks! John --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Tom Mathews [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 7:15 AM > To: Asendorf, John > Subject: Re: [PHP-WIN] X-powered line... can't get rid of it! > > > expose_php = Off > > in your php.ini > > Tom > > "Asendorf, John" wrote: > > > I hosed (destroyed) my webserver last night and now I can't > get a single > > thing to run right. > > > > My first concern is how to get rid of the X-Powered by PHP > (etc.) line off > > of my pages. > > > > I have read repeatedly that I need to run in silent mode, > but I can't seem > > to figure out how to do that. > > > > Anyone, please?!??! IIS 4 NT 4 PHP 4.0.4 CGI > > > > --------------------- > > John Asendorf - [EMAIL PROTECTED] > > Web Applications Developer > > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > > Licking County, Ohio, USA > > 740-349-3631 > > Aut insanit homo, aut versus facit > > > > -- > > 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] >
Hi, Okay I have several questions... I am currently running a NT4 IIS4 box running three PHP websites with MySql and two ASP websites using DB back ends as well. The three PHP websites all use API's toolkits built on top of PHPLib including templating and automatic forms generation.. The server is currently processing 40 simultaneous hits and is struggling so I am looking for a reduction in memory usage and maybe a speed up with PHP processes.... So my questions are: 1. It is worth while upgrading to PHP4 will I get noticeable speed increases ? 2. It is difficult to migrate from PHP3 to PHP4 ? (I have done this on Linux and had very few problems is Widows the same ?) 3. Is anyone out their running PHP4 ISAPI on a production server and getting reliability out of it ? (This was my part of my solution until I read the docs about it not being stable ) 4. Does PHP4 still work with PHPLib reliably? I would appreciate any responses.... -- Fabian Lane Cybersource Pty Ltd Phone: +61 3 9642 5997 Mobile: 0402 2323 38 E-mail: [EMAIL PROTECTED] Website: http://www.cyber.com.au
I´m new to PHP on the Windows platform. And here is a simple question; How do I find out how much free diskspace and memory my server´s got with PHP? Can I use the system() function? Mattias Sundberg Eldean AB
You can manage your php configuration for each sites you have declared in your Management Console. You just have to place a different php.ini in each sites root directory. Cheers Flo
Did anyone ever come up with a solution to this issue? I have a similar problem I've just started researching on this newsgroup. My existing ASP scripts work fine and download quickly. After executing some PHP scripts the download bit transfer rate drops down to a slow crawl. It appears to recover and begin to download quickly again after some timeout period (5 minutes or so?) The system repeats this scenario periodically. I have spent numerous hour looking at performance (CPU, MEMORY, etc) and discovered no contention. The problem did not really appear in php3. There appears to be a resource contention problem or sharing issue somewhere. I am using Access with IIS & PHP4.04pl1 on an NT IIS SP6a. This issue has been driving me crazy.... Eric Edberg Network Engineering Manager Lucent Technologies 630-713-5231 [EMAIL PROTECTED] Joel Roller wrote: > The parser seems incredibly slow on my Windows NT/IIS4 machine. > > I have been running simple tests with apachebench, to try to get a good > view of the problem. Here are some numbers: > > 100k html, no php: 18 seconds > 50k html, no php: 9 seconds > 25k html, no php: 4.8 seconds > 100k php comment: 5 seconds > 50k php comment: 2.8 seconds > 25k php comment: 1.7 seconds > > html above meaning that the .php file didn't actually include any <?php > ?> > tags. It seems the php engine running through html is actually slower > than > compiling php code. > > As for network speeds, the transfer rate I get for the straight html > .php > files is 6kB/sec, while ftp to the server gets 900kB/sec. > > Now, what could I be doing wrong here? The same 100k file with the CGI > php3 takes 0.3 seconds to load. Eh? php 3 I said! Does it make > sense that > php3 is 10-20 times FASTER than php4? > > The CGI version of php4 is not much slower than the ISAPI module > (I'm sure its easy to loose the difference > when it takes 10 seconds to load a page). I wast starting to believe > that all the new optimizations were slowing down the bulk moving of html > > across the wire, so I tried the same tests on linux/apache/mod_php4, > and couldn't get the page to load any slower than 0.02 seconds. > Unfortunately, I can't run this stuff on linux at the moment, as it > depends on a couple dlls that are currently only available with NT. > > I've tried other machines with the same results. The 'optimized' php > file is > just as slow. > > Can anyone reproduce my results? Is not sending 50k > of html through the server a common thing? > I can't believe others are not complaining about this. > > -joel > > -- > 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]
Do you NEED to run IIS? Why don't you try Apache? It's free, and it runs on WinNT too... HTH, Madruga -----Original Message----- From: Eric L.. Edberg [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 14:06 To: [EMAIL PROTECTED]; Joel Roller Subject: [PHP-WIN] Re: [PHP-WINDOWS] Windows is Slow... Did anyone ever come up with a solution to this issue? I have a similar problem I've just started researching on this newsgroup. My existing ASP scripts work fine and download quickly. After executing some PHP scripts the download bit transfer rate drops down to a slow crawl. It appears to recover and begin to download quickly again after some timeout period (5 minutes or so?) The system repeats this scenario periodically. I have spent numerous hour looking at performance (CPU, MEMORY, etc) and discovered no contention. The problem did not really appear in php3. There appears to be a resource contention problem or sharing issue somewhere. I am using Access with IIS & PHP4.04pl1 on an NT IIS SP6a. This issue has been driving me crazy.... Eric Edberg Network Engineering Manager Lucent Technologies 630-713-5231 [EMAIL PROTECTED] Joel Roller wrote: > The parser seems incredibly slow on my Windows NT/IIS4 machine. > > I have been running simple tests with apachebench, to try to get a good > view of the problem. Here are some numbers: > > 100k html, no php: 18 seconds > 50k html, no php: 9 seconds > 25k html, no php: 4.8 seconds > 100k php comment: 5 seconds > 50k php comment: 2.8 seconds > 25k php comment: 1.7 seconds > > html above meaning that the .php file didn't actually include any <?php > ?> > tags. It seems the php engine running through html is actually slower > than > compiling php code. > > As for network speeds, the transfer rate I get for the straight html > .php > files is 6kB/sec, while ftp to the server gets 900kB/sec. > > Now, what could I be doing wrong here? The same 100k file with the CGI > php3 takes 0.3 seconds to load. Eh? php 3 I said! Does it make > sense that > php3 is 10-20 times FASTER than php4? > > The CGI version of php4 is not much slower than the ISAPI module > (I'm sure its easy to loose the difference > when it takes 10 seconds to load a page). I wast starting to believe > that all the new optimizations were slowing down the bulk moving of html > > across the wire, so I tried the same tests on linux/apache/mod_php4, > and couldn't get the page to load any slower than 0.02 seconds. > Unfortunately, I can't run this stuff on linux at the moment, as it > depends on a couple dlls that are currently only available with NT. > > I've tried other machines with the same results. The 'optimized' php > file is > just as slow. > > Can anyone reproduce my results? Is not sending 50k > of html through the server a common thing? > I can't believe others are not complaining about this. > > -joel > > -- > 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]
Eric, thanks for doing those benchmarks. I was also getting the feeling that the response was really sluggish but had put it down to one of the many factors involved in my work. If you had some specimen pages and some sort of script that could automatically run a profiling analysis I'd be glad if you could send me the whole thing so I could run those tests on my setup. Maybe if more people run your benchmark test and collected the results we could raise the profile of this problem, waiting to hear from you. Michael O'Shea
I'm trying to connect to an Oracle database through ODBC using the 8.1.6 client and php4.04 or php4.05rc2 from www.php4win.de on NT with servicepack 6 and IIS with php running as a cgi. Php crashes at instruction 0x04c2ea86 referenced memory at "0x000000000". The memory could not be written. I have disabled LOB in the ODBC Administrator. If I don't use a correct username or password php comes back with a correct user, but it seems that if I connect it crashes, any suggestions? Thanks. <> John R. Tipton <> Client / Server Applications <> URS Corporation - Information Technology Practice <> tel 865.220.8283 <> fax 865.483.9061
I do have an issue with stability on my IIS NT4 SP6a system after installing PHP4 CGI accessing an Access db. My ASP stuff is normally ok. After executing PHP4 scripts my bitrate transfer slows to a crawl for 5 minutes or so. this happens randomly but only near the time a PHP script excutes. It slows to 1k/b/s some times; normal rates are 50+ kb/s After about 5 minutes everything is back to normal, until the next time. It appeard after upgrading to php4. It most likely is an interaction between IIS, ODBC, Access and the two ASP/PHP systems. Wish I could identify the problem though... Eric [EMAIL PROTECTED] "Asendorf, John" wrote: > I have to agree with Phil. I've been running PHP on our NT 4 / IIS 4 box > for almost a year now without any problems while installed as a CGI. IMHO, > the ISAPI module should not be used on production machines on NT yet. > > You should tell them that "hearing" and "researching the truth" are usually > two different things and you would prefer that they do the latter. > > Unstable: no. Security risk: perhaps. That answer I can't really deny. If > they are worried about you putting a line of code like unlink ( '*.asp' ); > on their machine (not a bad idea really...) then they might have to take > some extra steps on the security side. > > John > > --------------------- > Founder of > The 'What Kind of Idiot Uses PHP with IIS with Oracle on NT?' Consortium > > Members: John Asendorf, Thomas Kryger, Florian Clever, Ron Woods, Bod > > John Asendorf - [EMAIL PROTECTED] > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > > Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur. > > > -----Original Message----- > > From: Victor Johansen [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 12, 2001 11:04 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] NT Stability > > > > > > One of our ISPs is refusing to put PHP on their server(s) (I > > believe they > > are using IIS). The reason they give is that they have heard > > that PHP is > > unstable on the NT platform. Has anyone heard of problems > > using PHP in the > > NT environment and if so what problems are there? > > > > Thanks! > > > > Victor Johansen > > PC/LAN Manager > > Coates Screen > > [EMAIL PROTECTED] > > > > > > -- > > 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 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]
5 minutes equals 300 seconds (5*60) Apache does have a 300 seconds timeout; does IIS have that one too? from apache's httpd.conf: # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 Maybe IIS does not realize that the script is already completed or the script has some error that is not displayed and prevents it from being completed?... HTH, Madruga -----Original Message----- From: Eric L.. Edberg [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 14:58 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] NT Stability I do have an issue with stability on my IIS NT4 SP6a system after installing PHP4 CGI accessing an Access db. My ASP stuff is normally ok. After executing PHP4 scripts my bitrate transfer slows to a crawl for 5 minutes or so. this happens randomly but only near the time a PHP script excutes. It slows to 1k/b/s some times; normal rates are 50+ kb/s After about 5 minutes everything is back to normal, until the next time. It appeard after upgrading to php4. It most likely is an interaction between IIS, ODBC, Access and the two ASP/PHP systems. Wish I could identify the problem though... Eric [EMAIL PROTECTED] "Asendorf, John" wrote: > I have to agree with Phil. I've been running PHP on our NT 4 / IIS 4 box > for almost a year now without any problems while installed as a CGI. IMHO, > the ISAPI module should not be used on production machines on NT yet. > > You should tell them that "hearing" and "researching the truth" are usually > two different things and you would prefer that they do the latter. > > Unstable: no. Security risk: perhaps. That answer I can't really deny. If > they are worried about you putting a line of code like unlink ( '*.asp' ); > on their machine (not a bad idea really...) then they might have to take > some extra steps on the security side. > > John > > --------------------- > Founder of > The 'What Kind of Idiot Uses PHP with IIS with Oracle on NT?' Consortium > > Members: John Asendorf, Thomas Kryger, Florian Clever, Ron Woods, Bod > > John Asendorf - [EMAIL PROTECTED] > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > > Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur. > > > -----Original Message----- > > From: Victor Johansen [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 12, 2001 11:04 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] NT Stability > > > > > > One of our ISPs is refusing to put PHP on their server(s) (I > > believe they > > are using IIS). The reason they give is that they have heard > > that PHP is > > unstable on the NT platform. Has anyone heard of problems > > using PHP in the > > NT environment and if so what problems are there? > > > > Thanks! > > > > Victor Johansen > > PC/LAN Manager > > Coates Screen > > [EMAIL PROTECTED] > > > > > > -- > > 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 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]
I am writing a query to a paradox table, using ODBC. I have a field of MEMO kind, and I don't get all of his content. Someone have some tip? -- Charles Alves Suporte Software Sweda Informática LTDA.
How to handle NULL value from Value property of Field object (ADO, DAO)? I get Warning: Unsupported variant type: 1 (0x1)
Hello all, I use NT IIS with SP6a to access an MS Access db using ODBC with ASP based scripts primarily, and have been writing new PHP4 where appropriate for the past year. I am using PHP404pl1 CGI installer and have experienced a troublesome performance issues after executing PHP scripts (randomly it seems) The problem goes like this: * ASP scripts execute ok for long periods of time * A PHP script (which are seldom executed) appears to execute ok * ASP scripts are then executed, but the download bitrate slows to a crawl, sometime down to the 500b/s rate. The scripts sometimes don't complete due to timeout issues. * After approximately 5 minutes, all ASP scripts start working within expected and normal rates (50kb/s) There appears to be a contention or resource issue between ASP and PHP4. The problem was not noticed when I was using PHP3. Our developers have monitored NT's memory, CPU, Pagefile utilization which are all clean. We have looked at MS' IIS site for tuning hints and updated some parameters. Has anyone else experienced performance issues with IIS that affects the download performance of html back to the desktop? Any IIS/Access experts willing to comment? Any know PHP4 bugs? Eric Edberg Network Engineering Manager Lucent Technologies 630-713-5231 [EMAIL PROTECTED]
Alex, .gif images just support 8-bits (256 colors). Am I wrong? I've never seem a 32-bit .gif image. Only jpg's, png's, etc.. But I scanned three pages from a magazine using the same scanner I used to scanner the bill I've tryed to put on-line, and the letters are blurry too. I don't know, but I suspect I have to use a not scanned image , but one made from a drawing software like Corel Draw. By the way, excuse me my poor English. It's not my first Language ""Alex"" <[EMAIL PROTECTED]> escreveu na mensagem 014a01c0b2d0$83506680$6060dcc1@dima">news:014a01c0b2d0$83506680$6060dcc1@dima... > Sorry, it looks like my previous message to the list was not posted. > > Try to convert your gif image to 32-bit mode and print it. Gif images are > 8-bit only and, may be, the printer driver's dithering for the gifs is not > correct. > > Alex. > > >I'm using version 3 of PHP to build a .gif image file dinamicly. > >I don't know what's happening, but the letters are being displayed a little > >bit blurry or spotty like if it had built with a low resolution. This > >happens just when I print the image through browser (IE 5, 5.5, NC 4.7, > >etc). On the screen, the letter in the image are displayed perfectly. > > > >The dinamic .gif is built from a blank .gif file that act just a template. > >This 'blank' .gif has a resolution of 70 dpi. I've tryed with resolutions > of > >100 and 300 dpi, but i've got the same problem. > > > >Anyone could help me? > > > >thank in advance. > > > > > > > >-- > >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 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] >
Why don't you send me a sample image? I'll print it and see what I get. Perhaps you're not using a recent driver for your printer: try checking the manufacturer's web page for a more recent one... HTH, Madruga -----Original Message----- From: Praying Mantis [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 15:53 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] resolution problems in dinamic .gif Alex, .gif images just support 8-bits (256 colors). Am I wrong? I've never seem a 32-bit .gif image. Only jpg's, png's, etc.. But I scanned three pages from a magazine using the same scanner I used to scanner the bill I've tryed to put on-line, and the letters are blurry too. I don't know, but I suspect I have to use a not scanned image , but one made from a drawing software like Corel Draw. By the way, excuse me my poor English. It's not my first Language ""Alex"" <[EMAIL PROTECTED]> escreveu na mensagem 014a01c0b2d0$83506680$6060dcc1@dima">news:014a01c0b2d0$83506680$6060dcc1@dima... > Sorry, it looks like my previous message to the list was not posted. > > Try to convert your gif image to 32-bit mode and print it. Gif images are > 8-bit only and, may be, the printer driver's dithering for the gifs is not > correct. > > Alex. > > >I'm using version 3 of PHP to build a .gif image file dinamicly. > >I don't know what's happening, but the letters are being displayed a little > >bit blurry or spotty like if it had built with a low resolution. This > >happens just when I print the image through browser (IE 5, 5.5, NC 4.7, > >etc). On the screen, the letter in the image are displayed perfectly. > > > >The dinamic .gif is built from a blank .gif file that act just a template. > >This 'blank' .gif has a resolution of 70 dpi. I've tryed with resolutions > of > >100 and 300 dpi, but i've got the same problem. > > > >Anyone could help me? > > > >thank in advance. > > > > > > > >-- > >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 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 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]
I need to convert this ASP file into PHP file. Could you help me ? Thanks a lot Ivan ------ <% 'Response.write(Request.Form("Navigazione")) Set objMail = CreateObject("CDONTS.Newmail") objMail.MailFormat = cdoMailFormatMIME objMail.From = Request.Form("tuamail") objMail.To = Request.Form("suamail") objMail.Bcc = "[EMAIL PROTECTED]" objMail.Subject = "## example ##" 'Composizione body Body=Body&"Buongiorno,"&chr(13) &chr(10) objMail.Body = Body objMail.Send Set objMail = Nothing Response.redirect("conferma.asp") 'Response.write(body) %>
I don't know any ASP, but you could try http://www.naken.cc/ for an automated ASP2PHP program. >From what your code looks like it's doing, I would say it is fairly easy to do in PHP... :) This is the output from asp2php 0.75.10: <? //Response.write(Request.Form("Navigazione")) $CreateObject["CDONTS.Newmail"] $objMail.$MailFormat=$cdoMailFormatMIME; $objMail.$From=$HTTP_POST_VARS["tuamail"]; $objMail.echo $HTTP_POST_VARS["suamail"]; $objMail.$Bcc="[EMAIL PROTECTED]"; $objMail.$Subject="## example ##"; //Composizione body $Body=$Body."Buongiorno,".chr(13).chr(10); $objMail.$Body=$Body; $objMail.$Send; $objMail=null; header("Location: "."conferma.php"); exit; //Response.write(body) ?> It commented out two lines... I don't know if they are important... HTH, Madruga -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 16:29 To: [EMAIL PROTECTED] Subject: [PHP-WIN] asp to php I need to convert this ASP file into PHP file. Could you help me ? Thanks a lot Ivan ------ <% 'Response.write(Request.Form("Navigazione")) Set objMail = CreateObject("CDONTS.Newmail") objMail.MailFormat = cdoMailFormatMIME objMail.From = Request.Form("tuamail") objMail.To = Request.Form("suamail") objMail.Bcc = "[EMAIL PROTECTED]" objMail.Subject = "## example ##" 'Composizione body Body=Body&"Buongiorno,"&chr(13) &chr(10) objMail.Body = Body objMail.Send Set objMail = Nothing Response.redirect("conferma.asp") 'Response.write(body) %> -- 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]
How to handle NULL value of COM variant? For example from Value property of Field object (ADO, DAO).
The patch runs fine for me. -- Gaylen [EMAIL PROTECTED] http://home.earthlink.net/~gfraley5/ ""Aleksey Filimonov"" <[EMAIL PROTECTED]> wrote in message 991p0e$nk1$[EMAIL PROTECTED]">news:991p0e$nk1$[EMAIL PROTECTED]... > Well.... in version apache-1.3.19 this bug presence too.... > > "Tom Mathews" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Yep - Apache bug - upgrade it! > > > > Aleksey Filimonov wrote: > > > > > Hi all, > > > > > > I have some problems installing php-4.0.4pl1 on apache-1.3.14 on > win98... > > > The apache server is running fine before adding this line in httpd.conf: > > > LoadModule php4_module c:/php/sapi/php4apache.dll > > > After adding module apache crash with alert: > > > This program has performed an illegal operation and will be shut > down. > > > details: > > > APACHE caused an invalid page fault in > > > module MSVCRT.DLL at 0177:7800d269. etc. > > > > > > Any ideas???? > > > > > > Aleks Filimonov > > > ([EMAIL PROTECTED]) > > > > > > > > -- > 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] >