php-windows Digest 27 Aug 2002 15:56:02 -0000 Issue 1310

Topics (messages 15526 through 15533):

Re: "Headers already sent" error message
        15526 by: Deepak Kumar Vasudevan

Re: Virtual Remote Directories and IIS
        15527 by: Tracker1

Re: PHP with IIS
        15528 by: Saci

include() and file() on remote files
        15529 by: Rudolf Staribacher
        15530 by: Ross Fleming

PHP MSSQL versions
        15531 by: Bob Hiller -1

use VB DLL  (COM object) with php
        15532 by: Franky

Connecting to FileMaker Server 5?
        15533 by: Andrew Ziem

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]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

Try adding 

ob_start()

as the first line of your script. This will turn on Output Buffering for that script 
alone.


-- 
==========================================
The most successful method of programming is to begin a program as
simply as possible, test it, and then add to the program until it
performs the required job."              -- PDP8 handbook, Pg 9-64

Our contact numbers have changed!
Phone: +91(44) 819 -1334, -1336, -1337, -1338, 819 3335
Fax: +91(44) 819 2339

Deepak Kumar Vasudevan, Software Engineer
CS Software Solutions Pvt. Ltd.
425 Pantheon Road, Egmore, Chennai 600 008, INDIA
URL: www.cssolutionsinc.com 
==========================================
"Tracker1" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]...
> turn buffering on in your php.ini file...
> 
> Odds are the "logic" is sending some text to the page, before
> you want to add the header information.
> 
> --
> =======================================================================
> Michael J. Ryan  -  tracker1 at theroughnecks dot com
> Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
> =======================================================================
> Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
> 
> 
> "R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> > I'm having a bit of trouble understanding why I'm getting a "Cannot add
> > header information; Headers already sent" error message.  I have several
> > pages where I'm using the headers with no problems...but this single
> > page I keep getting the error.  The only real difference is that this
> > page has a bunch of logic checks before it calls the header command.
> >
> > What is the cause of this error?  what sort of things should I check
> > for?
> >
> > I'm lost,
> > Ron
> --- Synchronet NewsLink v1.00 Beta
>  *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
--- End Message ---
--- Begin Message ---
Probably your IUSR_MACHINENAME doesn't exist on the other machine, or
doesn't have read/write/execute on the remote system.. usually when
you connect to a remove fs for a virtual folder, it will request a
username and password for iis to use for authentication...

--
=======================================================================
Michael J. Ryan  -  tracker1 at theroughnecks dot com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


"Jeremy Johnson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've just installed PHP 4.2.2 as an ISAPI filter on IIS 5.0.
>
> PHP scripts local to the server are executing without complaint, however
> when executed from a virtual remote directory my PHP test script (<?php
> phpinfo();?>) always returns the following error:
>
> Warning: Failed opening '(network path of vrd)\test.php' for inclusion
> (include_path='.') in Unknown on line 0
>
> HTML files in the same virtual remote directorys are accessable.  phpinfo()
> reports that virtual directory support is enabled.
>
> any suggestions?
>
> thanks!!!!
> .:j:.
--- Synchronet 3.10j-Win32 NewsLink 1.29
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
--- End Message ---
--- Begin Message ---
look at you windows directory for a fille called php.ini

open with a text editor ( notepad for example) and set the directory ant
extension you want like this ( put the ones you want)

; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions\
extension=php_interbase.dll
extension=php_gd2.dll


Regards

Saci



--- End Message ---
--- Begin Message ---
the include function does not work on Win32 platforms on remote files
(http). I faced also problems with nested!!! file function on remote files
(http). Does anybody know, if the lack of remote access of include() and
file() could also occure on other OS?

thx,
Rudolf



--- End Message ---
--- Begin Message ---
So far as I know, Linux etc does not have any problem with a statement such
as include("http://www.yahoo.com";);

However it is fairly simple to work around in Windows, I do it all the time.
The following code will produce the same output:
<?
$fp = @fopen("http://www.yahoo.com","r";);

while(!feof($fp) && $fp) {
  echo fread($fp, 4096);
}
@fclose($fp);
?>

HTH

Ross

> -----Original Message-----
> From: Rudolf Staribacher [mailto:[EMAIL PROTECTED]]
> Sent: 26 August 2002 22:16
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] include() and file() on remote files
>
>
> the include function does not work on Win32 platforms on remote files
> (http). I faced also problems with nested!!! file function on remote files
> (http). Does anybody know, if the lack of remote access of include() and
> file() could also occure on other OS?
>
> thx,
> Rudolf
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

--- End Message ---
--- Begin Message ---
I download php_mssql.dll and added it to php.ini.

When I open any php page I get this error

MSSQL Unable to initialize module

Module Compiled with Debug=0 Thread Safety=1 Module API=20020429

PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901

These option must match

What do I need to do to make the Module API's match.

Thanks,
Bob Hiller




--- End Message ---
--- Begin Message ---

I try to use a simple COM write in VB ...
======================================================
Option Explicit

Dim sc As ScriptingContext


Sub OnStartPage(AspSC As ScriptingContext)
    Set sc = AspSC

End Sub

Public Function ecrire()
    sc.Response.Write "Voici mon super texte"
End Function
=======================================================

...but it doesn't work!  Is run in ASP put when i try in php the parameter
is not good.  I supose is the ScriptingContext variable but I don't know is
value?!

Somebody can help me Please?


Franky
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Can someone recommend a method for connecting to FileMaker Server 5?

This product doesn't seem to support XML (but later versions of the FMS do)
or ODBC (I can't find drivers).  Though made by the same company, it's a
different product than FileMaker Pro.

--
Andrew Ziem, Admin. Asst.
The Springs Rescue Mission
+1 (719) 632-1822
http://www.springsrescuemission.org


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 08/02/2002


--- End Message ---

Reply via email to