Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 02-07-2013, 06:41 PM
rayoent rayoent is offline
Junior Member
 
Join Date: 02-07-13
Posts: 1
iTrader: 0 / 0%
Custom Html page from submited link

I want how to make a form that someone can submit a embed code or link form a video on a different site. after they submit it a new page is add to my site with the embedded video. Is it javascript or php or html
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 02-19-2013, 01:16 PM
nodesolomon nodesolomon is offline
Junior Member
 
Join Date: 02-19-13
Posts: 9
iTrader: 0 / 0%
you need use javascript for that!
 
Reply With Quote
  #3  
Old 02-19-2013, 01:49 PM
J. H. Rasmussen J. H. Rasmussen is offline
Super Moderator
 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 6,003
iTrader: 1 / 100%
Quote:
Originally Posted by nodesolomon View Post
you need use javascript for that!
Why/how does he need to use javascript to get it to work?
Quote:
Actually read the thread before responding, not just the title. Take time to read through the responses too.

A quality post is one that adds to the conversation, something new, a different perspective, another point, etc. It also clearly conveys your thoughts. If you state an opinion, explain it. If you state something as fact, back it up with a link to reliable resources.

If you agree or disagree with someone, explain why, and what you base that opinion on.
Source: V7N Quality Posting Guidelines
 
Reply With Quote
  #4  
Old 02-19-2013, 02:13 PM
J. H. Rasmussen J. H. Rasmussen is offline
Super Moderator
 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 6,003
iTrader: 1 / 100%
It require PHP, HTML and maybe javascript. PHP is needed, because html and javascript can't create a new file(webpage), html is needed to display the html-page correct, javascript might be needed if you use a youtube javascript api or/and use javascript to implement the flash object.

Do you use a CMS, if you do which one?

Could you post the markup(code) for the webpage you want this form to create and add some text to the page, where you want the embeded video, it's title and description to be displayed. Then i don't mind taking a look at it within the next coupler days, if nobody else have come up with a solution.
 
Reply With Quote
  #5  
Old 02-19-2013, 02:30 PM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
I would feel remiss if I did not ask, Are you sure your want to do this?

It sounds neat but this could get out of hand real quick and become a spammers paradise. A knowledgeable user could do some really bad things with iframes and if cURL is in enabled on your server it could get worse.
 
Reply With Quote
  #6  
Old 02-19-2013, 02:45 PM
J. H. Rasmussen J. H. Rasmussen is offline
Super Moderator
 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 6,003
iTrader: 1 / 100%
While you are right ScriptMan, there is a number of ways to prevent that from happening, for example only allow embed code from YouTube or other specific websites you trust not to have malware or doing other bad stuff.
 
Reply With Quote
  #7  
Old 02-19-2013, 03:24 PM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
And I am sure you could write it. A newbie or someone he hires for a few bucks might have some problems with that. Limiting it to a few selectable choices would offer a lot of protection.

I OTOH would have to do some serious thinking about how to sanitize the input to protect the output.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Designed CSS, HTML or Custom Designed CMS sites. Also, SEO expert nikkiwolfe Sell Web Services 1 08-15-2011 11:15 AM
Inserting html page in other html page & shared border problem globalcashsite Web Design Lobby 5 07-16-2009 08:53 AM
Index link and submited link riddhi Google Forum 0 04-12-2009 04:52 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:44 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC