Tag Archives: Web Development


We believe that Even successful and long established businesses can benefit from fresh marketing ideas. If you’re looking for a new method, check out our list of 10 Amazing Marketing Hacks That Cost Absolutely Nothing. Your business will see remarkable results, and you will not even spend a penny!


Giving a free webinar is a great way to get your company name noticed, and it doesn’t have to cost you any money at all apart from your time and preparation. Most laptops nowadays have a webcam already built into them, and platforms such as Skype are free to download and use, so you should already be good to go. Hosting a free webinar will help you improve and build confidence and establish your credibility amongst others. It’s an enormous potential return from only a moderate time investment.

Marketting Methods in Bedford


Vast majority of businesses in Bedford completely forget that this is one of the best marketing ideas if you want to make a lasting impact. Blogs are fun and extremely popular, so why not use the platform to generate traffic for your product or service? The key is not to just spam your business website, but to establish a recognisable presence within the community. As people become accustomed to seeing you, they will want to learn more and will find their way to your company.

Promote your website in bedford3. SUBMIT TO ONLINE DIRECTORIES

One way in a new customer’s ability to find you is how many backlinks you have to your website. Additionally, your ability to show up multiple times for a single search can improve and help discovery. Most of the online business directories are looking for businesses to register their content. The good news is, it’s (mostly) 100% free to make an account and it doesn’t require a large time investment. We recommend that you visit Top 35 UK Business Directories To Get Your Small Business Noticed to get started.

Easy Advertising Strategy 4. JOIN A MEETUP / NETWORKING

Most people in UK and Bedford specifically, think digital when brainstorming marketing ideas. We believe that even though the Internet is awesome and may be your primary source of marketing, you should also never forget the power of  networking with others in person. This is free to do, and just requires a little confidence and personality. This may take sometime getting used to, but the results will be hard to ignore. We recommend starting with Meetup.com for interesting communities in your area. One of the best ways to find networking events in Bedford is to keep an eye on #Bedshour hashtag on Instagram as well as Twitter.

Bedshour Networking


referral program is an amazing way of building your customer base and connections. Best of all, if it doesn’t work out for you, then it doesn’t cost you anything. Getting existing customers to bring more customers to you for a small reward increases your company awareness with minimal effort.

top 10 marketing tips to promote your business


You should be on Twitter if you are serious about marketing yourself on the Internet. If you’re already on the platform, one of the simplest and easiest marketing ideas is to start a Twitter feedback. The best approach is to choose up to ten individuals within your industry that are on Twitter and are regarded as being influential and start to follow and interact with them. Follow who they follow and retweet things and you will get noticed by them and their followers. The key focus to Twitter isn’t to post your work in hope others respond, it is to share things users may like and grow a community proactively spreading the work of others.

Social Media Management


If you are known for a single product or service it can be challenging to grow within a customer. You could be missing out on a substantial amount of opportunities by focusing so narrowly on just one thing. We think that by looking at your customers’ needs, what offerings would help them next? Is there a way you can offer this alongside your initial product or service? Secondary offerings are the key to building a business, not a single product, and all it requires is a bit of listening to the customers’ needs.

Networking in Bedford


Teaching and leadership blogs are an ideal way to expand a brand. Tools like LinkedIn Publishing or Medium have large and highly social user base, allowing you to better target a specific audience. A blog can create strong brand recognition if you stick with it and consistently find opportunities to tell your unique point of view. It takes a great deal of time to grow, but it can become an essential part of your brand.

Easy marketing tools


An email list is one of the most powerful marketing ideas, and also a great resource for the future. This is something that you can set up on your website or via your social media, empowering you to spread your message as far as possible. Furthermore, building your list costs you nothing and has a surprisingly good return compared to more expensive forms of marketing. Free tools from Campaign Monitor and MailChimp allow you to expand your list initially at no cost.

email marketing


Your social media presence is not just there to tell people about what you do. It also gives you the opportunity to interact with customers. Remember that customer satisfaction is very important, so ignoring people isn’t the best strategy. Be sure to respond to public comments if you want to spotlight your customer service skills. Google Business Listings now allow customers to text or chat questions or requests right from your listings. Turn on this feature to start making it easier for all customers to answer their urgent questions.

top marketing tips


Contact us now and we would be more than happy to arrange a meeting and discuss this post in more details with a bespoke strategy to your business.



While the scenario may not necessarily be common in which you would want to encrypt your PHP code and execute it, it is something that I would consider an interesting discussion nonetheless.

I fully support free and open source software, however if you are developing an application that manages or monitors systems or services or an application that needs to reside in a “hostile” environment, it might be pertinent to consider encrypting the code before executing it. This protects your code from even being read (and ultimately executed) unless the proper key is passed in order to decrypt it.

