Search results

  1. L

    New Q&A Site - Support needed

    Heya guys. Im currently working on a new project that needs members to be committed in order to launch the project. The paragraph below sums up what the site is: So far the site has gone threw some primary stages where fellow users have create example questions what may be asked and...
  2. L

    Creating a simple Object Config system in PHP

    Creating a config system that's suitable for any website application, this is the way 1 of the ways I use. Why? It has a global scope You can enable / disable changes to protected configs You can add any settings during anywhere within runtime. You can make the class automated to fetch public...
  3. L

    64Bit OS on 32Bit Architecture... Whhaaaa

    At work today i learnt something new, and have not got an answer for it as if yet, but I think i know what i could be down to. I have a computer 2GB, 32Bit duel core, and I asked my Line Manager if I Can set up and bench a 64Bit processor for a Share point project im doing. As share point...
  4. L

    User Permissions using Bitwise / Bitmask

    Heya guys, Recently i have been extremely busy with personal things, so i thought I would drop in and create a tutorial for you guys to wrap your head around. Firstly, Binary, Bitwise,Bits,Maths, Integers, Bit masks.. These words may be slightly technical but if there not really hard to...
  5. L

    Site Load Impact Test

    This site will allow you to test your site under pressure. it runs multiple connections on your site testing factors such as load,speed etc check it out guys, and post your results here to see how your server compares :D http://loadimpact.com/ Wjunction.com...
  6. L

    HTTP Teapot

    Who would of thought programmers have a funny side. http://www.ietf.org/rfc/rfc2324.txt :P
  7. L

    Using the __autoload feature in PHP

    The auto load function allowed you to do that little bit extra to prevent file inclusion errors. and auto load function is executed under the following conditions A file that you attempted to include does not exists a class you attempt to initiate does not exists in global scope. that might...
  8. L

    Session Hijacking

    Heya guys, Just going to do a little talk about Session Hijacking today... What is Session Hijacking Session hijacking is a way that a hacker can gain access to someone else's session and gain access to private parts of your site. How does it work: Session hijacking works by an...
  9. L

    [PHP] Interfaces

    What are they? Interfaces a block-less classes that are used to make sure other classes contain certain methods and structure, the reason we use these is so that when we have a set of classes in projects we make sure that no matter what the method will exists. What do they look like? Here is...
  10. L

    [PHP] Discussion (System Building)

    This thread is mainly to try and help guide the lost sheep in the right direction when it comes to PHP and building systems securely. Now you all probably think that I'm real good at PHP but I'm not, what im good at is understanding architecture. What i mean by architecture is summarized...
  11. L

    [C#] Difference with Invoke and Threading

    Im just wondering, is there any benefits when it comes to Invoke or Threading. and what's the difference: namespace Test { publuc class MyBox : Form() { public delgate SomeDelegate(); public void MyBox() { InitializeComponant()...
  12. L

    [C#] AutoResetEvent Freezing application!

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.NetworkInformation; using System.Threading; namespace...
  13. L

    [C#] Thread Safe in - How to?

    heya guys Im working on a C# Application and im having some issues with the ThreadSafe thingimabob. When i try execute the a command i get the Thread not safe. heres my Code! using System; using System.Threading; using System.Collections.Generic; using System.ComponentModel...
  14. L

    What's your favourite quote?

    Ok so just wondering what great quotes you stand by? One of my top 10 is: (Bob Marley)
  15. L

    [PHP] Using fopen and fread with PHP

    In PHP we have several connectivity functions that allow us to open connections to local and non-local streams such as files and http requests The first version im going to show you is a local file, where you dont need to send any information such as headers to get data, but mealy open a...
  16. L

    [php] Compression | Output Buffer control

    Heya guys, I just built this small tool so you can add into your sites to compress your content and and modify it to save bandwidth. How it works: This class will watch your script so when your echoing content it will do some modifications and can also take your own modifications aswell The...
  17. L

    Creating a Fast PHP Template System

    Well, I really dont see the point in a template engine that uses repalcements/regex so i have made this tutorial to show you another way. PHP Is already a template engine, when you write <?php echo $var?> its just like doing <{$var}> or {$var} Think of it this way, PHP Already translates <?php...
  18. L

    Installing Apache,MySQL,PHP from scratch on Windows.

    Installing Apache + PHP + MySql on Windows 32Bit operating system Get Source files: Apache: HTTPD - 2.2.15 PHP (TS): PHP - Thread Safe 5.3.2 MySql: MySQL 5.1.48 Ok so step 1 is to install Apache, Apache is the webserver, its the system that serves files to the browser All other items such as...
  19. L

    [php] Simulating file system URI's

    In your htaccess use like: <IfModule mod_rewrite.c> RewriteEngine On #Rewrite the URI if there is no file or folder RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> Then in...
  20. L

    My Work in C#

    Well iv'e started working on some tools to help me manage computers easier at work and heres my code so far, im showing you so that you can become better What this script does is search local area networks for host-names filtered down by an id that is in each computer on our corporate network...
Back
Top