473,657 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP / ASP interface to local SQL server

I have access to a Microsoft SQL server, but can only access it from the
same local webserver. I need ideally to be able to access it, for both
reading and writing, from a different webserver / computer application,
which isn't directly possible. The local webserver which has access to the
SQL server has both PHP and ASP on it, so I was wandering if its going to be
possible for me to put together a page in one of PHP or ASP that will act as
a translator between the two. I know it will be fairly easy to send the
query from the remote website to the database, just using a post/get string
and sending that to the SQL server, but i'm not sure how I could get all of
the results back to the remote server for processing and usage of the
results. Ideally i'd like to have just one script on the local webserver
that will interpret everything and return whatever is needed, without having
to be reprogrammed to cope with specific queries. Is this going to be
reasonably possible, just to take the result of the query that is run and
send the whole lot to the remote website either as a mssql result set or as
an array of values I can access as normal arrays?
Any help greatly appreciated
And I can't change the SQL server since its provided by my university, and
apart from this limitation is very powerful, very fast on the campus
network, and with unlimited free storage space and tables.

Thanks

David
Jul 20 '05 #1
0 2969

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

Similar topics

0
8594
by: Steffen | last post by:
Hi! I'm trying to access a EntityBean from a servlet via the bean's local home interface. The EJB and the Servlet are together in one .ear file and I'm using JBoss 3.2.3. I think the "<local-jndi-name>" in jboss-web.xml is wrong. But I don't know what to write there. I've searched for examples or other help, but I haven't found anything useful. Thanks for your help in advance!
3
1420
by: JK | last post by:
I hope this question is appropriate for this group. My server provides a MySQL database. Do I need a third-party interface to add tables and records to it, or is their another way? Thank you. Jim
3
293
by: kjon | last post by:
Hi, I'm new to FTP. I need to do a VB.net Windows Forms application where files will be transferred to and from an FTP server and a local PC. It needs to have an explorer like interface where the program can show the folders and files exist in the local PC and the FTP server. Is it possible to achieve that? I've tried to find samples on the web but unfortunately the codes are either too complex or got bugs or I just don't know how to...
1
2812
by: Lincoln Yeoh | last post by:
Hi, If I have a program listening on 0.0.0.0:(someport) on all interfaces, how do I know which network interface a broadcast packet is coming in on - assuming Linux and _many_ interfaces. And how do I set which interface a frame will leave on, assuming I'm sending a raw frame (no IP address, just the ethernet address). If I use C, it seems I'm to use the IP_PKTINFO socket options, send/recv the ancillary messages and set/check the ...
0
1596
by: Ted Miller | last post by:
Hi folks, I originally posted this on microsoft.public.dotnet.framework.interop. Reposting to broaden the audience. I'm having an interop problem where my managed component is reentered from COM on the wrong thread, at which point things seem to go downhill very rapidly. I'm successfully making very heavy use of COM interop elsewhere in my C# code, but I'm having trouble finding a way around this particular problem. This is VS .Net 2003.
3
1474
by: Pranav | last post by:
Hi All, Q - Does it make sense to use web service as a facade to my Application Server for integration with outside world while retaining an alternate route for the clients written by me? Context - We have a solution comprising of 1. Backend Database 2. Application Server (AS) that talks to the DB and offers services to the client 3. Clients talking to the AS. There can be different kinds of client
25
2485
by: lovecreatesbeauty | last post by:
Could you talk something about the general rules on the interface (function) design in C program that recognized publically? Or introduce some good advice of yourself. How do you think about some of those advices like following? a. keep the interface clean and clear (What does clean or clear mean and how to achieve that?). b. avoid using static variables in local function if possible. c. avoid using global variables for local function...
1
2650
by: bomahony | last post by:
Ive installed db2 V8.1 FP11. when i run a local connection, it connects correctly. However when i run a remote connect (using squirel) it gives a connection refused error. i ran a tcpdump on the port (60000) whicle attempting to connect and i can see incoming traffic from the remote machine, but all traffic going out has 0bytes. Im not sure why the connection is being refused, as the logins ect are the same as i use on the local...
1
2721
by: yadolov | last post by:
I have COM-object with Iface interface: typedef struct { .... } TStruct; interface Iface : IUnknown {
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.