[PHP-WIN] incomplete phpsrvlt.jar

2003-01-28 Thread WalWit
Hello,

Configuration:
Windows 2000 Professional
Apache 1.3
Tomcat 4.0
PHP 4.3.0

I'm trying to run PHP 4 as a servlet under Tomcat. However the phpsrvlt.jar
only contains net.php.reflect.class but according to configuration
information it should also have servlet.class and formatter.class. Where can
I find these classes ?

I found a phpservlet.jar from an older PHP version but then I get the error
that procedure php_unregister_ini_entries does not exist.

Any information regarding this issue would be great.

Walter.
=May the source be with you=



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




[PHP-WIN] parsing tricky text file

2003-01-28 Thread George Pitcher
Hi,

I'm looking for some advice.

One of my suppliers (big publisher) has sent me a file containing records of
their books. The file is anabsolute nightmare.

There are approx 8000 records and the format is like this (actual record):

-T&F eBook data rec.1534 @ 27/01/2003
VISBN 0203445570
OSBN  0-203-44557-0
EBK1  0203548310
EBK2  0203651057
EBK3  020375381X
EBK4  0203273567
OTOP
OTART
OTI   Creative Mathematics
OSUB
USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
  Canada
USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
USAU  Higginson |f William |u Queens University |c Kingston |x
  Canada
EDIT
INTRO
FORWD Pimm |f David |u The Open University x| UK
TRANS
2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
  Mathematics
VPR   11.99
USPRI 17.99
OTBPR 19.99 |U 25.95 |D 17/07/1997
USBDG
MFDT
ERT   GB US CA AU NZ ZA IE
ORT
NRT
TTY
OBIND eB
PDUE  11/03/2002
VIZE
VEXT  192
OILLS 40 illustrations
LEVEL
OSER
OIMP  RoutledgeFalmer
LIBPR
OALT
OPPQ
OCATL This book shows how creative maths can really work.
  Exploring the ways in which maths skills can be learned
  through cross-curricular activities based on visual arts
  and music, the book presents maths as a meaningful and
  exciting subject which holds no fears for children. The
  authors recognise that while maths-phobia prevails in our
  increasingly mathematicised world, attitudes and
  approaches to teaching the subject need to be reviewed,
  and issues such as gender stereotyping, which encourage
  maths-apathy, need to be tackled at an early stage.
  Within this collection of classroom-based stories are
  detailed examples of integrative mathematic projects;
  these will give teachers the confidence to try out
  cross-curricular activities in their classes. The book
  also provides support with difficult areas such as
  assessment, planning and development. Fascinating to
  read in its own right this book will appeal to the
  specialist and non-specialist alike.
OCONC This book shows how creative maths can really work.
  Exploring the ways in which maths skills can be learned
  through cross-curricular activities based on visual arts
  and music, the book presents maths as a meaningful and
  exciting subject which holds no fears for children. The
  authors recognise that while maths-phobia prevails in our
  increasingly mathematicised world, attitudes and
  approaches to teaching the subject need to be reviewed,
  and issues such as gender stereotyping, which encourage
  maths-apathy, need to be tackled at an early stage.
  Within this collection of classroom-based stories are
  detailed examples of integrative mathematic projects;
  these will give teachers the confidence to try out
  cross-curricular activities in their classes. The book
  also provides support with difficult areas such as
  assessment, planning and development. Fascinating to
  read in its own right this book will appeal to the
  specialist and non-specialist alike.
OCATS Exploring the ways in which maths skills can be learned
  through cross-curricular projects on arts and music, this
  book presents maths as a meaningful and exciting subject
  which holds no fear for children.
OQUO  'This is a fascinating book ... which gives detailed case
  studies.' |I Infant Equipment
OCNT
FCONT
OWRIT
VEDIT 1
BICAC U
BSUB1 J
BSUB2 JD
BSUB3
BICAV RF
SUBJ1 SB15
SUBJ2
SUBJ3
VPROD EB
VACDE WEB
CREAT MFK - AUTO |D 2002 07 19

So as you see, the filed names are at the left hand side with the data
starting at position 6 (5 if the line-start is 0). I usually use Excell to
clean up this sort of stuff but those fields with a lot of text in them just
get trashed in the process.

I have used Frontier to parse ACARS logs in the past and I thought that PHP
might be able to help out here.

