php-windows Digest 9 Mar 2005 12:47:12 -0000 Issue 2603
Topics (messages 25723 through 25730):
Can't use php-soap in windows enviroment?
25723 by: davide.zerocartacaf.org
25728 by: M. Sokolewicz
25730 by: Caroline Maynard
unlink problem
25724 by: Joakim Ling
25725 by: Joakim Ling
25726 by: Mike
25727 by: Joakim Ling
MS SQL Server
25729 by: Charles P. Killmer
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 ---
First of all, I'd like to thanks everybody in advance.
Actually I've got a winlamp distribution of php 5 in a web server.
My need is to use the php-soap functions to implement soap webservices
(server) but in php-soap specification is shown I need php configured with
-enable-soap to use any php-soap function.
Im'not expert in configuring php, but at first glance I believe that modify
php configuration adding --enable-soap can only be done recompiling php,
isn't it?
So, how can I overcome this kind of problem?
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] wrote:
First of all, I'd like to thanks everybody in advance.
Actually I've got a winlamp distribution of php 5 in a web server.
My need is to use the php-soap functions to implement soap webservices
(server) but in php-soap specification is shown I need php configured with
-enable-soap to use any php-soap function.
Im'not expert in configuring php, but at first glance I believe that modify
php configuration adding --enable-soap can only be done recompiling php,
isn't it?
So, how can I overcome this kind of problem?
just compile the extension from source, linking it to php5ts.lib in the
process. That creates a php_soap.dll file which you can add by
configuring it in via php.ini (extension=php_soap.dll).
However, rememember that you'll also need the SOAP library to be able to
compile php_soap.dll in the first place
--- End Message ---
--- Begin Message ---
Actually it's simpler than that. Your WINLAMP distribution probably was
compiled with --enable-soap, because this is the default for a Win32 zip
distribution. But it's not loaded by default. So all you should need to
do is uncomment the line
extension=php-soap.dll
in your php.ini, restart Apache, and you are ready to go.
[EMAIL PROTECTED] wrote:
Actually I've got a winlamp distribution of php 5 in a web server.
My need is to use the php-soap functions to implement soap webservices
(server) but in php-soap specification is shown I need php configured with
-enable-soap to use any php-soap function.
Im'not expert in configuring php, but at first glance I believe that modify
php configuration adding --enable-soap can only be done recompiling php,
isn't it?
So, how can I overcome this kind of problem?
--- End Message ---
--- Begin Message ---
Hi
When I'm trying to delete a file in a Dialog I receive this strange
error "HTTP does not allow unlinking in "d:\del.php on line 20". Can I
work around this?
<script>showModalDialog('del.php?file=foo.txt',null,'dialogHeight:250px;
dialogWidth:366px; resizable:no; status:no');</script>
thanks
--- End Message ---
--- Begin Message ---
It works fine thru an iframe thats not in a Dialog, so its not a permission
problem on the file. I'm running IIS6 php 5.0.3 on Win2003.
Anyone experience this before?
-----Ursprungligt meddelande-----
Fr�n: George Pitcher [mailto:[EMAIL PROTECTED]
Skickat: den 8 mars 2005 15:44
Till: Joakim Ling
�mne: RE: [PHP-WIN] unlink problem
Joakim,
This sounds like a permissions problem.
Are you using Apache? If so, make sure that your Apache server user is the
administrator and you will be able to unlink. To do this go to Services
(windows, not Apache) then select apache then click on Startup... and
change the login details.
George in Oxford (I had a similar problem recently)
> -----Original Message-----
> From: Joakim Ling [mailto:[EMAIL PROTECTED]
> Sent: 8 March 2005 2:40 pm
> To: [email protected]
> Subject: [PHP-WIN] unlink problem
>
>
> Hi
>
>
>
> When I'm trying to delete a file in a Dialog I receive this strange
> error "HTTP does not allow unlinking in "d:\del.php on line 20". Can I
> work around this?
>
>
>
> <script>showModalDialog('del.php?file=foo.txt',null,'dialogHeight:250px;
> dialogWidth:366px; resizable:no; status:no');</script>
>
>
>
> thanks
>
>
--- End Message ---
--- Begin Message ---
That bit of code really doesn't help us at all, but my guess is that the
user PHP is running as doesn't have permissions to delete from the D:\
drive.
To work around it give that user permissions to delete from that location.
It might also be helpful to give us the contents of del.php.
-M
> -----Original Message-----
> From: Joakim Ling [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 08, 2005 9:40 AM
> To: [email protected]
> Subject: [PHP-WIN] unlink problem
>
> Hi
>
>
>
> When I'm trying to delete a file in a Dialog I receive this
> strange error "HTTP does not allow unlinking in "d:\del.php
> on line 20". Can I work around this?
>
>
>
> <script>showModalDialog('del.php?file=foo.txt',null,'dialogHei
> ght:250px;
> dialogWidth:366px; resizable:no; status:no');</script>
>
>
>
> thanks
>
>
--- End Message ---
--- Begin Message ---
Ok, but like I said before it's not the permission on the file that's the
problem (I think), it works fine when I'm trying to unlink from a "normal" page
that's not a Dialog.
del.php
<? unlink($_GET['file']); ?>
It seems more like a HTTP deny in PHP or something.
(The file is uploaded in the same dialog)
-----Ursprungligt meddelande-----
Fr�n: Mike [mailto:[EMAIL PROTECTED]
Skickat: den 8 mars 2005 15:44
Till: Joakim Ling; [email protected]
�mne: RE: [PHP-WIN] unlink problem
That bit of code really doesn't help us at all, but my guess is that the
user PHP is running as doesn't have permissions to delete from the D:\
drive.
To work around it give that user permissions to delete from that location.
It might also be helpful to give us the contents of del.php.
-M
> -----Original Message-----
> From: Joakim Ling [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 08, 2005 9:40 AM
> To: [email protected]
> Subject: [PHP-WIN] unlink problem
>
> Hi
>
>
>
> When I'm trying to delete a file in a Dialog I receive this
> strange error "HTTP does not allow unlinking in "d:\del.php
> on line 20". Can I work around this?
>
>
>
> <script>showModalDialog('del.php?file=foo.txt',null,'dialogHei
> ght:250px;
> dialogWidth:366px; resizable:no; status:no');</script>
>
>
>
> thanks
>
>
--- End Message ---
--- Begin Message ---
Anyone know how to connect to a SQL Server through PHP using Windows
Auth instead of SQL Auth?
Charles Killmer
Netgain Technology
[EMAIL PROTECTED]
Office: (320) 251-4700 ext 107
--- End Message ---