473,378 Members | 1,470 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,378 software developers and data experts.

Passing parameters to an ASP.NET "script" - HOW ?

I may be barking up the wrong tree completely here - i.e. what I want to
do may not be possible - in which case please let me know which other
alternative way I may achieve the desire functionality.

I have been playing around with PHP for a while (original background is
10yrs+ in C/C++). I wrote a C++ program which fetches data by going to a
url (http://www.myswebsite/server.php) and passing arguments to the
script. It receives the requested data back in a callback. The script
server.php looked at the arguments passed to it, to determine the
request type etc.

I am moving away from PHP now for various reasons - however, I am not
sure how I can retain this functionality - i.e. have my C++ application
request data from the server - pass it arguments, and then receive the
requested data back.

Anyone knows how I may do this?
Jan 30 '07 #1
2 1152


On Jan 30, 5:07 pm, Bit Byte <r...@yourbox.comwrote:
Anyone knows how I may do this?
take a look at Request.Form and Request.QueryString

Jan 30 '07 #2
If you are making an asp.net application, it is the server, it's all yours,
you don't need to request anything from anyone.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Bit Byte" <ro**@yourbox.comwrote in message
news:iZ*********************@bt.com...
>I may be barking up the wrong tree completely here - i.e. what I want to do
may not be possible - in which case please let me know which other
alternative way I may achieve the desire functionality.

I have been playing around with PHP for a while (original background is
10yrs+ in C/C++). I wrote a C++ program which fetches data by going to a
url (http://www.myswebsite/server.php) and passing arguments to the
script. It receives the requested data back in a callback. The script
server.php looked at the arguments passed to it, to determine the request
type etc.

I am moving away from PHP now for various reasons - however, I am not sure
how I can retain this functionality - i.e. have my C++ application request
data from the server - pass it arguments, and then receive the requested
data back.

Anyone knows how I may do this?

Jan 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: tdi | last post by:
Ok, stupid question for the day. I'm reading the interview with Steve Moret and he says: "Once a lot of scripts started going in we knew there was no way we could back out of using Python." I'm...
1
by: Wet Basement | last post by:
I am passing data to a putcart.pl , parsing it, then building the query string to put the item in the shopping cart: $cartStr =...
1
by: Allen | last post by:
I am trying to add an additional photo/hyperlink to the company web site (I didn't create it) without any luck. The mouseover feature 'highlights' pics by swapping them with another pic using this...
2
by: Danny Boy | last post by:
Hi, "Snif" is an excellent little script to index files and directories. It's just one single file, and the advantage is that you merely drop it into the directory you want to index, point a...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.