I want to be able to convert the fieldname (where it is duplicated in a
record) so that each one is unique. Strip out returns, replacing with [tab]
and the producing an output file that can be imported into a db (MySQL
eventually but I'm using FileMaker right now).

Any suggestions (that do not involve a pistol)?

George in Oxford






























===

George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T  +44 (0)1865 799137 direct
T  +44 (0)1865 799000 switchboard
F  +44 (0)1865 799134
E  [EMAIL PROTECTED]

www.ingenta.com
Ingenta: Empowering the exchange of academic and professional content
online.


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




[PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread J.Veenhuijsen
What I would do in this case is writing my own little
parser program to spool it in to a MySQL database.
I often use Delphi for this.

What is the record delimiter?
OTOP with nothing behind it means emty field?

Execept for the USAU fields it seem all very fieldname/content like.

Jochem


George Pitcher wrote:

Hi,

I'm looking for some advice.

One of my suppliers (big publisher) has sent me a file containing records of
their books. The file is anabsolute nightmare.

There are approx 8000 records and the format is like this (actual record):

-T&F eBook data rec.1534 @ 27/01/2003
VISBN 0203445570
OSBN  0-203-44557-0
EBK1  0203548310
EBK2  0203651057
EBK3  020375381X
EBK4  0203273567
OTOP
OTART
OTI   Creative Mathematics
OSUB
USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
  Canada
USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
USAU  Higginson |f William |u Queens University |c Kingston |x
  Canada
EDIT
INTRO
FORWD Pimm |f David |u The Open University x| UK
TRANS
2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
  Mathematics
VPR   11.99
USPRI 17.99
OTBPR 19.99 |U 25.95 |D 17/07/1997
USBDG
MFDT
ERT   GB US CA AU NZ ZA IE
ORT
NRT
TTY
OBIND eB
PDUE  11/03/2002
VIZE
VEXT  192
OILLS 40 illustrations
LEVEL
OSER
OIMP  RoutledgeFalmer
LIBPR
OALT
OPPQ
OCATL This book shows how creative maths can really work.
  Exploring the ways in which maths skills can be learned
  through cross-curricular activities based on visual arts
  and music, the book presents maths as a meaningful and
  exciting subject which holds no fears for children. The
  authors recognise that while maths-phobia prevails in our
  increasingly mathematicised world, attitudes and
  approaches to teaching the subject need to be reviewed,
  and issues such as gender stereotyping, which encourage
  maths-apathy, need to be tackled at an early stage.
  Within this collection of classroom-based stories are
  detailed examples of integrative mathematic projects;
  these will give teachers the confidence to try out
  cross-curricular activities in their classes. The book
  also provides support with difficult areas such as
  assessment, planning and development. Fascinating to
  read in its own right this book will appeal to the
  specialist and non-specialist alike.
OCONC This book shows how creative maths can really work.
  Exploring the ways in which maths skills can be learned
  through cross-curricular activities based on visual arts
  and music, the book presents maths as a meaningful and
  exciting subject which holds no fears for children. The
  authors recognise that while maths-phobia prevails in our
  increasingly mathematicised world, attitudes and
  approaches to teaching the subject need to be reviewed,
  and issues such as gender stereotyping, which encourage
  maths-apathy, need to be tackled at an early stage.
  Within this collection of classroom-based stories are
  detailed examples of integrative mathematic projects;
  these will give teachers the confidence to try out
  cross-curricular activities in their classes. The book
  also provides support with difficult areas such as
  assessment, planning and development. Fascinating to
  read in its own right this book will appeal to the
  specialist and non-specialist alike.
OCATS Exploring the ways in which maths skills can be learned
  through cross-curricular projects on arts and music, this
  book presents maths as a meaningful and exciting subject
  which holds no fear for children.
OQUO  'This is a fascinating book ... which gives detailed case
  studies.' |I Infant Equipment
OCNT
FCONT
OWRIT
VEDIT 1
BICAC U
BSUB1 J
BSUB2 JD
BSUB3
BICAV RF
SUBJ1 SB15
SUBJ2
SUBJ3
VPROD EB
VACDE WEB
CREAT MFK - AUTO |D 2002 07 19

So as you see, the filed names are at the left hand side with the data
starting at position 6 (5 if the line-start is 0). I usually use Excell to
clean up this sort of stuff but those fields with a lot of text in them just
get trashed in the process.

I have used Frontier to parse ACARS logs in the past and I thought that PHP
might be able to help out here.

I want to be able to convert the fieldname (where it is duplicated in a
record) so that each one is unique. Strip out returns, replacing with [tab]
and the producing an output file that can be imported into a db (MySQL
eventually but I'm using FileMaker right now).

Any suggestions (that do not involve a pistol)?

George in Oxford






























===

George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T  +44 (0)1865 799137 direct
T  +44 (0)1865 799000 switchboard
F  +44 (0)1865 799134
E  [EMAIL PROTECTED]

www.ingenta.com
Ingenta: Empowering the exchange of academic and professional content
online.




--
PHP Windows Mailing List (http://www.php.net/)
To unsubs

php-windows Digest 28 Jan 2003 10:01:46 -0000 Issue 1559

2003-01-28 Thread php-windows-digest-help

php-windows Digest 28 Jan 2003 10:01:46 - Issue 1559

Topics (messages 18123 through 18129):

Re: Redirecting to index.php
18123 by: cybot
18124 by: Brian 'Bex' Huff

Re: How do i load my new activex dll?
18125 by: Brian 'Bex' Huff

Re: php-win2k error in apache as isapi module
18126 by: cybot

incomplete phpsrvlt.jar
18127 by: WalWit

parsing tricky text file
18128 by: George Pitcher
18129 by: J.Veenhuijsen

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 ---
check your httpd.conf at DirectoryIndex

Dave wrote:

Hey guys,

I am wondering how, when people go to my main site, http://splix.dyndns.org,
they get redirected to index.php.

I am used to using HTML, where the first page the user sees is index.html.
How can I do this with PHP?

Thank,
Dave




--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com


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

this isn't a function of PHP, its a function of your web server.  You 
need to tell your web server (or ISP) to use index.php just like it 
would use index.htm or index.html.

Check the Apache docs or IIS docs for more info...

--

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424

Hey guys,

I am wondering how, when people go to my main site, http://splix.dyndns.org,
they get redirected to index.php.

I am used to using HTML, where the first page the user sees is index.html.
How can I do this with PHP?

Thank,
Dave






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

If you have made a COM object, you can use the COM PHP functions, 
documented here:

http://www.php.net/manual/en/ref.com.php

If you just have a normal, cheezy DLL, you'll have to use the somewhat 
less tested, and possibly less stable, Win32API extension:

http://www.php.net/manual/en/ref.w32api.php

Lots of handy tips are at the bottom of these pages in the comments 
sections...

--

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424


hey ya,

I have made a new dll "prjMD5.dll" in visual basic's, so i can use the same
MD 5 hash for my website, and my chat server passwords.

anyhow.

Now i have my new DLL

How do i load the function in my dll?

My function's Name is "MD5Encrypt"

and only has 1 value: "password"

ie: $hased = md5encrypt($password);

but i dont know how to load the dll..
ne 1 wish to help me with this please?

Thanks
My email address is
w_pearsall[at]yahoo.co.uk






--- End Message ---
--- Begin Message ---
why do you not try

session_start();
$_SESSION["BSD"] = '';
$_SESSION["devon"] = "my name";

 ???

Vikas Pande wrote:

What is going wrong and where it is going wrong I dont
know?

I was trying my first script with sessions.
Before testing the script, I did following change in
php.ini in winnt\system32
register_globals=Off
The code I was trying was:
-

-
Immediately I got the error the following error
a
Critical Error Button
Message: The Instruction at "0x006c956c" referenced
memory at "0x8b2b43b1:. The memory could not be
"read". Click OK to terminate the program. Click
Cancel to debug the problem.

Please help me where have I gone wrong:
either in modifying php.ini
or choosing php as apache module
or anything else in configuration.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com


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

Configuration:
Windows 2000 Professional
Apache 1.3
Tomcat 4.0
PHP 4.3.0

I'm trying to run PHP 4 as a servlet under Tomcat. However the phpsrvlt.jar
only contains net.php.reflect.class but according to configuration
information it should also have servlet.class and formatter.class. Where can
I find these classes ?

I found a phpservlet.jar from an older PHP version but then I get the error
that procedure php_unregister_ini_entries does not exist.

Any information regarding this issue would be great.

Walter.
=May the source be with you=



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

I'm looking for some advice.

One of my suppliers (big publisher) has sent me a file containing records of
their books. The file is anabsolute nightmare.

There are approx 8000 records and the format is like this (actual record):

-T&F eBook data rec.1534 @ 27/01/2003
VISBN 0203445570
OSBN  0-203-44557-0
EBK1  0203548310
EBK2  0203651057
EBK3  020375381X
EBK4  0203273567
OTOP
OTART
OTI   Creative Mathematics
OSUB
USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
  Canada
USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
USAU  Higginson |f William |u Queen

RE: [PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread George Pitcher
J.Veenhuijsen wrote:

> What I would do in this case is writing my own little
> parser program to spool it in to a MySQL database.
> I often use Delphi for this.
>
> What is the record delimiter?

The only way that you know a new record starts is the line starts with '-'
('-T&F eBook data rec.1534 @ 27/01/2003').

> OTOP with nothing behind it means emty field?

In fact there are two nword spaces there.


> Execept for the USAU fields it seem all very fieldname/content like.

In this record, that is true but having a look through a sample I have found
at least 5 fields that have 'duplicates'.

I still don't see how it is going to be easy.


George
>
> Jochem
>
>
> George Pitcher wrote:
> > Hi,
> >
> > I'm looking for some advice.
> >
> > One of my suppliers (big publisher) has sent me a file
> containing records of
> > their books. The file is anabsolute nightmare.
> >
> > There are approx 8000 records and the format is like this
> (actual record):
> >
> > -T&F eBook data rec.1534 @ 27/01/2003
> > VISBN 0203445570
> > OSBN  0-203-44557-0
> > EBK1  0203548310
> > EBK2  0203651057
> > EBK3  020375381X
> > EBK4  0203273567
> > OTOP
> > OTART
> > OTI   Creative Mathematics
> > OSUB
> > USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
> >   Canada
> > USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
> > USAU  Higginson |f William |u Queens University |c Kingston |x
> >   Canada
> > EDIT
> > INTRO
> > FORWD Pimm |f David |u The Open University x| UK
> > TRANS
> > 2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
> >   Mathematics
> > VPR   11.99
> > USPRI 17.99
> > OTBPR 19.99 |U 25.95 |D 17/07/1997
> > USBDG
> > MFDT
> > ERT   GB US CA AU NZ ZA IE
> > ORT
> > NRT
> > TTY
> > OBIND eB
> > PDUE  11/03/2002
> > VIZE
> > VEXT  192
> > OILLS 40 illustrations
> > LEVEL
> > OSER
> > OIMP  RoutledgeFalmer
> > LIBPR
> > OALT
> > OPPQ
> > OCATL This book shows how creative maths can really work.
> >   Exploring the ways in which maths skills can be learned
> >   through cross-curricular activities based on visual arts
> >   and music, the book presents maths as a meaningful and
> >   exciting subject which holds no fears for children. The
> >   authors recognise that while maths-phobia prevails in our
> >   increasingly mathematicised world, attitudes and
> >   approaches to teaching the subject need to be reviewed,
> >   and issues such as gender stereotyping, which encourage
> >   maths-apathy, need to be tackled at an early stage.
> >   Within this collection of classroom-based stories are
> >   detailed examples of integrative mathematic projects;
> >   these will give teachers the confidence to try out
> >   cross-curricular activities in their classes. The book
> >   also provides support with difficult areas such as
> >   assessment, planning and development. Fascinating to
> >   read in its own right this book will appeal to the
> >   specialist and non-specialist alike.
> > OCONC This book shows how creative maths can really work.
> >   Exploring the ways in which maths skills can be learned
> >   through cross-curricular activities based on visual arts
> >   and music, the book presents maths as a meaningful and
> >   exciting subject which holds no fears for children. The
> >   authors recognise that while maths-phobia prevails in our
> >   increasingly mathematicised world, attitudes and
> >   approaches to teaching the subject need to be reviewed,
> >   and issues such as gender stereotyping, which encourage
> >   maths-apathy, need to be tackled at an early stage.
> >   Within this collection of classroom-based stories are
> >   detailed examples of integrative mathematic projects;
> >   these will give teachers the confidence to try out
> >   cross-curricular activities in their classes. The book
> >   also provides support with difficult areas such as
> >   assessment, planning and development. Fascinating to
> >   read in its own right this book will appeal to the
> >   specialist and non-specialist alike.
> > OCATS Exploring the ways in which maths skills can be learned
> >   through cross-curricular projects on arts and music, this
> >   book presents maths as a meaningful and exciting subject
> >   which holds no fear for children.
> > OQUO  'This is a fascinating book ... which gives detailed case
> >   studies.' |I Infant Equipment
> > OCNT
> > FCONT
> > OWRIT
> > VEDIT 1
> > BICAC U
> > BSUB1 J
> > BSUB2 JD
> > BSUB3
> > BICAV RF
> > SUBJ1 SB15
> > SUBJ2
> > SUBJ3
> > VPROD EB
> > VACDE WEB
> > CREAT MFK - AUTO |D 2002 07 19
> >
> > So as you see, the filed names are at the left hand side with the data
> > starting at position 6 (5 if the line-start is 0). I usually
> use Excell to
> > clean up this sort of stuff but those fields with a lot of text
> in them just
> > get trashed in the process.

RE: [PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread George Pitcher
Jochem,

Yes. Where a book has multiple authors, then there is a USAU field for each,
likewise for editors, levels, and quotes.

And that is only from the 150 records I've looked at.

george

> -Original Message-
> From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]]
> Sent: 28 January 2003 10:56 am
> To: George Pitcher
> Subject: Re: [PHP-WIN] Re: parsing tricky text file
>
>
> In this record, that is true but having a look through a sample I have
> found  at least 5 fields that have 'duplicates'.
>
>
> Are these duplicates in the same record?
>
> Jochem
>
> George Pitcher wrote:
> > J.Veenhuijsen wrote:
> >
> >
> >>What I would do in this case is writing my own little
> >>parser program to spool it in to a MySQL database.
> >>I often use Delphi for this.
> >>
> >>What is the record delimiter?
> >
> >
> > The only way that you know a new record starts is the line
> starts with '-'
> > ('-T&F eBook data rec.1534 @ 27/01/2003').
> >
> >
> >>OTOP with nothing behind it means emty field?
> >
> >
> > In fact there are two nword spaces there.
> >
> >
> >
> >>Execept for the USAU fields it seem all very fieldname/content like.
> >
> >
> > In this record, that is true but having a look through a sample
> I have found
> > at least 5 fields that have 'duplicates'.
> >
> > I still don't see how it is going to be easy.
> >
> >
> > George
> >
> >>Jochem
> >>
> >>
> >>George Pitcher wrote:
> >>
> >>>Hi,
> >>>
> >>>I'm looking for some advice.
> >>>
> >>>One of my suppliers (big publisher) has sent me a file
> >>
> >>containing records of
> >>
> >>>their books. The file is anabsolute nightmare.
> >>>
> >>>There are approx 8000 records and the format is like this
> >>
> >>(actual record):
> >>
> >>>-T&F eBook data rec.1534 @ 27/01/2003
> >>>VISBN 0203445570
> >>>OSBN  0-203-44557-0
> >>>EBK1  0203548310
> >>>EBK2  0203651057
> >>>EBK3  020375381X
> >>>EBK4  0203273567
> >>>OTOP
> >>>OTART
> >>>OTI   Creative Mathematics
> >>>OSUB
> >>>USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
> >>>  Canada
> >>>USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
> >>>USAU  Higginson |f William |u Queens University |c Kingston |x
> >>>  Canada
> >>>EDIT
> >>>INTRO
> >>>FORWD Pimm |f David |u The Open University x| UK
> >>>TRANS
> >>>2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
> >>>  Mathematics
> >>>VPR   11.99
> >>>USPRI 17.99
> >>>OTBPR 19.99 |U 25.95 |D 17/07/1997
> >>>USBDG
> >>>MFDT
> >>>ERT   GB US CA AU NZ ZA IE
> >>>ORT
> >>>NRT
> >>>TTY
> >>>OBIND eB
> >>>PDUE  11/03/2002
> >>>VIZE
> >>>VEXT  192
> >>>OILLS 40 illustrations
> >>>LEVEL
> >>>OSER
> >>>OIMP  RoutledgeFalmer
> >>>LIBPR
> >>>OALT
> >>>OPPQ
> >>>OCATL This book shows how creative maths can really work.
> >>>  Exploring the ways in which maths skills can be learned
> >>>  through cross-curricular activities based on visual arts
> >>>  and music, the book presents maths as a meaningful and
> >>>  exciting subject which holds no fears for children. The
> >>>  authors recognise that while maths-phobia prevails in our
> >>>  increasingly mathematicised world, attitudes and
> >>>  approaches to teaching the subject need to be reviewed,
> >>>  and issues such as gender stereotyping, which encourage
> >>>  maths-apathy, need to be tackled at an early stage.
> >>>  Within this collection of classroom-based stories are
> >>>  detailed examples of integrative mathematic projects;
> >>>  these will give teachers the confidence to try out
> >>>  cross-curricular activities in their classes. The book
> >>>  also provides support with difficult areas such as
> >>>  assessment, planning and development. Fascinating to
> >>>  read in its own right this book will appeal to the
> >>>  specialist and non-specialist alike.
> >>>OCONC This book shows how creative maths can really work.
> >>>  Exploring the ways in which maths skills can be learned
> >>>  through cross-curricular activities based on visual arts
> >>>  and music, the book presents maths as a meaningful and
> >>>  exciting subject which holds no fears for children. The
> >>>  authors recognise that while maths-phobia prevails in our
> >>>  increasingly mathematicised world, attitudes and
> >>>  approaches to teaching the subject need to be reviewed,
> >>>  and issues such as gender stereotyping, which encourage
> >>>  maths-apathy, need to be tackled at an early stage.
> >>>  Within this collection of classroom-based stories are
> >>>  detailed examples of integrative mathematic projects;
> >>>  these will give teachers the confidence to try out
> >>>  cross-curricular activities in their classes. The book
> >>>  also provides support with difficult areas such as
> >>>  assessment, planning and development. Fascinating to
> >>>  read in its own right this book will appeal to the
> >>>  specialist and non-specialist alike.
> >>>OCAT

Re: [PHP-WIN] Re: parsing tricky text file

2003-01-28 Thread J.Veenhuijsen
Then the authors/levels/quotes should go in a seperate table
all linked to the book id (eg ISBN number wich is unique for every book)

Is this the only way the publischer can produce their data.
I mean it must come out of some DB like system.

Jochem

George Pitcher wrote:

Jochem,

Yes. Where a book has multiple authors, then there is a USAU field for each,
likewise for editors, levels, and quotes.

And that is only from the 150 records I've looked at.

george



-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2003 10:56 am
To: George Pitcher
Subject: Re: [PHP-WIN] Re: parsing tricky text file


In this record, that is true but having a look through a sample I have
found  at least 5 fields that have 'duplicates'.


Are these duplicates in the same record?

Jochem

George Pitcher wrote:


J.Veenhuijsen wrote:




What I would do in this case is writing my own little
parser program to spool it in to a MySQL database.
I often use Delphi for this.

What is the record delimiter?



The only way that you know a new record starts is the line


starts with '-'


('-T&F eBook data rec.1534 @ 27/01/2003').




OTOP with nothing behind it means emty field?



In fact there are two nword spaces there.





Execept for the USAU fields it seem all very fieldname/content like.



In this record, that is true but having a look through a sample


I have found


at least 5 fields that have 'duplicates'.

I still don't see how it is going to be easy.


George



Jochem


George Pitcher wrote:



Hi,

I'm looking for some advice.

One of my suppliers (big publisher) has sent me a file


containing records of



their books. The file is anabsolute nightmare.

There are approx 8000 records and the format is like this


(actual record):



-T&F eBook data rec.1534 @ 27/01/2003
VISBN 0203445570
OSBN  0-203-44557-0
EBK1  0203548310
EBK2  0203651057
EBK3  020375381X
EBK4  0203273567
OTOP
OTART
OTI   Creative Mathematics
OSUB
USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
Canada
USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
USAU  Higginson |f William |u Queens University |c Kingston |x
Canada
EDIT
INTRO
FORWD Pimm |f David |u The Open University x| UK
TRANS
2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
Mathematics
VPR   11.99
USPRI 17.99
OTBPR 19.99 |U 25.95 |D 17/07/1997
USBDG
MFDT
ERT   GB US CA AU NZ ZA IE
ORT
NRT
TTY
OBIND eB
PDUE  11/03/2002
VIZE
VEXT  192
OILLS 40 illustrations
LEVEL
OSER
OIMP  RoutledgeFalmer
LIBPR
OALT
OPPQ
OCATL This book shows how creative maths can really work.
Exploring the ways in which maths skills can be learned
through cross-curricular activities based on visual arts
and music, the book presents maths as a meaningful and
exciting subject which holds no fears for children. The
authors recognise that while maths-phobia prevails in our
increasingly mathematicised world, attitudes and
approaches to teaching the subject need to be reviewed,
and issues such as gender stereotyping, which encourage
maths-apathy, need to be tackled at an early stage.
Within this collection of classroom-based stories are
detailed examples of integrative mathematic projects;
these will give teachers the confidence to try out
cross-curricular activities in their classes. The book
also provides support with difficult areas such as
assessment, planning and development. Fascinating to
read in its own right this book will appeal to the
specialist and non-specialist alike.
OCONC This book shows how creative maths can really work.
Exploring the ways in which maths skills can be learned
through cross-curricular activities based on visual arts
and music, the book presents maths as a meaningful and
exciting subject which holds no fears for children. The
authors recognise that while maths-phobia prevails in our
increasingly mathematicised world, attitudes and
approaches to teaching the subject need to be reviewed,
and issues such as gender stereotyping, which encourage
maths-apathy, need to be tackled at an early stage.
Within this collection of classroom-based stories are
detailed examples of integrative mathematic projects;
these will give teachers the confidence to try out
cross-curricular activities in their classes. The book
also provides support with difficult areas such as
assessment, planning and development. Fascinating to
read in its own right this book will appeal to the
specialist and non-specialist alike.
OCATS Exploring the ways in which maths skills can be learned
through cross-curricular projects on arts and music, this
book presents maths as a meaningful and exciting subject
which holds no fear for children.
OQUO  'This is a fascinating book ... which gives detailed case
studies.' |I Infant Equipment
OCNT
FCONT
OWRIT
VEDIT 1
BICAC U
BSUB1 J
BSUB2 JD
BSUB3
BICAV RF
SUBJ1 

RE: [PHP-WIN] Redirecting to index.php

2003-01-28 Thread Jill . Ramonsky

The simple answer is that is just happens, all by itself, as if by magic.
All you have to do is create a file called "index.php", and delete any files
called "index.htm" or "index.html". (You might also want to make sure you
don't have any files called stuff like "home.html" or "default.html", as
some web servers are set up to use those as home pages too, if it can find
them).

So before you go around trying to edit httpd.conf or emailing your web space
provider, just try it, and see what happens. I'd guess it will just work!

Jill



-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 8:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirecting to index.php


Hey guys,

I am wondering how, when people go to my main site, http://splix.dyndns.org,
they get redirected to index.php.

I am used to using HTML, where the first page the user sees is index.html.
How can I do this with PHP?

Thank,
Dave



-- 
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




RE: [PHP-WIN] maximun execution time

2003-01-28 Thread Jill . Ramonsky

The function you want is called set_time_limit()

Jill


-Original Message-
From: Bobo Wieland [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 5:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] maximun execution time


Is there some way to get around the time limit of maximum execution time
whitout making any changes in the ini file?

I have a function that fetches a file generated by another server, that is
fetching it's data from a db. And this process will be repeated for as many
times as I've telled the function to do it... After 5 or 6 calls from the
function to the external server I reach the maximum execution time limit...


Any ideas?


: bobo :


-- 
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-WIN] connection to ms sqlserver 7

2003-01-28 Thread ps_jkt


hi ...

pls tell me how to connect ms sql server 7 ?

thank

fendy


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




[PHP-WIN] constants in functions

2003-01-28 Thread Bobo Wieland
if you look at, for example, htmlentities(), it can take a constant as
argument (the quote_style parameter). How would you do this in a user define
function?

like this (?) :

function foo($bar=0) {
define("ALL",0);
define("FIRSTHALF",1);
define("SECONDHALF",2);
switch ($bar) {
case ALL:

case FIRSTHALF:

case SECONDHALF:

}
}

foo(SECONDHALF);



: bobo :


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




[PHP-WIN] Submit without Submit

2003-01-28 Thread Renger van Nieuwkoop
Dear all

Is it possible to have php refresh a form without using a submit button (I
want to have a form where people can enter data and see after entering the
data what happens to the total. As they have to enter a lot of data, it is
rather ennoying to push everytime the "submit" -button.

Renger


_

ECOPLAN
Forschung und Beratung in Wirtschaft und Politik
Economic Research and Policy Consultancy
Thunstrasse 22 / CH-3005 Berne (Switzerland)
Phone: +41 31 356 61 61 / Fax: +41 31 356 61 60
mailto:[EMAIL PROTECTED]  / http://www.ecoplan.ch>


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




RE: [PHP-WIN] Submit without Submit

2003-01-28 Thread Svensson, B.A.T. (HKG)
> Dear all
> 
> Is it possible to have php refresh a form without using a submit button (I
> want to have a form where people can enter data and see after entering the
> data what happens to the total. As they have to enter a lot of data, it is
> rather ennoying to push everytime the "submit" -button.

Why not have a submit for all filed at once? (It also rather annoying
to have a page refreshed each time focus changes on the document.)

Cheers

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




Re: [PHP-WIN] Submit without Submit

2003-01-28 Thread Luis Ferro
That is impossible to do in PHP, because what you are asking is to do a 
client side thing (which can be done with javascript) and PHP works in 
the server side.

Cheers,
Luis Ferro
TelaDigital.net


Renger van Nieuwkoop wrote:

Dear all

Is it possible to have php refresh a form without using a submit button (I
want to have a form where people can enter data and see after entering the
data what happens to the total. As they have to enter a lot of data, it is
rather ennoying to push everytime the "submit" -button.

Renger


_

ECOPLAN
Forschung und Beratung in Wirtschaft und Politik
Economic Research and Policy Consultancy
Thunstrasse 22 / CH-3005 Berne (Switzerland)
Phone: +41 31 356 61 61 / Fax: +41 31 356 61 60
mailto:[EMAIL PROTECTED]  / http://www.ecoplan.ch>


 



---
[This E-mail scanned for viruses by Declude Virus]


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




[PHP-WIN] Re: How do i load my new activex dll?

2003-01-28 Thread Wayne
OK i tried to use the function of the win api
i tried the com, and guess it wont work :(

But i get the following error, now, apache only works as a multi threaded
webserver doesn't it?


Fatal error: dl() is not supported in multithreaded Web servers - use
extension statements in your php.ini in c:\servers\root\php_nuke\md5.php on
line 7

===

"Brian 'Bex' Huff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> If you have made a COM object, you can use the COM PHP functions,
> documented here:
>
> http://www.php.net/manual/en/ref.com.php
>
> If you just have a normal, cheezy DLL, you'll have to use the somewhat
> less tested, and possibly less stable, Win32API extension:
>
> http://www.php.net/manual/en/ref.w32api.php
>
> Lots of handy tips are at the bottom of these pages in the comments
> sections...
>
> --
>
> Brian 'Bex' Huff
> [EMAIL PROTECTED]
> Phone: 952-903-2023
> Fax: 952-829-5424
>
>
> > hey ya,
> >
> > I have made a new dll "prjMD5.dll" in visual basic's, so i can use the
same
> > MD 5 hash for my website, and my chat server passwords.
> >
> > anyhow.
> >
> > Now i have my new DLL
> >
> > How do i load the function in my dll?
> >
> > My function's Name is "MD5Encrypt"
> >
> > and only has 1 value: "password"
> >
> > ie: $hased = md5encrypt($password);
> >
> > but i dont know how to load the dll..
> > ne 1 wish to help me with this please?
> >
> > Thanks
> > My email address is
> > w_pearsall[at]yahoo.co.uk
>
>
>
>



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




[PHP-WIN] Is this possible

2003-01-28 Thread Wade
01282003 1248 CST

Is this even possible.

You create a page with two text fields= Name and Email and a submit button.

In the

https://www.whatever.com"; method="post">

can you submit this to Two different locations like

https://www.whateverA.com";  action="https://www.whateverB.com";
method="post">


Is that even possible?

Wade


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




Re: [PHP-WIN] Is this possible

2003-01-28 Thread Stephen Edmonds
No, however... you could use

include( "whatever.php" );

so that the form submits to one page, which then includes both pages and
does whatever it is you need. Why you want to submit to two places is a
mystery though...

Stephen


- Original Message -
From: "Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 8:52 PM
Subject: [PHP-WIN] Is this possible


> 01282003 1248 CST
>
> Is this even possible.
>
> You create a page with two text fields= Name and Email and a submit
button.
>
> In the
>
> https://www.whatever.com"; method="post">
>
> can you submit this to Two different locations like
>
> https://www.whateverA.com";
action="https://www.whateverB.com";
> method="post">
>
>
> Is that even possible?
>
> Wade
>
>
> --
> 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-WIN] HEEEELP! CAN'T WRITE ON A FILE

2003-01-28 Thread phplam
Hello !
I'm in a mess. Please help me.
Every time I tried to write with fwrite or fputs in a file, I get an error
on windows nt sp6 , ie6 from "Doc. Watson" saying that Apache.exe makes an
application access error .
Filesystem functions: is_readable, is_writable,fopen,fclose are ok . I can
create, find and open the file.
versions: PHP 4.2.3, APACHE 1.3
httpd.conf :
   Alias /test/ "C:/Apache/htdocs/test/"


Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

--
example1:
// start buffering the output
ob_start();
$filename = "c:\\apache\\htdocs\\test\files\\mifile.txt";
// output format - either "www" or "file"
$output = "file";
// print some output
print "Welcome to the Matrix, Neo";
// now decide what to do with the buffered output
if ($output == "www")
{
 // either print the contents of the buffer...
 ob_end_flush();
}
else
{
 // ... or write it to a file
 $data = ob_get_contents();
 chmod ($filename, 0777);
 $fp = fopen ($filename, "wb+");
//ERROR IS HERE
 fwrite($fp, $data);
 fclose($fp);
 ob_end_clean();
}

example 2:
//I've tried each of the following 5 $filename assignments.
//$filename = "c:\\apache\\htdocs\\mcm\\mifile.txt";
//$filename = "/mifile.txt";
//$filename = "mifile.txt";
//$filename = "c:\\tmp\\mifile.txt";
$filename = "c:\\apache\\htdocs\\test\files\\mifile.txt";
$somecontent = "Add this to the file\n";
$fp = fopen($filename,"wb");
// Write $somecontent to our opened file.
//ERROR IS HERE
if (!fwrite($fp, $somecontent)) {
print "Cannot write to file ($filename)";
exit;
}
fclose($fp);






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




[PHP-WIN] Looking for something like floor() only to round to a nearest divisor

2003-01-28 Thread Asendorf, John
I'm looking for a function like floor() only I want it rounded to a number
that is divisible by another number.  For instance, if the divisor is 6,
alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the
divisor.  Or, alt_floor ( 174 , 20 ) would yield 160...

Anyone already do something like this?

Thanks,  John

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit

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




[PHP-WIN] Re: Looking for something like floor() only to round to a nearestdiv

2003-01-28 Thread cybot
just use

$floor_val = 6 * ((int) 15/6)

John Asendorf wrote:

I'm looking for a function like floor() only I want it rounded to a number
that is divisible by another number.  For instance, if the divisor is 6,
alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the
divisor.  Or, alt_floor ( 174 , 20 ) would yield 160...

Anyone already do something like this?

Thanks,  John

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com


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




RE: [PHP-WIN] Re: Looking for something like floor() only to round to a nearest div

2003-01-28 Thread Asendorf, John
I'm not sure if you understood what I was trying to do... I went ahead a
wrote something... if there's something else out there I should use, let me
know:



//this only works for positive numbers where input > divisor (so far)!!

function alt_floor ( $input , $divisor ) { 

if ( $input % $divisor == 0 ) {
  return $input;
}

else {
for ( $i = $divisor ; $i < $input ; $i+=$divisor ) {}

$i -= $divisor;
return $i;
}
}

$y = alt_floor ( 165 , 20 ); $y = 160
$y = alt_floor ( 10 , 3 ); $y = 9
$y = alt_floor ( 701 , 10 ); $y = 700
$y = alt_floor ( 15 , 6 ); $y = 12
$y = alt_floor ( 15 , 3 ); $y = 15




$floor_val = 6 * ((int) 15/6) // yielded 15 for me... not what I was going
for.

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -Original Message-
> From: cybot [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 3:03 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Looking for something like floor() 
> only to round
> to a nearest div
> 
> 
> just use
> 
> $floor_val = 6 * ((int) 15/6)
> 
> John Asendorf wrote:
> > I'm looking for a function like floor() only I want it 
> rounded to a number
> > that is divisible by another number.  For instance, if the 
> divisor is 6,
> > alt_floor ( 15 , 6 ) would yield 12 where 15 is the input 
> and 6 is the
> > divisor.  Or, alt_floor ( 174 , 20 ) would yield 160...
> > 
> > Anyone already do something like this?
> > 
> > Thanks,  John
> > 
> > -
> > John Asendorf - [EMAIL PROTECTED]
> > Web Applications Developer
> > http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> > Licking County, Ohio, USA
> > 740-349-3631
> > Nullum magnum ingenium sine mixtura dementiae fuit
> 
> -- 
> Sebastian Mendel
> 
> [EMAIL PROTECTED]
> 
> www.sebastianmendel.de
> www.tekkno4u.de
> www.nofetish.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-WIN] Looking for something like floor() only to round to a nearest div isor

2003-01-28 Thread Asendorf, John
Scratch that other one, came up with something quite a bit better for speed
on large numbers:

// Obviously only works with intergers (can be fixed but don't need to for
my application)
// Obviously only works where $input > $divisor

function alt_floor ( $input , $divisor ) {

if ( $input % $divisor == 0 ) {
return $input;
}

else {
for ( $i = $input ; $i % $divisor != 0 ; $i-- ) {}

$i;
return $i;
}
}



-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -Original Message-
> From: Asendorf, John [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 2:53 PM
> To: Php-Windows (E-mail)
> Subject: [PHP-WIN] Looking for something like floor() only to 
> round to a
> nearest div isor
> 
> 
> I'm looking for a function like floor() only I want it 
> rounded to a number
> that is divisible by another number.  For instance, if the 
> divisor is 6,
> alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the
> divisor.  Or, alt_floor ( 174 , 20 ) would yield 160...
> 
> Anyone already do something like this?
> 
> Thanks,  John
> 
> -
> John Asendorf - [EMAIL PROTECTED]
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
> 
> -- 
> 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-WIN] Mail newbie Question

2003-01-28 Thread Duncan
Hi All,

Is it possible to create a page where visitors can for example submit their
email address and a list of their demands, then the page mails it to a
support address?

Would I have to use a mail server of any kind to send the emails?

Where could I find an example script that could do this?

 

Many thx in adv 




RE: [PHP-WIN] Re: Looking for something like floor() only to roun d to a nearest div

2003-01-28 Thread Bryan Pal

--- "Asendorf, John" <[EMAIL PROTECTED]> wrote:
> $floor_val = 6 * ((int) 15/6) // yielded 15 for
> me... not what I was going
> for.

This returned 15 for me, too.

But this does what you want:

$floor_val = 6 * floor(15/6)

Cheers!
Bryan

> > -Original Message-
> > From: cybot [mailto:[EMAIL PROTECTED]]
> > just use
> >
> > $floor_val = 6 * ((int) 15/6)




__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




RE: [PHP-WIN] Re: Looking for something like floor() only to roun d to a nearest div

2003-01-28 Thread Asendorf, John
Jeez... that was too simple... I like my convoluted 15 line solution better!
(ok... just kidding!)

Much better than mine and much more efficient too.  Thanks,  John

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -Original Message-
> From: Bryan Pal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: Looking for something like floor() only to
> roun d to a nearest div
> 
> 
> 
> --- "Asendorf, John" <[EMAIL PROTECTED]> wrote:
> > $floor_val = 6 * ((int) 15/6) // yielded 15 for
> > me... not what I was going
> > for.
> 
> This returned 15 for me, too.
> 
> But this does what you want:
> 
> $floor_val = 6 * floor(15/6)
> 
> Cheers!
> Bryan
> 
> > > -Original Message-
> > > From: cybot [mailto:[EMAIL PROTECTED]]
> > > just use
> > >
> > > $floor_val = 6 * ((int) 15/6)
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.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




Re: [PHP-WIN] Re: Looking for something like floor() only to round to a nearest div

2003-01-28 Thread cybot


Bryan Pal wrote:

--- "Asendorf, John" <[EMAIL PROTECTED]> wrote:


$floor_val = 6 * ((int) 15/6) // yielded 15 for
me... not what I was going
for.



This returned 15 for me, too.

But this does what you want:

$floor_val = 6 * floor(15/6)

es, sorry was my mistake, correct is:

$floor_val = 6*(int)(15/6);



Cheers!
Bryan



-Original Message-
From: cybot [mailto:[EMAIL PROTECTED]]
just use

$floor_val = 6 * ((int) 15/6)






__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com


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




Re: [PHP-WIN] Mail newbie Question

2003-01-28 Thread Cam Dunstan
Yep - check out the mail() function which will do exactly that.  If you are
developing on your own machine which may not be running a mail server,
configure php to use your ISP`s mail server.



- Original Message -
From: "Duncan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 7:39 AM
Subject: [PHP-WIN] Mail newbie Question


> Hi All,
>
> Is it possible to create a page where visitors can for example submit
their
> email address and a list of their demands, then the page mails it to a
> support address?
>
> Would I have to use a mail server of any kind to send the emails?
>
> Where could I find an example script that could do this?
>
>
>
> Many thx in adv
>
>


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




php-windows Digest 28 Jan 2003 22:46:04 -0000 Issue 1560

2003-01-28 Thread php-windows-digest-help

php-windows Digest 28 Jan 2003 22:46:04 - Issue 1560

Topics (messages 18130 through 18157):

Re: parsing tricky text file
18130 by: George Pitcher
18131 by: George Pitcher
18132 by: J.Veenhuijsen

Re: Redirecting to index.php
18133 by: Jill.Ramonsky.Aculab.com

Re: maximun execution time
18134 by: Jill.Ramonsky.Aculab.com

connection to ms sqlserver 7
18135 by: ps_jkt.trakindo.co.id

constants in functions
18136 by: Bobo Wieland

Help with converting data type from Database in PHP
18137 by: Robert Trembath

Submit without Submit
18138 by: Renger van Nieuwkoop
18139 by: Svensson, B.A.T. (HKG)
18140 by: Luis Ferro
18156 by: Cam Dunstan

Re: [PHP-DB] Help with converting data type from Database in PHP
18141 by: SELPH,JASON (HP-Richardson,ex1)

Re: How do i load my new activex dll?
18142 by: Wayne

Is this possible
18143 by: Wade
18144 by: Stephen Edmonds
18157 by: Cam Dunstan

htpasswd question
18145 by: Dominik Wittenbeck
18146 by: Dash McElroy

HLP! CAN'T WRITE ON A FILE
18147 by: phplam

Looking for something like floor() only to round to a nearest div isor
18148 by: Asendorf, John
18151 by: Asendorf, John

Re: Looking for something like floor() only to round to a nearest div
18149 by: cybot
18150 by: Asendorf, John
18153 by: Bryan Pal
18154 by: Asendorf, John
18155 by: cybot

Mail newbie Question
18152 by: Duncan

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 ---
J.Veenhuijsen wrote:

> What I would do in this case is writing my own little
> parser program to spool it in to a MySQL database.
> I often use Delphi for this.
>
> What is the record delimiter?

The only way that you know a new record starts is the line starts with '-'
('-T&F eBook data rec.1534 @ 27/01/2003').

> OTOP with nothing behind it means emty field?

In fact there are two nword spaces there.


> Execept for the USAU fields it seem all very fieldname/content like.

In this record, that is true but having a look through a sample I have found
at least 5 fields that have 'duplicates'.

I still don't see how it is going to be easy.


George
>
> Jochem
>
>
> George Pitcher wrote:
> > Hi,
> >
> > I'm looking for some advice.
> >
> > One of my suppliers (big publisher) has sent me a file
> containing records of
> > their books. The file is anabsolute nightmare.
> >
> > There are approx 8000 records and the format is like this
> (actual record):
> >
> > -T&F eBook data rec.1534 @ 27/01/2003
> > VISBN 0203445570
> > OSBN  0-203-44557-0
> > EBK1  0203548310
> > EBK2  0203651057
> > EBK3  020375381X
> > EBK4  0203273567
> > OTOP
> > OTART
> > OTI   Creative Mathematics
> > OSUB
> > USAU  Upitis |f Rena |u Queens University |c Kingston, Ontario |x
> >   Canada
> > USAU  Phillips |f Eileen |u Teacher |c Vancover |x Canada
> > USAU  Higginson |f William |u Queens University |c Kingston |x
> >   Canada
> > EDIT
> > INTRO
> > FORWD Pimm |f David |u The Open University x| UK
> > TRANS
> > 2BIND 0415164621 |P 70.00 |U 100.00 |B Hb |A  |M 1 |T Creative
> >   Mathematics
> > VPR   11.99
> > USPRI 17.99
> > OTBPR 19.99 |U 25.95 |D 17/07/1997
> > USBDG
> > MFDT
> > ERT   GB US CA AU NZ ZA IE
> > ORT
> > NRT
> > TTY
> > OBIND eB
> > PDUE  11/03/2002
> > VIZE
> > VEXT  192
> > OILLS 40 illustrations
> > LEVEL
> > OSER
> > OIMP  RoutledgeFalmer
> > LIBPR
> > OALT
> > OPPQ
> > OCATL This book shows how creative maths can really work.
> >   Exploring the ways in which maths skills can be learned
> >   through cross-curricular activities based on visual arts
> >   and music, the book presents maths as a meaningful and
> >   exciting subject which holds no fears for children. The
> >   authors recognise that while maths-phobia prevails in our
> >   increasingly mathematicised world, attitudes and
> >   approaches to teaching the subject need to be reviewed,
> >   and issues such as gender stereotyping, which encourage
> >   maths-apathy, need to be tackled at an early stage.
> >   Within this collection of classroom-based stories are
> >   detailed examples of integrative mathematic projects;
> >   these will give teachers the confidence to try out
> >   cross-curricular activities in their classes. The book
> >   also provides support with difficult areas such as
> >   assessment, planning and development. Fascinating to
> >   read in its own right this book will appeal to the
> >   specialist and non-specialist alike.
> > OCONC This book shows how creative maths can really work.
> >   Exploring the ways in w

Re: [PHP-WIN] Submit without Submit

2003-01-28 Thread Cam Dunstan
Only possible with javascript as far as I now wherein you do the calcs or
validation at the browser end.  Other possibility is a java applet but PHP
being  server side does not have any inherent ability beyond ordinary html
at the users end.  nothing to stop you using php to generate the
aforementioned javascript based on who the user is or he she wants though.




- Original Message -
From: "Renger van Nieuwkoop" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 1:45 AM
Subject: [PHP-WIN] Submit without Submit


> Dear all
>
> Is it possible to have php refresh a form without using a submit button (I
> want to have a form where people can enter data and see after entering the
> data what happens to the total. As they have to enter a lot of data, it is
> rather ennoying to push everytime the "submit" -button.
>
> Renger
>
>
> _
>
> ECOPLAN
> Forschung und Beratung in Wirtschaft und Politik
> Economic Research and Policy Consultancy
> Thunstrasse 22 / CH-3005 Berne (Switzerland)
> Phone: +41 31 356 61 61 / Fax: +41 31 356 61 60
> mailto:[EMAIL PROTECTED]  / http://www.ecoplan.ch>
>
>
> --
> 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




Re: [PHP-WIN] Is this possible

2003-01-28 Thread Cam Dunstan
Don`t think so Wade, the posted data would be sent only to whateverB dot
com.

Which domain was going to respond to the user by the way?  since only one
can, the other is purely for the collection of data presumably - have a look
at fopen() and fsockopen() in the manual, a solution might come to mind.




- Original Message -
From: "Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 7:52 AM
Subject: [PHP-WIN] Is this possible


> 01282003 1248 CST
>
> Is this even possible.
>
> You create a page with two text fields= Name and Email and a submit
button.
>
> In the
>
> https://www.whatever.com"; method="post">
>
> can you submit this to Two different locations like
>
> https://www.whateverA.com";
action="https://www.whateverB.com";
> method="post">
>
>
> Is that even possible?
>
> Wade
>
>
> --
> 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-WIN] displaying a numeral

2003-01-28 Thread Pat Johnston
Hi
I have a field in my MySQL database that's a decimal where I have figures of
millions without the decimal point -

i.e - 150

Is there a function in PHP to display this figure as a $ amount -

i.e - $1,500,000

I searched PHP manual without finding anything. If there is something in
the manual, can someone point me to it..

Regards, Pat



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




Re: [PHP-WIN] displaying a numeral

2003-01-28 Thread Frank M. Kromann


http://php.net/number_format

is what you are looking for.

- Frank

> Hi
> I have a field in my MySQL database that's a decimal where I have
figures of
> millions without the decimal point -
> 
> i.e - 150
> 
> Is there a function in PHP to display this figure as a $ amount -
> 
> i.e - $1,500,000
> 
> I searched PHP manual without finding anything. If there is something
in
> the manual, can someone point me to it..
> 
> Regards, Pat
> 
> 
> 
> -- 
> 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-WIN] windows installation issues

2003-01-28 Thread Jason Thibeault
I'm trying to install php 4.3.0 for Windows on a Win2k box with SP3.

Everything installs fine until the end where I get the folowing error:

"Due to a missing OCX control on your system, this installer is unable to
configure your webserver. But, PHP is now installed on your system. You can
manually configure your webserver by following the steps in the install.txt
file located in your PHP installation directory."

What is this missing OCX control? How do I fix it?

thanks,

Jason



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




RE: [PHP-WIN] How do i load my new activex dll?

2003-01-28 Thread Sean Malloy
Why would you use a com object to do an md5 hash?

php has an inbuilt md5() function.


-Original Message-
From: Wayne [mailto:[EMAIL PROTECTED]]
Sent: Monday, 27 January 2003 8:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How do i load my new activex dll?


hey ya,

I have made a new dll "prjMD5.dll" in visual basic's, so i can use the same
MD 5 hash for my website, and my chat server passwords.

anyhow.

Now i have my new DLL

How do i load the function in my dll?

My function's Name is "MD5Encrypt"

and only has 1 value: "password"

ie: $hased = md5encrypt($password);

but i dont know how to load the dll..
ne 1 wish to help me with this please?

Thanks
My email address is
w_pearsall[at]yahoo.co.uk



-- 
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-WIN] htpasswd question

2003-01-28 Thread Dominik Wittenbeck
I am currently trying to create a .htpasswd file for apache using PHP and
the crypt() on Win2k. I can generate the file alright but it does not work.
I have looked into some classes as well and all use the crypt() function.
The reason for this not working is probably the algorithm used because the
passwords within a .htpasswd created with apache looks a hell lot different
using something like

$apr1$rB2.$8iUWArWEsTQ2553kjk22NS1 (not a real password by the way)

anyone having experience with that? Something up because I use windows?

Dominik Wittenbeck

  E-Mail: [EMAIL PROTECTED]
  URL:http://www.developaz.com



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




Re: [PHP-WIN] htpasswd question

2003-01-28 Thread Dash McElroy
I would try something like this instead:

$params = escapeshellarg($params);
$output = system(c:\path\to\htpasswd $params);
//check for output errors or what not

There very well could be a better solution (especially since I have not
tried the above code...).

I remember seeing somewhere that the crypt algorithms are different for
Apache and PHP on Win32.

-Dash

Cleanliness is next to impossible.

On Tue, 28 Jan 2003, Dominik Wittenbeck wrote:

> I am currently trying to create a .htpasswd file for apache using PHP and
> the crypt() on Win2k. I can generate the file alright but it does not work.
> I have looked into some classes as well and all use the crypt() function.
> The reason for this not working is probably the algorithm used because the
> passwords within a .htpasswd created with apache looks a hell lot different
> using something like
>
> $apr1$rB2.$8iUWArWEsTQ2553kjk22NS1 (not a real password by the way)
>
> anyone having experience with that? Something up because I use windows?
>
> Dominik Wittenbeck
> 
>   E-Mail: [EMAIL PROTECTED]
>   URL:http://www.developaz.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




Re: [PHP-WIN] displaying a numeral

2003-01-28 Thread Pat Johnston
Thanks Frank,

The

$english_format_number = number_format($number);

line works a treat.

Cheers, Pat


"Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> http://php.net/number_format
>
> is what you are looking for.
>
> - Frank
>
> > Hi
> > I have a field in my MySQL database that's a decimal where I have
> figures of
> > millions without the decimal point -
> >
> > i.e - 150
> >
> > Is there a function in PHP to display this figure as a $ amount -
> >
> > i.e - $1,500,000
> >
> > I searched PHP manual without finding anything. If there is something
> in
> > the manual, can someone point me to it..
> >
> > Regards, Pat
> >
> >
> >
> > --
> > 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-WIN] Help with converting data type from Database in PHP

2003-01-28 Thread Robert Trembath
Has anyone done 16-bit integer conversion to decimal in PHP or know the 
formula to convert the data. Below is an example of what oracle gives me 
and what I need to convert it to. Any help would be greatly appreciated.

Thanks,
Robert


I get this in unsigned 16-bit Integer format:

AACBAACBAACDAACIAADEAAEFAAENAAELAAEMAAEMAAEPAAFDAAENAAFGA
AFGAAELAAFFAAFMAAFAAAECAAENAAFMAAGBAAFBAADHAADGAAEEAAFCAA
GCAAGJAAFMAADLAACMAACKAACLAACPAADIAAEHAAFHAAGGAAGPAAGIAAEL
AACPAACKAACIAACIAACJAACKAACJAACKAACJAACLAACLAACOAADGAAEFAAF
GAAGHAAHEAAHFAAGBAADKAACLAACKAACKAACKAACKAACJAACKAACLAACK
AACJAACJAACKAACJAACJAACIAACJAACKAACKAACJAACKAACJAACKAACLAACL
AACLAACKAACLAACMAACNAACPAADHAAEHAAFOAAHCAAHOAAHIAAFBAADBAA
CNAACNAACMAACMAACMAACMAACMAACLAACLAACMAACMAACNAACMAACMA
ACNAADAAADCAADNAAFBAAGKAAIBAAIMAAHMAAEIAADAAACOAACMAACMAAC
LAACKAACJAACKAACJAACJAACJAACIAACIAACIAACIAACHAACIAACHAACHAACHA
ACHAACHAACGAACGAACHAACHAACGAACGAACGAACHAACGAACFAACFAACGAAC
FAACFAACFAACGAACGAACFAACFAACFAACGAACFAACGAACGAACFAACFAACGAA
CHAACHAACHAACHAACKAADFAAEKAAGFAAHEAAGIAADLAACJAACHAACHAACFAA
CFAACFAACFAACFAACFAACFAACFAACFAACFAACFAACEAACFAACFAACFAACEAA
CFAACFAACGAACEAACFAACFAACFAACGAACFAACEAACFAACFAACGAACFAACEAA
CFAACEAACFAACFAACFAACGAACGAACFAACFAACFAACFAACFAACGAACGAACGAA
CGAACFAACFAACGAACGAACGAACGAACHAACHAACGAACHAACHAACGAACGAACGA
ACFAACFAACFAACGAACFAACGAACGAACGAACFAACFAACGAACHAACGAACGAACGA
ACGAACGAACJAADAAADOAAFAAAFLAAFPAAFHAAECAACPAACHAACGAACFAACFAA
CFAACFAACEAACFAACEAACEAACEAACFAACFAACFAACFAACEAACFAACEAACDAACE
AACGAACKAADCAADLAAEAAADIAACMAACHAACEAACDAACEAACDAACDAACDAACD
AACEAACHAACMAADDAADJAADHAACPAACHAACDAACBAACBAACBAACCAACBAACB
AACCAACDAACFAACLAADAAADDAACPAACIAACDAACCAACBAACAAACAAABPAABPA
ACAAABPAABPAABOAACAAABPAABOAABOAABOAABOAABMAABNAABNAABNAABMA
ABNAACAAACCAACEAACEAACDAACAAABNAABLAABMAABMAACAAACBAACBAACAA
ABNAABLAABLAABKAABKAABJAABJAABKAABJAABKAABKAABKAABKAABLAABMAAB
OAABPAACAAACBAABOAABNAABMAABLAABLAABMAABMAABNAABNAABNAABMAAB
LAABKAABKAABJAABIAABIAABIAABIAABHAABIAABIAABHAABIAABHAABHAABHAABHA
ABGAABHAABGAABGAABHAABGAABGAABHAABHAABHAABGAABGAABGAABFAABFAABF
AABFAABEAABDAABDAABDAABDAABDAABDAABCAABCAABCAABCAABCAABCAABBAA
BBAABBAABAAABBAABAAABAAABAAABAAABPAABPAAAPAAAOAAAOAAAO
AAANAAANAAANAAANAAAMAAAMAAAMAAALAAALAAAKAAAKAAAKAAAKAAAJAAAIAAA

This is the same data converted to decimal, which is what I need PHP to do:

0,0,43,44,45,45,45,46,47,48,48,49,50,51,53,55,54,54,54,54,55,55,55,56,56,58,66,77,89,96,89,75,70,74,84,
92,87,81,79,74,68,66,65,65,66,72,80,86,81,78,86,96,97,92,91,83,73,67,65,63,62,62,62,63,64,63,64,70,81,
89,86,76,67,62,59,59,61,60,59,60,63,65,70,74,68,60,59,59,58,57,57,57,57,60,61,59,58,58,59,65,68,64,62,
65,74,88,97,94,95,103,90,68,58,58,59,62,71,86,97,87,68,68,75,70,59,54,54,53,53,52,51,51,52,51,50,50,49,
48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,46,47,48,48,45,44,44,45,46,47,46,45,44,45,
45,45,45,44,44,45,46,49,52,50,47,45,45,45,45,45,45,46,46,50,56,55,48,45,44,44,43,44,45,48,52,53,50,48,
47,45,45,44,44,44,45,44,44,45,45,46,47,51,60,73,81,70,52,46,46,46,46,46,46,46,46,45,46,47,47,47,48,50,
57,75,105,143,167,157,119,90,78,63,50,45,45,45,44,43,43,44,43,42,42,42,42,42,42,43,42,42,42,42,42,42,
42,42,42,42,42,42,42,42,42,41,41,42,43,43,45,46,47,47,47,53,68,99,140,171,161,110,62,45,42,41,40,40,
40,39,38,38,38,38,37,36,37,37,37,37,37,37,37,37,37,38,38,36,36,36,36,35,35,34,34,34,34,33,33,33,34,34,
34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,29,28,28,29,28,28,28,28,28,27,27,27,27,27,27,26,26,
26,27,27,27,26,26,26,27,27,27,27,27,28,28,28,27,27,27,28,27,27,27,27,28,28,27,27,27,27,27,27,27,27,26,
26,26,25,25,25,25,25,25,24,24,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,22,22,22,22,21,21,21,21,20,
20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,18,18,18,17,17,16,16,16,15,15,15,14,14,13,13,13,12,12,
12,11,11,10,10,10,0,



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



[PHP-WIN] RE: [PHP-DB] Help with converting data type from Database in PHP

2003-01-28 Thread SELPH,JASON (HP-Richardson,ex1)
I think I remember something about pack and unpack working with aunti
endian, uncle endian and all the little endians.

Jason

-Original Message-
From: Robert Trembath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 9:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-DB] Help with converting data type from Database in PHP


