Jump to content

ghost0001

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ghost0001's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Okay this is nothing more than code I cut copied and pasted togther becuase I really don't know php . The form does pull up the child window but the child selection does not get into the parent form ..... what am I missing here ? I do not have access to the actual choose-did.php file , only the output from it and I have to grab it remotely as it is on another server , is this what is messing with me ? There are two different sessions running ? I just lost with this ... <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <noscript> <meta http-equiv="refresh" content="0; URL=enable_javascript.php"> </noscript> <script language="JavaScript" type="text/javascript"> <!-- var mytarget; var childWindowHandles = new Array(); function openNewWindow(url, name, params) { return (childWindowHandles[childWindowHandles.length] = window.open(url, name, params)); } function closeChildWindows() { for (var loop=0; loop<childWindowHandles.length; loop++) if (!childWindowHandles[loop].closed) childWindowHandles[loop].close(); } //--> </script><script language="JavaScript" type="text/javascript" src="http://208.239.76.131/secure/includes/oejslib.js"></script> <title>Untitled Document</title> </head> <body onFocus="closeChildWindows();"> <body> <form name="did_select" method="post" action="testphp.php" style="margin:0"> <input name="index" type="hidden" value="0"> <div align="center"> <input name="did_prefix" type="text" value="Choose DID" readonly="1" size="12" onclick="mytarget = this.form; openNewWindow('http://208.239.76.131/secure/choose-did.php?did_prefix=Choose DID&did_group=1', 'choose_did', 'width=450, height=200, dependent=yes, alwaysRaised=yes, titlebar=no, hotkey=no, resizable=yes');" ></div> <input name="operation" type="hidden" value="EDIT_DID"> </form> </body> </html>
  2. Here is the problem , I have a cgi based shopping cart , I have a required field that is for an area code and telephone prefix . My upstream provider will only provide a php form ( on his site ) with the area code / prefix selections here : [a href=\"http://www.inphonex.com/secure/choose-did.php\" target=\"_blank\"]http://www.inphonex.com/secure/choose-did.php[/a] Is it possible for me to "pull" the user's selection from that form and pass the data into the correct field in my html / cgi form ? What if i rewrote my form into a php form would it be possible then ? I know the much simpler answer would be for my provider to give me the selections as a csv and let me code it into my site , but because this changes constantly they won't provide it and they see it as a security risk to give me direct access to the MySql database . Therefore I am trying to find a reasonable work around
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.