[PHP-WIN] Help, I can't compile with files from ext

2002-02-26 Thread Olga Tonkonog
Hello, all! I did install PHP in Windows and Linux. I can compile standard php4ts.dll. But I can't compile files from /ext. I can't run examples. And it is that I need. I became 22 errors. I wanted to write foo.c program, this help connect our dll to PHP. But I try Extending_PHP and have no succ

RE: [PHP-WIN] COM on NT

2002-02-26 Thread alain samoun
COM support is included in the win binaries, you don't need any dll to use it. You probably need to set the permissions for the specific program that you are trying to instantiate (outlook). Use the DCOMcnfg.exe file. A+ Alain -Original Message- From: Vail, Warren [mailto:[EMAIL PROTECTED

[PHP-WIN] COM on NT

2002-02-26 Thread Vail, Warren
I am trying to invoke COM on NT using the following line of code $outl = new COM("Outlook.Application") or die("Unable to instantiate Outlook"); and I get a DR.Watson alert for php.exe shows an "access violation". This is my first attempt to exercise COM on this site, so it could be something

[PHP-WIN] Dialogs "PHP.EXE Application Failed to Initialize...."

2002-02-26 Thread Neal
Getting this message on PHP 4.1.1 and not sure why! Anyone else seen the popup message running PHP in CGI mode saying "Application failed to initialize"? Thanks! -- Neal Culiner NC Software, Inc. Web: http://www.nc-software.com Catalog your favorite music, video, books, software and more

RE: [PHP-WIN] mail() function EXTREMELY slow

2002-02-26 Thread Ross Fleming
You should be able to do it, I know I do: [mail function] ; For Win32 only. SMTP= smtp.isp.com ; for Win32 only ; For Win32 only. sendmail_from= [EMAIL PROTECTED] ; for Win32 only However, I'm aware that this is an extremely pernickity thing, and that lots of people have problems getting it t

RE: [PHP-WIN] mail() function EXTREMELY slow

2002-02-26 Thread Matt Hillebrand
Yeah, I know about the max time variable, but it would be unacceptable to take over a minute or two to send a handful of emails! I read an article that said you could use your ISP's SMTP server for the mail() function, but that didn't seem to work. Matt Hillebrand Web Developer [EMAIL PROTECTE

RE: [PHP-WIN] mail() function EXTREMELY slow

2002-02-26 Thread Ross Fleming
I hope you're not spamming... ;) In php.ini: max_execution_time=30 ; Maximum execution time of each script, in seconds Change it to what you need. The speed is pretty much dependent on your SMTP server though. Ross -Original Message- From: Matt Hillebrand [mailto:[EMAIL PROTECTED

[PHP-WIN] mail() function EXTREMELY slow

2002-02-26 Thread Matt Hillebrand
I'm using the SMTP server that my company owns, but it takes forever just to send one email message. Trying to send a batch of emails with PHP's mail() function takes so long, that the script expires and I get an error message. I tried searching the archives of this list, but that search page see

[PHP-WIN] Help with AnalogX SimpleServer:WWW

2002-02-26 Thread Travis Smith
Has anyone had any experience with setting up PHP (CGI version) with AnalogX's SimpleServer:WWW? ( http://www.analogx.com ) I've been looking for any docos on this and have not found anything. Also, even though the SimpleServer page indicates that the author has been using this with PHP, there

php-windows Digest 26 Feb 2002 21:46:20 -0000 Issue 1019

2002-02-26 Thread php-windows-digest-help
php-windows Digest 26 Feb 2002 21:46:20 - Issue 1019 Topics (messages 12292 through 12314): HTTP_REFERER 12292 by: "Spycha³a, Wojciech" 12298 by: Collins, Robert PGP, again :( 12293 by: Paul J. Smith Re: passthru() on Win98 ?? 12294 by: Sviss Cobazor

RE: [PHP-WIN] pathinfo();

2002-02-26 Thread Ross Fleming
Given there wasn't any feedback, I just wrote my own function that works under PHP3 and does exactly what pathinfo() does. If anyone wants a copy, email me and I'll send it back. (thought I expect demand to be low!) Cheers Ross -Original Message- From: rxf [mailto:rxf]On Behalf Of Ross

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
Yep, I got it to work just as your mail poped in :) Thanks for your help and time Mike "Mike Flynn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It goes into a link to whatever PHP file you're using to return the > contents of the .PDF. It would work in th

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
It goes into a link to whatever PHP file you're using to return the contents of the .PDF. It would work in the address field in the browser, too. I don't see why you're typing http://localhost/test.php/whatever.pdf into the address field since that isn't the URL I told you to use. I said: h

Re: [PHP-WIN] Windows crashes

2002-02-26 Thread DL Neil
Aleborg, > I'm using PHP 4.1.1 on a Win2K server with IIS5, Dual PIII 933Mhz, 1,5GB > SDRam. > > If I try to use the PHP4ISAPI.DLL and run php.info(), then I get a > bluescreen and something abut NDIS.SYS What networking configuration do you have set up on that machine? =dn -- PHP Windows

Re: [PHP-WIN] Method get for Windows ME and PWS w/PHP-4.1.1

2002-02-26 Thread DL Neil
Frank, > I am just trying to pass a value from one page to the > next, nothing complicated. In the the addess bar I see > the string pass, but on the page it is blank? Any > Ideas? Oh, everything is in lower case. > > My code is like this for page test.html: > > > > > > > > then for the test

[PHP-WIN] pathinfo();

2002-02-26 Thread Ross Fleming
Hello folks I've got a problem that really requires me to use the pathinfo() function. Unfortunately it is only available with PHP 4.0.3 (from memory) and the servers I'm working on are only version 3. Before I go and write my own version of pathinfo, does anyone have a solution for it? Cheers

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
Is the example below meant to go into a link ()? Or is it meant for the address field on the browser? If I type "http://localhost/test.php/whatever.pdf"; in the address field I get a server error which I was also expecting to be hornest. I don't see how that should work. "Mike Flynn" <[EMAIL PRO

RE: [PHP-WIN] CHMOD

2002-02-26 Thread Mike Eynon
Remember that the php chmod call requires an octel number for the permissions flag. You can do this by putting a zero ('0') infront of the parm. ex. chmod("foofile",0777); // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave. // Santa Cruz, CA 95062 // 831.588.2388 -Original Message--

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
Use a slash and then the filename.pdf. So http://whatever/stuff.php?options/desired_filename.pdf would do it. It's ok that you aren't linking to a real file, it doesn't matter. Just the file that you want the .pdf document to be known as to the user's browser. At 05:07 PM 2/26/2002 +0100, S

RE: [PHP-WIN] CHMOD

2002-02-26 Thread Svensson, B.A.T. (HKG)
>i was reading a php book and it says on UNIX machines i must change the CHMOD >to 666 or 777, how do i do this? i never heard of the CHMOD. thanks. Nobody wants in general to chomd a file 777!!! Let me explain why: chmod is an abbreviation of CHange MODe. The mode, or more specify the access

[PHP-WIN] Windows crashes

2002-02-26 Thread Aleborg
I'm using PHP 4.1.1 on a Win2K server with IIS5, Dual PIII 933Mhz, 1,5GB SDRam. If I try to use the PHP4ISAPI.DLL and run php.info(), then I get a bluescreen and something abut NDIS.SYS Anyone knows why? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP-WIN] Re: PHP + ODBC

2002-02-26 Thread Sviss Cobazor
I'm not sure this will help you but when I had to make some odbc_connect I had major trouble too. The username and password for the db I was trying to reach were both = "". It turned out that this was the problem in my case. I had to create a username and a password other than "" to make it work.

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
Hmm in my case there is no file to link to. The pdf document doesn't exist, it's generated on-the-fly. Take this example: test.php contains: http://localhost/whatever.html";; topdf($url); ?> So the idea was to write the address "http://localhost/test.php"; and the browser would load Acrobat Re

[PHP-WIN] Method get for Windows ME and PWS w/PHP-4.1.1

2002-02-26 Thread Frank Tudor
Newby question: I am just trying to pass a value from one page to the next, nothing complicated. In the the addess bar I see the string pass, but on the page it is blank? Any Ideas? Oh, everything is in lower case. My code is like this for page test.html: then for the test.php page I ha

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
Yes, this has been documented extensively on the web. The fix is to put a pdf extension at the end of the url call to your script that is returning the pdf file. You can use an arbitrary filename ending in .pdf, or you can use the actual filename of the .pdf file, which would be preferable so

[PHP-WIN] Help, fsockopen() and binary data

2002-02-26 Thread Broeker, Lance
To whom it may concern, I am seeking insight to problem that I am having with the fsockopen() function. I open the file pointer with the function without a problem. I am expecting binary information to come back. All of the binary information is being read when I know file size in advance.

RE: [PHP-WIN] HTTP_REFERER

2002-02-26 Thread Collins, Robert
Yes its just Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: "Spychala, Wojciech" [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 2:15 AM To: [EMAIL PROTECTED] Subject: [PHP-WI

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
However, sigh, IE seems to have a bug so that Acrobat Reader is only loaded when the URL ends with ".pdf" aka IE doesn't give a rats about the header sent to it. Using Telnet I can see that the pdf page is returned correctly but when using IE I still get a blank page due to the fact that no (pre-g

[PHP-WIN] Bad char Output...

2002-02-26 Thread -HONU-
I'm working in an Dos Box under Win2k. When i try to print é, è, ù ...characters ... The output is Hùbù... Someone can help ... ? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP + ODBC

2002-02-26 Thread Sebastian Timocea
Hello! I am having a really ugly problem here and I hope somebody can help me with this. I work on - Windows 2000 Advanced Server - PHP for Windows and IIS (it works ok) I have a DBTest.mdb database (Access 2000) and an ODBC connection to this database: System DSN="DBTest", no user and password

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
It seemed that it was Putty itself that wouldn't work for me (don't ask me why). So I used Telnet and it worked. After having my advicor (this is a education project) visiting me we found out why that passthru() function didn't work. It's very simple really, passthru() doesn't allow spaces in path

[PHP-WIN] PGP, again :(

2002-02-26 Thread Paul J. Smith
Thought I'd solved this one, but it appears not. Has anyone got PGP to work with PHP (windows)?? All I'm trying to do is run a shell command to get PGP to sign a text file. I could not shell at all to 2.6, but upgraded PGP to 6.5 then at least PGP was running, but it can't find any of the keys