By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,380 Members | 3,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,380 IT Pros & Developers. It's quick & easy.

parameter passing from asp to php

P: n/a
Hi all,

I've got a script using com objects that will work in asp but not work
with php.

The asp script creates an object that does something and returns a
string. I want this sting to be passed to an php script without
putting it in a getstring. The getstring will expose the value and
thats not my intention. Encryption is an option but I'm not charmed by
that solution. I'd rather do it behind the scenes.

Who knows a creative way to do this?

TIA

Roger
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
PI*****@HOME.NL wrote:

I've got a script using com objects that will work in asp but not work
with php.

The asp script creates an object that does something and returns a
string. I want this sting to be passed to an php script without
putting it in a getstring. The getstring will expose the value and
thats not my intention. Encryption is an option but I'm not charmed by
that solution. I'd rather do it behind the scenes.

Who knows a creative way to do this?

SOAP?
Just an idea.
Jul 17 '05 #2

P: n/a
PI*****@HOME.NL wrote:
Hi all,

I've got a script using com objects that will work in asp but not work
with php.

The asp script creates an object that does something and returns a
string. I want this sting to be passed to an php script without
putting it in a getstring. The getstring will expose the value and
thats not my intention. Encryption is an option but I'm not charmed by
that solution. I'd rather do it behind the scenes.

Who knows a creative way to do this?


How about going simple and storing the value in a file on the server, or
perhaps even better, in a database, identified through and md5 of the
string, for example ?

Another more or less invisible way would be using POST instead of GET,
assuming the information is not sensitive as such, only hidden for
cosmetics.

One more way would be to use cookies on the client, storing the string.
This again, has its limitations (cookies need to be enabled, the string
itself again should not contain any sensitive data).

I would go with the first option, propably the quickest to implement and
has no real disadvantages, as long as you remember to clean the file /
database after the string is no longer needed.

HTH

--
Suni

Jul 17 '05 #3

P: n/a
On 2003-12-04, Juha Suni <ju*******@ilmiantajat.fi> wrote:
PI*****@HOME.NL wrote:
Hi all,

I've got a script using com objects that will work in asp but not work
with php.

The asp script creates an object that does something and returns a
string. I want this sting to be passed to an php script without
putting it in a getstring. The getstring will expose the value and
thats not my intention. Encryption is an option but I'm not charmed by
that solution. I'd rather do it behind the scenes.

Who knows a creative way to do this?


use a system-call to php-cli.exe
--
verum ipsum factum
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.