php-windows Digest 21 Sep 2004 13:10:11 -0000 Issue 2404

Topics (messages 24603 through 24610):

Re: php-win.exe - when to use
        24603 by: Andrew Kreps
        24604 by: Trent DeCamp
        24605 by: Trent DeCamp
        24607 by: Andrew Kreps

$_SERVER['ALL_HTTP'] only populated sometimes
        24606 by: Dietrich Ayala
        24608 by: Mikey

Re: INCLUDE ASP does Not Work! for PHP - 4.3.4
        24609 by: Mikey
        24610 by: Gryffyn, Trevor

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 ---
On Mon, 20 Sep 2004 17:11:42 -0700, Trent DeCamp
<[EMAIL PROTECTED]> wrote:
> c:\php\php.exe c:\phpfiles\phpfile.php
> 
> Instead of php.exe, I've also tried php-win.exe
> 
> Thanks for any help!

I'm working off of memory here, but isn't there a php-cli.exe included
in the Windows distribution of PHP5?  I seem to remember that from my
PHP5 install at home.  If it's there, give that a shot and see if you
get any better results.

--- End Message ---
--- Begin Message ---
I'm searching and only see in the zip distribution:

php.exe
php-cgi.exe
php-win.exe

Thanks

"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, 20 Sep 2004 17:11:42 -0700, Trent DeCamp
> <[EMAIL PROTECTED]> wrote:
> > c:\php\php.exe c:\phpfiles\phpfile.php
> >
> > Instead of php.exe, I've also tried php-win.exe
> >
> > Thanks for any help!
>
> I'm working off of memory here, but isn't there a php-cli.exe included
> in the Windows distribution of PHP5?  I seem to remember that from my
> PHP5 install at home.  If it's there, give that a shot and see if you
> get any better results.

--- End Message ---
--- Begin Message ---
Instead of 'at', I'm using Windows Scheduler (Control Panel | Scheduled
Tasks) and it appears to be working again, but if anyone has information
about this, I'd love to hear it. Smells like some sort of permissions thing
to me?

TIA

"Trent Decamp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm searching and only see in the zip distribution:
>
> php.exe
> php-cgi.exe
> php-win.exe
>
> Thanks
>
> "Andrew Kreps" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Mon, 20 Sep 2004 17:11:42 -0700, Trent DeCamp
> > <[EMAIL PROTECTED]> wrote:
> > > c:\php\php.exe c:\phpfiles\phpfile.php
> > >
> > > Instead of php.exe, I've also tried php-win.exe
> > >
> > > Thanks for any help!
> >
> > I'm working off of memory here, but isn't there a php-cli.exe included
> > in the Windows distribution of PHP5?  I seem to remember that from my
> > PHP5 install at home.  If it's there, give that a shot and see if you
> > get any better results.


--- End Message ---
--- Begin Message ---
On Mon, 20 Sep 2004 18:44:39 -0700, Trent DeCamp
<[EMAIL PROTECTED]> wrote:
> I'm searching and only see in the zip distribution:
> 
> php.exe
> php-cgi.exe
> php-win.exe
> 

My mistake, it must have been php-cgi that I was thinking of.  I'm
glad it's working though!  I wish I could help shed some light on the
root cause.

--- End Message ---
--- Begin Message --- $_SERVER['ALL_HTTP'] is available on some of my windows boxes, but not others. anyone know what drives the availability of this?

thanks,

dietrich
--- End Message ---
--- Begin Message ---
"Dietrich Ayala" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> $_SERVER['ALL_HTTP'] is available on some of my windows boxes, but not
> others. anyone know what drives the availability of this?
>
> thanks,
>
> dietrich

Hi,

I did a quick search in the PHP manual and found no reference to
$_SERVER['ALL_HTTP'] whatsoever.  I would hazard a guess that the web server
you are using determines the availability of server variables - are there
any differences between your machines?

HTH,

Mikey

--- End Message ---
--- Begin Message ---
virtual is an Apache specific function, and AFAIK they haven't put ASP
support into Apache yet.  Let's hope they never do ;-)

----- Original Message ----- 
From: "Dvdmandt" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 9:51 PM
Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4


> I'd lookup virtual()...
>
> -- 
> // DvDmanDT
> MSN: dvdmandt�hotmail.com
> Mail: dvdmandt�telia.com
> "Trevor Gryffyn" <[EMAIL PROTECTED]> skrev i meddelandet
>
news:[EMAIL PROTECTED]
> The problem is that the web server looks at the file type and determines
> what to do with it before it sends anything to the web browser.
>
> Your .PHP file is being sent to a PHP interpreter which outputs certain
> things that get sent to the browser.  What's going to happen in this
> case is that ASP code is going to be inserted, sent to the PHP
> interpreter and nothing's going to happen....  Or if you have your PHP
> set up to see <% %> as PHP, then you'll probably get some kind of
> unknown function error.
>
> The reason the .HTM file works ok is that HTML is passed straight
> through the PHP interpreter to the browser.
>
>
> What you'd have to do is maybe use an IFRAME (HTML) and put the poll.asp
> in that so the web server is pulling a .ASP file without anything else,
> therefore interpreting it as an ASP file.
>
> Does any of that make sense?
>
> -TG
>
> > -----Original Message-----
> > From: Raj Gopal [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 16, 2004 5:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> >
> >
> > Hi All,
> >
> >  I have included a ASP file in a PHP script as follows
> >
> >  <? include 'poll.asp' ?>
> >
> > and it does not work!
> >
> > whereas <? include 'AA.htm' ?> works fine
> >
> > Appreciate your help for any workarounds or Syntax issues
> >
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >

--- End Message ---
--- Begin Message ---
I believe there's ChiliSoftASP or something that'll do ASP on Apache.

-TG

> -----Original Message-----
> From: Mikey [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 21, 2004 6:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> 
> 
> virtual is an Apache specific function, and AFAIK they haven't put ASP
> support into Apache yet.  Let's hope they never do ;-)
> 
> ----- Original Message ----- 
> From: "Dvdmandt" <[EMAIL PROTECTED]>
> Newsgroups: php.windows
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 18, 2004 9:51 PM
> Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> 
> 
> > I'd lookup virtual()...
> >
> > -- 
> > // DvDmanDT
> > MSN: dvdmandt�hotmail.com
> > Mail: dvdmandt�telia.com
> > "Trevor Gryffyn" <[EMAIL PROTECTED]> skrev i meddelandet
> >
> news:[EMAIL PROTECTED]
> t.aircargo.com...
> > The problem is that the web server looks at the file type 
> and determines
> > what to do with it before it sends anything to the web browser.
> >
> > Your .PHP file is being sent to a PHP interpreter which 
> outputs certain
> > things that get sent to the browser.  What's going to happen in this
> > case is that ASP code is going to be inserted, sent to the PHP
> > interpreter and nothing's going to happen....  Or if you 
> have your PHP
> > set up to see <% %> as PHP, then you'll probably get some kind of
> > unknown function error.
> >
> > The reason the .HTM file works ok is that HTML is passed straight
> > through the PHP interpreter to the browser.
> >
> >
> > What you'd have to do is maybe use an IFRAME (HTML) and put 
> the poll.asp
> > in that so the web server is pulling a .ASP file without 
> anything else,
> > therefore interpreting it as an ASP file.
> >
> > Does any of that make sense?
> >
> > -TG
> >
> > > -----Original Message-----
> > > From: Raj Gopal [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 16, 2004 5:19 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> > >
> > >
> > > Hi All,
> > >
> > >  I have included a ASP file in a PHP script as follows
> > >
> > >  <? include 'poll.asp' ?>
> > >
> > > and it does not work!
> > >
> > > whereas <? include 'AA.htm' ?> works fine
> > >
> > > Appreciate your help for any workarounds or Syntax issues
> > >
> > > -- 
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---

Reply via email to