-
Content Count
1,008 -
Joined
-
Last visited
Everything posted by vujsa
-
It seems that a great deal of new web designers don't realize that 99% of web forms require some kind of handler script. This script can either be client side like JavaScript or server side like PHP, Perl, or Java.In fact, the entire point of a form is to interface with a script. The only exception to this that I can think of is the mailto action. You can send a message to the email address specified in the action definition of the form. You cannot chose the email address you want to send to and you can only send the message body. All other email forms require a script to handle the data and pass it on in the email.Looks to me that the solution that pyost offered is a very good entry level solution for you. I suggest that you try to figure out how the script actually works and build on it. You will find a lot of support in the PHP forum if you wish to learn more about PHP and form handlers.vujsa
-
Well, we need a little information from you: How much PHP / MySQL experience do you have? Do you want to use server sessions or will you be using a database session system? Will every page in your website use the authentication system? Some websites have a special section or directory which is members only. Many websites allow members to log in as soon as they get to the site and guests and non-logged in members to acces most of the site but there may be restriction until they log in. Have you considered a prewritten member authentication system? Would you consider using a Content Management System which is basically a website in a box that just need content added? Personally, I haven't written a member authentication system of my own due to the size of such a project. I know what must be done a generally have the required programming skills to accomplish such a project but lack the time and energy to sit down and do it. I tell you this to give you an idea of how much work is in front of you if you do it right. Here are the basic parts of the total system: User registration, authentication, and password reset User types and privledges Session handling and logging out Content access levels and restrictions The first part basically adds a user to the database, allows for the comparison of the user entered log in data with the data in the database, and create and send a new password to the user's email account if the password is lost. The second part provides for various user levels but really only three are needed; guest, member, and Admin. For privledges, you can either set them by user type or even individual memebr or restrict access by type on each page. The third part is the most important part of the system. It prevents the user from having to log into each page individually. This can either be done using a server session or with a database session. Based on you session data, the website knows if you are logged in and what access privledges you should have. Finally, you need to end the session either after a spedified amount of time or upon user log out. The forth part is pretty easy to set up but kind of hard to administer. On each page you can specify what kind of page it is or which user level may access it. Basically if you want to set privledges for each user individually, then you need to identify the page by page type but if you want to restrict acces based solely on user types, then you need only tell the page which user types are allowed. This is true for every item on your website including links, menus, content, areas, and log in forms. No reason to show a memebrs only page link to a guest and no reason to show the log in for to logged in members. Let me know where you need clarification. vujsa
-
Yes it is true that MD5 and SHA1 are hashing functions. They don't actually offer encryption but instead mask the true nature of the users password in the database so it can't be copied. So when the password is created, it is hashed prior to bein placed in the database. When a password is entered for log in, it is hashed and then the hash is compared to the hash in the DB. There is no way to retrieve a lost password that has be saved in hashed form. There are encryption and decryption functions availible but don't offer the same level of protection as a hashed password. Most websites offer a password reset instead of password retrieval. A new , random password is created and sent to the user's email account on file. Then the user can change their password after they log in. SO, let us know which method you would prefer to use and we'll try to come up with a solution. vujsa
-
There wasn't anything in your code that specified the order of your fields so by default, the array would populate based on the order that the fields appeared in the database table. This is a rather confusing method of programing since it doesn't really offer end users the chance to easily modify the code. It is entirely possible that the following will work: <?echo $other_info['area_code'];?> I usually use mysql_fetch_array() instead of mysql_fetch_row() so it is hard for me to say for sure. You could give it a try! It wouldn't really hurt anything since it doesn't alter you database. If it doesn't work, just change it back. vujsa
-
Replace That with This: <?$sql="select * from links where other='1' order by date desc";$other_res=mysql_db_query("londonlink", $sql, $sql_conn)or die('Invalid query: ' . mysql_error());for($y=0; $y<mysql_num_rows($other_res); $y++){ $other_info=mysql_fetch_row($other_res); ?> <tr> <td> <?echo $other_info[1];?> </td> <td> <a href="<?echo $other_info[4];?>"> <?echo $other_info[4];?> </a> </td> <td> <? $sql="select * from category where idnum='$other_info[2]'"; $other1_res=mysql_db_query("londonlink", $sql, $sql_conn)or die('Invalid query: ' . mysql_error()); $cat_row=mysql_fetch_row($other1_res); print $cat_row[1]; ?> </td> <td> <? $sql="select * from sub_category where idnum='$other_info[3]'"; $other2_res=mysql_db_query("londonlink", $sql, $sql_conn)or die('Invalid query: ' . mysql_error()); $subcat_row=mysql_fetch_row($other2_res); print $subcat_row[2]; ?> </td> <td> <?echo $other_info[7];?> </td> <td> <?echo $other_info[9];?> </td> <td> <input type="submit" name="<?echo "accept".$other_info[0];?>" value="Accept"> </td> <td> <input type="submit" name="<?echo "decline".$other_info[0];?>" value="Decline"> </td> </tr> <?}?> You will NEED to adjust your table header by adding a header for areacode. To help you better understand you table fieds in relationship to the array they are in in PHP, here are the array keys for each field: [0] - idnum [1] - name [2] - cat [3] - sub_cat [4] - url [5] - date [6] - status [7] - email [8] - other [9] - area_code Hope this helps. vujsa
-
I feel bad now that my solution onlyy took thre very small lines of code to write. Everyone elses method required so much more code and looked so glamorous. Honestly, I never even thought to do it all manually. I know that my idea completely abandons the whole substr() method that Humphrey1988 had started to use but again, didn't even think of using a bunch of string methods for a date question. I know, I'm in a wierd mood today. I just thought it was funny that there are so many similar solutions to Humphrey1988's problem but most use string funtions instead of data functions. I also thought it was funny that Humphrey1988 posted his question and many working solutions have been provided but no repy was ever given. Not even a "I found my solution at php.net but thanks anyway!" reply. I wrote my solution to be easy to read which is why it takes three line for a single line of code: echo date("Y-m-d", strtotime("Wed, 02 Aug 2006 03:59:10 -0700")); Now I went and did it. That really looks bad. I mean one tiny little line of code. I almost feel bad about posting it. Kind of shameful to offer such a simple solution among such complex and eloquent replies. vujsa
-
Server Behind Router Works fine to others, but not internally
vujsa replied to szupie's topic in Computer Networks
Well, I'm not sure why you can't see your page from your LAN using your WAN IP address, because I can see it ok.Perhapes your router assumes that if you are trying to access the WAN IP address from the LAN that you want to update the router settings.You should put an index file in your root to prevent the contents being shown!So what is "Hypercubical Animations"! :)Well, I'll have to guess that this is resolved now. :)vujsa -
Be sure to set the permissions on your template directory correctly.I had a problem in Mambo once where I used the built in editor to edit my templates which required that I set the permissions on the folder and files to 777. I stopped using the internal editor and left my files read only and haven't had any problems since.That is the only way I can think of to directly edit your file to insert an iframe into a file.Hope you don't have any more problems with this.vujsa
-
As long as the header information is correct when sent to the browser, the image should appear correctly even if it is a PHP file. This isn't alway true and since it is in your CSS, you probably won't validate because you are using an unknow file extention for a known file type. mod_rewrite can fix the file extention for you though. Notice my signature image. It is PHP generated on the fly. The data it uses is statice currently but the images is refreshed as often as every 20 seconds if the file is requested that often. Here is a very good resouce for mod_rewrite: http://forums.xisto.com/no_longer_exists/ The cheat sheet there is very helpful. Basically, here is the deal. I request http://forums.xisto.com/no_longer_exists/ and the server accesses http://forums.xisto.com/no_longer_exists/ instead. This is how we have those nice HTML file names for all of the pages here at Xisto even though everything is PHP driven here. Just set your program up in it's own directory and name it something rather unique like bgimage.php Then if you don't already have one in that directory, create a .htaccess file. In that .htaccess file add the following code: RewriteEngine onRewriteRule ^bgimage.png$ bgimage.phpThis would start the script bgimage.php when the file bgimage.png is requested. For a more dynamic program, you can also pass variable with the rewrite like so: RewriteEngine onRewriteRule ^background_image([A-Za-z0-9-]{1,})\.jpg$ bg_generator.php?time=$1This would start the script bg_generator.php when the file background_image325ads123.png is requested where 325ads123 = time! Then with $_GET['time'], you could use the timestamp to control what kind of image is shown. Basically, you could have a dark background at night and a light background during the day. Of course, you can't do that in your CSS file since there isn't a way to insert a timestamp in CSS files. Always be sure to leave at least one blank line at the bottom of your .htaccess file to allow your cPanel to insert code if needed. Another thing that is possible with this is to serve a different CSS everytime. You could either generate a CSS file on the fly with PHP or have several that would rotate. RewriteEngine onRewriteRule ^default\.css$ css_rotator.phpThen requesting default.css from any page would access the script css_rotator.php which could either create a brand new CSS file or select one from a list. If you were to generate a ne CSS, then you would probably set up a few color schemes and that could be substituted. As for what kind of script to use, you can either writ your own or look in the forum for signature rotators. There are a couple of tutorials in here somewhere. I could help you develope your own if you wish. Hope This Helps. vujsa
-
That sound is definitely your fan and is caused by dust. Happens to me about every eight or nine months. My home doesn't have a forced air heating and cooling system so there isn't any flow of air through a filter. As a result, we get dust build up on everything. The inside of my case has to be cleaned out every six months or so. If I forget to clean it out, the fans get clogged up and make a bunch of noise.Most cooling fans have bearings which will make noise when they get too dirty. Simply using an air duster every year or so will really help your system. Not only does the dust slow your fans and make them noisy, which reduces their cooling ability; the dust settles on other components which acts like a blanket that traps the heat inside making your system run hotter.Most processors and other PC components work better when they are at room temperature. If your system gets hot, then your performance with be affected. You may notice a slow down or frequent and seemingly random errors. You should unplug your system and wait about 2 minutes and open your case. You systems capacitors will hold electricity for a bit which is why you should wait. Be sure to remove any static charge you may have by touching something metal other than you computer before touching ANYTHING inside your computer. An anti-static wristband is always a good idea.Using an air duster (use 2 or 3 since they freeze up quickly) blow out ALL dust in your system. Don't just blow it around inside the case, really get it out of the system. Some people use a vacuum cleaner to clean the dust out. I don't recommend this practice since spinning air is flowing over a plastic tube which is a great way to generate a lot of static electricity. Use a clean (preferably unused) paintbrush to lightly brush off any stubborn dirt and dust. Also, using the paintbrush can help get the dust that settles in the bottom of the case after your air dusting. Be sure to blow the air duster through both sides of any fans you have. This will help get ALL of the dust out of them. One additional thing to remember when cleaning out your case is that most power supplies have their own fan and because they get pretty hot, tend to trap a lot of dust inside. You may need to open your power supply and clean it out too.There are things that you can do to prevent the build-up of dust in your system. First, never smoke around your system. Smoke is sticky and doesn't simply pass through your system without issue. Smoke sticks to your components and then the dust sticks to the smoke, etc, etc, etc...Using a filter on ALL incoming are fans and vents will trap the dust before it gets into your system. This is easier in some systems than others. If your system has a bunch of vent holes in it, you may have to wrap the entire case with filter material. Be sure to not cover any outgoing fans or vents. You don't want to trap the dust inside. Be sure that you have plenty of outgoing air fans and vents. If all of your fans are inbound then your system will have a positive pressure cooling system which is great for keeping out dust if ALL of your incoming ports are very well filtered. If they are not filtered properly, then MORE dust is trapped in a positive pressure cooling system. Alternatively, having a negative pressure system will actually suck dust into every opening in the case like a vacuum cleaner core. This is when you have to consider wrapping the entire system with filter material. Ideally, you should have a neutral pressure cooling system where as much air is forced into the system as is forced out. For example, you may want two fans in the front blowing cool air in and two fans in the rear blowing hot air out. That would maintain proper air flow and few dead air pockets in the case where dust would settle.Filter material is pretty easy to find. Using a universal window air conditioner foam filter is the most common method. Filter material can also be cut from heating and cooling filters. These are the 1 by 20 by 20 inch (2.54 X 50.8 X 50.8 cm) or similar sized filters. Placing a fabric softener sheet over an outgoing fan port will have your office or computer room smelling like a laundromat. :)If dust is really bad, look into buying a sealed, positive pressure, filtered computer case. These are more expensive but run very cool and trap nearly all of the dust before it enters the system. Hope This Helps. :)vujsa
-
Server Behind Router Works fine to others, but not internally
vujsa replied to szupie's topic in Computer Networks
A few questions to start with. Is there a firewall on the computer that is running Apache? Can you access the server by using the LOCAL IP address of the computer running Apache. Like 192.168.1.100 Do you have a DMZ option on your router? What OS are you running Apache on? It sounds like it is probably a firewall issue to me but if you have a DMZ setting that you can point to the computer running the server, then you'll know for sure. This will basically open ALL inbound and outbound ports to that computer and all requests will go to that computer as a result. If you still cannot access the server, then it is a setting on that machine. WinXP SP2 has an advanced firewall package with it that has to be configured to allow your server to be seen by other computers. Any other software firewall will need to have an exception for port 80 as well. vujsa -
Well, you'll need to go ahead and pass that URL to header.php as well as the link.php It is difficult to say for sure what you need to do without being able to see all of your code. But here is what I image needs to be done: First in the code you pasted, you'll need to modify one of your urls. Find this: <FRAME SCROLLING="No" NORESIZE SRC="header.php?cat=<? echo $cat;?>"> and change to: <FRAME SCROLLING="No" NORESIZE SRC="header.php?cat=<? echo $cat;?>&page=<? echo $page; ?>"> Then in your header.php file, somewhere after the link back to the directory, you'll need to add the link data. Here is what I'm not sure of since I don't have your code to basically match the style of programming used. This is the most direct way to do it but you can modify it as you need! In your header.php file add this after your link back to the index but keep it far enough up to not be hidden. <a href="<?php echo $_GET['page']; ?> target='_top'>Break Frames</a>" In your header.php code, you may have a line that reads something like this: $cat = $_GET['cat']; If that is the case, you can do the same with $page if you like. Just below the line for $cat, add this: $page = $_GET['page']; Then your link code would ALSO change to this: <a href="<?php echo $page; ?> target='_top'>Break Frames</a>" I only bring this up because it is most likely the method that was originally used when the script was written. If this doesn't work, you'll need to post the source code for link.php and header.php so it can be correctly evaluated. Since most of the code you actually posted is HTML, it makes it difficult to answer your PHP question confidently. Hope This Helps. vujsa
-
Here is a link to the search results for tutorials in the PHP section that I contributed to: Advanced Search: user=vujsa; Category=Free Web Hosting > Computers & Tech > How-To's and Tutorials > Programming > PHP Hope you find these usefull. If there are specific topics that you would like me to discuss, there is a tutorial request section that you can post in. Other questions can be addressed in the PHP forum. vujsa
-
Well, I think it is because you didn't specify which page and header you wanted in the url. Here is line 1, 2, and 3: <?php$page= $_GET['page'];$header= $_GET['header']; You would use a URL like this: http://forums.xisto.com/no_longer_exists/ to specify the page name and header name. That is what lines 2 and 3 are looking for in the code. $_GET['page']; means get the variable form the url that is assigned to page:http://forums.xisto.com/no_longer_exists/?page=main&header=header1 $_GET['header']; means get the variable form the url that is assigned to header:http://forums.xisto.com/no_longer_exists/?page=main;header=header1 As a result here is what your code actually would see if you used that URL: <?php$page= "main";$header= "header1"; To prevent this from being a problem in the future, you should set default page and header files. <?phpif($_GET['page']){ $page= $_GET['page'];}else{ $page= "default";}if($_GET['header']){ $header= $_GET['header'];}else{ $header= "header_default";}$content_file = 'content/pages/'. $page . '.php';$header_file = 'content/headers/'. $header. '.php';// First we check the content file and assign a value to it's variableif (file_exists($content_file)) { $main_content_file = $content_file;}else { $main_content_file = 'content/pages/default.php';}// Next we check the header file and assign a value to it's variableif (file_exists($header_file)) { $main_header_file = $header_file;}else { $main_header_file = 'content/headers/header_default.php';}?> That is rather crude but will ge the job done I think. There are a number of security prcautions that you should probably look into if you will be using this type of input to control you pages. More information can be found in the CMS103 tutorial. Hope This Helps. vujsa
-
I can't really explain it better than this: http://forums.xisto.com/no_longer_exists/ Here is the way it works for your script: <?php // Query the Database $specific_value = 'Industrial';$query = "SELECT * FROM table_links WHERE cat = '" . mysql_real_escape_string($specific_value) . "' ORDER BY 'manufacturer' ASC";$query = "SELECT * FROM table_links WHERE cat = '" . mysql_real_escape_string($specific_value) . "'";$result = mysql_query($query);if(!$result) die("ERROR: " . mysql_error());$row = mysql_fetch_array($result);foreach($row as $res) $sortAux[] = $res['manufacturer'];array_multisort($sortAux, SORT_ASC, $row);$i = 0;while($i < count($row)) { echo '<a href="'.$row[$i]['mfr_url'].'">'.$row[$i]['manufacturer'].'</a><br>'; $i++;} ?> I think that is what you are looking for. Changing the value in $res[] will allow you to sort by something other than 'manufacturer'. I'm sorry but I can't further explain the entire process to you as I tend to have difficulty wording the logic in a way that others understand. Probably the same reason I never understood when others tried to explain this type of multi-dimintional array. I have to see the code and learn from that. I hope this helps. vujsa
-
Killing me here. My point is that this is NOT the PHP forum, this is the MySQL forum. If you want help with a PHP sorting question, then ask it in the PHP forum. You have an array of data that needs to be sorted, that has nothing to do with the database at this point in time.. I should have just moved the topic to begin with I guess. If you want further help with PHP sorting, do it in a new topic in the PHP section. This topic is closed now! vujsa
-
Like I said, if you don't want to or can'n use the MySQL method that I explained above, then you really need to post a question in the PHP forum since this really is a PHP question. There are various methods for sorting data in PHP. vujsa
-
Well, it would be easier to sort the data before PHP gets it since the sort feature is built into MySQL. Just modify your query string like so: $query = "SELECT * FROM table_links WHERE cat = '" . mysql_real_escape_string($specific_value) . "' ORDER BY 'manufacturer' ASC";} If this isn't what you want, then I suggest that you post a NEW topic in the PHP forum. Hope This Helps. vujsa
-
I am deeply sorry for your loss. Please take your time and let your sorrows pass. Though your life will never be the same, eventually you'll learn to adjust to the emptiness.As far as the website goes, don't worry about it. That's what the staff is for. Most of the time we can handle the problems for you and would prefer that you take some time for yourself. Nothing has happened here that can't be fixed so set your mind to rest.For now just reflect on your time with your friend and get you life in order.My thoughts continue to be with you.vujsa
-
Unless someone knows better than me, I think the solution will require some pattern matching using a regular expression. This will probably confuse you: http://forums.xisto.com/no_longer_exists/ This is the example that best matches your situation: http://us3.php.net/manual/en/function.preg-match.php Of course, you'll need a reg_ex for your situation: I think this will work for you: "/sometext\.([^ ]*)/i" All together: if (preg_match("/sometext\.([^ ]*)/i", "sometext.html")) { echo "A match was found.";} This will match anything after "sometext." except a space! So "sometext.%$^%" is ok but "sometext. Hello" is not! You should try to specify what the extention sould be. Like any letter or number only would be: "/sometext\.([A-Za-z0-9-]{1,})/i"Which means match at least "1" of any upper or lower case letter or number.The upside to that is that it will end at either a whitespace or some non-alpha-numeric character like a punctuation mark or special character. If you want to specify that the extention is at least 3 characters long then use this: "/sometext\.([A-Za-z0-9-]{3,})/i" If you want more leadway on the size of the extention, you could specify between 2 and 4 characters like this: "/sometext\.([A-Za-z0-9-]{2,4})/i" For exactly 3 characters long only, use this: "/sometext\.([A-Za-z0-9-]{3})/i" I hope this helps. vujsa
-
How long will it take to get my application for free hosting approved? We've been getting that question a lot recently and the answer is, "I DON'T KNOW!" I'm sorry to say it but it is the truth. I have absolutely no idea when you might expect to get hosting currently. Like most people that show up here, I was looking for a free hosting service where I could develope my website and get it going before I had to spend any money. The good old no risk system to starting a business. Turned out that I spend a lot more time on the forum than I do working on the development of my website. Most of the rest of the staff came here as I did but many have moved on to either paid hosting with their successful website they started here or lost interest in the process and gave up on their website. Either way, they aren't as active in the forum as they were. This is the natural evolution of such a website. We had an Admin that runs his own website as well as maintains a couple of others, has his own business and works for a rather large company. He held on as long as possible but finally stepped down here. Another has had some changes in her life and being online isn't an activity that she spends as much time doing these days. As for the three reamining currently: mastercomputers is usually very busy with work and his personal life and hasn't been seen regularly at the forum for some time now but does manage to post very good articles and replies from time to time. microscopic^earthling is busy with work when he isn't off touring the World. He tends to travel a great deal I have found and his current work project seems to take a lot out of him. OpaQue is the owner of this as well as 3 other hosting services and a couple of other websites. He has recently return to school to finish his degree and has little time to spare. As we found out recently, he sometimes doesn't have enough time to check in on us here everyday. Outside of his very busy school and business life, he has recently suffered a great loss in his life. He lost a friend of his in an accident recently. Now that you know who is doing what, I'll explain the situation as it relates to you! When a member applies for a free web hosting account, usually a moderator will take a look and either deny the request if the member hasn't met all of the requirements or leave it alone for an Admin to look at. When an Admin takes a look, he will either deny the request due to some lacking in the member's application or activities or approve the request. If an application is approved, the Admin has to enter the information nto the server to basically set up a hosting account for the member. The member gets an email with the activation information and the account is operational. The accounts can only be set up by the Admin so as a result only an Admin ca APPROVE free web hosting requests. Not all Admins set up hosting. So not all Admins approve requests. Currently only OpaQue and microscopic^earthling are performing this task. There currently are not any suitable canidates for an Admin position within the forum although the subject has been brought up. m^e and I have discussed in a limited manner a possible solution to the problem but no action has been taken yet. Please understand that we know that there is a problem and we want to solve it but are unable to at this time. All I can tell you is that your hosting request will be answered as soon as possible. vujsa
-
strtotime() will convert nearly any date format into a timestamp which can be used to build a date with the date() function. $timestamp = strtotime("Wed, 02 Aug 2006 03:59:10 -0700");$newdate = date("Y-m-d", $timestamp);echo $newdate; Hope This Helps vujsa
-
Well, I know how to do this in JavaScript which is pretty straight forward. Somewhere in the head of the document add: <script language="JavaScript"><!--function confirm(){ window.alert("Are you sure you want to do this?");}// --></script> Then in you submit button tag add: onclick="confirm()" That will pop up a little box asking the question you want. For any other method of performing the same task, I don't know a better way. This is exactly the kind of thing JavaScript was designed for origially. There are more elaborate JavaScript techniques availible but require more line of code. As far as a server side script, you would have to place it between the form and the main script. Basically submit the form contents to the confirmation script. The confirmation script builds a new form with all of the values from the first form PLUS the confirmation question. The confirmation form then passes the content from the first form to the second script. The second script is the one you already have it looks like. I'm not an ASP guy so I can't give you the specifics for your situation. Hope This Helps. vujsa
-
It might help to know who owns this file:your ftp client should tell you the owner name or number.Owner 0 is the server.Member accounts are something like owner 20193.All of your files should be owned by either your number or by 0. If the files you have problems with are owned by another number, there may be a larger problem.There is one last way to take control of the files. Download the entire directory that contains the file you have problems with to you local system.You must be sure to get EVERYTHING!On the server, delete the effected directory with all files and subdirectories.Now upload the files that you backed up and all of the files will show YOU as the owner.Since this involved the deletion of multiple files and perhaps directories, I can not guarantee that you will not lose something important. You must be very care during this process or your files may be lost.I suggest making a full backup of your entire website prior to attempting this task.I do not recommend that anybody attempted the solution I suggested here in any situation!If this operation works, then you may need to tweak the permissions of some of the files that changed ownership.Hope This Helps! :Dvujsa
-
Well, not actually. You need either 10 credits for the starter hosting package or 30 credits for the standard package. If you get the starter package for 10 credits and want to upgrade later, it will cost you another 30 credits so it is best to wait until you have 30 credits to begin with and request the standard package and bypass the upgrade process altogether. Once you activate your hosting account, you will then be reset to 3 credits. This doesn't change if you have more credits than you need. Hosting requires a MINIMUM of either 10 or 30. If you have 45 credits and apply, when you activate your hosting account you will only have 3 credits left. Those 3 credits are equal to 3 days of hosting. You DO NOT need to post every day! As long as you can keep your credit count above 0 you have hosting. You can get multiple credit for a single post if it is large enough or only a partial credit if the post is small. If you post several large post in one day, you may not HAVE to post for several days. I currently have 158 credits so if I don't post again for 157 days, I'll still have hosting. We do not use the number of post you make as the number of credits you have. The size of the post is the only consideration for the accumulation of credits. Poorly written posts are subject to deletion which will deduct credits. We would rather have you write one very good post once a week instead of having you write one very bad post everyday. Yes, that link is acceptable since it point us in the direction to information that will let the rest of us try to help you better. vujsa