php-windows Digest 18 May 2001 17:19:13 -0000 Issue 605

Topics (messages 7706 through 7734):

Re: PHP3 with mySQL
        7706 by: Ignatius Teo

Re: My SQL
        7707 by: Ignatius Teo

Re: extracting email addresses
        7708 by: Paul Meagher
        7724 by: afan
        7733 by: Svensson, B.A.T.

Re: .htaccess
        7709 by: OoCobra97.aol.com

Re: include paths
        7710 by: Ruslan Ohitin
        7718 by: mjrobey.maxoncorp.com

Re: PHP development DLL where Docs?
        7711 by: Ruslan Ohitin

crypt
        7712 by: Ivan Pavlovic

MS Access + Linux + PHP
        7713 by: Daniel Sichta
        7721 by: Asendorf, John

Re: extracting email addresses / also NEWBIES please read !!
        7714 by: Michael Rudel

Re: PHP and Multiple databases
        7715 by: John Lim

Re: truncating of file in fopen.
        7716 by: Ignatius Teo

IIS 5 / ISAPI 405 respons for a post request
        7717 by: Herbert Groot Jebbink

To control the time - another process ?
        7719 by: Piotr Plusa

Re: Canceling a Query
        7720 by: Svensson, B.A.T.
        7723 by: Johan Lundqvist

Re: Sockets problems in php
        7722 by: Che Gonzalez
        7725 by: Michael Rudel

UNIX Timestamp
        7726 by: Jarkko Laine
        7728 by: Michael Rudel
        7729 by: Schulz, Evan

PHP for Win
        7727 by: elias

ob_gzhandler
        7730 by: Ermanno Iannacci

Sending encrypted credit card data
        7731 by: Todd Cary

Re: postgresql extension hanging
        7732 by: koki

Tuttorials on writing COM classes for PHP and locations of existing classes??
        7734 by: Michael Kelley

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]


----------------------------------------------------------------------


I think you've answered your question. Perhaps this might help you decide...
Does the new provider run PHP (version?) and MySQL on their NT box?




Ignatius Teo
Project Manager, Internet Access Services
Information Technology Directorate
Southern Cross University
PO Box 157, Lismore NSW 2480
Email: iteo_at_scu_edu_au
Phone: +61 2 6620-3221
Fax  : +61 2 6620-3033
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/IT$ d++(-)@ s++:++@ a>? C++++ UL !P$ L+
!E W+$ N- o? !K w O---- M- V PS PE++ Y+(--)
PGP- t++@ 5-- X++@ R* tv- b+ DI++ D++@ G
e++ h---- r+++ y++++**
------END GEEK CODE BLOCK------


-----Original Message-----
From: Kim Littell [mailto:[EMAIL PROTECTED]]
Sent: Friday, 18 May 2001 05:40
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP3 with mySQL


I'm in a tricky situation with a client and I was hoping to get some advice.
Someone (old provider) wrote a php3 script that creates a mySQL database
from a text file for access over the web.  The problem is my client has
switched providers and has decided to run on an NT server.  Their new
provider only allows ODBC connections for MS Access and SQL Server.  Here
are my options:
1.  Edit the php3 program to create an MS Access or SQL server database
instead of a mySQL database.
2. Rewrite the php3 program ( I have no PHP3 coding experience) to access
MSAccess database.
3.  If accessing an MSAccess or SQL server database is not feasible with
PHP3 rewrite the whole program in ASP (which I have a little more experience
with) and have it create the MSAccess/SQL server database.

If someone could recommend which of the previous options will work that
would be great.  Thank you.



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





Don't you mean beatification?

Ignatius


-----Original Message-----
From: Bob Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 May 2001 13:11
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] My SQL


(First he posts the entire contents of a large file, and then he
wants to know where we want him to put it. A world full of comedians,
and he's volunteering to be the straight man!)

You can put it anywhere you want. But if you put it in your bin
folder, you won't have to include the path.

(I think I deserve sainthood for that answer. Beautification at the least.)

Bob Hall

>where to i put nuke.sql?
>
>-----Original Message-----
>From: Zak Greant [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 16, 2001 9:27 PM
>To: Manesh Manickam; [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] My SQL
>
>
>Open a Command Prompt
>CD into your mysql bin directory (often c:\mysql\bin\)
>Run the command
>
>Ciao,
>
>Zak
>
>
>
>----- Original Message -----
>From: "Manesh Manickam" <[EMAIL PROTECTED]>
>To: "Zak Greant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Wednesday, May 16, 2001 7:25 PM
>Subject: RE: [PHP-WIN] My SQL
>
>
>  > where do i do this, i am win2k
>  >
>  > -----Original Message-----
>  > From: Zak Greant [mailto:[EMAIL PROTECTED]]
>  > Sent: Wednesday, May 16, 2001 6:17 PM
>  > To: Manesh Manickam; [EMAIL PROTECTED]
>  > Subject: Re: [PHP-WIN] My SQL
>  >
>  >
>  > Manesh,
>  >
>  > Don't be surprised that people are less than helpful when you sent a
huge
>  > (34k) message to the list! :)
>  >
>  > The command you need is this:
>  >
>  > mysql db_name < nuke.sql
>  >
>  > Change the db_name to whatever database you want the tables to appear
in.
>  >
>  > All of this info is in the MySQL docs.
>  >
>  > --zak
>  >
>  >
>  >
>  >
>  > ----- Original Message -----
>  > From: "Manesh Manickam" <[EMAIL PROTECTED]>
>  > To: "Manesh Manickam" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>  > Sent: Wednesday, May 16, 2001 3:37 PM
>  > Subject: RE: [PHP-WIN] My SQL
>  >
>  >
>  > > COME ONE!! PLEASE!!!!
>  > >
>  > > -----Original Message-----
>  > > From: Manesh Manickam [mailto:[EMAIL PROTECTED]]
>  > > Sent: Wednesday, May 16, 2001 4:39 PM
>  > > To: [EMAIL PROTECTED]
>  > > Subject: [PHP-WIN] My SQL
>  > >
>  > >
>  > >
>  > > How do i add these table, the file is called nuke.sql
>  > >
>  > > when i run it, it just shows as text. i use IIS5
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Know thyself? Absurd direction!
Bubbles bear no introspection.     -Khushhal Khan Khatak
MySQL list magic words: sql query database

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





> Most normal intelligent persons without any programming skills are able
> to put together a workable program if they only have a manual, because
> humans are creative beings. But then manage to make a program that works
> for a task doesn't mean that these guy can do programming! These fellows
> will usually construct programs that a experience programmer would, to
> put it nicely, call "unusual constructions". Probably these program will
> suffer from bad degrees of coupling and cohesion (aka: spaghetti programs
> in popular terms).

This seems a bit harsh.  Afan is trying to learn PHP and is asking some
questions that seem uninformed.  In my opinion, he is providing us with
some valuable insights into the mental roadblocks that some newcomers find
in trying to learn PHP.  I hope he is not turned off by your comments.
Hang in there Afan.

> D.S. Your description above about the file with e-mail address is still
> not sufficient enough for a programmer to understand how (s)he should
> employ an algorithm to extract e-mail addresses from it. You suffer
> from the "general-customer-ignorance-problem", where the customer
> believes that programmers are mind reader and can extract all the
> details from a transcendental spiritual plane... Well, let me tell
> you this: programming haven't reached that state - yet. :) D.S.

Actually, most customers don't have enought savvy to provide requirements.
There is an element of mind reading involved.  A better term is
sense-making.   I suspect that "good" developers can "read minds" based on
pattern completion arising from experience in similiar situations.
Personally, I believe in alot of mind reading and prototype development to
confirm that my mind reading is on track.

Regards,
Paul Meagher








Thanks Paul,
you got actually why I didn't answer again to Mr. Svensson. It's not worth -
he will not understand us "...without any programming skills..."

This newsgroup is made for two sort of people: who needs help and who can
help. But, there is some people they belong to third group - they want to be
smart.
>"...What I wrote is based on a philosophical discussion I had with ..."

Criticism with help - it's ok, it's helpful.
Just criticism? No, thank you.

> Well, quite nice design!, but... <yaaawn> what
> do you want for that? A medal or what? ;-)

"yaaaaaawning" for somebody's work - it shows in the best way what kind of
person is he.

Afan




----- Original Message -----
From: "Paul Meagher" <[EMAIL PROTECTED]>
To: "Svensson, B.A.T. " <[EMAIL PROTECTED]>; "afan" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 10:45 PM
Subject: Re: [PHP-WIN] extracting email addresses


> > Most normal intelligent persons without any programming skills are able
> > to put together a workable program if they only have a manual, because
> > humans are creative beings. But then manage to make a program that works
> > for a task doesn't mean that these guy can do programming! These fellows
> > will usually construct programs that a experience programmer would, to
> > put it nicely, call "unusual constructions". Probably these program will
> > suffer from bad degrees of coupling and cohesion (aka: spaghetti
programs
> > in popular terms).
>
> This seems a bit harsh.  Afan is trying to learn PHP and is asking some
> questions that seem uninformed.  In my opinion, he is providing us with
> some valuable insights into the mental roadblocks that some newcomers find
> in trying to learn PHP.  I hope he is not turned off by your comments.
> Hang in there Afan.
>
> > D.S. Your description above about the file with e-mail address is still
> > not sufficient enough for a programmer to understand how (s)he should
> > employ an algorithm to extract e-mail addresses from it. You suffer
> > from the "general-customer-ignorance-problem", where the customer
> > believes that programmers are mind reader and can extract all the
> > details from a transcendental spiritual plane... Well, let me tell
> > you this: programming haven't reached that state - yet. :) D.S.
>
> Actually, most customers don't have enought savvy to provide requirements.
> There is an element of mind reading involved.  A better term is
> sense-making.   I suspect that "good" developers can "read minds" based on
> pattern completion arising from experience in similiar situations.
> Personally, I believe in alot of mind reading and prototype development to
> confirm that my mind reading is on track.
>
> Regards,
> Paul Meagher
>
>
>
>





First: Why do you forward a personnel addressed message into
a public e-mail list? (And thus "forcing" me to pollute this
e-mail list with our none-topic gabble?)

Second: in doing so, why do you just include selected parts?

I you forward a private message, then if you have any, WHAT-SO-EVER,
good common sense (which of course also by definition could be said
to already have been lost when forwarding the message in the first
place) you would had forwarded the entire message I wrote.

I have a word for people doing things like you just did: Assholes.

(It never occurred for you that I also might claim (c) on what I
am writing? So did I gave you any permission to publish or spread
my intellectual properties? No, I didn't...)

Anyway:

Other people will now just read your selection, and that will aim
there thinking about MY writing. But for example, why didn't you
cut in a line like:

[QUOTE: of my replay to Paul]
>Afan is trying to learn PHP and is asking some
>questions that seem uninformed. In my opinion, he is providing us with
>some valuable insights into the mental roadblocks that some newcomers
>find in trying to learn PHP.

You impress me! You show lots of insight which I in my narrowed and
intolerant attitude didn't see in the first place. Indeed you are
correct in your remark here!"
[END QUOTE]

or:

"Reading it again, I agree with you. I never intended to direct
this to Afan personally. If Afan felt insulted, I am sorry."

or:

"Ok, I apologize Afan for being a bit rude. I am sorry for that..."

SO THE MAIN QUESTION IS:

     Why do you kick people who already lies down?

--------

And now to what about you wrote in public about my private e-mail:

>Thanks Paul,
>you got actually why I didn't answer again to Mr. Svensson. It's not
>worth - he will not understand us "...without any programming skills..."

That's your personal interpretation of what I said! You don't know
what I _do_ think about it since you have never been asking me that
questions.

Paul had an contrary interpretation about my message, which he had
the good common sense to send as PRIVATE replay to me, NOT involving
the php-windows e-mail list with.

BUT to reply on your comment above:

I have never expressed, in any way, that you would not be able to
understand or comprehend these things (simply because I don't know
you and your abilities). What I on the other hand have expressed
is that the information you provide is not sufficient enough for
ANY PROGRAMMER WHAT SO EVER to solve your problem!

That's what I am _trying_ to tell _you_. But you just don't want to
listen to that melody, do you?

If you just states HOW the file is formatted, *I* can find a way for *you*
too extract the e-mail addresses. It might be easy, or it might be very
hard, but it could be done! But however, as another guy suggested "ask
the spam people about it", they really know "ALL" the tricks already.

>This newsgroup is made for two sort of people: who needs help and who can
>help. But, there is some people they belong to third group - they want to
be
>smart.


Well, there exists "Help!" and there exist "Help?" and
above is just your opinion about it. Isn't it?

My opinion about this matter is that this list is made fo
people with question about PHP under the Win32 platform
and not a general helpdesk.

Considering my view of the purpose with this list, you have so
far not been able to comprehend with that view (and definitely
not improving it by forwarding my private e-mail to this list...)

But as custom, most e-mail list also tolerate a little certain
deviation from the main subject (but I think I am stretching that
tolerance a little bit to far right now.)

Anyway:

I think you should try to make this distinction clear for your
self before you do any posting to any listserver what-so-ever,
try first figure out what the list is about, and then post
ON TOPIC message. (Saying this, I am perfectly aware of that
this entire e-mail is very off topic, but I will NOT continue
this thread any more in public after this.)

Extracting e-mail addresses is not on topic. Extracting e-mail
addresses is a question of principle of algorithms (or more
correctly: semantics of programming), and that's not what this
list is about, on the other hand, helping out with the syntax
of a regular expression in php for extracting e-mail addresses
might be on topic. But asking for a "generic algorithm to find
e-mail addresses" is never on topic, no way man.

You have to do your homework first! Then ask for help when you
fails to progress on your self. It exists and expression for
this: "RTFM" which is an abbreviation for "Read The Fine Manual",
were "F" not really stand for "Fine", but something else that
we don't want to tell our kids about before they have grown up. 

Do you knew how many hundreds hours some guys might have spent
trying to solve a problem before they even consider to ask a
question in e-mail list like this? 

Do you then realize how irritated some people can be when then
some guys comes around, who apparently not even have tried to
solve their problem, or tried to find information how to solve
their problem, just through out questions and then waits to
get things served on silver plates? Do you understand and can
you identify your self with the emotions and feelings which
then can be raised with some people because of this?

Some people really has to sweat to get to understand things,
and that is the reasons why the expression RTFM was born...

The fact people actually helps with off topic things is not a sign
that the e-mail list is mentioned for those questions/answer, but
more a sign of human kindness...

>>"...What I wrote is based on a philosophical discussion I had with ..."
>
>Criticism with help - it's ok, it's helpful.

CHEERS MATE! But you forgot to quote it in its context:

[QUOTE]
Actually above, was not meant as a criticism against
"none"-programmers,

       but as a eloge to the creative mind of humans.

But I understand it can be misunderstood.

What I wrote is based on a philosophical discussion I had with
a former colleague with me about the principle of programming and
about the difficulties in learning to think algorithmically in a way
that is best suited for a computer.
[ENE QUOTE - line spacing added by me afterwards]

Which then is followed by an elaboration which then end in the
following conclusion:

[QUOTE]
So considering that programming actually is very difficult, and
considering that people who does not can program actually can
put together a program that works (weather or not it is nice
designed is not the point right now) is rather a quite amazing
proof of the human creative mind!"
[END QUOTE]

Taking the consequence of my understanding of that I been having
"a narrowed and intolerant attitude" which I "didn't see in the
"first place.", and by admitting to Paul "Indeed you are correct
in your remark here!" (all quotes are mine), I took resposiblities
for what I said and done and formulated this apologize to you:

"Ok, I apologize Afan for being a bit rude. I am sorry for that..."

>Just criticism? No, thank you.

Well, there exists basically two kinds of criticisms:

1) negative, and
2) positive

Only negative criticisms without a helping hand might be said to be
bad, but what about positive criticisms, does that also need some
more support than mere its own comments?

Which group of criticisms would you say my criticism belongs to?
1) or 2)??

It seams like you see things in the way you want to see things,
and they way you wants to hear things. Are you open to listen
to other people, what ever kind of criticism you get? Is there
really such things a "negative" criticisms a all? Isn't it about
point of view after all in the end?

Is Pauls criticisms towards me when he points out that I
am rude, negative or positive from my point of view?

Well, it depends on how I choice to interpret it. I did
choose to see it Pauls way, and I did choose to see it in
a positive way. Therefore I also did made an apologize too
you because it was proper to do so. Otherwise it would
had meant that I wouldn't had comprehend Pauls criticisms.

So, I could had continued to see it my way, and refuse to
understand it Pauls ways, then it would had been negative
criticisms, wouldn't it?

>> Well, quite nice design!, but... <yaaawn> what
>> do you want for that? A medal or what? ;-)
>
>"yaaaaaawning" for somebody's work - it shows in the best way 
>what kind of person is he.

First:

I would yawn about salse&marketing too, it does not interest
me! It is _not_ out of respect, but out of _interest_. It is
in my point of view a boring activity and technical none-
interesting for me.

Second:

You never notices my comment that I did credit you for a
nice design, did you? That was also filtered away with
you pink sun glasses, wasn't it?

Third:

What was your intention? Showing off? Did you need it? Did it make
you feel better? More accepted? I don't care... I just have to show
off for my boss! Because he's is the one who gives me the pay check
every month. ;) I don't get a d#mn single nickel from this e-mail list. 

What also irritates me with your reference is that it implies a general:

       "Look what I did! Am I not good!?!"

I did never expressed this openly in the first case though and I
never though about it consciously in that way either, but when
thinking about it, and since you now have been provoke me to
express my feelings about it, I just have to ask about it:

Why did you post all these URL? What was the motive? Do your arguments
need authority support?? Are your argument not able to survive with the
inherent power on their own? What was the f##king purpose?

I respect people in this e-mail list not from what they claim to
have been doing, but from how much accurate and correct things
they write about in this list.

As from my point of view, anybody can make such a reference you
just made and then claim: "I did that!" But I did believe you on
your words! I didn't tried, or even hinted, to misscredit you on
that behalf.

Doesn't that, if nothing else, tells that I DID credit you with
respect of honesety in the very first place?

BUT the funny thing in all this sorrow-ness is the interesting
implication that also follows from this: YOU DON'T KNOW MY SKILLS! 

Considering you, I can bee a teenager who just learnt to
do programming and just learnt some simple file filtering
algorithms and now have a huge ego that's really needs to
show off, OR I can be a senior developer with long experience
of programming in I wide variety of languages and paradigms.
Nobody is able to tell the difference!

If I start to post code in this list to prove my point, any
one are free to ask; "so where did you steal that code from?" 

It wont prove sh#t about _my_ abilities. What on the other
hand can be used to determine my "status" is to read and
judge on my statements, but as I already said: I don't really
care, since they paycheck is brought by my boss, and not by
you or anyone else in this list (which only holds true under
the condition that my boss does not actually subscribing on
this e-mail list! But I am pretty sure he doesn't. ;)

----


But as to come to an end and conclusion of all this
idiotic, nonsense and bullshit writing of mine:

Yes, I think you just credit your self as an asshole in my eyes,
And yes, I _am_ an asshole too! But I have never intended to be
anything else either... ;)

And I am still sorry for my first rude jump on you, but
that is history now, but this (= the jump on me) is another
matter. And for that I think you own me an appoligize...

And recall: I did end my private mail to you and Paul with:

[QUOTE]
The rule of thumb is: "Every one is an idiot, including my self!"
[END QUOTE]

How many times do we have to proven this rule for each other?

----

You could had choice to accepted my apologize in the first place,
but you just had to push it a little bit further, didn't you?


SENSE MORAL: don't kick people who lies on the ground - they
might very well still bit your feet. 


This ends, and closes my writing, in public about what I have
to say about this matter.

Sorry for polluting the list guys.... :(




With apache, in the httpd.conf file, you can change the .htaccess file to 
whatever file you want it to access (and protect) ...1st change:
AccessFileName .htaccess
to
AccessFileName whateverfilename.filetype

This changes the file apache looks for in each directory for its settings


Then right below that there should be:

<Files .htaccess>
    Order allow,deny
    Deny from all
</Files>

Change .htaccess to whateverfilename.type (as you entered it in the above 
statement)  This prevents users visiting your website from being able to view 
that file
now you dont need to worry about windows not opening a .htaccess file, you 
just name your own, eg access.apache, or website.access or whatever you like. 
 Hope this helps

~Jeff


>>Cut from previous E-mail<<
Rename any test text file to "tester.htaccess", open, choose open with,
check always open with, notepad.exe, and Description of type may be httpd
DIR OverRide Settings ...
This will associate .htaccess with notepad and make life easier.



""Matt Hivner"" <[EMAIL PROTECTED]> wrote in message
9dr8f0$vd8$[EMAIL PROTECTED]">news:9dr8f0$vd8$[EMAIL PROTECTED]...
| according to the manual (on the web)...
|
| "To configure Apache (with the PHP module installed) to PHP-process all
the
| HTML files in a given directory, add the following line to the file
| ".htaccess" inside the directory:
|
| AddType application/x-httpd-php .html .htm
|
| It's OK if ".htaccess" contains only this line (i.e. the file did not
| previously exist.)"
|
| I tried to add this file to my htdocs directory (assuming that that was
the
| given directory to writer was referring to) and windows will not let me
name
| a file .htaccess.
|
| I probably missed this in a read me somewhere, but could someone explain
to
| me a work around, or is there something else a windows user must do in
this
| situation.
|
| I know that in *NIX naming a file with a dot in front will simply hide it
| from the ls command, but I am lost here in windows land...
|





Hello mjrobey,

try to replace "\" with "/":
include_path = "d:/foxserv/www/include;."

mmc> Greetings,

mmc> I'm running Apache with the PHP mod under Windows 2000, but I seem to have
mmc> a recurring problem with includes.  Every time I try to view a page with an
mmc> include() statement, it returns an error of the following sort:

mmc> Warning: Failed opening 'menutop.php' for inclusion (include_path='') in d:
mmc> \foxserv\www\home\en\index.php on line 5

mmc> I've tried placing the desired PHP file (menutop.php) in the same directory
mmc> as the index.php, and it returns just fine, but I can't seem to get it to
mmc> recognize any sort of path, as indicated by the error message.  As far as I
mmc> can tell, my syntax is correct in my php.ini:

mmc> include_path = "d:\foxserv\www\include;."

mmc> But I keep running into the same problem.  I am running a dual boot on
mmc> separate drive partitions, one Windows NT 4.0, one Windows 2000 Server,
mmc> perhaps that has something to do with it?  If anyone has any insight into
mmc> the problem it would be much appreciated.

mmc> -Matthew Robey
mmc> Maxon Corp.



-- 
Best regards,
 Ruslan
 mailto:[EMAIL PROTECTED]






Well, thanks for all the input, I tried several different fixes, and
combinations of fixes.  In the end, giving the complete path in my include
() statement did the trick.  No amount of tinkering with the include_path
variable would get the server to look in the right place.  So my php now
reads:

include ("d:\foxserv\www\include\db_maxon.php");

Thanks again,

-Matthew Robey
Maxon Corp.

>Greetings,
>
>I'm running Apache with the PHP mod under Windows 2000, but I seem to have
>a recurring problem with includes.  Every time I try to view a page with
an
>include() statement, it returns an error of the following sort:
>
>Warning: Failed opening 'menutop.php' for inclusion (include_path='') in
d:
>\foxserv\www\home\en\index.php on line 5
>
>I've tried placing the desired PHP file (menutop.php) in the same
directory
>as the index.php, and it returns just fine, but I can't seem to get it to
>recognize any sort of path, as indicated by the error message.  As far as
I
>can tell, my syntax is correct in my php.ini:
>
>include_path = "d:\foxserv\www\include;."
>
>But I keep running into the same problem.  I am running a dual boot on
>separate drive partitions, one Windows NT 4.0, one Windows 2000 Server,
>perhaps that has something to do with it?  If anyone has any insight into
>the problem it would be much appreciated.
>
>-Matthew Robey
>Maxon Corp.





Hello Igor,
There is a book
"Web Application Development With PHP"
http://www.phpwizard.net/book/
with chapter about subj.

I> Could someone help me to find tutorials or any kind of docs
I> on the subject "How to develop, build and compile my own code libs in C/C++
I> for PHP-Win32
I> in form of DLLs or implement it in the PHP source"
I> Many Thanks,
I> Igor Grigin.



-- 
Best regards,
 Ruslan
 mailto:[EMAIL PROTECTED]






Is there any problem with cript( ) in php 4.0.5 and 4.0.6 
The function work under 4.0.4.
The error mesage in browser is
Warning: crypt() is not supported in this PHP build in 
What can I do to solve the problem.
The code I am using is 
$encript = crypt( $new, $oldencripted);





Hi there,
cfg: linux, apache, php 4.04, MS Access
is there any chance to get any data from access (php) on linux machine ?
thank you for any help !!

Ing. Daniel Šichta
CUSTOM.web s.r.o.
Hodžova 13
01001 Žilina, SLOVAKIA
++421 89 564 3474
mobile ++421 905 839 334
www.customweb.sk <http://www.customweb.sk>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
ICQ: 84700861

---
Odchádzajúca správa neobsahuje vírusy.
Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
Verzia: 6.0.252 / Vírusová databáza: 125 - dátum vydania: 9. 5. 2001





Can you open an ODBC connection to the Access database from the Linux
server?

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est


