php-windows Digest 14 Nov 2002 07:00:38 -0000 Issue 1439

Topics (messages 16930 through 16936):

Re: Permission denied with copy function..
        16930 by: Brian 'Bex' Huff

COLD FUSION and PHP
        16931 by: no one

can php call a C executable program?
        16932 by: David Giragosian

New commercial software needs beta testers
        16933 by: Jeremy Wilson

php com+ components on appache
        16934 by: kai

Need to read a double value from a binary file
        16935 by: Juan Carlos Gonzalez

Re: php with mssql
        16936 by: soff

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 ---
you might also want to check the value for "open_basedir" in your php.ini file. It will restrict file i/o above and beyond what the filesystem will restrict.

Most likely, the user that IIS is running under does not have file creation privileges for that folder. You should create a new user with minimal permissions, and run the IIS service as that user.

--

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424


--- End Message ---
--- Begin Message ---
Can I configure PHP to run with the Cold Fusion standalone server?  I don't
have IIS installed.  I'm on windows 2000 pro.
I want to run the cold fusion server and be able to execute PHP scripts.

Can anyone provide me with any guidance?

Thanks

[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Howdy All,

I have a C program that runs some queries on a MySQL db. I would like to
trigger the program's execution from a web page. Can't seem to trigger the
executable. Any thoughts/ideas/small code examples would be greatly
appreciated.

Thanks,    David



--- End Message ---
--- Begin Message ---
Intravative Software Corporation will be releasing a new commercial
software
application in January 2003 called iIPN. The software enables paypal
sellers
to sell and automatically deliver digital and non-digital products from
their web site. The software is currently the most robust out of any
other
commercial grade pay pal software and was designed with software
publishers
and music producers in mind for distributing their goods and services.
 
We are performing consumer based beta testing for the month of December
2002
and are accepting applications for people who would like to participate
in
the beta program.
 
Accepted Beta testers receive a free domain license and fully functional
software for this product to test with. You must provide your own server
and
equipment to do the beta testing with.
 
At the end of the beta testing period for this program, beta testers
will
receive a free copy of the final release software and a single domain
license for using the software.
 
Application URL: http://www.intravative.com/v2/iipn_betatester.php
--- End Message ---
--- Begin Message ---
hi guy's I have a problem running com+ code and would appreciate any help.

What I like to do is have the mediaplayer run a wave file triggert from php
via com.
but I can not run any example code from the help without errors.


this code is from a the help and should work but doesn't on my mashine:

// starting word
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";

//bring it to front
$word->Visible = 1;
//open an empty document
$word->Documents->Add();
//do some weird stuff
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");
//closing word
$word->Quit();
//free the object
$word->Release();
$word = null;

This is all very basic code and should run.
I do not have word so I tried with other apps. like wordpad or painbrush
but allways recieve this error:

Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in
D:\Apache\htdocs\ring.php on line 7
Unable to instanciate ..........

Now I tried to give the access right's on the particular apps in dcomcnfg
and
also edited php.ini to
allow Distributed-COM calls
com.allow_dcom = true


Does anybody can give me a run down on what I have to do exactly to get this
code running for
let's say wordpad.

Thank you

KAi




--- End Message ---
--- Begin Message ---
Hi all! I need to read 8 bytes from a binary file (shp file) and cast it to
its double value...

I'm having problems because PHP casts it automaticlly to a string using
fread; I can't find the function to cast it correctly, because floatval only
removes the non-numeric parts of the variable, but it doesn't cast it
completly...

I already did a little program in C++ and it casts it perfectly, but I can'
find the way to do it in php!

Any help will be appreciated!


--- End Message ---
--- Begin Message ---
Hello,

  I think changing to ODBC may cost lots of time  :(

您在 Wed, 13 Nov 2002 17:19:31 +0000 的来信中提到:

> Hail soff
> 
> On 13 November 2002 at 14:56:19 +0800 (which was 06:56 where I live) soff
> rearranged electrons to get
> 
> > I am trying to connect mssql with php, when I use mssql_pconnect(), It
> > will fail to connect when the amount of visitors becomes large. But,
> > when I use mssql_connect(), I can only run SELECT quern, while the
> > INSERT/UPDATE staments doesn't work. Can somebody tell me why? thanks
> > and sorry for my poor English :P
> 
> mssql_* uses the same library as used in mssql 6.5 (And sybase however I
> could be wrong with this one) to say it is flaky is an understatement.
> 
> The following give problems.
> 
> (1) access the mssql library and then do a header location sometimes gives a
> CGI error.
> 
> (2) Multi line SQL statements don't work.
> 
> I suggest you either use ODBC or access the mssql interface with a COM object
> (like ASP)
> 
> -- 
>  Thank you for your time,  _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer    |
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
> | ..then Lancelot, Robin and I will jump out of the Rabbit.               |
> 

-- 
Welcome to http://www.soff.net


--- End Message ---

Reply via email to