Jump to content


Photo

php load and submit


  • Please log in to reply
2 replies to this topic

#1 Cheap Commercial

Cheap Commercial
  • Members
  • PipPip
  • Member
  • 17 posts

Posted 04 June 2006 - 05:07 PM

hey i was wonders how you can use php to load a url and then in the same php that loads the url have that url submit with a little java

is that possible?

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 04 June 2006 - 05:30 PM

Umm, can you explain that a bit more please! I dont get what you mean.

#3 Cheap Commercial

Cheap Commercial
  • Members
  • PipPip
  • Member
  • 17 posts

Posted 04 June 2006 - 05:44 PM

ok i want the php script to load a url

lets use php include
<?php include("http://www.othersite.../filename.html"); ?>

now i dont think that will work for this
but so it gets a url

but then i want to put in

<script type="text/javascript" language="JavaScript"><!--
document.forms[1].submit();
//--></script>

to make that url submit

now what i need help is to perfect that so it actually works




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users