> -----Original Message-----
> From: Daniel Sichta [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 4:54 AM
> To: PHP-WIN
> Subject: [PHP-WIN] MS Access + Linux + PHP
> 
> 
> Hi there,
> cfg: linux, apache, php 4.04, MS Access
> is there any chance to get any data from access (php) on 
> linux machine ?
> thank you for any help !!
> 
> Ing. Daniel Šichta
> CUSTOM.web s.r.o.
> Hodžova 13
> 01001 Žilina, SLOVAKIA
> ++421 89 564 3474
> mobile ++421 905 839 334
> www.customweb.sk <http://www.customweb.sk>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> ICQ: 84700861
> 
> ---
> Odchádzajúca správa neobsahuje vírusy.
> Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
> Verzia: 6.0.252 / Vírusová databáza: 125 - dátum vydania: 9. 5. 2001
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 




@afan:
OK, ... and a little advice from me: try to find a book
or get a semester (same in EN??) in algorithmic.

For your problem (working with strings): perhaps you get
a look in the book: Thinking in Regular Expressions from
o'reilly.

@all newbies:
... and of most: Learning by doing. When I have a problem,
I consult the manuals, look through existing classes, make
a 'creative circle' with myself, brainstorming of different
resolutions to my problem. If there's still no res. I look
through the 'archives' of newsgroups, because many of the
questions are mentioned before.

If there's still no light at the end of the tunnel, I will
ask here in the group *thinkthinkthink*, but I think that
this never happened before (or I can't remember =8).

Please don't forget that nearly all of the people answering
here are at the office working and don't have too much time
to answer simple or not clearly specified questions. But new-
bies get answers, too, if they clearly specified their
problem and ask nice.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________





> -----Original Message-----
> From: Paul Meagher [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 7:46 AM
> To: Svensson, B.A.T. ; afan; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] extracting email addresses
>
>
> > Most normal intelligent persons without any programming
> skills are able
> > to put together a workable program if they only have a
> manual, because
> > humans are creative beings. But then manage to make a
> program that works
> > for a task doesn't mean that these guy can do programming!
> These fellows
> > will usually construct programs that a experience
> programmer would, to
> > put it nicely, call "unusual constructions". Probably these
> program will
> > suffer from bad degrees of coupling and cohesion (aka:
> spaghetti programs
> > in popular terms).
>
> This seems a bit harsh.  Afan is trying to learn PHP and is
> asking some
> questions that seem uninformed.  In my opinion, he is
> providing us with
> some valuable insights into the mental roadblocks that some
> newcomers find
> in trying to learn PHP.  I hope he is not turned off by your comments.
> Hang in there Afan.
>
> > D.S. Your description above about the file with e-mail
> address is still
> > not sufficient enough for a programmer to understand how
> (s)he should
> > employ an algorithm to extract e-mail addresses from it. You suffer
> > from the "general-customer-ignorance-problem", where the customer
> > believes that programmers are mind reader and can extract all the
> > details from a transcendental spiritual plane... Well, let me tell
> > you this: programming haven't reached that state - yet. :) D.S.
>
> Actually, most customers don't have enought savvy to provide
> requirements.
> There is an element of mind reading involved.  A better term is
> sense-making.   I suspect that "good" developers can "read
> minds" based on
> pattern completion arising from experience in similiar situations.
> Personally, I believe in alot of mind reading and prototype
> development to
> confirm that my mind reading is on track.
>
> Regards,
> Paul Meagher
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





Hello,

You can try this database library

http://php.weblogs.com/adodb

This features support for all the above databases.
If you are familiar with ASP/ADO, this will be a good
fit, as its API is based on ADO.

Regards, John

"Scott Ellis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am fairly new to PHP and have used it on a few sites but I have not been
> dealing with databases much (in PHP). I am wanting to know if a single
> instance of PHP can be configured to connect to multiple databases or does
> is a new instance required for each DB. The scenario is that I may be
> pulling content from multiple databases (Oracle, MySQL, SQL Server...) for
> a single web site.
>
> I am not looking for any involved explanations just a simple yes or no and
> any reference points you may have from experience on how (at a high level)
> and if there are any "tricky parts"  that might make the process painful.
>
> Thanks,
> Scott
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






Have u tried fopen($image,"rb")???

Ignatius

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 2:44 PM
Subject: [PHP-WIN] truncating of file in fopen.


> I have a small script which opens an image file (gif/jpeg) and converts 
> it to binary format.
> 
> My problem is that the script runs perfectly well in my local machine. 
> But when I upload it to the server and try to parse the same image file 
> on the server, it is truncated in between only.. I do not seem to 
> understand why it happens. My local machine is a Win 98 and the server 
> is a Win 2K Server.
> 
> Any body if faced such a problem before and might have found out a 
> solution please suggest directions..
> 
> Thanks to all in advance.
> 
> Pratap Ladhani
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 





Hi,

When I submit a form with method=post I get a 405 respons.

- IIS version is 5
- Windows version 2000
- PHP version = 4.0.4pl1
- the same URL works with the GET method
- 'all verbs' is selected with te registration of the .php file

Someone a idea whats wrong?

Greetings, Herbert




Hello,
Does anyone know how to control the time the script is running?- what I mean
it isn't max_execution_time from php.ini or set_time_limit() function.

Are there processes in PHP - to run another process for the needed time and
then react in the main process?

Piotr Plusa





>The database is structured so that what we expect will be the most common
>queries will run as quickly as possible.  Unfortunately, some of the
queries
>which are expected to be run less often are also the longer-running queries
>which get data from lots of different tables.

Use to be that case, yes... ;)

>We're expecting 6,000 - 80,000 additional sets of data to be added to the
>database each day.  Well, one of the longer searches does involve a
freetext
>search--with a "LIKE '%???%'" none the less.  (God help the poor fool who
>searches for 'a' once the database has grown.)  However, it's the only one
>that does that sort of thing.

I understand it as you are using MS SQL server 7.0? If so, have you
been consider to use freetext indexing instead of wild card search
in these fields? 

>As for Anyhow2, I don't think the server has managed to hit it's swap yet.
>I haven't been watching it too closely, but we'd expect to see a bit more
HD
>activity on the Performance Monitor if it were.  Instead it seems to hover
>around the same level of HD activity as it does during the search portion
of
>the faster queries.

Ok, I take it as you say it then.

>As for the Finally, these longer queries can often start to monopolize SQL
>Server to the point that EVERY query gets significantly slower.

Yes, I know the case, that why I like to uses cursors instead if I know the
query will be running during interactive hours. The benefit with the cursor
is that it makes a little bit more softer impact on the server, since you
can break down a huge query into several small queries in the database.

>We're trying to allow a user who has realized that their search is 
>taking MUCH longer than expected to stop their search so it doesn't
>tie up the system for so long.  The server in question is a Dual PIII
>733 with  512MB of RAM,

I think you should at least double that amount of memory in the Server.
It seams to be a little bit to less considering what you have been told
me so far. The RDBMS I uses is equipped with 1 or 2 GB (not really sure
about the exact amount :).

>and software mirrored 10000RPM LVD SCSI drives.  I had to push through a
>fair bit of inertia to get the company to look at a dual-processor
>configuration, and haven't quite gotten anybody in a purchase-approval
>position to go for hardware RAID yet.  Before the dual-processor
>configuration it was a single processor 866 (I think), and SQL 

Hmmm, I would have recommended them a quad-board with those requirements.
And 2GB RAM for the system. I consider a dual system the under limit in
such cases as you describes. If they trade CPU's, them they should
populate the server with as much memory they ever squeeze into the
machine.

Btw;NT allocates the CPU in a specific way. I don't remember if it the
first or the last one. Lets say it is the last, CPU is dedicated for
network traffic.

Btw2; I made a crunch bench with our MS SQL server 6.5 at my former
work, a dual system to see how the SQL server utilized the CPU's. In
Theory you should have 200% CPU usage (100% with each CPU), but in
fact the CPU load stayed constant at 100%. And the amazing thing was
that this were the total sum of CPU load on BOTH CPU. If the CPU load
sank on one CPU, it was raised on the other to keep this 100% load
constant. What you could then observer was a "signal" on both CPU's
with its "zero" on each CPU around 50% load, and an amplitude of 10%,
that is both CPU's were oscillating around 50% load and increasing,
and decreasing between 40%-60% load. When one CPU was at its minimum,
the other were at is maximum, and vises versa.

>Server would regularly monopolize the processor to the point that NOBODY
>else could access the application until a query was done running.

That's why batch job should be running during night time ;) - but try to
explain that for a customer, who believes they need the answers, because
their customer in turns needs it. They just can't accept to wait, and
again we are there, they wont one to create the perpetual mobile... ;)

You should consider to use one (or several) cursor in this case instead
of a big single query...


