[PHP-WIN] PHP and IIS6 (windows .NET RC1)

2002-09-28 Thread Tyler

Hi, I cannot seem to get PHP working under Windows.NET RC1 Standard Server.
Is there anyone out there who got this to work and knows how?

Thanks much,

Tyler.



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




[PHP-WIN] Re: PHP and IIS6 (windows .NET RC1)

2002-09-29 Thread Tyler

Ok, this is messed up, if you go to my webpage:
http://warezmonkey.ca

You see it says this:
The type of the token is inappropriate for its attempted use.

And I have no idea what the heck that means.

Now the stupid part. I click on the little asterix on the bottom right of my
page. It asks me for a password. Upon entering the password, i can edit my
news content through a different PHP page. WHICH WORKS FINE!!! But I am
unable to get my main.php working.

I will try your setup way once i get home...

Thanks,
- Original Message -
From: "Cedric Perthuis" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 28, 2002 6:54 PM
Subject: Re: PHP and IIS6 (windows .NET RC1)


> Ok, that was easier than what I thought :)
>
> Windows .Net PHP installation:
>
> First of all the installer doesn't work because an ActiveX object used to
> configure IIS is not present or not available when you try to install PHP.
>
> - So download the zip file instead.
> - rename/modify/copy php.ini to your C:/WINDOWS directory.
> - copy the file php4ts.dll to C:/WINDOWS/SYSTEM32 ( required, I don't know
> why, it is supposed to be used only if you use extension...but even
without
> extensions it doesn't work without it )
>
> IIS 6.0 disable by default all the ISAPI extensions:
> - go to the IIS management console panel
> - You have 4 subsections, FTP sites, Application Pools, Web Sites and Web
> Service Extensions
> - Go to Web Service Extensions
> - For the first try, Allow "All Unknown ISAPI extension" then you will be
> able to create an entry for the PHP and juste allowing it, I didn't try it
> yet.
> - go now in Web Sites, and do the classic extension mapping at the top
level
> of your web sites heirarchy
> - in Home Directory, click on Configuration, and now add the [your
> path]/php4isapi.dll file with the extension .php
> - in Home Directory, allow Script and Executable or only Scripts
>
> et voila ! You don't have to restart anything, it just work now.
>
> Next step having MySql work... it seems to be really harder... but mysql
can
> be easily replace by SQL server, so I am not too much worried about it.
>
> Cedric.
>
> > "Tyler" <[EMAIL PROTECTED]> a écrit dans le message de news:
> > [EMAIL PROTECTED]
> > > Hi, I cannot seem to get PHP working under Windows.NET RC1 Standard
> > Server.
> > > Is there anyone out there who got this to work and knows how?
> > >
> > > Thanks much,
> > >
> > > Tyler.
> > >
> > >
> >
> >
>
>



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




[PHP-WIN] Re: PHP and IIS6 (windows .NET RC1)

2002-09-29 Thread Tyler

SIR!

YOU ARE A GOD!

Thank you

:)


