php-windows Digest 1 Feb 2002 04:35:20 -0000 Issue 979
Topics (messages 11741 through 11761):
Re: creating a php extension
11741 by: Craig Morrison
Native connection MS SQL2000
11742 by: Sebastian Broekhoven
11747 by: Paco Ortiz
11755 by: Shrock, Court
Re: When typing "localhost\.." the computer wants to connect to internet.
11743 by: Tim Lüdemann
Re: IIS equivalent to Apache's .htaccess files
11744 by: Brinkman, Theodore
11761 by: Manuel Lemos
response.expire
11745 by: Jos van der Vleuten
11756 by: Shrock, Court
Re: Apache/PHP
11746 by: Nicole Amashta
Opening a MySQL db
11748 by: Monty Warhawk
need help with configuration
11749 by: Bram Somers
Re: Is ISAPI stable ?
11750 by: John Lim
11751 by: John Lim
11753 by: Angie Tollerson
Re:[PHP-WIN] Opening a MySQL db
11752 by: Michel Laine
Re:[PHP-WIN] need help with configuration
11754 by: Michel Laine
PHP INSTALL FILES
11757 by: Josh Seward
Com
11758 by: Mainolfi, Joe
11759 by: Shrock, Court
UNC path as a link
11760 by: Nicole Amashta
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 ---
Petr Krebs wrote:
>
> maybe it's a stupid question, but can anybody tell me where to get some
> information about writing win32 php extension DLL? i've been searching
> through the official web pages but i haven't manage to get anything.
First thing you need to do is go here:
http://www.php.net/manual/en/install.windows.php
Read the page very carefully, it tells you everything you need to get a build
environment running with MSVC and CygWin.
After you get that done and can successfully build PHP, contact me off the
list and I'll send you a simple extension that should serve as a good example.
--
Craig Morrison
http://www.mtsprofessional.com/
A Win32 Email server that works for you.
--- End Message ---
--- Begin Message ---
Hi There,
At the moment when we connect to a MS SQL 2000 server we use ODBC connections.
BUT... we want to make native connections with the MS SQL 2000 server.
Is that possible?
Greetings,
Sebastian
--- End Message ---
--- Begin Message ---
Hi,
1/31/02 2:42:44 PM, "Sebastian Broekhoven" <[EMAIL PROTECTED]> escribió:
>Hi There,
>
>At the moment when we connect to a MS SQL 2000 server we use ODBC connections.
>
>BUT... we want to make native connections with the MS SQL 2000 server.
>Is that possible?
yes!. Enable php_mssql.dll extension. However, you'd need to
rewrite your code, as it uses different API (mssql_* functions).
Maybe you could write a wrapper (odbc_* really calls mssql_* )
to avoid the work...
Good luck!
F.J.Ortiz
>Greetings,
>Sebastian
>
>
>--
>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]
>
>
___________________________________
Francisco Javier Ortiz Torre
ComuNET,S.A.
mailto:[EMAIL PROTECTED]
ComuNET, S.A
Gral. Concha 39,6º
48012 Bilbao España
Tel: +34 944 700 101
Fax: +34 944 700 185
http://www.comunet.es
___________________________________
--- End Message ---
--- Begin Message ---
You can even do it on a unix platform using freeTDS (http://freetds.org),
just compile php --with-sybase=/freetds/base/install/dir and make sure you
set the TDS version depending on your mssql server version.
> -----Original Message-----
> From: Paco Ortiz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 7:28 AM
> To: Sebastian Broekhoven; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Native connection MS SQL2000
>
>
> Hi,
>
> 1/31/02 2:42:44 PM, "Sebastian Broekhoven"
> <[EMAIL PROTECTED]> escribió:
>
> >Hi There,
> >
> >At the moment when we connect to a MS SQL 2000 server we use
> ODBC connections.
> >
> >BUT... we want to make native connections with the MS SQL
> 2000 server.
> >Is that possible?
>
> yes!. Enable php_mssql.dll extension. However, you'd need to
> rewrite your code, as it uses different API (mssql_* functions).
> Maybe you could write a wrapper (odbc_* really calls mssql_* )
> to avoid the work...
>
> Good luck!
>
> F.J.Ortiz
>
> >Greetings,
> >Sebastian
> >
> >
> >--
> >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]
> >
> >
>
> ___________________________________
> Francisco Javier Ortiz Torre
> ComuNET,S.A.
> mailto:[EMAIL PROTECTED]
>
> ComuNET, S.A
> Gral. Concha 39,6º
> 48012 Bilbao España
> Tel: +34 944 700 101
> Fax: +34 944 700 185
> http://www.comunet.es
> ___________________________________
>
>
>
> --
> 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]
>
--- End Message ---
--- Begin Message ---
Hey Alek,
tried your suggestions but no positive result!
Thanks
Tim
Alek Andreev <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
000601c1aa4f$6cd7e0f0$[EMAIL PROTECTED]
Best solutions is to use http://127.0.0.1/ instead. Or try
http://<my_computer_netbios_name>/
Regards,
Alek Andreev
[EMAIL PROTECTED]
-----Original Message-----
From: Michel Laine [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: When typing "localhost\.." the computer wants to
connect to internet.
"Tim LüDemann" wrote:
> At first:
> I run win 98 on my standalone computer.
> I installed Apache 1.3.22 and PHP 4.1.0, edit the files php.ini
and
> httpd.conf and put them at the right place. I doublechecked the files.
> When typing "localhost\index.html.de" the computer wants to connect to
> internet. It is possible to open the file
"C:\apache\htdocs\index.html.de".
>
> I tryed to change my IP to 127.0.0.1 but got an error massage.
> I changed to 192.168.1.2 but no better result.
>
> When trying to open php-files the computer trys to download something
I
> cannot read because the download-window opens and closes many times
very
> fast until I press esc. When the browser opens a php-file he shows
nothing.
>
> I hope to get help of anyone of you because I worked several days on
it and
> have no further idea how to solve the problem.
>
> Thank You
>
> Tim Lüdemann
* Did you verify that your web server is running? - not with PHP or
anything
(one should see a apache 'welcome'-screen of some kind i believe)
* Do you (your client) have the accessrights needed to access the
webserver?
* What if you say 'cancel' on the dialup request?
* What if you use 'http://' in front of your localhost address?
* What if you rename your startpage to index.html or index.php instead
and try
to acces it again?
Read the doc that come with the Apache installation / or homepage - I am
sure
that something of this is covered.
I am no expert on Apache nor Dialup connection in W98, but there are
dozen
things to test - as well as there is some tweaks for the dialup in
windows too.
To tweak the dialup i believe that you find something in
Settings/Control
panel/Network/Properties/Configuration/Dialup
where one can set dialup to something like this: "always" / "when
needed" /
"never".
I don't have any dialup connection installed, so i cannot verify if this
is
correct.
There might be a tweak in IE too - or, if i remember wrong - the tweak
above.
My suggestion is that you do things in this order:
1: Make sure that Apache is up and running.
2: Try to access the default apache startpage (using http://127.0.0.1).
This
often involves checking / changing / browsing through the apache config
files
if it doesn't work. Try with different computers / browsers if possible.
3: Replace the default apache startpage with your own (named as the
apache one)
and see if it works.
4: Put some *simple* PHP code in this file like:
<?PHP
phpinfo();
?>
5: ...
--
Michel Laine
--
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]
--- End Message ---
--- Begin Message ---
Sorry, I should have been clearer. Strictly speaking this is an IIS
question, not a PHP question, but I don't know where else to ask.
We're using IIS, and the team lead has settled on windows domain
authentication for 'logging into' the system. This means that only IE can
be used unless I can figure out a way to get IIS to ask non-IE browsers to
authenticate themselves. The 'user and password' database is the windows
domain controller.
If this is not an acceptable place to ask this, please point me towards
somewhere that I can.
Thanks,
- Theo
P.S. Sorry Manuel, I accidentally replied to you instead of the list the
first time.
-----Original Message-----
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: Re: IIS equivalent to Apache's .htaccess files
Hello,
Theodore Brinkman wrote:
>
> I'm busy trying to fight to keep the project I'm on as platform
independant
> as possible, but it's currently a loosing battle, because the team lead
> insists on using Windows Domain User security, which means if you're not
> using IE, you can't even get to the site. I'm vaguely familiar with the
> .htaccess files you can use with Apache to control access, and I'm looking
> for a similar way to get the user's windows credentials from other
browsers.
> Is there any way I can do this?
You don't need Apache .htaccess to authenticate anybody. You can do it
all in PHP. The only questions is where is the user and password
database that you want to authenticate against?
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
Hello,
Theodore Brinkman wrote:
>
> Sorry, I should have been clearer. Strictly speaking this is an IIS
> question, not a PHP question, but I don't know where else to ask.
>
> We're using IIS, and the team lead has settled on windows domain
> authentication for 'logging into' the system. This means that only IE can
> be used unless I can figure out a way to get IIS to ask non-IE browsers to
> authenticate themselves. The 'user and password' database is the windows
> domain controller.
I never tried but if you are using IIS, I think the solution is simpler.
All you need to do is to issue the right authentication headers and IIS
will set the LOGON_USER variable with the user login. This page may help
you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/html/psdk/asp/comp3hf8.asp
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
is there something like response.expire (asp) in PHP?
--- End Message ---
--- Begin Message ---
yes, but you do it by sending the appropriate http header using the header
function. check out http://www.php.net/manual/en/function.header.php. The
examples show you how to do it.
> -----Original Message-----
> Subject: [PHP-WIN] response.expire
>
>
> is there something like response.expire (asp) in PHP?
--- End Message ---
--- Begin Message ---
If you are running apache on winNT or 2k, you should be able to intall
apache as a service (if you haven't already). But, even still, when I stop
and restart apache, I never have this problem you mention such that my
scripts stop working.
If you figure it out, let me know for future reference.
Thanks and good luck,
Nicole Amashta
www.aeontrek.com
"Sandeep Murphy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Guess I was a bit hasty in jumping the gun... a shortwhile bak i had
posted
> here regarding a problem of php scripts stopping to run all of a sudden..
>
> The Problem i am facing is that I cannot afford to stop and start apache
> once booted.. When I do a reboot, everything runs fine but If i even
happen
> to stop and restart apache, poof everything stops to work.. Apache does
> start but no localhost and no php scripts work..Strange...
>
> anyone has an idea of whats happening?? and Nope, am not infected with any
> kind of virus.. and nothing very suspect in the error logs..
>
> TIA,
>
> Sands
--- End Message ---
--- Begin Message ---
I was wondering why I can connect to the server, but not to a database.
When I type in the name of it, it cannot find it. I use the templet from
the php site, and a bunch of others, which all do the same thing, but I just
cannot open any of them up.
If the user of the account is "abc" and you make a database named "willow" ,
it is made as "abc_willow" and I try that and just willow and everything I
can think of but not get it. I do not know where the file is since it is
not on my server but a remote one. Is there a way in SQL or php mysql admin
to tell it WHERE to put the db file, if that is my prob. ??? any help would
be nice. This is also on a UNIX server, not windows.
-Monty
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--- End Message ---
--- Begin Message ---
hello all,
I'm new with php, can somebody tell me how to install php, I installed php but it
doesn't work! Can somebody help me?
Thanks
Bram Somers
--- End Message ---
--- Begin Message ---
See http://bugs.php.net/bug.php?id=14886
Angie Tollerson <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there. When you say "bugs", what do you mean? When I have bugs in my
> code, it doesn't run, period. But if you mean "warnings" ? which will
> let your code run but there are some handling errors? Just trying to
> find out your terminology...
>
> Angie Tollerson
> Alliance Technologies
> Web Programmer
> (515)245-7628
> [EMAIL PROTECTED]
>
> >>> "John Lim" <[EMAIL PROTECTED]> 01/30/02 09:20AM >>>
> Hi,
>
> PHP's ISAPI error handling is still not thread safe. If your code has
> no
> errors PHP will run fine. However if there are bugs in your PHP
> script, they are not handled properly and eventually your process
> will crash in ISAPI after repeated calls to the error-prone script.
>
> Regards, John
>
> Samuel Collado <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I think so.
> >
> > I work with php 4.1.0 on IIS 5 (Windows 2000) with php_mssql.dll and
> > php_oracle.dll and all it's ok. We have done some tests with Mercury
> > LodeRunner with many SQL requests at the same time and we noticed
> some
> > memory leak but it was IIS fault ! PHP is, in my opinion, stable
> with
> > these dll.
> >
> > Samuel
> >
> > Steen Rabol wrote:
> >
> > > Hi
> > >
> > > According to the install.txt of php, the ISAPI version is not
> stable,
> but.... that statement have been there for about 1 year, so my question
> is:
> Is ISAPI version considered stable ?
> > >
> > > Thanks in advance.
> > >
> > > Best
> > > Steen
> > >
> > >
> > >
> >
>
>
>
> --
> 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]
>
--- End Message ---
--- Begin Message ---
I think Angie wants to know what type of bugs cause problems in the
PHP error handler. He's obviously smart enough to understand what a bug
is :-)
Bye, John
Ashraf Al Shafaki <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> bugs are bugs and will always remain bugs. it's not a terminology used by
> this group in particular, but by ALL programmers.
>
> a program that when compiled does not compile has an ERROR, not a bug
> a program that runs, and makes no 'errors' cans still give you results
that
> you do not expect or "Did Not Intend", this is called a bug by ALL
> programmers.
>
> i hope i've clarified what a bug means.
>
> but let me give an example to make it even more clear:
> suppose you wanted to make a very simple program to ask the user to enter
> two numbers, then you "intend" to give the user the sum of these two
> numbers.
>
> supoose you make a mistake while coding and miltiply the two numbers
instead
> of adding them. this program of yours might run so nicely with no
'errors',
> but for sure it will give results that you did not expect or intend
(neither
> did the user). this is what we (and everybody else) call a BUG.
>
> hope this helps.
>
> cheers
> Ashraf
> "Angie Tollerson" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi there. When you say "bugs", what do you mean? When I have bugs in my
> > code, it doesn't run, period. But if you mean "warnings" ? which will
> > let your code run but there are some handling errors? Just trying to
> > find out your terminology...
> >
> > Angie Tollerson
> > Alliance Technologies
> > Web Programmer
> > (515)245-7628
> > [EMAIL PROTECTED]
> >
> > >>> "John Lim" <[EMAIL PROTECTED]> 01/30/02 09:20AM >>>
> > Hi,
> >
> > PHP's ISAPI error handling is still not thread safe. If your code has
> > no
> > errors PHP will run fine. However if there are bugs in your PHP
> > script, they are not handled properly and eventually your process
> > will crash in ISAPI after repeated calls to the error-prone script.
> >
> > Regards, John
> >
> > Samuel Collado <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I think so.
> > >
> > > I work with php 4.1.0 on IIS 5 (Windows 2000) with php_mssql.dll and
> > > php_oracle.dll and all it's ok. We have done some tests with Mercury
> > > LodeRunner with many SQL requests at the same time and we noticed
> > some
> > > memory leak but it was IIS fault ! PHP is, in my opinion, stable
> > with
> > > these dll.
> > >
> > > Samuel
> > >
> > > Steen Rabol wrote:
> > >
> > > > Hi
> > > >
> > > > According to the install.txt of php, the ISAPI version is not
> > stable,
> > but.... that statement have been there for about 1 year, so my question
> > is:
> > Is ISAPI version considered stable ?
> > > >
> > > > Thanks in advance.
> > > >
> > > > Best
> > > > Steen
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > 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]
> >
>
>
--- End Message ---
--- Begin Message ---
Well, personally I knew what the difference between a fatal error and a
bug warning was. My question was not as much for my own help with
terminology as much as I was concerned that the original poster of the
thread was improperly using the term error and bug interchangeably as if
they were the same thing. I was just trying to figure out specifically
what he meant so I understand what exactly is making it crash. He
wrote:
> > PHP's ISAPI error handling is still not thread safe. If your code
has
> > no
> > errors PHP will run fine. However if there are bugs in your PHP
> > script, they are not handled properly and eventually your process
> > will crash in ISAPI after repeated calls to the error-prone
script.
as if an error and a bug were the same thing. I was just
confused...obviously if you have an error your code will fail: cgi, dll,
mod, or otherwise. So I'm trying to find out specifically what type of
"bugs" fail and make IIS crash as opposed to writing bad code that
crashes a php process. Am I making sense?
Angie
>>> "John Lim" <[EMAIL PROTECTED]> 01/31/02 11:21AM >>>
I think Angie wants to know what type of bugs cause problems in the
PHP error handler. He's obviously smart enough to understand what a
bug
is :-)
Bye, John
Ashraf Al Shafaki <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> bugs are bugs and will always remain bugs. it's not a terminology
used by
> this group in particular, but by ALL programmers.
>
> a program that when compiled does not compile has an ERROR, not a
bug
> a program that runs, and makes no 'errors' cans still give you
results
that
> you do not expect or "Did Not Intend", this is called a bug by ALL
> programmers.
>
> i hope i've clarified what a bug means.
>
> but let me give an example to make it even more clear:
> suppose you wanted to make a very simple program to ask the user to
enter
> two numbers, then you "intend" to give the user the sum of these two
> numbers.
>
> supoose you make a mistake while coding and miltiply the two numbers
instead
> of adding them. this program of yours might run so nicely with no
'errors',
> but for sure it will give results that you did not expect or intend
(neither
> did the user). this is what we (and everybody else) call a BUG.
>
> hope this helps.
>
> cheers
> Ashraf
> "Angie Tollerson" <[EMAIL PROTECTED]> wrote in
message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi there. When you say "bugs", what do you mean? When I have bugs
in my
> > code, it doesn't run, period. But if you mean "warnings" ? which
will
> > let your code run but there are some handling errors? Just trying
to
> > find out your terminology...
> >
> > Angie Tollerson
> > Alliance Technologies
> > Web Programmer
> > (515)245-7628
> > [EMAIL PROTECTED]
> >
> > >>> "John Lim" <[EMAIL PROTECTED]> 01/30/02 09:20AM >>>
> > Hi,
> >
> > PHP's ISAPI error handling is still not thread safe. If your code
has
> > no
> > errors PHP will run fine. However if there are bugs in your PHP
> > script, they are not handled properly and eventually your process
> > will crash in ISAPI after repeated calls to the error-prone
script.
> >
> > Regards, John
> >
> > Samuel Collado <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I think so.
> > >
> > > I work with php 4.1.0 on IIS 5 (Windows 2000) with php_mssql.dll
and
> > > php_oracle.dll and all it's ok. We have done some tests with
Mercury
> > > LodeRunner with many SQL requests at the same time and we
noticed
> > some
> > > memory leak but it was IIS fault ! PHP is, in my opinion, stable
> > with
> > > these dll.
> > >
> > > Samuel
> > >
> > > Steen Rabol wrote:
> > >
> > > > Hi
> > > >
> > > > According to the install.txt of php, the ISAPI version is not
> > stable,
> > but.... that statement have been there for about 1 year, so my
question
> > is:
> > Is ISAPI version considered stable ?
> > > >
> > > > Thanks in advance.
> > > >
> > > > Best
> > > > Steen
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > 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]
--- End Message ---
--- Begin Message ---
The mysql database is by default stored on the computer that run the mysql
service
If you have a local installation of mysql on your computer it would store the
database on your computer.
"I was wondering why I can connect to the server"
Which server is this? the database or the webserver? or is it the database you
cannot access?
"If the user of the account is 'abc' and you make a database named 'willow'"
If you can create a database then there shouldn't be any problem accessing the
database.
"it is made as 'abc_willow' "
I must confess that i don't think that i follow you exactly...
Do you create a database named WILLOW and it ends up being named ABC_WILLOW - is
this correct?
That should be a correct behaviour (to avoid name collisions) at a hosting
service, i guess...
"I do not know where the file is since it is not on my server but a remote one"
Is this located at a hosting service?
If so - why not ask them?.
"Is there a way in SQL or php mysql admin"
If you can create any DB on the remote server - then mysql admin should be able
to do it too provided that you supply the server/login and password.
"to tell it WHERE to put the db file"
Only the DB server can be configured to save the DB at different places - so if
you have a hosting service then it's up to them.
If you run mysql locally you can configure it on your computer - but only for
your local DB server.
Monty Warhawk wrote:
> I was wondering why I can connect to the server, but not to a database.
> When I type in the name of it, it cannot find it. I use the templet from
> the php site, and a bunch of others, which all do the same thing, but I just
> cannot open any of them up.
>
> If the user of the account is "abc" and you make a database named "willow" ,
> it is made as "abc_willow" and I try that and just willow and everything I
> can think of but not get it. I do not know where the file is since it is
> not on my server but a remote one. Is there a way in SQL or php mysql admin
> to tell it WHERE to put the db file, if that is my prob. ??? any help would
> be nice. This is also on a UNIX server, not windows.
>
> -Monty
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
Michel Laine
Engineer / Network Administrator
SYSTEM TECHNOLOGY SWEDEN AB
Phone:(+46)-8-982255
Fax:(+46)-8-982060
Snail mail: Vretenvagen 2, 171 54 SOLNA, SWEDEN
E-mail: [EMAIL PROTECTED]
WWW: http://www.systemtech.se
--- End Message ---
--- Begin Message ---
First of all i have some questions you must answer so we know how to help you:
Which operating system do you use?
Which version of PHP are you using?
Do you use any special preconfigured installer kit or just the plain PHP from PHP.net?
Which webserver do you use? To be able to run PHP you need a webserver too.
Have you followed the PHP installation instructions (install.txt which is located in
the PHP installation folder -
usually c:\php) for your webserver?
Bram Somers wrote:
> hello all,
> I'm new with php, can somebody tell me how to install php, I installed php but it
>doesn't work! Can somebody help me?
> Thanks
>
> Bram Somers
--
Michel Laine
--- End Message ---
--- Begin Message ---
I have setup php on IIS. The site host machine is different from the machine running
php, mysql. I have setup provisions on all folders and files I think are needed.
php.exe (Folder) php.ini php4ts.dll
Is there something I am leaving out or forgetting? I cannot access php files without
entering a username password.
Thanks for any help!
--- End Message ---
--- Begin Message ---
is anyone out there familiar with COM built into Php?
This is my code:
$sheet = Range("B6:B9")->Select;
$sheet->Selection->Borders(xlEdgeBottom);
$sheet->Selection->LineStyle = 9; //xlContinuous
$sheet->Selection->Weight = 2; //xlThin
I get an error everytime I use the Range method and some other methods, the
major things work, but the formatting seems to be a little funny with its
syntax
Any help would be greatly appreciated, Thanks in advance
__________________________________________________
Joseph D. Mainolfi Jr.
IT Specialist
American Bridge Company
1000 American Bridge Way
Coraopolis, PA 15108
(412) 631-1018 phone
(412) 631-2000 fax
[EMAIL PROTECTED]
http://www.americanbridge.net
--- End Message ---
--- Begin Message ---
Joe,
here is a link that will help in learning how to do COM (an excel example
included): http://phpbuilder.com/columns/alain20001003.php3
> -----Original Message-----
> From: Mainolfi, Joe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 11:22 AM
> To: 'PHP-WIN'
> Subject: [PHP-WIN] Com
>
>
> is anyone out there familiar with COM built into Php?
> This is my code:
>
> $sheet = Range("B6:B9")->Select;
> $sheet->Selection->Borders(xlEdgeBottom);
> $sheet->Selection->LineStyle = 9; //xlContinuous
> $sheet->Selection->Weight = 2; //xlThin
>
> I get an error everytime I use the Range method and some
> other methods, the
> major things work, but the formatting seems to be a little
> funny with its
> syntax
>
> Any help would be greatly appreciated, Thanks in advance
>
> __________________________________________________
> Joseph D. Mainolfi Jr.
> IT Specialist
> American Bridge Company
> 1000 American Bridge Way
> Coraopolis, PA 15108
> (412) 631-1018 phone
> (412) 631-2000 fax
> [EMAIL PROTECTED]
> http://www.americanbridge.net
>
>
> --
> 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]
>
--- End Message ---
--- Begin Message ---
Hello. Anyone familiar with making a unc path linkable on a webpage? I want
to be able to create links to directories over the network using UNC paths.
I am generating the paths dynamically.
Win2k / Apache / PHP 4
Here is an example of what I've got so far:
<snip>
require("incs/FileSystem.inc");
require("incs/template.inc");
$fs = new FileSystem(); // a file class i wrote to wrap php file
functions, and more...
$t = new Template(); // phplib template object
$t->set_file( "page", "abolftpdirs.htm" );
$t->set_file( "row", "row_abolftp.ihtml" );
$custMan = array( "description" => "Customer data for ",
"path" => "R:\\Data\\Customer",
"unc" => "\\\\abolftp\\FTP\\Data\\Customer" );
$customers = $fs->getList( $custMan["path"], FS_DIR );
$total = count($customers);
for($i=0; $i<$total; $i++)
{
$unc = $custMan["unc"] . "\\" . basename( $customers[$i] ) . "file://\\in;
$path = str_replace("\\","/", $custMan["path"] . "\\" .
asename( $customers[$i] ) . "\\in" );
// this i will create a link, but i want it to be a network link and not an
http link.
$descr = "<a href=\"$unc\" target=\"_blank\"
onMouseOver=\"defaultStatus='$unc';return true;\"
onMouseOut=\"defaultStatus='';return true;\">" . $custMan["description"] .
basename( $customers[$i] ) . "</a>";
$fcount = $fs->fileCount( $path, FS_FILE );
$oldest_moddate = getOldestDate( &$fs, $path );
$t->set_var( "description", $descr );
$t->set_var( "oldest_moddate", $oldest_moddate );
$t->set_var( "fcount", $fcount );
$t->parse( "rows", "row", true );
}
$t->parse("out","page");
$t->p("out");
function getOldestDate( $fs, $path )
{
// code left out; but this returns a unix timestamp of the file with the
oldest mod. date
}
</snip>
The part I am concerned with is creating a UNC link that actually works. I
escapped the \ with \, thus: \\ for each \.
HELP !! :)
TIA!
--
Nicole Amashta
www.aeontrek.com
--- End Message ---