php-windows Digest 15 Jan 2002 10:00:28 -0000 Issue 953

Topics (messages 11441 through 11449):

Re: cant read php.ini
        11441 by: Alain Samoun

calling an ASP program or object from within php
        11442 by: Nicole Lallande
        11443 by: Andrew Stopford
        11444 by: Nicole Lallande
        11445 by: Frank M. Kromann
        11446 by: Nicole Lallande

Re: sending an array through post
        11447 by: Pac mon

Re: Please help a newbie -- have pity!
        11448 by: tonibern.tin.it

How to run sockets under Win32
        11449 by: Logan

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 ---
Use the Start/find to find if there is any other php.ini file somewhere.
A+
Alain

On Mon, Jan 14, 2002 at 04:03:11PM -0000, Adrian Kelland wrote:
> PHP is working fine on an NT4 Terminal Server except for mail functions. I
> have entered the correct settings in the php.ini file. These were tested OK
> in a script. The problems seems to be that the php.ini file is not being
> read. phpinfo() expects it to be in c:\winnt, so I put it there instead of
> c:\wtsrv. Still no joy. Any ideas
> 
> 
> 
> -- 
> 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 ---
Greetings,

Documentation searched through:  book, search through newsgroup archive, 
php.net -- frankly having a tough time posing the question.

I am new to php-windows and am clueless about ASP.  I am having to 
create a code that will call an ASP script for the database 
connectivity.  I need to pass a couple of variables to the asp program. 
  I don't need any return - my job is done once I call the asp script. 
I know that php can call external programs by using 'exec' but I am not 
sure if a) that will work with asp and b) if that is the most 
effective/efficient way.

I have the php4 bible which has the most windows info I have see in the 
literature and it discusses COM objects but not really calling a program.

Please advise,

TIA,

Nicole

--- End Message ---
--- Begin Message ---
Hi,

You have a couple of options but I would recommend using WDDX
(http://www.openwddx.org), both ASP and PHP support WDDX and its great way
of sharing data between the two.

--
Andrew Stopford
http://www.a-coda.com


--- End Message ---
--- Begin Message ---
Yikes -- seems pretty complex for what I need to do right now but 
definately cool to download and use for windows development down the 
road - thanks,

Nicole

Andrew Stopford wrote:

> Hi,
> 
> You have a couple of options but I would recommend using WDDX
> (http://www.openwddx.org), both ASP and PHP support WDDX and its great way
> of sharing data between the two.
> 
> --
> Andrew Stopford
> http://www.a-coda.com
> 
> 
> 

--- End Message ---
--- Begin Message ---
Hi,

If you just need to execute an ASP script on the same (or any other server) you can do 
it with fopen().

<?
$var1 = "abc";
$var2 = 123,

$url = "http://some-url.com?var1=$var1&var2=$var2";;

if ($fp = fopen($url)) {
  $data = fread($fp, 4069);
  fclose($fp);
)

?>

- Frank
> Yikes -- seems pretty complex for what I need to do right now but 
> definately cool to download and use for windows development down the 
> road - thanks,
> 
> Nicole
> 
> Andrew Stopford wrote:
> 
> > Hi,
> > 
> > You have a couple of options but I would recommend using WDDX
> > (http://www.openwddx.org), both ASP and PHP support WDDX and its great way
> > of sharing data between the two.
> > 
> > --
> > Andrew Stopford
> > http://www.a-coda.com
> > 
> > 
> > 
> 
> 
> -- 
> 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 ---
Thanks Frank - I'm afraid I got windows-panic - duh -- stick to basics - 
I was making it alot tougher than it should have been just 'cause I was 
working with windows.

Best,

Nicole

Frank M. Kromann wrote:

> Hi,
> 
> If you just need to execute an ASP script on the same (or any other server) you can 
>do it with fopen().
> 
> <?
> $var1 = "abc";
> $var2 = 123,
> 
> $url = "http://some-url.com?var1=$var1&var2=$var2";;
> 
> if ($fp = fopen($url)) {
>   $data = fread($fp, 4069);
>   fclose($fp);
> )
> 
> ?>
> 
> - Frank
> 
>>Yikes -- seems pretty complex for what I need to do right now but 
>>definately cool to download and use for windows development down the 
>>road - thanks,
>>
>>Nicole
>>
>>Andrew Stopford wrote:
>>
>>
>>>Hi,
>>>
>>>You have a couple of options but I would recommend using WDDX
>>>(http://www.openwddx.org), both ASP and PHP support WDDX and its great way
>>>of sharing data between the two.
>>>
>>>--
>>>Andrew Stopford
>>>http://www.a-coda.com
>>>
>>>
>>>
>>>
>>
>>-- 
>>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 ---
If they don't need to be visible include this form element in the form to be 
submited:
<input type='hidden' value='<? echo $myArray ?>'>

>
>Hello,
>I need to send a lot of numbers with a form(post). How can I do that. I've 
>tried just this:
>
><input type="text" value="<?php $myArray ?>">
>
>But that won't work.
>
>How then?
>polleke


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

--- End Message ---
--- Begin Message ---
Hi,
I was asked to teach some students PHP.
I want to know what they have to have and to do to run locally PHP.
Microsoft IIS can for instance be installed on a machine that works at the same time 
as server or client? Can they have a single isolated machine and test and see their 
work?
Thank you very much
Antonio bernabei

> 
> Da: "Frank M. Kromann" <[EMAIL PROTECTED]>
> Data: 14/01/2002 19:07
> A: tom <[EMAIL PROTECTED]>
> cc: <[EMAIL PROTECTED]>
> Oggetto: Re: [PHP-WIN] Please help a newbie -- have pity!
> 
> Using the prowser to view a file on your file system will just show the content. The 
>browser does not have any knowledge of the PHP parser.
> 
> A web server on the other hand will be able to run the requested script through a 
>parser an send the converted document (usually as html) to the browser fopr display.
> 
> The binary version of PHP on Win32 works fine with IIS, Apache and other web servers 
>available on that platform.
> 
> - Frank
> 
> > Can someone tell me how to use this php.exe file?? The docs are totally
> > confusing.
> > 
> > Okay - I run a rented unix server that supports php, no problem. But I want
> > to test my site files offline on my win 2k machine. Online IE displays the
> > php test files just fine, but offline it ignores the php content entirely. I
> > want to browse to d:\test.php, for instance -- without using the w2k server
> > stuff, just browse to file.
> > 
> > I thought the php download of windows binaries was supposed to fix this, but
> > I can't get it to do anything.
> > 
> > Tom
> > 
> > 
> > 
> > 
> > -- 
> > 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 ---
I tried to use the socket function under PHP 4.0.6 in IIS 5 on a server with
windows XP.

It give me the error -> Socket function not found in line 3

It's the socket implementation a package that i have to install???


--- End Message ---

Reply via email to