473,322 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

parameter passing from asp to php

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
3 2918
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: WGW | last post by:
Though I am a novice to MS SQL server (2000 I believe), I can do almost! everything I need. Maybe not efficiently, but usefully. However, I have a problem -- a complex query problem... I can...
6
by: Brian Ross | last post by:
Hi, I am trying to do something similar to the following: int Func1(int x, int y); double Func2(double x, double y); template <typename FuncT> // <- What would go here class CObjectT {
4
by: Ron Rohrssen | last post by:
I want to show a dialog and when the form (dialog) is closed, return to the calling form. The calling form should then be able to pass the child form to another object with the form as a...
6
by: wiredless | last post by:
What is the advantage of passing an interface type? according to UML (visio) when i reverse engineer existing code to a UML diagram I get the error "UMLE00046: sample : - An interface cannot...
21
by: vmsgman | last post by:
Here is a code sample ... int blah = ReadFile( defArray, defFileName, w, h); // Read File Contents into memory array and return for processing public int ReadFile( ref ushort nArray, string...
20
by: Brien King | last post by:
If I have a parameter that has an Object type (as opposed to something like a string), can I make that parameter a CONST? Right now, if you pass an object into a sub/function, that sub/function...
4
by: Ranginald | last post by:
Hi, I'm having trouble passing a parameter from my default.aspx page to my default2.aspx page. I have values from a query in a list box and the goal is to pass the "catID" from default.aspx...
8
by: =?Utf-8?B?UmF2aQ==?= | last post by:
Hi, I'm trying to pass values of different data-types to a web-service. I thought it would be easier to box these values and pass them as a System.object parameter, like public void...
16
by: Theo R. | last post by:
Hi all, Does the C99 Standard explicitly mention the need for a stack for passing arguments or Is this platform specific? As an example, the ARM9 processor recommends Core Registers R0-R3 be...
4
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.