"Cedric Perthuis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok, that was easier than what I thought :)
>
> Windows .Net PHP installation:
>
> First of all the installer doesn't work because an ActiveX object used to
> configure IIS is not present or not available when you try to install PHP.
>
> - So download the zip file instead.
> - rename/modify/copy php.ini to your C:/WINDOWS directory.
> - copy the file php4ts.dll to C:/WINDOWS/SYSTEM32 ( required, I don't know
> why, it is supposed to be used only if you use extension...but even
without
> extensions it doesn't work without it )
>
> IIS 6.0 disable by default all the ISAPI extensions:
> - go to the IIS management console panel
> - You have 4 subsections, FTP sites, Application Pools, Web Sites and Web
> Service Extensions
> - Go to Web Service Extensions
> - For the first try, Allow "All Unknown ISAPI extension" then you will be
> able to create an entry for the PHP and juste allowing it, I didn't try it
> yet.
> - go now in Web Sites, and do the classic extension mapping at the top
level
> of your web sites heirarchy
> - in Home Directory, click on Configuration, and now add the [your
> path]/php4isapi.dll file with the extension .php
> - in Home Directory, allow Script and Executable or only Scripts
>
> et voila ! You don't have to restart anything, it just work now.
>
> Next step having MySql work... it seems to be really harder... but mysql
can
> be easily replace by SQL server, so I am not too much worried about it.
>
> Cedric.
>
> > "Tyler" <[EMAIL PROTECTED]> a écrit dans le message de news:
> > [EMAIL PROTECTED]
> > > Hi, I cannot seem to get PHP working under Windows.NET RC1 Standard
> > Server.
> > > Is there anyone out there who got this to work and knows how?
> > >
> > > Thanks much,
> > >
> > > Tyler.
> > >
> > >
> >
> >
>
>



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




[PHP-WIN] Parsing html documents.

2003-01-19 Thread tyler
Is there a way, I can read a html document, look for a  tag, print what
it finds, and stop when it finds the next . If possible I would like to
do this for the entire document. For example:

If the php script were to search this html file:



Text 





Button 





Checkbox 



the php would parse it into three seperate pieces pulling them idividually
and printing them on a new page. I hope that makes sense, thanks for the
help.

Tyler Mace



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




[PHP-WIN] having a problem with windows xp + php

2002-02-28 Thread Tyler Worman

hi,
   I'm having a problem with windows xp using IIS 5.0 It's windows XP pro. I'm trying 
to run php as an ISAPI module (i may have screwed up the initals but i think thats 
it). Well everytime i follow the instructions in the php readme for use on IIS i have 
a problem. It will not load the dll. And PHP wont work. I've tried formating i've 
tried everything. Also It seems my IIS server has a user limit because when a couple 
poeople are on my site others get messages saying that the server can't handle anymore 
connections. Where in IIS can i specify the ammount of connections for it to handle 
(or can i even do that?) Is there some type of limit that IIS has for users? If anyone 
can help i would greatly apprecaite it.
\


Thanks In Advance,
Tyler



Re: [PHP-WIN] having a problem with windows xp + php

2002-02-28 Thread Tyler Worman

Is there a server version of xp? I heard about .net server but that isn't
out yet. And i have the bgi version running now but id like the auth
functions of php. Thats why i want to run isapi. I had apache running but
then i didn't have vb asp support.:/
- Original Message -
From: "Scott St. John" <[EMAIL PROTECTED]>
To: "Tyler Worman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 6:48 PM
Subject: Re: [PHP-WIN] having a problem with windows xp + php


> I was having trouble with XP Pro and PHP, so I went back to 2000.  Have
> you tried using the CGI version of PHP instead to see if it works better?
> Also the Pro versions (NT Workstation, 2000 Pro, XP Pro) have a hard limit
> of 10 connetions.  You can not change that, you have to upgrade to 2000
> Server or run Apache instead.
>
> -Scott
>
>
>
> On Thu, 28 Feb 2002, Tyler Worman wrote:
>
> > hi,
> >I'm having a problem with windows xp using IIS 5.0 It's windows XP
pro. I'm trying to run php as an ISAPI module (i may have screwed up the
initals but i think thats it). Well everytime i follow the instructions in
the php readme for use on IIS i have a problem. It will not load the dll.
And PHP wont work. I've tried formating i've tried everything. Also It seems
my IIS server has a user limit because when a couple poeople are on my site
others get messages saying that the server can't handle anymore connections.
Where in IIS can i specify the ammount of connections for it to handle (or
can i even do that?) Is there some type of limit that IIS has for users? If
anyone can help i would greatly apprecaite it.
> > \
> >
> >
> > Thanks In Advance,
> > Tyler
> >
>
> --
>
>
>



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




[PHP-WIN] FW: [PHP] Can't connect to mysql after applying MS Hotfix (originally posted to php-general)

2001-05-15 Thread Tyler Longren

The original message was posted to php-general...I got no replies...anybody
here know what's up with this?

The code that kills inetinfo.exe in Win2k is @ the end of this message.

> -Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 3:37 PM
> To: PHP-General
> Subject: [PHP] Can't connect to mysql after applying MS Hotfix
>
>
> Hello everybody,
>
> Lastnight, I was building a site.  Multiple SQL queries were being made on
> every page.  Everything worked nice and smooth.  I downloaded and applied
> the patch for MS01-026 which effects IIS 4.0 and 5.0.  I rebooted after
> applying the hotfix, and after that, NONE of my php scripts can connect to
> mysql.  It's not a problem with mysql, because I can successfully
> connect to
> mysql through the client and can execute queries.
>
> Anybody know what's up with this?
>
> Also, while playing around lastnight...I wrote some weird code that kills
> inetinfo.exe on Win2k boxes.  It's attached if anyone wants to look @ it
> (please do and see if you get the same results).

