efm Posted December 12, 2007 Share Posted December 12, 2007 I am ripping apart a CMS someone started writing for me and never finished. Trying to figure it all out with very limited knowledge of php. Is there anyone who would be willing to go through some code and help me work on this? It's a great start, and I'd love to finish it, but I definitely need some help. I know the user / registration system and news system are already mostly finished. Quote Link to comment Share on other sites More sharing options...
farkewie Posted December 12, 2007 Share Posted December 12, 2007 This area of the forum is more for issues with code, if you are looking at getting someone to do some work for you you would be better off posting here http://www.phpfreaks.com/forums/index.php/board,8.0.html if you want to do it yourself, pick i part at a time start googleing it and when your code starts producing some errors post it here and we can take a look. Quote Link to comment Share on other sites More sharing options...
efm Posted December 12, 2007 Author Share Posted December 12, 2007 Not looking for someone to work with me, more like finish a project with me. I have zero money, so it would be entirely for experience / fun. I tried googling some of the code and couldn't find anything informative... For starters, what does the following line do: echo $forms -> textfield("Hostname", "host", "localhost"); I know that it makes a box under the text "Hostname" that has "localhost" inside of it that you can change if your hostname is different. ... and echo $forms -> textfield("Username", "user"); creates a box with nothing in it underneath of the text "Username". I guess what I'm asking is what does the '$forms -> textfield' part do? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted December 12, 2007 Share Posted December 12, 2007 the volume of help you are asking for is not a question, but a work request and work = payment Quote Link to comment Share on other sites More sharing options...
farkewie Posted December 12, 2007 Share Posted December 12, 2007 im not sure i would need to pick through all the code to work it out. As has been stated though this is a "job" so to speak, try posting here it is for coders who want to help people "for free" so they can build there portfolio. http://forums.devnetwork.net/viewforum.php?f=26 Quote Link to comment Share on other sites More sharing options...
efm Posted December 12, 2007 Author Share Posted December 12, 2007 Ok so I think I figured out what my code above does... the first value "hostname" is the text that goes above the box... second value is the part you define in the box... third is the text that shows up in the box by default... so later on a variable is defined by the second value with $host = $_POST['host']; $user = $_POST['user']; Which makes perfect sense. What I don't get is what tells the script that value 1 = text above box, value 2 = post data, value 3 = default data in box?? The only other code before the boxes is: error_reporting(1); define("VERSION", "Beta 3"); define("BUILDNUMBER", "999"); include "functions.php"; //query system define("QUERY", $_SERVER['QUERY_STRING']); if(QUERY){ $tmp = explode(".", QUERY); $stepid = $tmp[0]; $sampleinfo = $tmp[1]; } if(!is_numeric($stepid)){ $stepid = 0; } //forms $forms = new forms; $cdb = 0; // // Page System // if($stepid != 9){ echo pheader(); } if($stepid != 4){ if($stepid != 9){ echo tablestart($stepid); } } switch ($stepid) { Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.