php-windows Digest 31 Jul 2003 11:36:24 -0000 Issue 1846

Topics (messages 20941 through 20945):

Re: Session not working
        20941 by: Sek-Mun Wong

Re: my script on php 4.3.2 kills apache 2.x
        20942 by: Sek-Mun Wong

Re: Windows 2K (workstation)
        20943 by: Sek-Mun Wong

exporting to csv format - problem with some chinese characters
        20944 by: Hector Lumang

What do the programs running in winxp do?
        20945 by: Acorn Tutors

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 ---
1) Verify that you've specified (and created) your sessiondata (usually
{drive:}/php/sessiondata directory,
2) check to see if a session id has been written there.
3) if not, make sure that the apache logon (usually localsystem) has access
to write to sessiondata (which it should have by default). Turn simple file
sharing off on XP if you have an issue.

"Voodoo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
> scripts at home, can't publish them. I'm trying to set some session vars,
> but the variables simply disappear when I try to use them again. Made the
> following code to test it, but when I click on 'increment' the 'numb' var
is
> set to 0 again.
>
>
> //code on test.php:
> <?php
> session_start();
> if (isset($_SESSION['numb'])) {
>    $_SESSION['numb']++;
> } else {
>    $_SESSION['numb'] = 0;
> }
> echo $_SESSION['numb']."<br>";
> ?>
> <a href="test.php">Increment</a>
>
> The strange thing is that when I publish this 'test.php' file on a web
> server it works just fine. I think there's something wrong with my local
> server configuration or at the php.ini file, but I can't figure out what
is
> it.
>
> Can somebody help me?
>
> Thanks,
>
> Voodoo
>
>


--- End Message ---
--- Begin Message ---
Just on local laptop development 2.0.47 locks up quite often on mysql calls
(about every 30 calls) Couldn't be bothered to debug it, so I've gone back
to 1.3.28 for win32, it's production stable (at least on w2k). I'm running
WinXP on laptop, btw.

"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a simple little script...
>
>    <?php
>       # Load PEAR Date Package
>       require("Date.php");
>    ?>
>
> If I run this script from...
>
>     http://localhost/dateTest.php
>
> I get a nice blank screen
>
>
> If I run this script from...
>
>     http://localhost/test/dateTest.php
>
> I also get a nice blank screen
>
>
> But, if I run this script from...
>
>     http://localhost/test/testSuite/dateTest.php
>
> <dir names do not matter, I changed them both>
>
> Apache nose-dives! with this in the error log.
>
>    [Wed Jul 30 16:43:21 2003] [warn] (OS 64)The specified network name
>    is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.
>
>
> I tried this with both Date-1[1].3 *and* with Date-1[1].3.1beta,
> with Span.php commented out ot not.
>
> Any ideas on this?
>
> walter
>
>
>


--- End Message ---
--- Begin Message ---
You might just be using it for development.

But you're right, I use Apache for dev too, however I do simultaneously run
the crippled IIS on port 8080 for cross platform work on our framework...
just to ensure it works under both web servers.

Now Frontpage extensions for linux... THAT'S getting carried away! ;-)

"Cory Daehn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Actually, the IIS that comes with Win2K Professional, and the one from
Windows
XP are both severly limited.  (I don't understand why anyone would want to
run
XP or W2KPro as a server OS anyway... Better off getting W2K Server or W2K3
Server or Linux IMNSHO... You can even get frontpage extensions for
linux...)

Just my two-bits. :)

> Windows 2000 Professional (I'm assuming this is what you meant by
> workstation version) can have IIS installed, as well.  You
> can follow the
> instructions supplied with PHP on how to set up IIS.  It really just
> involves careful placement of the php.ini file and setting up
> the site to
> parse PHP files.  It's all in the documentation - but as far
> as Win2k goes,
> IIS is there and ready to use (you may have to install it
> from the disc if
> you did just a default installation).
>
> ----- Original Message -----
> From: "Frank Tudor" <[EMAIL PROTECTED]>
> Sent: Wednesday, July 30, 2003 10:31 AM
> > What server components do I need to get PHP running on Windows
> > Workstation 2000?


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

I am having problems with exporting chinese characters to csv files.  =
When I try to export data to csv format, some of the characters are =
turned into some number (i.e. "&#35831;" etc...).  And when I try to =
open the csv file in MS Excel (2002),  the numbers could not be =
converted into the correct characters.

The following is the code I used to export the data ...

header ("Content-type: application/csv text\html charset=big5;\nContent-Disposition: 
\"inline; filename=order.csv\""); 
print "$data1,$data2,$data3,$data4\n";



Does anybody have an idea how to get around this?  Or is there a way to =
export from PHP/MySQL to Excel directly?

Thanks in advance, any response will be greatly appreciated.

Thanks,
Hector

my setup is:
WinXP
Apache 1.3.27
PHP 4.3.2
MySQL  3.23


--- End Message ---
--- Begin Message ---
HI folks, when you press ctrl-alt-del to get a list of running processes in
winxp is there a written description anywhere that describes what each of
these programs is doing?

TIA
Doug



--- End Message ---

Reply via email to