Has anyone done 16-bit integer conversion to decimal in PHP or know the 
formula to convert the data. Below is an example of what oracle gives me 
and what I need to convert it to. Any help would be greatly appreciated.

Thanks,
Robert


I get this in unsigned 16-bit Integer format:

AACBAACBAACDAACIAADEAAEFAAENAAELAAEMAAEMAAEPAAFDAAENAAFGA
AFGAAELAAFFAAFMAAFAAAECAAENAAFMAAGBAAFBAADHAADGAAEEAAFCAA
GCAAGJAAFMAADLAACMAACKAACLAACPAADIAAEHAAFHAAGGAAGPAAGIAAEL
AACPAACKAACIAACIAACJAACKAACJAACKAACJAACLAACLAACOAADGAAEFAAF
GAAGHAAHEAAHFAAGBAADKAACLAACKAACKAACKAACKAACJAACKAACLAACK
AACJAACJAACKAACJAACJAACIAACJAACKAACKAACJAACKAACJAACKAACLAACL
AACLAACKAACLAACMAACNAACPAADHAAEHAAFOAAHCAAHOAAHIAAFBAADBAA
CNAACNAACMAACMAACMAACMAACMAACLAACLAACMAACMAACNAACMAACMA
ACNAADAAADCAADNAAFBAAGKAAIBAAIMAAHMAAEIAADAAACOAACMAACMAAC
LAACKAACJAACKAACJAACJAACJAACIAACIAACIAACIAACHAACIAACHAACHAACHA
ACHAACHAACGAACGAACHAACHAACGAACGAACGAACHAACGAACFAACFAACGAAC
FAACFAACFAACGAACGAACFAACFAACFAACGAACFAACGAACGAACFAACFAACGAA
CHAACHAACHAACHAACKAADFAAEKAAGFAAHEAAGIAADLAACJAACHAACHAACFAA
CFAACFAACFAACFAACFAACFAACFAACFAACFAACFAACEAACFAACFAACFAACEAA
CFAACFAACGAACEAACFAACFAACFAACGAACFAACEAACFAACFAACGAACFAACEAA
CFAACEAACFAACFAACFAACGAACGAACFAACFAACFAACFAACFAACGAACGAACGAA
CGAACFAACFAACGAACGAACGAACGAACHAACHAACGAACHAACHAACGAACGAACGA
ACFAACFAACFAACGAACFAACGAACGAACGAACFAACFAACGAACHAACGAACGAACGA
ACGAACGAACJAADAAADOAAFAAAFLAAFPAAFHAAECAACPAACHAACGAACFAACFAA
CFAACFAACEAACFAACEAACEAACEAACFAACFAACFAACFAACEAACFAACEAACDAACE
AACGAACKAADCAADLAAEAAADIAACMAACHAACEAACDAACEAACDAACDAACDAACD
AACEAACHAACMAADDAADJAADHAACPAACHAACDAACBAACBAACBAACCAACBAACB
AACCAACDAACFAACLAADAAADDAACPAACIAACDAACCAACBAACAAACAAABPAABPA
ACAAABPAABPAABOAACAAABPAABOAABOAABOAABOAABMAABNAABNAABNAABMA
ABNAACAAACCAACEAACEAACDAACAAABNAABLAABMAABMAACAAACBAACBAACAA
ABNAABLAABLAABKAABKAABJAABJAABKAABJAABKAABKAABKAABKAABLAABMAAB
OAABPAACAAACBAABOAABNAABMAABLAABLAABMAABMAABNAABNAABNAABMAAB
LAABKAABKAABJAABIAABIAABIAABIAABHAABIAABIAABHAABIAABHAABHAABHAABHA
ABGAABHAABGAABGAABHAABGAABGAABHAABHAABHAABGAABGAABGAABFAABFAABF
AABFAABEAABDAABDAABDAABDAABDAABDAABCAABCAABCAABCAABCAABCAABBAA
BBAABBAABAAABBAABAAABAAABAAABAAABPAABPAAAPAAAOAAAOAAAO
AAANAAANAAANAAANAAAMAAAMAAAMAAALAAALAAAKAAAKAAAKAAAKAAAJAAAIAAA

