Hey guys, At the moment more for convenience I'm giving my codeigniter files recursive 777 permissions which is bad. I'm still in the development stage so it is not an issue. But upon release for a production environment what is the best practice for the permission of the files. Specifically the config directory. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I wonder if you can help me at all, I am a bit stuck here. Having this HTML: <div class="formWrapper"> <h2>Form box</h2> <div class="unstyledForm"> <p>These form fields have minimal styles applied to it, so that tehy look the same in every browser and device</p> <div class="row"> <label class="control-label" for="email">Email address<span class="mandatory"> *</span> </label> <div class="controls"> <input id="email" type="text"> </div> </div> <div class="row"> <label class="control-label" for="address">Address<span class="mandatory"> *</span> </label> <div class="controls"> <input id="address" type="text"> </div> </div> <div class="row"> <label class="control-label" for="memorableQuestion">Memorable question<span class="mandatory"> *</span> </label> <div class="controls"> <select id="memorableQuestion"> <option value="date">Memorable date</option> <option value="pet">Memorable pet</option> </select> </div> </div> <div …

Member Avatar
+0 forum 0

Hi, My instructor has given me a project as: Car Maintenance System  Data Entry Forms Setup: a) Vehicle b) Maintenance Types c) Parts d) Labor Transaction: a) Work Order Reports a) Printed Output: i) Work Order b) Information Outputs: i) Vehicle Maintenance History, ii) Labor wise work orders Its vague to me too, so this is what i assumed: I have to make a Database system that stores data about a person's transactions at a car maintanance shop. This data includes * The cars they have brought for service * The services they have aquired * The amount of money …

Member Avatar
Member Avatar
+0 forum 3

Hey guys I'm finishing off a project for an assignment and have run into an error I can't resolve. Here is a link to a video showing the error... https://www.dropbox.com/s/25ajb0mc5p4a3a9/Tilemap%20Error.mov The class throwing the error has been working in other projects or so I thought, but has been modified a little from the original. Sadly I dont have the time to develop my own pathfinder now so if anyone can tell me why this is happening I'd really appreciate it. /* * AStarPathfinder https://github.com/sqlboy/tiled-games * * Copyright (c) 2011 Matt Chambers * * Permission is hereby granted, free of charge, …

Member Avatar
Member Avatar
+0 forum 1

Please consider my ondrawitem methods of my derived checkedListBox class. At this stage I put "-->" in front of he selected item and " " in front of the others. I would like to replace that with a checked box (square) and an empty box respectively, very much as in the oroginal control. Protected Overrides Sub OnDrawItem(e As DrawItemEventArgs) MyBase.OnDrawItem(e) Dim rectangle As RectangleF = e.Graphics.ClipBounds Using brushBackground As New SolidBrush(Me.BackColor) e.Graphics.FillRectangle(brushBackground, rectangle) End Using ' e.DrawBackground() 'If e.State = DrawItemState.Focus Then ' e.DrawFocusRectangle() 'End If Dim index = e.Index If index < 0 OrElse index >= Items.Count Then Return …

Member Avatar
Member Avatar
+0 forum 3

I am planning a new business venture involving an online store. This is an area where I have no experience (my background is in desktop software & device drivers, not web sites). I would welcome advice on 2 aspects of this project. First, I could learn about this and set up everything myself, or I could pay someone to set things up. Doing it myself is attractive because I could then maintain & develop the site more easily. Getting someone else to do it is attractive because an experienced professional should do a better job, faster. Plus I will definitely …

Member Avatar
Member Avatar
+0 forum 2

Hi, I am new to VB programming. I am using Aceess 2010 database with VB 2010. I have one main table which stores information of company details. The details are broken down in seven different tables with codes to avoid data duplication and keep the main table less bulky. e.g. Company table stores, company code, city code, state code, branch code etc., which can be multiple entries, with other details. The details are stored in respective code tables. e.g. com_code table will store Company Code as Primary Key and the Company Name, city_code table will store city_code as primary key …

Member Avatar
Member Avatar
+0 forum 2

Hey guys I'm in the middle of connecting my website to my SQL database at the moment i have the following and I need some help if you guys dont mind config.php //Mysql Connect | mysql_connect("host","username","password"); //Below example to connect in localhost $a=mysql_connect("localhost","root",""); //select your database $b=mysql_select_db("database_name",$a); submit_form.php $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $username=$_POST['username']; $confirmusername=$_POST['confirmusername']; $password=$_POST['password']; $confirmpassword=$_POST['confirmpassword']; $email=$_POST['email']; $confirmemail=$_POST['confirmemail']; //Database connection require_once("config.php"); //mysql query to insert value to database $query=mysql_query("INSERT INTO registration (`firstname`, `lastname`, `username`, `confirmusername`, `password`, `confirmpassword`, `email` ,`confirmemail`) VALUES ('', '$firstname', '$lastname', '$username' , '$confirmusername' , '$password', '$confirmpassword', '$email' , '$confirmemail' '".$_SERVER['REMOTE_ADDR']."')"); //if value inserted successyully disply success message if($query) { …

Member Avatar
Member Avatar
+0 forum 6

I sence victory been battling the this code for 2 days now. the code i have generated is [CODE] strsql = "delete from cg_security_user_right where user_id= " & TextBox1.Text & " role_id=" & TextBox2.Text & ""[/CODE] it comes up with this error Syntax error (missing operator) in query expression 'user_id= 2 role_id=1'. how do i get past this please Thank yo so much

Member Avatar
Member Avatar
+0 forum 5

The End.