How to Find If an Extension Exists in the PHP Configuration Through Terminal
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Thursday, 19 July 2012 12:00
Hello,
This article will show you how to search for functions inside the PHPinfo through a terminal or console. I will show you a simple line to execute that finds if a certain word is found in the PHP info. This is useful for searching for functions.
1. Open up a terminal or console.
2. Let’s say if you want to know if GD libraries are installed, you’d search for ‘gd’ with the code like this:
Learn MoreHow to Check if a User is Logged in When Uploading Videos in Clip-Bucket v2
Last Updated on Saturday, 23 June 2012 04:16 Written by Richi González Tuesday, 3 July 2012 12:00
Hello,
Recently, I client of mine reported to me this issue Clip-Bucket had: any user could upload content, no matter if they were logged in or not. I think it’s essential for all of you to apply this fix to your CB powered web sites. I have tested this in version >= 2.2.
Difficulty Level: Easy
1. Open upload.php, located in ./*
Learn MoreHow to Hide Video Views From watch_video in Clip-Bucket v2.6
Last Updated on Tuesday, 12 June 2012 02:42 Written by Richi González Wednesday, 27 June 2012 12:00
Hello,
I saw in the forum someone asking how to remove views from videos, so here it goes; I hope you find it useful. I always recommend making a backup of the files we are going to edit, in case you would like to revert changes. This perfectly works for v2.6, and most likely works in the entire v2 branch. Yet, if you want me to test it for a specific version, let me know in the comments below!
Difficulty Level: Easy
1. Open watch_video.html, located in ./*
Learn MoreHow to Create a Simple Message Debugging Script for Your Website in PHP
Last Updated on Saturday, 23 June 2012 04:12 Written by Richi González Monday, 25 June 2012 12:00
Hello,
Whenever I am developing, I need to know where the script fails, what is currently doing, what values variables have, etc, therefore I always use a simple messages/errors script for debugging that will throw all the messages and errors to the top of the page.
Difficulty level: Easy
1. Create/Open a PHP file
2. Declare our variable $msg as an array
Learn MoreHow to Limit the Number of Videos That Can Be Uploaded in a Day in Clip-Bucket v2.6
Last Updated on Tuesday, 12 June 2012 02:40 Written by Richi González Friday, 22 June 2012 12:00
Hello,
A couple of days ago, a user at the forum asked how to limit the amount of videos that can be uploaded in a day; looking at the script I found the tweak was very simple to do, so I am writing an article for all of you that would like to limit the videos to X per day. Tested in Clip-Bucket v2.6.
Difficulty level: Easy
1. Back up upload.php, located in ./*
2. Open upload.php
Learn More
Recent Comments