Current location: Hot Scripts Forums » Programming Languages » Everything Java » echo foriegn html in static page


echo foriegn html in static page

Reply
  #1 (permalink)  
Old 11-06-03, 11:21 AM
fergusom fergusom is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Angry echo foriegn html in static page

I'm sure there must be a way to do this: -
I have a php page with a small calendar dynamically connected to a db. I would like to echo this dynamicaly generated table in a part of a static page i.e. a page with no server side ability. I therefore only have jscript open to me.
What I am thinking of is some way to echo the HTML of the php page in a table of my static page.
i.e. I would like this dynamic table
http://www.tech.port.ac.uk/textCal.php
to be included some where on this page here
http://www.port.ac.uk/tech.

Any idea's would be swell!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-06-03, 06:38 PM
evo4ever evo4ever is offline
Software Developer Guru
 
Join Date: Aug 2003
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
It is impossible to include a php file into a static HTML file and get results. Why would you want to do this anyway? Just change this HTML to a PHP file and include the calander using php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-07-03, 03:54 AM
fergusom fergusom is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I was afraid I might not have explained myself properly.
The uni has bought in a CMS system which publishes flat html pages - which is why I pointed out that I believe I only have j.script open to me. I am aware that you physicaly can't include php code and expect to get it parsed.
What I was thinking was that on my old server I have this php script but what is output to a browser is pure html.
Thus I was wondering if it is possible in jscript to call a web page (i.e. the php page), take the (html) source of that page (i.e. after parsed by server) and print/echo/write the source i.e. an html table into the 'opener' flat/static page using jscript.
(As you might do for eg in frames, though not of course). I could do a pop-up but don't really want to do that unless that is all that is left to me.
Does this make it any clearer what I want to do?
Sorry if not.
Thanks for reply though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-08-03, 09:26 PM
evo4ever evo4ever is offline
Software Developer Guru
 
Join Date: Aug 2003
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Using JavaScript as client side in a HTML file?, or JScript as server side in a ASP file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-10-03, 03:35 AM
fergusom fergusom is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
The former; JavaScript client side in a HTML file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Web Host, New Problem! justchat PHP 2 09-29-03 03:39 PM
edit php in Squirrelmail jrcortrightiii PHP 1 07-10-03 03:08 PM
not displaying the correct info sparky PHP 8 06-26-03 09:28 AM
problem in cookies @ phppro list vb2vb PHP 13 06-22-03 09:04 PM
More inserting problems Psybadek PHP 7 06-17-03 05:39 AM


All times are GMT -5. The time now is 09:12 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.