473,397 Members | 2,099 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,397 software developers and data experts.

Remote post to another server using Javascript

Hi,

I want to populate my client's webpage (Remote Server) automatically
through my Server and Database by having him just paste a javascript
on his webpage.

I have read up about Microsoft Remote Scripting but the documentation
states the following : "The server which you make remote scripting
calls must be the same server from which you requested the client page
containing the requests."

In my case , the client and server pages are on two seperate servers
which means that I cannot use MS Remote Scripting.Is there an alternate
approach in any scripting language ???

Any suggestions, tutorials , websites , code snippets will be
appreciated while i continue to research on this...

Thanks
Russel

Nov 23 '05 #1
4 2474
> Is there an alternate [foreign server remote scripting] approach in any scripting
language ???


What you are looking for is a proxy for your scripts to call. Do a
Google search for "AJAX proxy YOUR_SCRIPTING_LANGUAGE". If you are
using PHP or ASP I would reccomend the CPAINT toolkit <
http://cpaint.booleansystems.com/ >, which contains such a proxy and
makes the rest of remote scripting almost as simple as standard web
development.

Nov 23 '05 #2
Thanks for your reply Joshie.. I just implemented the CPAINT Proxy
Utility with a PHP backend and it works like a charm.

However , although the HTML is displayed in my browser , the View
Source command doesnt not display the code. I guess CPAINT / AJAX
can't accomplish that since Javascript can't dynamically populate a
HTML page...Am i correct ? ..Basically , all i need is the view source
displaying the same code as the HTML does so that it is Search Engine
friendly.

TIA

Nov 23 '05 #3
Thanks for your reply Joshie.. I just implemented the CPAINT Proxy
Utility with a PHP backend and it works like a charm.

However , although the HTML is displayed in my browser , the View
Source command doesnt not display the code. I guess CPAINT / AJAX
can't accomplish that since Javascript can't dynamically populate a
HTML page...Am i correct ? ..Basically , all i need is the view source
displaying the same code as the HTML does so that it is Search Engine
friendly.

TIA

Nov 23 '05 #4
> Basically , all i need is the view source displaying the same code as the HTML does so that it
is Search Engine friendly.


You can do this in Firefox, though I believe you will need an extention
to do so. I don't have FF (I use Camino) so I'm not sure which one (you
may not need one at all), but if so I'm sure someone else here could
post a URL.

FF's DOM browser updates live so you may be able to use that, though it
wouldn't be as simple to read.

Nov 23 '05 #5

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

Similar topics

12
by: Troy | last post by:
My ISP provides me with 2 servers: one for normal web hosting (non-PHP) and a CGI server (with PHP). I create my website using fusion 7 and upload this in its entirity to the web hosting server....
1
by: nabilo | last post by:
I want to know if it's possible to call, within my cgi page, using javascript, a remote url and get the result without changing my actual page. To say more, I have a page result appaired to the...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
2
by: Jeff | last post by:
I have an ASP.NET web page accessing a SQL database. I've used VS to build the app and stored it in the eNPTest02 directory of my localhost on my development machine. The database is on the web. ...
2
by: Julia | last post by:
Hi, Can a Remote object be a WebService as well? i want to able to connect to a remote object either using .NET remoting and HTTP\SOAP so I wonder if I can create a singleton(statefull)...
3
by: Guy Debord | last post by:
Hello all, I know that this is a long shot, but I have a problem which someone reading this group *may* just be able to shed some light on. We have a new internal personnel planner/attendance...
4
by: RoyX | last post by:
Hello - I am trying to embed JavaScript to an ASP page which will be executed on the server side and will send a HTTP request from the ASP Web server another remote server. Then I need to...
2
by: soren625 | last post by:
I have searched this (and other) groups extensively, in addition to the clj FAQ and the Web, and (to my surprise) this question doesn't come up as often as I thought it would. Maybe this is because...
1
by: Ramdas S | last post by:
Hello, I am looking at ways I can scrap the content of a remote url and make that available as a javascrpt string to a program running under another domain. I am able to easily scap contents...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...
0
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,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.