July 22nd in General, Internet, Javascript, PHP Scripts by pbu .

A Simple WYSIWYG Editor in Javascript

I have been always under the impression that making a html based WYSIWYG editor is hard and required complex code. Being myself a beginner in javascript i just cannot believe that how simple it is to make a rich text html editor with WYSIWYG environment.

With just few lines of simple code you can make yourself a simple rich text editor with javascript. All you need is to put iframe in the page which does most of the html processing work. …

July 18th in PHP Scripts by pbu .

Website shows up Blank Page and will not load!

i had experienced a nightmare situation with my site down for most of the hours. I checked my website as usual and it loads only blank page and the site is currently hosted with bluehost!

I checked the source code and error_log of the nothing i could trace this error. I opened the browser to see the source code expecting atleast the html code of the blank page. I could find 500 – Internal server error there! I know these internal …

July 17th in PHP Scripts by pbu .

WidgEditor strange Problem!

i am experimenting on this simple html editor with php script and i have a wierd problem like its all plain text.  and no icons showing up when i tested with xampp.

Strangely, It is working  when i double click the file on windows and after uploading in my linux server. I checked all the paths and css code, just couldnt find a solution to this problem. Only on my localhost it is not working.

July 17th in Internet, PHP Scripts by pbu .

Fast loading and lightweight WYSIWYG html Editors for PHP

I was searching for a fast loading and light-weight HTML editor which i can embed in place of <textarea>in my php or html code. I have used many popular open source editors like tinymce and other editors except it is very heavy code and i am not that satisfied with it. I just want bold, url, italic and image as functionality in my WYSIWYG based editor. Infact i dont like the popup html window for inserting a html link. …

May 4th in Linux/Unix, PHP Scripts by pbu .

Implementing Secure File Upload in PHP

Most PHP scripts and content management system scripts (CMS scripts) require writable permission 777 (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run unwanted programs and could potentially misuse your server. This is big security risk.

Ironically if you implement a fileupload in your script, the upload wouldnt work for any other permissions other 777 or …

March 7th in Internet, PHP Scripts, vBulletin by pbu .

Top 10 vBulletin Plugins/Mods

i have collected some of the 10 most popular vbulletin mods that can be easily integrated to your vbulletin forum.

Note: you must have a valid vbulletin license to use the mods.

1. vbAdvanced

vbAdvanced – Free Content management CMS for vbulletin

2. iTrader Rating

iTrader – trader rating mod

3. Signature Limit Plugin

Signature v1.0 – limits signature for users

4. Links & Download Manager

Links and Download Manager – links download manager plugin

5. vb Ad Management

vb Ad Management – Ad management plugin for your thirdparty and adsense …

January 24th in General, Internet, Linux/Unix, PHP Scripts by pbu .

Webmasterpals.com – New Social Network for Webmasters

Two months ago i gave a thought on targeting the niche social network. Since i myself is a webmaster, a thought of setting up a social network for webmasters ran through my mind. I initially bought dzoic script, since mysite required a specific and fast loading script, i made my own social network script, which is light weight suited to the needs of my website.

Join Webmasterpals

http://www.webmasterpals.com

After 2 desperate months of hardwork, i just somehow managed to get the site live. …

January 19th in Linux/Unix, PHP Scripts by pbu .

TinyMCE Slow Loading Problem!

TinyMCE editor causes slow to load! Has anyone observed it especially when it intializes the editor for first time in the webpage? it takes about 5-10 seconds to load.

I am facing this terrible problem with my site. Everything seem to work fine including loading when i used the editor in my local PC as local host. But when i uploaded the editor to my server and tested it, it causes slow loading when it loads the first page. After …

November 28th in Linux/Unix, PHP Scripts by pbu .

Implementing Secure File Upload in PHP

Most PHP file upload scripts and content management system scripts (CMS scripts) require writable 777 permissions (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run unwanted programs and could potentially misuse your server. This is big security risk.

This article is also available here

Ironically if you implement a fileupload in your script, the upload wouldnt work …

July 24th in PHP Scripts by pbu .

Optimizing MySQL Rand() against Slowdowns

I was having having nightmares with mysql rand() function. Rand() function works well in pulling out rows randomly from the datbase and works well if you have a quite few hundred records. Ironically, it desperately slows down when you have a large table dataset above 10,000 rows.

This is the traditional way of using mysql rand() function.

SELECT * FROM TABLE ORDER BY RAND()

I have observed the execution time crossing more than 1 sec with mysql when you use this function on …

 Page 4 of 5 « 1  2  3  4  5 »