This is the same data converted to decimal, which is what I need PHP to do:

0,0,43,44,45,45,45,46,47,48,48,49,50,51,53,55,54,54,54,54,55,55,55,56,56,58,
66,77,89,96,89,75,70,74,84,
92,87,81,79,74,68,66,65,65,66,72,80,86,81,78,86,96,97,92,91,83,73,67,65,63,6
2,62,62,63,64,63,64,70,81,
89,86,76,67,62,59,59,61,60,59,60,63,65,70,74,68,60,59,59,58,57,57,57,57,60,6
1,59,58,58,59,65,68,64,62,
65,74,88,97,94,95,103,90,68,58,58,59,62,71,86,97,87,68,68,75,70,59,54,54,53,
53,52,51,51,52,51,50,50,49,
48,48,47,47,47,47,47,47,47,47,47,47,46,46,46,45,45,45,45,45,46,47,48,48,45,4
4,44,45,46,47,46,45,44,45,
45,45,45,44,44,45,46,49,52,50,47,45,45,45,45,45,45,46,46,50,56,55,48,45,44,4
4,43,44,45,48,52,53,50,48,
47,45,45,44,44,44,45,44,44,45,45,46,47,51,60,73,81,70,52,46,46,46,46,46,46,4
6,46,45,46,47,47,47,48,50,
57,75,105,143,167,157,119,90,78,63,50,45,45,45,44,43,43,44,43,42,42,42,42,42
,42,43,42,42,42,42,42,42,
42,42,42,42,42,42,42,42,42,41,41,42,43,43,45,46,47,47,47,53,68,99,140,171,16
1,110,62,45,42,41,40,40,
40,39,38,38,38,38,37,36,37,37,37,37,37,37,37,37,37,38,38,36,36,36,36,35,35,3
4,34,34,34,33,33,33,34,34,
34,33,33,33,33,33,32,32,32,32,32,31,31,31,31,30,30,29,28,28,29,28,28,28,28,2
8,27,27,27,27,27,27,26,26,
26,27,27,27,26,26,26,27,27,27,27,27,28,28,28,27,27,27,28,27,27,27,27,28,28,2
7,27,27,27,27,27,27,27,26,
26,26,25,25,25,25,25,25,24,24,25,24,24,24,24,24,24,23,23,23,23,23,23,22,22,2
2,22,22,22,21,21,21,21,20,
20,20,20,20,19,19,19,19,19,18,18,18,17,17,17,17,18,18,18,17,17,16,16,16,15,1
5,15,14,14,13,13,13,12,12,
12,11,11,10,10,10,0,



-- 
PHP Database 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-WIN] Re: windows installation issues

2003-01-28 Thread J.Veenhuijsen
Configure your webserver manually!!

Jochem

Jason Thibeault wrote:

I'm trying to install php 4.3.0 for Windows on a Win2k box with SP3.

Everything installs fine until the end where I get the folowing error:

"Due to a missing OCX control on your system, this installer is unable to
configure your webserver. But, PHP is now installed on your system. You can
manually configure your webserver by following the steps in the install.txt
file located in your PHP installation directory."

What is this missing OCX control? How do I fix it?

thanks,

Jason





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




Re: [PHP-WIN] Is this possible

2003-01-28 Thread Bobo Wieland
You could allways call a javascript when you submit the form. the javascript
could look something like this for calling two frames:

function loadFrames(form,frame1,page1,frame2,page2) {
 var query = "?name=" + form.field1.value + "&email=" +
form.field2.value;
 eval(\"parent.\"+frame1+\".location='\"+page1+query\"'\");
 eval(\"parent.\"+frame2+\".location='\"+page2+query\"'\");
}

Not too sure about the syntax though...


: bobo : www.elstudion.com/bobo : www.elstudion.com :


- Original Message -
From: "Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 9:52 PM
Subject: [PHP-WIN] Is this possible


> 01282003 1248 CST
>
> Is this even possible.
>
> You create a page with two text fields= Name and Email and a submit
button.
>
> In the
>
> https://www.whatever.com"; method="post">
>
> can you submit this to Two different locations like
>
> https://www.whateverA.com";
action="https://www.whateverB.com";
> method="post">
>
>
> Is that even possible?
>
> Wade
>
>
> --
> 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