php-windows Digest 15 Apr 2004 09:26:51 -0000 Issue 2209

Topics (messages 23440 through 23447):

fsockopen problem with Windows 2003 Server.
        23440 by: Alain.Orset

changing permission of files (php+windows)
        23441 by: ffox

REST Tutorial
        23442 by: Belinda Valk
        23443 by: Svensson, B.A.T. (HKG)
        23444 by: David Felton

pls unsubscribe me from this group
        23445 by: kalai mani

Passing the session  question
        23446 by: Jim MacDiarmid

Re: PHP Site unix to Windows Migration errors
        23447 by: David Felton

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 have two scripts running on two differents environments:

In the development environment, I'm using Windows XP professional with
Apache 2.0.48 and PHP 4.3.4.
The first script performs a Fsockopen to the second script using an url
starting with localhost. It is working fine.
Than the second script performs a Fsockopen to another server in the same
subnet. It is working fine.

In the testing environment, I'm using Windows 2003 Server with Apache 2.0.48
and PHP 4.3.4.
The scripts are identicals than the one on the development environment.
The first script performs a Fsockopen to the second script using an url
starting with localhost. It is working fine.
Than the second script performs a Fsockopen to another server in the same
subnet. It is not working and we can an answer "could not connect".

The testing environment is in our DMZ (therefore using the same subnet). I
spoke to our Firewall guru, and he is sure that because the two machines are
in the same subnet, the firewall is not involved.

Does anyone have an idea? May be a service has not been started and should
be?
Any new direction welcomes?

Alain


*******************************************************************************************************************
Premium Credit Limited
Main Switchboard   :01372-748833
Fax                          :01372-748811
This E-mail message together with any attachments transmitted with it is intended only 
for use by its
addressee and may contain information which is privileged and confidential, disclosure 
of which may
be prohibited by law.  If you are not (or have not been authorised by) the addressee, 
you may not
copy, forward, disclose or use any part of this message or its attachments.  If you 
have received this
message in error, please notify the sender by return E-mail and delete it from your 
system.  Premium
Credit Limited and its associate group of companies do not endorse opinions and 
information in this
message and its attachments which do not relate to the official business of Premium 
Credit Limited
and do not accept liability for errors or omissions arising from the presence of 
computer viruses or
from interception/corruption in the course of transmission.
********************************************************************************************************************

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

I have a problem. I'm running an Intranet environment in PHP on IIS.

I'm uploading files through a php-script. The files are only readable when
I'm logged-on in my windows account. Other windows-users can't access or
read the files. How can I change the permission of those files - using my
script - so that other users can access or read the them as well?

Thanks in advance,
ffox

--- End Message ---
--- Begin Message ---
For part of my degree, I have written a tutorial for creating a web services system 
using REST (Representational State Transfer) on a windows/php/apache system. My tutor 
has recommended I "publish" it, and suggested php.net may be intereseted. Does anyone 
have any idea what the best approach I could take for this would be?

Cheers
Belinda

--- End Message ---
--- Begin Message ---
Sourceforge maybe?

On Wed, 2004-04-14 at 12:55, Belinda Valk wrote:
> For part of my degree, I have written a tutorial for creating a web
> services system using REST (Representational State Transfer) on a
> windows/php/apache system. My tutor has recommended I "publish" it, and
> suggested php.net may be intereseted. Does anyone have any idea what the
> best approach I could take for this would be?
> 
> Cheers
> Belinda

--- End Message ---
--- Begin Message ---
Or maybe as a tutorial on devarticles, devshed, codewalkers or phpbuilder

-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: 14 April 2004 12:55
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] REST Tutorial


Sourceforge maybe?

On Wed, 2004-04-14 at 12:55, Belinda Valk wrote:
> For part of my degree, I have written a tutorial for creating a web
> services system using REST (Representational State Transfer) on a
> windows/php/apache system. My tutor has recommended I "publish" it, and
> suggested php.net may be intereseted. Does anyone have any idea what the
> best approach I could take for this would be?
> 
> Cheers
> Belinda

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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************

--- End Message ---
--- Begin Message ---
hello friends,

pls unsubscribe from this group.

thanking you for ur kind support for this group.

yours,
kalai



        
                
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

--- End Message ---
--- Begin Message ---
Why is it that the following scenerio will pass the session id....

/* SessionStart.php */
<?php Session_Start(); ?>


/* Page1.php */ 
<?php include('SessionStart.php'); ?>

Echo SID;

/* Page2.php */ 
<?php include('SessionStart.php'); ?>

Echo SID;

However the following scenerio will not pass the session id.... Or
atleast 
I can't seem to get it to work.

/* Page1.php */ 
<?php Session_Start(); ?>

Echo SID;

/* Page2.php */ 
<?php Session_Start(); ?>

Echo SID;

Any ideas?

Thanks,
Jim

--- End Message ---
--- Begin Message ---
Yep that's spot on.

-----Original Message-----
From: Phil Driscoll [mailto:[EMAIL PROTECTED]
Sent: 13 April 2004 8:52
To: Stan Shaw; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP Site unix to Windows Migration errors


On Tuesday 13 April 2004 20:29, Stan Shaw wrote:
> Thank you, that eliminated the error message.  Now to figure out why the
> pages aren't working.....
>
> Not to be overly critical, but isn't using variables or constants that
> haven't been initialized a poor coding practice?
Yes! For debugging purposes, error reporting should be set to E_ALL. Once
you 
have found and fixed all the actual problems, on a production machine you 
should edit your php.ini so you dont display errors, and instead send them
to 
a log file.

Cheers
-- 
Phil Driscoll

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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************

--- End Message ---

Reply via email to