Code to kill inetinfo.exe:
.
This was found on accident...thanks to my crappy coding.  :)
Date: 05-14-2001
Kills: Inetinfo.exe on Win2k
*/
session_start();
session_register('username');
session_register('password');
header("Location: $PHP_SELF");
if ($formusername) {
mysql_connect("$mysql_host","$mysql_user","$mysql_pass");
mysql_select_db("$mysql_db");
$auth_sql = mysql_query("SELECT * FROM $mysql_user_table WHERE username =
'$formusername' AND password = '$formpassword'");
$user_exists = mysql_num_rows($auth_sql);
if ($user_exists == "1") {
$username = $formusername;
$password = $formpassword;

}
else {
$login_error = "Error:Wrongusername/password";
session_unregister('username');
session_unregister('password');
}

}
else {
mysql_connect("$mysql_host","$mysql_user","$mysql_pass");
mysql_select_db("$mysql_db");
$auth_sql = mysql_query("SELECT * FROM $mysql_user_table WHERE username =
'$username' AND password = '$password'");
$user_exists = mysql_num_rows($auth_sql);
if ($user_exists == "1") {
// blah blah blah!
}
else {
$login_error = "Error:Wrongusername/password";
session_unregister('username');
session_unregister('password');
}
}
if ($login == "no") {
session_destroy();
session_unregister('username');
session_unregister('password');
header("Location: $PHP_SELF");
}
?>


-- 
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-WIN] no connection to mysql

2001-05-16 Thread Tyler Longren

Hello everyone,

PHP just stopped being able to connect to mysql.  mysqld-nt is running, and
is running alright becuase I can connect, select databases, and execute sql
queries through the mysql client.  However, when I try to establish a
connection through PHP, the connection never gets made.  This just started
happening 2 days ago.  This also happens on one of my machines at school.

Here's the code I'm using to test (which has worked fine before):
No data could be 
retrieved.";
}
else {
while ($row = mysql_fetch_array($sql)) {
$id = $row["id"];
print "$id";
}
}
}
else {
print ("SQL NOT 
executed.Error No.:" .
mysql_errno() . "Error: " . mysql_error() . "");
}
}
else {
print ("Database NOT selected.Error
No.:" . mysql_errno() . "Error: " . mysql_error() . "");
}
}
else {
print ("Connection NOT established.Error
No.:" . mysql_errno() . "Error: " . mysql_error() . "");
}
?>

Has anybody else experienced any problems like this?  I think this started
happening after I accidentally wrote some bad code that killed inetinfo.exe
(IIS).  PHP hasn't been able to connect to MySQL since then.

Thanks everyone,
Tyler


-- 
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-WIN] XmlRPC Extension in Apache 4.2.3

2003-07-21 Thread Donald Tyler
Hi Everyone,

 

I posted this on the PHP install list but didn't get a reply. I hope you
guys/gals can be more helpful.

 

I am having trouble getting the XmlRpc extension working with PnP 4.2.3.

 

SYSTEM:

Windows XP Pro

PHP 4.2.3 (Running as Apache module)

Apache 2.0.44

 

When Apache starts I get the following error:

 

Unknown(): Unable to load dynamic link library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.

 

The error.log after a clean start:

 

[Fri Jul 18 17:08:29 2003] [notice] Parent: Created child process 3420 PHP
Warning:  Unknown(): Unable to load dynamic library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.  in Unknown on line 0 [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Child process is running [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Acquired the start mutex. [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Starting 250 worker threads.

 

I know the dll exists in the correct location and the extension path is
specified correctly in the php.ini file because other extensions load fine.

 

Anyone have any suggestions?

 

Thanks.

 

 

 



[PHP-WIN] FW: XmlRpc extension problem in windows

2003-07-23 Thread Donald Tyler
Got some replies with this the first time but didn't solve the problem so I
am posting again. Please help!

 

Hi Everyone,

 

I am having trouble getting the XmlRpc extension working with PnP 4.2.3.

 

SYSTEM:

Windows XP Pro

PHP 4.2.3 (Running as Apache module)

Apache 2.0.44

 

When Apache starts I get the following error:

 

Unknown(): Unable to load dynamic link library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.

 

The error.log after a clean start:

 

[Fri Jul 18 17:08:29 2003] [notice] Parent: Created child process 3420 PHP
Warning:  Unknown(): Unable to load dynamic library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.  in Unknown on line 0 [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Child process is running [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Acquired the start mutex. [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Starting 250 worker threads.

 

I know the dll exists in the correct location and the extension path is
specified correctly in the php.ini file because other extensions load fine.

 

Anyone have any suggestions?

 

Thanks.

 

 



[PHP-WIN] email forwarding from SendMail to PHP

2003-07-28 Thread Donald Tyler
Anyone know of a place to get some good tutorials on how to forward email
from SendMail to PHP for processing?