how to validate check correct embed code like youtube videos
how to validate check correct embed code like youtube videos
how, to, validate, check, correct, embed, code, like, youtube, videos


Fri Feb 29, 2008 12:01 pm - how to validate check correct embed code like youtube videos
#1890
how to validate check correct embed code like youtube videos
author: validator
Leave Your Comments
name
comments
Share
Share this post by copy and paste this URL and put it on your forums or use it on your profile like myspace, friendster, Facebook, Twitter or others and add in with your comments.
URL Link: ask
Use this HTML code to embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed: ask
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on with Posts and Replies on your forums
BBCODE: ask
| More
Fri Nov 16, 2007 10:46 am - Re: how to validate check correct embed code like youtube videos
#2125
rin hayashi
if u r looking 4 a hacker or a virous then i might b able 2 help u!
Tue May 06, 2008 9:13 am - Re: how to validate check correct embed code like youtube videos
#2126
webune
with php is very easy to do, just create a regular expression so that it searches for your format.

for example, any embeded code from youtube will have to have two characteristics,

1. the embed tag
2. the youtube domain

so make a function to check for this, if the user has entered both of the above, then you can approve the code, if not send a error message to the user or reject the information sent by the user via a web form.