form issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
irishmike2004
Forum Contributor
Posts: 119
Joined: Mon Nov 15, 2004 3:54 pm
Location: Lawrence, Kansas

form issue

Post by irishmike2004 »

Hello:

I am using a button a to follow a link inside of a nested frame deep inside a page. There are two framesets, the main one and then the one inside the main frame from the first one. I have a form which acts as a link and needs to get outside the frame, when you push the button it returns "invalid resource"... I think I need a target, but what to target... I want this to go out to the web?

here is the code:

Code: Select all

<FORM METHOD="link" ACTION="http://'.$servip.':'.$scport.'/listen.pls">
<INPUT TYPE="submit" VALUE="LISTEN">
the servip and scport translate into http://rtealdev.no-ip.com:8000/listen.pls

This should open the stream in winamp or iTunes. It works when it is not in a frame. it also works to type the url into a browser. Like I said it might need a target but don't know what to put there... tried target="_parent" and "_self" but no dice...

Hope someone has worked with nested frames and can help me!
DrHoliday
Forum Newbie
Posts: 11
Joined: Mon Dec 06, 2004 5:12 pm
Location: Germany

Post by DrHoliday »

What about target="_blank"?

Wolfgang
irishmike2004
Forum Contributor
Posts: 119
Joined: Mon Nov 15, 2004 3:54 pm
Location: Lawrence, Kansas

Post by irishmike2004 »

that just yeilds "invalid resource" in a brand new browser.
irishmike2004
Forum Contributor
Posts: 119
Joined: Mon Nov 15, 2004 3:54 pm
Location: Lawrence, Kansas

Post by irishmike2004 »

Thinking of redoing without frames, but have some questions regarding that... believe that should probably be a new thread, but if anyone thinks of something to help, feel free to post here, but I think we are going to go in a different direction.
Post Reply