Jul 26, 2008

Open Php Page From Another Server - If a server does not support php

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Open Php Page From Another Server - If a server does not support php

p_a
If web server does not have .php support and I want to put a guestbook or something similar (no database), and there is no support for other server side scripting, what should I do?

I would not like frames on my page, but - is there a possibility to put .php page from another site into layer on my webpage at the no-php-site? Does layer support (or any other html command, excluding frames) page including from another server?

Also, does anybody have a solution for this any other way? How to make a guestbook without php, perl, other scripting languages? Or, how control (read, write contents) a file at the server without php, perl? Any way to do that?

Reply

Spectre
It is almost impossible to create an online guestbook or other such feature without being able to store content on the server (which would require a server-side language). It is possible, however, to incorporate PHP scripts from another site - but it could be quite risky, security wise, as you would need to pass all data to the script out in the open where anyone can see it.

One solution might be to set the 'action' of the form to point to the script on your other server, then have that script redirect users back to your other site once finished.

As for including content from scripts within pages, it would be difficult to do so without the use of frames - in a 'normal' environment, the script would be able to modify and add to the output before it is sent to the client, but as it is obviously unable to do so in such a situation, the only solution that I can see is using frames.

I'm don't think that it's possible, but you may be able to have JavaScript retrieve the contents of a webpage, store it in a variable, and then display it somewhere in the page. I avoid using JavaScript wherever I can, so I don't know - but it's unlikely it would work, as JavaScript has little to no file handling abilities (particularly where remote files are concerned).

A very unpractical (to the point of being absurd) solution could be to have the script on the server that supports PHP to generate an image containing the text and then display that image on your other web page. There are obviously a million reasons why this would be a stupid idea, but at a pinch, it could work.

There are various sites around that provide 'free' (usually ad-supported) guestbooks and other such remotely hosted scripts, but I'm quite sure most of them use frames.

 

 

 


Reply

p_a
Of course - security reasons are so severe, I really do not want to make the link without being sure everything would be safe.

But, for example - is there anything in HTML (not XML) excluding frames, including layers, that can have another page as it content. Layer can have pictures and texts, it can move from side to side, but, can it have complete webpage inside, or, is there any other possibility, any other HTML capability? iframe? something similar? I just want to include .php page that cannot be started in main server, to be started at another server, and after being started, as clean html, to be included in the main page.


Reply

juliet
Notice from wassie:
I dont know whats this about... but its way offtopic

Reply

arboc7
Hi, I'm thinking (as they said above) that the only way to do that is with a client-side script. Maybe you should take a look at AJAX (Asynchronous Javascript And Xml)...there is a thread started in the Javascript forum.

Hope you can figure something out!!

Reply

Lozbo
But how are you planning to use a php in your pages if your server does not support php? _I mean if you do have access to a file in another server which supports php, why dont you migrate all your content to that server? Would be much easier...

And if you do not own the file you are planning on including, what kind of file would it be?

Also, trap seventeen here offers php in its service, guess you already know.. hehe

-10730

Reply

iGuest
i dont get it?
Open Php Page From Another Server

Hell guys I wanted to say that when I go to the moparscape server status page and I click on one of the server it says that you have to download the client so when I download it and open it it says the blah blah could not support the thing and hen it says to open a site where its originally from but it doesnt work I need help please...

Reply

Framp
If you don't like iframes you should take a look at ajax
I suggest you the jQuery library because it's very simple and effective

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. if server does not support php - 6.39 hr back. (1)
  2. access another server in php - 10.89 hr back. (1)
  3. include a php form another server - 18.12 hr back. (1)
  4. how to download a php file from another server - 23.25 hr back. (1)
  5. server does not support php clean links - 36.48 hr back. (1)
  6. how to get back to html page from the php server - 40.54 hr back. (1)
  7. does my web server support php - 54.39 hr back. (1)
  8. download image "another server" php - 61.08 hr back. (1)
  9. does php script work html server - 62.15 hr back. (1)
  10. server that does not support php - 62.62 hr back. (1)
  11. php open another php - 67.18 hr back. (1)
  12. download file from another server php - 75.58 hr back. (1)
  13. open.php - 77.84 hr back. (1)
  14. php include page different server - 83.51 hr back. (1)
Similar Topics

Keywords : php server server php

  1. Server Absolute Referencing - on a trap17 sub-domain (4)
  2. Which Server Side Programming Language? - Tell us what you like best! (7)
    Here's where you get to say what server side programming language you prefer / like to use
    best!...



Looking for open, php, page, server, server, support, php

Searching Video's for open, php, page, server, server, support, php
advertisement



Open Php Page From Another Server - If a server does not support php



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE