php-windows Digest 14 Jan 2004 04:11:16 -0000 Issue 2079
Topics (messages 22568 through 22572):
email tela kami terima
22568 by: Svensson, B.A.T. (HKG)
Just checking....
22569 by: Svensson, B.A.T. (HKG)
22570 by: Svensson, B.A.T. (HKG)
Re: Session Variables Problem (Missing)
22571 by: hubo
Re: Creating a socket on PHP 4/WinXP
22572 by: Christopher Edwards
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 ---
Wasn't it a year ago or so, that another brillinat person also
had this kind of auto-reply set for some few month or so?
-----Original Message-----
From: ridwan ari kurnia
To: Svensson, B.A.T. (HKG)
Sent: 2004-01-13 08:16
Subject: email tela kami terima (Re: Subject: RE: [PHP-WIN] Re: Session
Variables Problem (Missing))
terimakasih telah mengirim email kepada kami
Thank you for your email.
http://www.studionovember.com
--- End Message ---
--- Begin Message ---
Just checking weather or not I get these "tela kami terima" bounces anymore.
--- End Message ---
--- Begin Message ---
Seams like I do not. Hehe.... >-)
-----Original Message-----
From: Svensson, B.A.T. (HKG)
To: '[EMAIL PROTECTED]'
Sent: 2004-01-13 09:22
Subject: [PHP-WIN] Just checking....
Just checking weather or not I get these "tela kami terima" bounces
anymore.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Now it is clear that the problem is in your own PHP setting. In your php.ini
file there is a section entitled as "session". Have you changed anything
there? You might want to post this section here.
Since PHP saves the session information to a directory it is important to be
sure that the directory exists and is writeble for the PHP processes.
"Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Thanks Hubo,
> When I make a page with that code ... it always says 'New Session'. No
> matter what I do the 'Session Variable Saved' never shows up.
>
> Brad
>
>
> "Hubo" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > The code shown below is a complete php script for you. Save these lines
> into
> > a file, for example, 1.php, and try to visit it from a browser.
> >
> > "Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > news:[EMAIL PROTECTED]
> > > Thanks Hubo,
> > >
> > > Where would I nsert that coding? The coding should be fine though as
the
> > > page works flawlessly on a Linux Server?
> > >
> > > Brad
> > >
> > >
> > > "Hubo" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > > To be sure that there is no coding error, just try this simple code:
> > > > '============ Begin ==============
> > > > <?
> > > > session_start();
> > > > if (isset($_SESSION["test"])){
> > > > echo $_SESSION["test"];
> > > > }
> > > > else {
> > > > echo "new session";
> > > > $_SESSION["test"]="session variable saved";
> > > > }
> > > > ?>
> > > > '============== End ==============
> > > > I have got no problem about the session variables on my W2K system
> with
> > > both
> > > > IIS and Apache installed.
> > > >
> > > > By the way, since the php.ini is the same both for IIS and Apache,
> both
> > > > servers share the same session (and the session variables).
> > > >
> > > > "Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > > > news:[EMAIL PROTECTED]
> > > > > I am new to PHP moving over from ASP and one of things I relied on
> > > heavily
> > > > > was session variables. It seems that everytime a new page is
opened
> it
> > > > > starts a new session.
> > > > >
> > > > > I have set up a simple test site you can see whats happening -
> easier
> > > than
> > > > > to explain.
> > > > >
> > > > > http://www.cflsquad.com/index.php
> > > > >
> > > > > Use
> > > > > Username: testuser
> > > > > Password: testpassword
> > > > >
> > > > > the next page after log in should read "You are logged in as:
> > testuser".
> > > > > What tells me is that the session variable is resetting to a new
on
> > each
> > > > > page is that the 'testuder' text doesn't show becuase the session
> var
> > is
> > > > > being read. These exact same pages work fine oon a Linux server so
I
> > > know
> > > > > its a Windows Server issue. The odd thing is that the session ID
is
> > > passed
> > > > > and saved but the session variable that is created on log in is
not
> > > > passed.
> > > > > Again, it woks just fine on a Linux server - just not Windows.
> > > > >
> > > > > I have changed the path in the php.ini file as many have suggested
> > fixes
> > > > the
> > > > > problem but it hasn't made a difference for me.
> > > > >
> > > > > Thanks
> > > > >
> > > > > --
> > > > > Brad Lawryk
> > > > > Williams Lake TimberWolves
> > > > > www.wltimberwolves.com
> > > > >
> > > > > --
> > > > > 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
> > >
> > >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi,
Can somebody help me with regards to getting a
socket.create() command to work on PHP4/WinXp/Apache, I get the
following output;
Fatal error: Call to undefined function: socket_create() in D:\Program
Files\Apache Group\Apache2\htdocs\login.php on line 114
I tried having a look for help on the web; however a majority of the
help is the linux environment.
Thanks
Chris
--- End Message ---