>       - Theo
>
>-----Original Message-----
>From: Svensson, B.A.T. [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 17, 2001 4:29 PM
>To: Brinkman, Theodore; [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] Canceling a Query
>
>
>Dear Brinkman,
>
>With out having seen the design, my objections below might
>be misplace, but: have the database been designed with respect
>of your queries? Even though the designer might have optimized
>the database for a special intention, your queries might be out
>of this scope, this is just a first reflection on your answer.
>
>Secondly: which normal form is the database in? If he have pushed
>the "academic way" to far, the design it self might very well be
>"bad" in respect of speed. A little bit of well chosen redundancy
>here and there might very well speed up things dramatically.
>
>Also introducing abstract attributes (with the only purpose to be
>used as indexed attributes) in the tables which splits the data of
>the same domain in smaller subdomains, might also help to increase
>the speed.
>
>For example I am building a database system which a "small" table
>in the system of 3,5 millions rows raw data, and it will increase to
>contain about 10 million rows (I am working with "bio-informatics"
>and we will not to soon deal with data in the Terror-byte :) range,
>so DBMS speed is also of great concern for me. Anyhow, searches in
>this table takes just mili seconds - and I don't have any reason to
>believe it will increase that much more when I continues to populate
>the database. What limits the response time is not the RDBMS, but the
>transfer rate of data over the network. 
>
>Anyhow:
>
>But since I haven't seen the design, it is of course very hard
>for me to track down the actually problem. I don't even know
>what kind of queries you do! For ex, does it involves freetext
>searches?
>
>Anyhow2:
>
>I can identify one problem you have: Huge amount of information
>is gathered in the queries. The natural question to ask then is:
>Does the server provide enough memory to handle this data in
>main memory, or does it need to swap on disk to handle the amount
>of data?
>
>However you are dealing with an interesting problem, that I
>wouldn't mind to have a closer look into - unfortunately I am
>fully occupied with my database design work... ;)
>
>Finally:
>
>Maybe one also have to realize that some queries by there
>nature ARE long running, and one has to realize that a perpetual
>mobile actually is not possible to construct. Is it possible to
>introduce the ideas with the end user that some queries actually
>*will* take a long time to run?
>
>
>I hope it will work out for you in the end!
>
>Cheers,
>
>       /Anders
>
>>-----Original Message-----
>>From: Brinkman, Theodore 
>>[mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, May 17, 2001 9:34 PM
>>To: [EMAIL PROTECTED]
>>Cc: Svensson, B.A.T. 
>>Subject: RE: [PHP-WIN] Canceling a Query
>>
>>
>>Well, the queries are taking a long time because they're 
>searching through
>>8GB+ of database doing joins across multiple tables.  The guy 
>who did the
>>database design and indexing has gotten the database to the 
>fastest point
>he
>>knows how.  Any other indexes he's tried so far have actually 
>SLOWED the
>>queries.  The most interesting thing is that the index which 
>sped things up
>>the most was on a field which isn't even a key.
>>
>>Other queries exacerbate the issue, because to return the 
>desired data they
>>MUST walk entire tables, so indexing doesn't buy anything there.  (for
>>example, the 'list accounts' query.)
>>
>>The main problem is that it's an interactive application 
>where the database
>>can grow to immense sizes, and the most common searches can 
>return huge
>>amounts of information.  The first clue a user may have that they've
>>accidentally entered the wrong parameter (not invalid, just 
>not what they
>>meant to) is when a search seems to be taking A LOT longer than usual.
>>(i.e.: you mean to run the search against items between 1/1/2001 and
>>2/1/2001, but accidentally run it between 1/1/2000 and 12/1/2001).  We
>can't
>>limit the range, because we know there are perfectly valid 
>reasons to do
>>that same search across 7 years or more, but they just aren't 
>>that common.
>>
>>We've found a way to do it by going to asynchronous queries, but that
>>requires changes to quite a few pages, and that's something 
>I'm hoping to
>>avoid if possible.
>>
>>      - Theo
>>
>>-----Original Message-----
>>From: Svensson, B.A.T. [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, May 17, 2001 3:10 PM
>>To: Brinkman, Theodore; [EMAIL PROTECTED]
>>Subject: RE: [PHP-WIN] Canceling a Query
>>
>>
>>Dear Brinkman,
>>
>>First I wonder one thing: Why are the queries long running
>>in the first place? Might it be because improper indexing
>>of the attribute in the tables? Maybe it can be worth to
>>have alook at this to see if you can increase performance
>>this way. You might very well be able to speed up the
>>execution of your queries by rewriting them and/or
>>adding a few more new indexes to the table.
>>
>>I know that within the SQL server one are able to track user
>>process, create new jobs, and delete jobs, and a thought around
>>this - which is untried by me - might be to uses these facilities
>>provided by SQL server, and build a kind of tracking system that
>>keeps track of the users queries with a kind of "ticket", when
>>a user sends a cancel request, you simply forward this cancel
>>message with the proper "ticket" to SQL server, and then you
>>lets the RDBMS do the killing of the long running process.
>>
>>How ever I haven't done this my self, and don't even know if
>>it possible, but it might very well be worth in your case to
>>have a lock at it. In the SQL help, you might start out by
>>checking out sp_add_jobb and sp_delete_job.
>>
>>Cheers,
>>      /Anders
>>
>>>-----Original Message-----
>>>From: Brinkman, Theodore 
>>>[mailto:[EMAIL PROTECTED]]
>>>Sent: Wednesday, May 16, 2001 5:45 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: [PHP-WIN] Canceling a Query
>>>
>>>
>>>I'm working on an application for work where users will be 
>>querying the
>>>database to get information back about processed documents.  
>>>I'm trying toset up a way for a user to cancel a query which 
>>is taking too 
>>>long.  I'm using MS SQL Server 2000.  The interface for the 
>cancel is 
>>>easy enough, a form containing a button that says 'cancel' 
>>and a value or
>>set 
>>>of values identifying the query being run.
>>>
>>>I've found 'KILL <SPID>', but the problem is that all the 
>>>connections to the
>>>database are done through the web-server so they get the same 
>>>SPID, which
>>>means that EVERY query being run by EVERY user gets killed.  
>>>(Obviously not
>>>an acceptable solution.)  Does anybody out there know of a way to
>>>specifically kill a single query/stored procedure?  We're 
>>>willing to track
>>>as many values as necessary to do it.
>>>
>>>Thanks.
>>>
>>>     - Theo
>>>
>>>-- 
>>>PHP Windows Mailing List (http://www.php.net/)
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>To contact the list administrators, e-mail: 
>>>[EMAIL PROTECTED]
>>>
>>
>




I once had a similar problem with a few users monopolizing a database
server with looong running querys. The OS was NetWare with Oracle on a
2x500MhZ PII, 1Gb RAM and about 4-6Gb database.
When optimizing performance on this system I finally found that if I
split the main server into two different servers, one main server and
one slave server with a replica of the main server, the overall
perfomance was optimal for all users.
All input to the database was on the main server and the heavy querys
performed on the slave, since they didn't insert any new data to the
database.

This is quite easy to implement in NetWare, haven't got a clue about if
it'll work in Windoze.

Dunno if this might help you with any ideas...

/Johan




        Has anybody linked perl socket servers to php scripts and made it work?

-----Original Message-----
From: Che Gonzalez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 11:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Sockets problems in php


        I created several rpc tcp servers in perl.  The pearl clients work fine, and 
sending a message to the server in php works.  The problem happens after the perl 
server replies ( I have seen the actual reply through monitoring the server ).  The 
php script hangs on freads and fgets.  I turned off blocking and looped several times 
while throwing in a sleep interval in between , but this was still to no avail.  Any 
ideas out there, or has anyone found this to be a bug?  I might try this on Linux 
tomorrow to eliminate any other possibilities, but any ideas to save me some time 
would greatly be appreciated.
        Also, I tried a simple socket-http get on a web page and it worked ( Also 
works with host header sites, which fopen doesn't seem to work with).

Buenos Noches zzZ!


 ******************************************  
 * Che Gonzalez [mailto:[EMAIL PROTECTED]] *
 * Atlantic.net                           *
 * Manager of Web Development/            *
 * Network Administrator                  *
 * MCSE+I / CCNA / SCO ACE                *                      
 ******************************************


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





Hola Che,

Have you tried "fsockopen" ?? (opens a socket
connection).

Or if you could make your pearl-"demons" communicate
with stdin/stdout you could manage your things with
unix-shell commands.

Perhaps this helps.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Che Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 3:21 PM
> To: php-windows
> Subject: FW: [PHP-WIN] Sockets problems in php
>
>
>       Has anybody linked perl socket servers to php scripts
> and made it work?
>
> -----Original Message-----
> From: Che Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001 11:55 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Sockets problems in php
>
>
>       I created several rpc tcp servers in perl.  The pearl
> clients work fine, and sending a message to the server in php
> works.  The problem happens after the perl server replies ( I
> have seen the actual reply through monitoring the server ).
> The php script hangs on freads and fgets.  I turned off
> blocking and looped several times while throwing in a sleep
> interval in between , but this was still to no avail.  Any
> ideas out there, or has anyone found this to be a bug?  I
> might try this on Linux tomorrow to eliminate any other
> possibilities, but any ideas to save me some time would
> greatly be appreciated.
>       Also, I tried a simple socket-http get on a web page
> and it worked ( Also works with host header sites, which
> fopen doesn't seem to work with).
>
> Buenos Noches zzZ!
>
>
>  ******************************************
>  * Che Gonzalez [mailto:[EMAIL PROTECTED]] *
>  * Atlantic.net                           *
>  * Manager of Web Development/            *
>  * Network Administrator                  *
>  * MCSE+I / CCNA / SCO ACE                *
>  ******************************************
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





Does UNIX timestamp work on IIS? In other words can you use mktime()
function on W2K as well as on *nix machines?

Thanks,
Jarkko





Hi Jarkko,

just try it !

... mktime() is working correctly under NT4 .

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Jarkko Laine [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 4:00 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] UNIX Timestamp
>
>
> Does UNIX timestamp work on IIS? In other words can you use mktime()
> function on W2K as well as on *nix machines?
>
> Thanks,
> Jarkko
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





Jarkko,

Yes - I use it on W2K (IIS 5) and W98 (PWS) regularly.  I love it when
people look in Access databases and see the timestamps in the date field and
call me up thinking I am dumping the wrong information into it.

Gotta love the timestamps...

-----Original Message-----
From: Jarkko Laine [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 9:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] UNIX Timestamp


Does UNIX timestamp work on IIS? In other words can you use mktime()
function on W2K as well as on *nix machines?

Thanks,
Jarkko


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Any easy way to call Win32 API functions yet?

-elias






Did someone have problems with this function?
Some client in my intranet, all IE5, gave a "Page not found" error.





I am sending data to a Credit Card processing firm via POST.  The data
is being received properly, however, I am getting a message informing me
that the data was not encrypted.

The Perl example the firm provides uses SSLeay.PM.  This is my first
encounter with sending "encrypted" data.  Can someone tell me how I can
do this with PHP?

Many thanks..........

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]






Hi,
I have the same problem with windows 98 running Apache 1.3.19 and Php 4.0.5.
But when I run php as cgi the php_pgsql extension works fine and when I run
php as apache module it hangs up. When I disable php_pgsql extension both
mode run fine.
Does anybody know where could be the problem???

Thanks for any advise

koki



>
> Hi,
>
> I have installed the php_pgsql extension that comes with php-4.0.5 on NT
but
> it keeps hanging. I tried running PHP both as CGI and as an Apache module
> but keeps hanging whenever I enable the php_pgsql extension. All other PHP
> extensions for windows are running properly.
>
> I will be very grateful for any ideas on how to sort out this problem. If
> somebody knows of a stable php_pgsql extension for windows please let me
> know.
>
> Thanks in advance.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






I would appreciate any links or online references to this kind of 
information.

I found one for an excel class at
http://phpclasses.upperdesign.com/browse.html
But I'd like to learn more about writing my own classes. Also if anyone 
has links to COM properties for various programs I would also greatly 
appreciate it.

Thanks

-- 

Michael Kelley                  
[EMAIL PROTECTED] 
        
Programmer/Systems Analyst I    
New Mexico State University
Information and Communication Technologies
Work # (505)-646-1374
P.O. Box 30001
MSC: 3AT
Las Cruces, NM 88003







Reply via email to