SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tips How To Make

    Hello

    I have this code:

    Code:
    <object id="flashplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="400">
    <param name="movie" value="player.swf" />
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="FlashVars" value="plugins=captions,plugins/proxy.swf&proxy.link=xxxxx&captions.file=xxxxx" />
    <embed name="flashplayer" src="player.swf" FlashVars="plugins=captions,plugins/proxy.swf&proxy.link=xxxxx&captions.file=xxxxx" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="600" height="400" />
    </object>
    I need to substitute xxxxx, by a value entered by a user on input, and transform the code in iFrame.
    Example:

    Code:
    <iframe src='".$link."&sub=".$sub."' width='640' height='360' frameborder='0' scrolling='no'></iframe>
    How make this?

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,827
    Mentioned
    142 Post(s)
    Tagged
    0 Thread(s)
    Hi Fantastic5,

    You will need to use a programming language to do this. As you will need to collect and store the appropriate values to place where your x's are at.

    If you have an language of choice, such as PHP, Ruby, Python, .NET, etc (pick one), I'll be glad to move this to the appropriate forum.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •