[PHP-WIN] jpeg images

2003-01-14 Thread Pat Johnston
Hi all I'm using PHP 4.1.2. I want to resize jpegs on the fly, but the functions ImageJpeg and ImageCreateFromJpeg don't work. >From what I read I need GD and then compile it with jpeg-6b. I know nothing about GD and its libraries nor do I have a C compiler. There's not much in the GD manual or P

[PHP-WIN] How to allow ~user/xxx.php on Windows XP

2003-01-14 Thread Gang Wang
Hello, everyone: I am new to PHP on windows. I could not get http://localhost/~username/my.php work on Windows XP. Here is what I have: Windows XP Pro + Appache 2.0.40 for Windows + Php 4.3 I followed tutorial posted at http://internetmaster.com/installtutorial/. It works fine when .php file is i

[PHP-WIN] Re: Good SMPT mail script?

2003-01-14 Thread Manuel Lemos
Hello, On 01/14/2003 06:17 PM, Nicole wrote: Does anyone have a good smtp mail script to handle text and/or HTML messages? I found phpmailer which I'm having some trouble with. mail() isn't enough. I need to do smtp mail and I just am not strong enough yet in generating mail via smtp in PHP oth

RE: [PHP-WIN] convert asp to php

2003-01-14 Thread Sean Malloy
Have a look at the ob_* functions. But to turn output buffering off (I think it is now on by default in 4.3.0 installs) right at the top of the page: ob_end_clean(); Response.Buffer = false ob_end_clean(); Response.Buffer = true ob_start(); Response.Flush ob_flush(); -Original Message---

[PHP-WIN] convert asp to php

2003-01-14 Thread Ha Duy Thien
Dear php gurus I have a simple question. Now I am incharge of converting asp pages into php pages. in asp page they have this command : Response.Buffer=false I would like to know in PHP does it have something like that to control bufering php pages? Or could you show me the document about this

RE: [PHP-WIN] PEAR bootstrapper

2003-01-14 Thread Mikey
> PHP 4.3.0/Win32 misses a PEAR installer/bootstrapper. Attached > you'll find a > .bat file which does the job. > (remove the '.txt' from the filename and copy to c:\php. Then, > run 'go-pear' > from 'c:\php'). > > (then you'll get some errors in the installed pear.bat, but that's another > issue.

[PHP-WIN] Re: Good SMPT mail script?

2003-01-14 Thread Christoph Grottolo
Hi [EMAIL PROTECTED] (Nicole) schrieb: >Does anyone have a good smtp mail script to handle text and/or HTML >messages? Maybe you can try http://phpclasses.php-start.de/browse.html/package/14.html Christoph -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

php-windows Digest 14 Jan 2003 20:27:08 -0000 Issue 1535

2003-01-14 Thread php-windows-digest-help
php-windows Digest 14 Jan 2003 20:27:08 - Issue 1535 Topics (messages 17854 through 17865): Re: Ping, Script ends before it's finished 17854 by: Torben Dehn Looking for something simple 17855 by: Asendorf, John Windows Service interactions with PHP 17856 by: Paul Me

[PHP-WIN] Good SMPT mail script?

2003-01-14 Thread Nicole
Does anyone have a good smtp mail script to handle text and/or HTML messages? I found phpmailer which I'm having some trouble with. mail() isn't enough. I need to do smtp mail and I just am not strong enough yet in generating mail via smtp in PHP other than just using the mail() function. Any go

Re: [PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Frank M. Kromann
Or you can use the iisfunc extension (not documentented), available from PECL or my site (http://kromann.info/php4.php) the functions int iis_stop_service(string service) int iis_start_service(string service) int iis_get_service_state(string service) - Frank > net start outputs a list of *runni

Re: [PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Dash McElroy
There is a tool I have installed on my machine - I believe it came with the Windows 2000 Resource kit (of sorts... obtained via TechNet) that gives a lot more data. It's called 'netsvc'. Here's what it outputs: C:\>netsvc Controls and displays the status of services. NETSVC servicename \\compute

[PHP-WIN] PHP Errors

2003-01-14 Thread Matthew Clark
Greetings all: I am quite sure I have PHP installed and running properly, but when I try to run some PHP scripts, I get "failed to create stream: No such file or directory in blah blah blah" errors. Any idea what could cause this? I am leaving out the script details because 1) it happens to sev

Re: [PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Ignatius Reilly
net start outputs a list of *running* services. Or do you mean other service status information (automatic/ manual), etc.? I don't know. Not with the DOS net tools, AFAI. Ignatius - Original Message - From: "Paul Menard" <[EMAIL PROTECTED]> To:

Re: [PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Paul Menard
Yes this does work but how do I simply destermine the status of the service without actually starting it? Obviosly is the service is running and you call --- Ignatius Reilly <[EMAIL PROTECTED]> wrote: > You can access the command line with the backtick > operator: > > > // restart the server

RE: [PHP-WIN] Installation problems =(

2003-01-14 Thread Mikey
> Bobo, > > Perhaps your zlib issue could be due to an old php_zlib.php dll file. > > I would definitely upgrade your MySQL to at least 4.0.8, if you're set on > 4.0. There were a few nasty bugs in the older versions (4.0.4 in > particular bugger'd me up big time). > > -Dash According to the Chang

Re: [PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Ignatius Reilly
You can access the command line with the backtick operator: "file_to_parse.txt"` ; ?> En espérant que cela aide Ignatius - Original Message - From: "Paul Menard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 5:1

Re: [PHP-WIN] secure ldap connections

2003-01-14 Thread Daniel Fisher
On Tue, 14 Jan 2003 08:37:44 +0200 Leon <[EMAIL PROTECTED]> wrote: > Hi Daniel > > Very important: TLS is NOT SSL The start TLS is almost guaranteed not to > work for secure layer communication to your LDAP server. (You do need two > dll files in your win\sys32 directory though) > We're usi

[PHP-WIN] Windows Service interactions with PHP

2003-01-14 Thread Paul Menard
All, I' converting a Web site from ASP to PHP. One of the last issues I am working on is converting the ASP page that will show the status of a specific Service. This page also allows the Admin level user to stop/start the service. What is the 'best' way to code this in PHP and/or Perl? Paul

[PHP-WIN] Looking for something simple

2003-01-14 Thread Asendorf, John
I miss the old days of PHP when all you could find were little snippets of code instead of "huge suites for working with everything"... I'm looking for a simple script that just writes html. ALl I want is something that will look at the fields in a MySQL database and spits out a form that can be

[PHP-WIN] Re: Ping, Script ends before it's finished

2003-01-14 Thread Torben Dehn
Hello again ! Sorry about this but it was a server problem, the web server did not allow the script to run for more than 300 sec. I upped that number and now everything works as it was supposed to. "J.Veenhuijsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > S

php-windows Digest 14 Jan 2003 08:12:07 -0000 Issue 1534

2003-01-14 Thread php-windows-digest-help
php-windows Digest 14 Jan 2003 08:12:07 - Issue 1534 Topics (messages 17831 through 17853): secure ldap connections 17831 by: Daniel Fisher 17851 by: Leon Re: form question 17832 by: Joseph W. Goff 17836 by: Anthony Ritter 17852 by: Uttam Re: Subject

Re: [PHP-WIN] initialize variables

2003-01-14 Thread Per Lundberg
Wade wrote: $total= 0; echo 'Your order was for the following:'; echo 'Entree: "' . $_POST . $Course1 . '"'; echo 'Dessert: "' . $_POST . $ListBox2 . '"'; foreach (array($Course1, $ListBox2) as $val) { if (ereg('[0-9]+', $val, $regs)) $total += $regs[0];