php-windows Digest 4 Jan 2002 06:57:02 -0000 Issue 935

Topics (messages 11284 through 11291):

Re: XSL encoding not recognized in PHP 4.1.0 XSLT support ?
        11284 by: Rick Salsa
        11285 by: Olivier Mascia
        11286 by: Olivier Mascia
        11287 by: Rick Salsa

Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!
        11288 by: Mark

Re: problem running php4.0.6 and apache1.3.22 on winXP
        11289 by: LaserJetter

Session with PHP 4.1.0 Problem
        11290 by: ~fanta~

Re: Newbie Question: Using Cookies...
        11291 by: Steve Yates

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 ---
Hi Rashkatsa,

I've got php 4.1.1 running on a win98 box with Apache 1.3.22 installed. XSLT
works fine, I've got the sablot, libxml2, expat, and iconv-1.3 dll's in my
System32 folder. No problems yet. I copied them in there and uncommented the
xslt extension in the php.ini and restarted. Hope that helps.

Rick Salsa
Interactive Media Developer
Fusion Communications Group Inc.
200-290 Vaughan Street
Winnipeg, MB R3B 2N8
p.204.925.4321    f.204.925.4320
[EMAIL PROTECTED]
www.fusiongroup.mb.ca

"Rashkatsa" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I've downloaded the standard windows build of latest version of PHP
> (4.1.0) and install it on my W2k Professionnal. I've tested the XML
> support (with expat) and it works fine. I've activated the extension
> xslt and try to transform an XML into HTML through XSLT API.
>
> questions :
> 1) Should i rebuild from PHP source to get full XML/XSLT support or just
> uncomment xslt extension and copy sablot, expat and iconv in sys32 do it
> well ?
> 2) With this windows build (.tar.gz on php.net) when i use
> xslt_set_encoding($xh,"UTF-8") for example, i get this :
>
> "Warning: xslt_set_encoding() is not supported in this PHP build"
>
> 3) here is my problem : when i try to use xslt_process(...) i've got this
:
>
> Warning: Sablotron error on line 1: unknown encoding ''
> reason = unknown encoding '' & error code = 62
>
> (the last line use xslt_error et errno). It seems that sablotron is
> called but find an error in the first line of my XSLT ! here it is :
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> what's a joke ! :) I've checked that sablotron support some encoding by
> default (even without iconv lib) and UTF-8, ISO-8859-1 are supported by
> default.
>
> Someone has succeeded to use XSLT extension in the standard windows
> build of PHP 4.1.0 (.tar.gz) actually available on www.php.net ?
>
> does xslt_set_encoding(...) works for you ?
>
> if you have any ideas, i will be very happy to get feedback.
>
> regards,
>
> rashkatsa.
>


--- End Message ---
--- Begin Message ---
Hello,

Rick Salsa wrote:

RS> I've got php 4.1.1 running on a win98 box with Apache 1.3.22 installed.

Where did you get the 4.1.1 binaries for Windows ? I thought only 4.1.0
where available for now from www.php.net. Did you compile it yourself or
are they already available from somewhere else ?

Thanks !
-- 
Olivier Mascia <[EMAIL PROTECTED]>

--- End Message ---
--- Begin Message ---
Hello,

Olivier Mascia wrote:

OM> RS> I've got php 4.1.1 running on a win98 box with Apache 1.3.22 installed.
OM> 
OM> Where did you get the 4.1.1 binaries for Windows ? I thought only 4.1.0
OM> where available for now from www.php.net. Did you compile it yourself or
OM> are they already available from somewhere else ?

Ok. My fault. Should have checked first. They were made available just
today on www.php.net. Going there to download.

-- 
Olivier Mascia <[EMAIL PROTECTED]>

--- End Message ---
--- Begin Message ---
It works great!! I downloaded the and installed. Worked the first time!!

Rick Salsa
Interactive Media Developer
Fusion Communications Group Inc.
200-290 Vaughan Street
Winnipeg, MB R3B 2N8
p.204.925.4321    f.204.925.4320
[EMAIL PROTECTED]
www.fusiongroup.mb.ca

