Hi guys

I'm just starting to built dynamic php site but while testing (pasted url/embed) videos from youtube I get this error.

403 Forbidden
Access to this resource on the server is denied!

I use a form to post to the database. It works for everything else except embedded video code. Also, I can insert the video code when im testing on my localhost.
Any idea how to fix this? Is this a server side error or script error? thanks!!

Recommended Answers

All 2 Replies

Can you please give us some codes or the actual data posted in your database table.. e.g. embed codes, and the php responsible for posting and playing the video on your page.?? Because 403 error can be as simple as url directed to directory.

I only get the error when im posting an embedded YouTube video like this:
<iframe width="620" height="360" src="#" frameborder="0" allowfullscreen=false >
</iframe>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.