php-windows Digest 27 Aug 2002 02:31:26 -0000 Issue 1309

Topics (messages 15520 through 15525):

Re: php help
        15520 by: Rich Gray

Seeking Information on Writing Extensions for Windows
        15521 by: Bruce Bailey

Re: re-initiating a sesion
        15522 by: David Hollister

Re: php pages appear only on server machine, not in oth ers computers with IIS
        15523 by: David Hollister
        15525 by: H Marc Bower

Virtual Remote Directories and IIS
        15524 by: Jeremy Johnson

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 ---
I presume you have v4.2 of PHP installed...

Globals are off by default so use $_POST['id'] in course.php or set
register_globals to on in php.ini (security implications however)

-----Original Message-----
From: mathew jose seby [mailto:[EMAIL PROTECTED]]
Sent: 23 August 2002 23:23
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] php help




sir,

the following code i used to pass an id from one page to next but
it is not working,can you please help me.

(i am working on windows 98 os,apache server)

application.html::::::::::

<html>
<body>
<form action=course.php method=post>
<BR> Enter an id num:<input type=text name=id size=4><br>
<input type=submit value="Send Id!">
</form>
</body>
</html>

---------------------------------------------------
course.php::::::::::::::
<html>
<body>
<?
   print "You entered: " . $id . "<br>";
?>
</body>
</html>
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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

Are there any good books (or other reference materials) on writing extensions in the 
Windows environment?  I notice that there are tools for UNIX-based extension 
development (i.e. ext_skel), but none for Windows.

Thanks,

Bruce

Bruce Bailey
2525 SW First Avenue
Portland, OR 97201

(503) 294-4206
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
It was my understanding that by setting a cookie, the returning visitor
should be automatically reconnected to viable (non-expired) session
information with the use of session_start().  IOW, the session_start not
only starts a session, but it also reconnects to existing session info.  I
don't think you need to worry about saving the session ID yourself; I
believe PHP handles that.  As long as the cookie is not deleted and the
session info has not been purged (session configuration item), the latest
session info should be recognized.    

Please correct me if I'm wrong on any of that.  

Dave

-----Original Message-----
From: Kieran Hall [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 25, 2002 6:58 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] re-initiating a sesion

I know how to start the session, that isn't the problem.  I want the
session to continue when the user returns.  My question is really:
Should I save the session Id in a cookie?  And if I should, the browser
seems to need refreshing (IE6).

Kieran Hall

-----Original Message-----
From: Peter Houchin [mailto:[EMAIL PROTECTED]]
Sent: 26 August 2002 00:22
To: Kieran Hall; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] re-initiating a sesion

on the top of every pages that you need the sessions make sure you have
session_start() put this before any html out put and you shouldn't have
any
problems

> -----Original Message-----
> From: Kieran Hall [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 26 August 2002 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] re-initiating a sesion
>
>
> I have been playing with sessions on my web site and have tried to
> reinitiate a session by saving the session Id in a cookie and checking
> for it at the top of the page.  However, this seems to fail.  I
> discovered also, that by refreshing the browser the sessions starts
> (from the Id in the cookie).  Any thoughts on the most effective way
to
> do this?
>
> Kieran Hall
>


--
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 ---
--- Begin Message ---
Check the Application Settings\Execute Permissions.  Otherwise try playing
with Integrated NT authentication or anonymous access settings.  

-----Original Message-----
From: Saci [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 4:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] php pages appear only on server machine, not in others
computers with IIS

On my develop machine , who is the where IIS server is running everything
works perfect, all html and php pages works ok.



If I try to use another computer on the same network to browse my pages, I
receive only the html pages and the message CGI ERROR while trying to open a
php page.



What I need to do in IIS to permit others computers on my network to also
run scripts not only my local machine?



My php directory is a subdirectory of wwwroot something like this



D:\Inetpub\wwwroot\sample\php



IIS5












--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I know it isn't supposed to be necessary, but when using the CGI version of
php I have had to reboot the server (not just start/stop services) before
when adding php to a new site.  Give that a try.

(V)

----- Original Message -----
From: "David Hollister" <[EMAIL PROTECTED]>
To: "'Saci'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 2:07 PM
Subject: RE: [PHP-WIN] php pages appear only on server machine, not in
others computers with IIS


> Check the Application Settings\Execute Permissions.  Otherwise try playing
> with Integrated NT authentication or anonymous access settings.
>
> -----Original Message-----
> From: Saci [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 4:15 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] php pages appear only on server machine, not in others
> computers with IIS
>
> On my develop machine , who is the where IIS server is running everything
> works perfect, all html and php pages works ok.
>
>
>
> If I try to use another computer on the same network to browse my pages, I
> receive only the html pages and the message CGI ERROR while trying to open
a
> php page.
>
>
>
> What I need to do in IIS to permit others computers on my network to also
> run scripts not only my local machine?
>
>
>
> My php directory is a subdirectory of wwwroot something like this
>
>
>
> D:\Inetpub\wwwroot\sample\php
>
>
>
> IIS5



--- End Message ---
--- Begin Message ---
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:.
--- End Message ---

Reply via email to