"Olivier Mascia" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> Olivier Mascia wrote:
>
> OM> RS> I've got php 4.1.1 running on a win98 box with Apache 1.3.22
installed.
> OM>
> OM> Where did you get the 4.1.1 binaries for Windows ? I thought only
4.1.0
> OM> where available for now from www.php.net. Did you compile it yourself
or
> OM> are they already available from somewhere else ?
>
> Ok. My fault. Should have checked first. They were made available just
> today on www.php.net. Going there to download.
>
> --
> Olivier Mascia <[EMAIL PROTECTED]>
>


--- End Message ---
--- Begin Message ---
I am fairly new to PHP and  just finished setting up Apache 1.3.22 and PHP
4.1.0 and can not get it to run correclty.  I first tried loading by module,
but after  trying that, apache would not load.  I then tried the CGI binary
mode and was able to get apache loaded correctly, but when I try and load a
*.php file all I get is a blank browser window or it just opens and displays
the contents of the file.  I also tried running the the file at the DOS
prompt using c:\PHP php.exe filename.php and all I get is PHP.exe showing
the contents of the file.  Is that correct??  Am I missing something in the
PHP.ini file??  Do I need to make additional changes to my Apache config
file??  Any input would be greatly appreciated.  Thanks in advance.

Mark


--- End Message ---
--- Begin Message ---
Look at the source code for the blank page. Does it have a load of HTML tags
e.g.
<!DOCTYPE....><HTML><HEAD></HEAD><BODY></BODY></HTML>?
I kept getting this with certain scripts (but with Apache 1.3.19) and I dont
know why but it seemed to go away after a bit more work on the PHP page. I
dont know what it is or what procuces that HTML either.



"Rui Nuno Castro" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I installed php4.0.6 and apache 1.3.22 (as a service) on windows XP and
> followed the instructions to configure the httpd.conf file to load php as
an
> apache module (including the AddModule mod_php4.c instruction). I have
also
> copied the php4ts.dll file to the
> windows/system32 directory, but when I try to run any php script with the
> browser, I only get a blank page. It seems that apache doesn't send the
> script for interpretation by php (even though apache is loading the php
> module). Can anyone tell me what's wrong?
>
> Thanks,
> Rui
>
>
>
>


--- End Message ---
--- Begin Message ---
I'm starter of written PHP. Thanks for any help!

After login:

  session_start();
  session_register("usr_id");
  session_register("passwd");
  header("Location: ./mainframe.php");

mainframe.php is a frameset
link page in the frame, it has a PHPSESSID after the link
(index.php?PHPSESSID=9062af3a5880d735cd2183b929028e82)
but i call the value
session_start();
$HTTP_SESSION_VAR['usr_id']; or
$_SESSION['usr_id'];
No value in these variable.

Thanks for any help!!!
^_^


--- End Message ---
--- Begin Message ---
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I load the page into the browser and it says:
> Cookie has been set

    Unless I am missing something you will ALWAYS get this since this is
output as static body text?

> 1.  I didn't get a prompt box

    For what?

> <?
> $cookie_name = "test_cookie";
> $cookie_value = "test string!";
> $cookie_expire= time() + 900;
> setcookie($cookie_name, $cookie_value, $cookie_expire, "/", 0);
> ?>
> <HTML>
> <HEAD>
> <TITLE>Set Test Cookie</TITLE>
> </HEAD>
> <BODY>
> <h1>Cookie has been set</h1>

<?
(...)
setcookie ($cookie_name, $cookie_value, $cookie_expire, '/,
'localhost');
}
?>

The last part is your domain name, so "0" is probably not matching your
cookie to anything?  Unless you're trying to make that the "secure"
parameter, in which case you skipped one (and besides you can simply
leave it off).

Then later:
<?
if (isset($cookie_value)) {echo "cookie=$cookie_value";} else {echo "no
cookie here";}
?>

 - Steve Yates
 - SRT Enterprises
 - Change is inevitable, except from a vending machine.

/ Taglines by Taglinator - www.srtware.com /



--- End Message ---

Reply via email to