[PHP-WIN] PHP running as ISAPI

2004-04-29 Thread Helio Rubens Kamogawa
Hi! I am setting up a windows 2003 machine, with IIS 6 and PHP 4.3.6. I've followed the instructions on php.net to install php as CGI or ISAPI. I had creepy experiences with PHP running as ISAPI on W2k and IIS 5. I had a lot of GPFs and Internal Server Errors even on ASP apps. A lot of people is

Re: [PHP-WIN] Running PHP as another user

2004-04-29 Thread Jason Barnett
B.A.T. Svensson wrote: One can also tell the IIS - provided one uses ISS - to let certain script run as certain users when accessed with IIS. (This is probably wiser than giving away the executing rights on individual executables - as I seen been suggested previously - since the control on What&Wh

RE: [PHP-WIN] Running PHP as another user

2004-04-29 Thread Svensson, B.A.T. (HKG)
One can also tell the IIS - provided one uses ISS - to let certain script run as certain users when accessed with IIS. (This is probably wiser than giving away the executing rights on individual executables - as I seen been suggested previously - since the control on What&When will be much higher t

[PHP-WIN] Running PHP scripts as a different user

2004-04-29 Thread Jason Barnett
It seems that several people have run into a problem where PHP did not have permission to access certain folders / files in Windows. I have two solutions that I have tried on WinXP, if others could verify if this works on other Windows platforms this would be helpful. Solution #1: Use the fu

[PHP-WIN] Running PHP as another user

2004-04-29 Thread Jason Barnett
It seems that several people have run into a problem where PHP did not have permission to access certain folders / files in Windows. I have two solutions that I have tried on WinXP, if others could verify if this works on other Windows platforms this would be helpful. Solution #1: Use the fu

Re: [PHP-WIN] Internal Server Error

2004-04-29 Thread Raheel Hussain
fortunately i got the solution to it but i was a little surprised with it. actually as i had installed php previously and as i remember in the IISAdmin you add the application mapping (.php , or .phtml) with the path of executable of ("c:\php\php4ts.dll") and i did the same and when i read the s

Re: [PHP-WIN] Internal Server Error

2004-04-29 Thread Stuart
Raheel Hussain wrote: HTTP 500 - internal server error can somebody guide where i m making mistakes or wht things to keep in mind while mannually configuring this. I'm going to assume you're using Internet Explorer in its default configuration. Try turning "Show friendly HTTP error messages" in t

[PHP-WIN] Possibilities of removal of annoying spam bounce in the php-list

2004-04-29 Thread Svensson, B.A.T. (HKG)
Is there any kind of moderator or list administrator for the php list that has the ability to remove this annoying spam subscriber that bounces these "Amazon.com Jobs Application Auto-Reply" every time one post to the php-win list? It's starts to get annoying to see this type of mail pop up in the

Re: [PHP-WIN] Re: Run batch files using php

2004-04-29 Thread Harpreet K. Singh
I run the batch file double clicking on it and it copies the files from one server to the other. I run the copy command in dos prompt it runs perfect I try running the same copy command or running the same batch file using exec in my php page and i get access is denied. What do i need to do to c

RE: [PHP-WIN] Need help using "php.exe"

2004-04-29 Thread Svensson, B.A.T. (HKG)
> Like every shell application, the PHP binary accepts a number of > arguments but your PHP script can also receive arguments. The number of > arguments which can be passed to your script is not limited by PHP (the > shell has a certain size limit in the number of characters which can be > passed;

RE: [PHP-WIN] The COM problem when converting from ASP to PHP

2004-04-29 Thread Gryffyn, Trevor
Yeah, this is some of the fun of dealing with COM and PHP. Microsoft puts all kinds of little shortcuts into their system that are difficult to access via PHP. I'm sure there's a smarter programmer out there than I am who knows how to make this work properly, but here's my 2 cents: 1. When you c

RE: [PHP-WIN] Need help using "php.exe"

2004-04-29 Thread Gryffyn, Trevor
http://www.php.net/manual/en/features.commandline.php Check out this page about using PHP via command line. You pass variables in via the $argv variable. Here's a snippet: Like every shell application, the PHP binary accepts a number of arguments but your PHP script can also receive a

[PHP-WIN] Unsubscribe me

2004-04-29 Thread Gregg Mercede
__ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Order By........

2004-04-29 Thread Gryffyn, Trevor
If you want the last post first, you probably want to order your query "descending", try this line: $get_post = "select * from $table_name2 where cat_id = '$_POST[cat_id]' ORDER BY posted DESC"; -TG > -Original Message- > From: Will [mailto:[EMAIL PROTECTED] > Sent: Monday, April 26, 20

[PHP-WIN] Re: Internal Server Error

2004-04-29 Thread Jason Barnett
Raheel Hussain wrote: I m trying to configure the php 4.3.6 on windows 2K I did every step witten in the installation instructions but when i go to run the test.php page with < ? phpinfo(); ?> witten in it then it was first giving an error of You should try to use php tags for php code: "th

RE: [PHP-WIN] COM on remote machine + MapPoint COM question?

2004-04-29 Thread Gryffyn, Trevor
I'm playing around with COM right now doing things with PHP and MapPoint. I got the feeling that COM was something that had to work on the local machine because you needed the COM information in your registry to tell the computer what application to run. That is, PHP says "Open COM connection to

[PHP-WIN] Internal Server Error

2004-04-29 Thread Raheel Hussain
I m trying to configure the php 4.3.6 on windows 2K I did every step witten in the installation instructions but when i go to run the test.php page with < ? phpinfo(); ?> witten in it then it was first giving an error of "the specified procedure cannot be found" then i tried reconfiguring it a

[PHP-WIN] Re: How do you get the image function to work?

2004-04-29 Thread Jason Barnett
Daniel Anderson wrote: Hi, can anyone tell me how I can get the Image Create function for PHP to work properly? I have viewed the English manual at www.php.net and the comments posted don't really help to get this thing working, the GD Image Library says it is not for PHP. Can anyone help? Any

[PHP-WIN] How do you get the image function to work?

2004-04-29 Thread Daniel Anderson
Hi, can anyone tell me how I can get the Image Create function for PHP to work properly? I have viewed the English manual at www.php.net and the comments posted don't really help to get this thing working, the GD Image Library says it is not for PHP. Can anyone help? Anything will be greatly a

[PHP-WIN] Re: SSL, how?

2004-04-29 Thread speedfreak
Tobias Talltorp wrote on 29/04/04 12:30 > Hi I want to use fsockopen() with SSL, but I get this error message. Warning: fsockopen(): no SSL support in this build in D:\Program Files\Apache Group\Apache2\htdocs\ssltest.php on line 287 How do I enable ssl-support for php? I uncommented the line in

[PHP-WIN] SSL, how?

2004-04-29 Thread Tobias Talltorp
Hi I want to use fsockopen() with SSL, but I get this error message. Warning: fsockopen(): no SSL support in this build in D:\Program Files\Apache Group\Apache2\htdocs\ssltest.php on line 287 How do I enable ssl-support for php? I uncommented the line in for the php_openssl.dll extension in php.