- #1
ngkamsengpeter
- 195
- 0
I want to place a video conferencing script on my webpage so that my member can use it but i don't know how to program it . Can anyone teach me ? Can i program it in php ?
I just want to learn to create my one , anyone can help ?And do anybody now how to make a textarea become a editor instance just like tinymce . I want to make my own one , don't want to use tinymce, so any tutorial on it . Please help .-Job- said:Do you mean something like MeeboMe http://www.meebome.com/ ?
These are third party plugins so you'd just drop them on your site following the manufacturer's directions.
I know a javascript and know how to do it for some of the function at the tinymce but just don't understand why a table or picture can be shown at the textarea ?How can it do that-Job- said:I can't help you unless go do some research first and come back with some more specific questions. For Video Conferencing look into Flash. For doing something akin to TinyMCE Javascript is sufficient, but you need to have a fairly good understanding of it.
asf: ContentType = "video/x-ms-asf"
avi: ContentType = "video/avi"
doc: ContentType = "application/msword"
zip: ContentType = "application/zip"
xls: ContentType = "application/vnd.ms-excel"
gif: ContentType = "image/gif"
jpg: ContentType = "image/jpeg"
jpeg: ContentType = "image/jpeg"
wav: ContentType = "audio/wav"
mp3: ContentType = "audio/mpeg3"
mpg: ContentType = "video/mpeg"
mpeg: ContentType = "video/mpeg"
rtf: ContentType = "application/rtf"
htm: ContentType = "text/html"
html: ContentType = "text/html"
asp: ContentType = "text/asp"
<?php
function readfile_chunked($filename,$retbytes=true) {
$chunksize = 1*(1024*1024); // how many bytes per chunk
$buffer = '';
$cnt =0;
// $handle = fopen($filename, 'rb');
$handle = fopen($filename, 'rb');
if ($handle === false) {
return false;
}
while (!feof($handle)) {
$buffer = fread($handle, $chunksize);
echo $buffer;
if ($retbytes) {
$cnt += strlen($buffer);
}
}
$status = fclose($handle);
if ($retbytes && $status) {
return $cnt; // return num. bytes delivered like readfile() does.
}
return $status;
}
?>
A programming problem in website development refers to any issue or bug that arises during the process of creating or maintaining a website. It can involve coding errors, functionality issues, or design problems that prevent the website from functioning properly.
The best way to identify a programming problem on your website is to regularly test and monitor its functionality. This can include checking for broken links, running regular updates and backups, and using web analytics tools to track user behavior and identify any issues that may arise.
Some common causes of programming problems on websites include coding errors, compatibility issues with different browsers and devices, outdated software or plugins, and security vulnerabilities.
To prevent programming problems on your website, it is important to regularly update and maintain your website's software and plugins, use secure coding practices, and test your website on various browsers and devices. It is also helpful to have a backup plan in case any issues do arise.
If you encounter a programming problem on your website, the first thing to do is to try and identify the cause of the issue. This can involve checking for any recent changes or updates, reviewing error logs, and seeking help from other developers or online resources. If the issue cannot be resolved, it may be necessary to hire a professional web developer to fix the problem.