In the following example & breakdown, we will be (separately) using both the Mcrypt and OpenSSL to encrypt a block of code with a specified key. We will then use that same key to decrypt the encrypted code in order to run it. The reason why I am giving both examples is, as some users have already pointed out, Mcrypt is being deprecated in PHP 7 and ultimately removed in PHP 7.2.

Its important to note that the key can be passed as a POST variable (which incidentally are not logged by default with most web services like apache or nginx), or it can be passed as a GET variable or any other way really. In our example we will hard code the key in the code to keep things simple.

The first thing we want to do is define our key variable that we will be using to encrypt everything and then the IV size for the encryption method and strength :


For MCRYPT you would define the key and cipher this way :

For OPENSSL you would define the key the same way, and the cipher would be declared in the actual openssl_encrypt function (shown later) :

The above stipulates that we will be using AES 128bit encryption for mcrypt and AES 256bit encryption with openssl, both with cipher block chaining (CBC). Obviously the key is not really that secure, you would want something a bit stronger than just numeric value, but you get the idea.


The next thing we want to do is define two functions : one to encrypt input and one to decrypt. We will define the encrypt function first and really this could be part of a separate class or PHP file since we would only have to encrypt the PHP code once.

To encrypt your code with Mcrypt :

To encrypt your code with OpenSSL :

You can see for both examples that ultimately we are encrypting the functions input ($payload) using either the mcrypt_encrypt or openssl_encryptfunction. Further down in both functions you can see that we are also encoding the encrypted content with the base64_encode function, and returning the encoded data.

So what you would want to do is pass whatever php code to this encrypt function and save the output. Since we are ultimately going to be running eval function against this encrypted code, you shouldn’t need to include encapsulating php open/close tags, but that may also depend on your php version and web server environment.

Once you have the php code encrypted and saved (perhaps in a text file in the same folder as this script), you can then work on the bulk of the actual operation of this exercise.


Lets establish a decrypt function that we can use to interpret and decrypt the code.

With Mcrypt :

With OpenSSL :

You can see that for both the Mcrypt and OpenSSL decrypt functions, it is very similar to the encrypt functions (except in reverse). First we want to use base64_decode to decode the data, then either the mcrypt_decrypt or openssl_decrypt functions to decrypt the data. The data is then returned for us to do whatever we want, which is to execute it.


In our example, we will simply take the $payload variable returned by the decrypt function and execute it.

For the $code variable, you could simply paste the encrypted string of text and assign it to this variable. You might want to load it from a file or a remote location. It really doesn’t matter as long as its assigned to this variable.

Then we simply use the eval function to execute it. But the eval has a nested execution of the decrypt function inside it so that the code can be decrypted and returned before eval tries to decrypt it. You can also see that we are applying the $key variable in order to decrypt it.


If you didn’t want to hard code the $key in your own code (why would you, it would defeat the purpose!), you could pass it as a $_POST variable. Again HTTP POSTs are typically not logged by default in Apache, Nginx or most web services. HTTP GETs are indeed logged so that would open passing the variable to exposure. Of course if your website is encrypted with HTTPS then your variables should be protected further.

If you wanted to run this as a console application, then it could simply be passed as a command line argument.

To pass it as a POST, then you could simply do something along the lines of this :

Whats going on in the above snippet? Well we’re listening for a POST variable called dec. We have implemented some straightforward logic to establish a session cookie that carries the key within the cookie. If the key is present the value is used to attempt to decrypt the code and execute it. If the key doesn’t match, nothing happens.

If nothing matches then the cookie is cleared (if its even present). This is such a simple and straightforward example, you could add more protections and / or other strategies with how you could pass the key to the code in order to decrypt it. Anything is possible!

I hope this has been useful, its certainly an exercise in how to use encryption with PHP and if for nothing else will help people understand the types of mechanisms that are built into modern web frameworks like Laravel by default.


Typically for each client we work with designing a website from the ground up, we find ourselves evaluating one of two options : using a web framework such as DJango or going with a Traditional content management system such as WordPress, Joomla or Drupal.

Although the needs and requirements of each client are typically unique, there are many commonalities as such depending on the size and scope of the project.

One of the main advantages I usually see with implementing a framework is the flexibility and customization options that it provides. What it usually comes down to is the industry and type of website required, as well as the client budget and project timeline and expectation from start to finish. DJango opens many doors and allows for endless possibilities in terms of customization and providing a truly unique website.

If the budget isn’t there, then one way to look at open source and development in general is that generally speaking, someone has already developed code to implement an idea or concept already.

This is a truth that I see in the internet today time and time again. And is part of the greater dilemma with respect to making the right choice for your web project.

Unfortunately it usually comes down to time and money.