NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Blogger Workarounds?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 02-27-2006, 02:53 PM THREAD STARTER               #1 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)

Question Blogger Workarounds?


Hey all,

Is there anyway to use a PHP script on a blogger page?

Don't try to convince me to not use Blogger. I will not appreciate it and will leave negative rep. I'm sick of people trying to press their point when it is off-topic.

Maybe if I used a <script src="whatever.js"> kind of thing on the .html page? How would I get the javascript to output what the PHP script outputs?

(Realistically, displaying a poll form from a PHP script on an HTML page is what I'm trying to do.)

Thanks,
-Matt
mholt is offline  
Old 02-27-2006, 03:10 PM   #2 (permalink)
NamePros Regular
 
Jim_'s Avatar
Join Date: Aug 2005
Location: NY, USA
Posts: 608
Jim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to behold
 


Save The Children
Code:
<script type="text/javascript" language="javascript">
if (window.XMLHttpRequest) { 
    xmlHttp = new XMLHttpRequest();
} else if (window.ActiveXObject) { 
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
function callServer(url) {
  xmlHttp.open("GET", url, true);
  xmlHttp.onreadystatechange = updatePage;
  xmlHttp.send(null);
}
function updatePage() {
  if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
    document.write(response);
  }
}
callServer("http://www.yoursite.com/script.php");
</script>
Just change the url at the bottom.
????: NamePros.com http://www.namepros.com/programming/171873-blogger-workarounds.html

Hope thats what you're looking for.
__________________
ask me about the internet
Jim_ is offline  
Old 02-27-2006, 03:28 PM THREAD STARTER               #3 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Yeah, but now the site doesn't load www.veblo.com - try it.

Thanks for the script though, very useful. Any idea why it won't load?

http://www.veblo.com/server/poll.php

There's the source PHP file. Should I try putting that script in a small iframe?

-Matt
mholt is offline  
Old 02-27-2006, 03:33 PM   #4 (permalink)
NamePros Regular
 
Jim_'s Avatar
Join Date: Aug 2005
Location: NY, USA
Posts: 608
Jim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to behold
 


Save The Children
A borderless iframe would work. I don't know why the javascript isn't loading. :S
__________________
ask me about the internet
Jim_ is offline  
Old 02-27-2006, 03:38 PM THREAD STARTER               #5 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
okay, I'll try that.

Do you know the target name of the parent frame? So links in the iframe don't open in the iframe but rather in the actual window. Is it "_top"?

Thanks,
-Matt
mholt is offline  
Old 02-27-2006, 03:43 PM   #6 (permalink)
Senior Member
 
dc1pop's Avatar
Join Date: Dec 2004
Location: UK
Posts: 1,893
dc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to behold
 



Originally Posted by compuXP
okay, I'll try that.
????: NamePros.com http://www.namepros.com/showthread.php?t=171873

Do you know the target name of the parent frame? So links in the iframe don't open in the iframe but rather in the actual window. Is it "_top"?

Thanks,
-Matt

If you want to reload the same frame in the same windows its _self not 100% sure if thats what your after though.
dc1pop is offline  
Old 02-27-2006, 03:46 PM THREAD STARTER               #7 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Oh okay Thanks - I got it working and I'll style it and tweak it now. Many thanks both of you!
mholt is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want a blog site like blogger? def1 Web Designs For Sale 4 12-20-2005 01:19 PM
Blogger down? mholt The Break Room 2 10-05-2005 08:34 PM
Getting Last X number of posts from my Blogger blogs via Atom feed mholt Programming 0 08-24-2005 10:23 AM
Tried a Blogger - Style ?? charta Web Design Reviews 0 07-05-2005 06:10 PM

 
All times are GMT -7. The time now is 02:11 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger