Jump to content

Jamesking56

Members
  • Content Count

    150
  • Joined

  • Last visited

Posts posted by Jamesking56

  1. Hey,I am planning to develop a new project and have a few collaborators but I have a problem.The code will be sold and most of it will be encrypted. How can I collaborate with other users using Subversion / Git privately so that we can all work on the project together?How do I do this for completely free?

  2. I'm using a class to manage the database connection (So I can have different types of database without extra coding).How would I do a mysql_fetch_array through a class?Currently, my page loops forever on a while loop with my current fetch_array class...How can I do it?

  3. Hey!I'm making a shoutbox system and wondered how I could make it so that when the browser's size was too small, it would keep the footer at the bottom and cause the middle area (Where the shouts are) to be scrollable.How can I do this?

  4. Hey,I want to design a good script in PHP that people can buy from me....I want to sell licenses for it (Maybe do different license options and stuff) but I am stuck at what to design.Here are some ideas I came up with:

    • Support system - Ticket Tracking, Knowledgebase etc.
    • PHP Security Script - Checks for security holes in your PHP setup
    • Web Developer Client System - Has client billing, ticket support and keep client's login details etc.

    Anyone got any good ideas? Anyone want to team up or something?

  5. I think the code it conflicting...Here is my .htaccess:
    Options -IndexesRedirect 301 /code/ http://code.horizon.uk.toRedirect 301 /community/ http://community.horizon.uk.toRedirect 301 /live/ http://live.horizon.uk.toRewriteEngine onRewriteCond %{HTTP_HOST} !^www.horizon.uk.to$RewriteRule ^(.*)$ http://www.horizon.uk.to/$1 [R=301]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]

    The other parts are to force www and bits for wordpress permalinking...How can I make this work?

    UPDATE: I've sorted it, if anyone wants the solution then reply below.
  6. Hi!Can someone write a .htaccess file for me please?I need it so that:it forces www on my main domain (force www.domain.com)then, for each subdomain it forces that subdomain (e.g. force community.domain.com over domain.com/community)can someone write this please and teach me how I can add more for more subdomains?

  7. Hey!I am trying to make a clients panel using PHP....I have a variable which can make it go offline for maintenance and show a splash screen with a notice and an Admin Override button.Now, when I press the admin override button it pops up with javascript prompt box asking for secret key.How can I make a secret key that won't be revealed in the View Source of the page? Is there a way I can make it not hackable?Any suggestions? I did think about MD5 Encryption but javascript can't do that apparently?

  8. Hi,I have made a function in PHP to grab settings from a mysql table. But I keep getting errors on it?Can someone tell me whats wrong with it?

    function setting ( $key )	{		$tmp = mysql_query("SELECT value FROM settings WHERE key = '".$key."' LIMIT 1") or die(mysql_error());		$tmp = mysql_fetch_assoc($tmp);		return $tmp['value'];	}

    And here is the error I am getting:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key = 'site_name' LIMIT 1' at line 1

  9. Hi guys!I am designing a register form and I want to make it so that only letters (both cases), number and -=?!@:., are allowed.How can I check this in PHP?

×
×
  • Create New...