Jump to content
xisto Community

Houdini

Members
  • Content Count

    565
  • Joined

  • Last visited

Everything posted by Houdini

  1. There is a general Hardware Workshop category right HERE, and if there is enough interest in that area then it is possible to have a subforum just for robotics. You might want to try going there and seeing what is already in the topics and maybe start some of your own in that forum.
  2. OK I see what is going on (well kinda). When you made backups to your database it merely took all the tables and added a backup_ prefix and added them to your database, which means that effectively you doubled the size of your data base. Yes you can safely 'drop' those tables, and the sql file is in fact a text file but I have never heard of the editor you are using you might want to get HTML Kit or PHP Designer, both are free and under 5 meg combined and will certainly open a file like that. If you have a 125 megabyte databse that has been doubled by adding the backup_ prefix to all the real tables that are actually being used by your system then you really have a 67.5MEG database, which is still kinda bug. A file of that size using import would most likely exceed the 30 maximum execution time and would have to be broken down into probably 6 to 10MEG chucks, but you need an editor that understands an sql file. If when you get the sql file open with an editor that will open it use the search feature to find all instances of the backup_ and eliminate all files related to that condition. Then break the file up into several complete sql aueries, an sql dump will let ou know by just looking at it where a tables data begins and ends. When you have this much done then just go to your phpMyAdmin on your localhost and import each file in order like db1, db2, db3, db4...and so on. There is another alternative also, you could download just the structure of your database which will give you a rather small sql that when run will set up all the tables required by your program along with the structure of the tables. Then you can download the data sql for those tables and build back the entire database with all med=ssages, members, permissions, categories, and so on.
  3. If you have plenty of money and some technical help or can learn quickly here are a couple of links, but it is expensive and time consuming and involves legal issues and business matters. ISP info and this one also Your Own ISP Good luck! Hey Now we have an edit button, this is great.
  4. I'm just thankful for the removal of an unnecessary post that looked kind of silly right in the middle of everything, or even on its own.
  5. I replied to a post and when I clicked the submit button I had a blank page that stayed there for quite some time so I clicked the refresh button and when my reply came up, it was a repeat of the first post. This has happened once before and I really don't need any credit for anything like that anyway because I post freauently anyway so it just looks bad to have the same post twice. I hope someone that can remove the redundant post would do so if encountered.Would it be possible to allow members to delete their own redundant posts? Or would it be way too much trouble on account of how the credit system works?
  6. Houdini

    Best Forum System

    If you like phpBB then you would like PHP-Nuke right out of the box, the main problems is using mods, but you can get mods that have been ported to PHP-Nuke for the phpBB, but they are hard to find, you can go Here and get some, there are about 28 of them there with a forum that has a list with a description of each MOD for the PHP-Nuke and what it does.
  7. No, what you see will send the entire contents of the database in this case it is exporting the database xtra if you just wanted to export certain databases then you would make selectio(s), but in this case you would be exporting the whole shooting match (database xtra and all tables).Well you probably did download the database but subject to the other programs control, here using phpMyAdmin you have a certain amout of control over the process, especially if you want to control compression.As far as your backups theyshould have some sort of time or date associated with them, I would delete all but the most recent one.The file you get from phpMyAdmin will pretty much be about the same but I am not sure, before you delete any file though make sure that after you have your exported file and set it up on your local machine then you can delete them, you might want a backup if you want your local machine to have all the same more recent posts and members and all, but for testing you don't really need that.The overhead can be fixed after the database is installed and running then just optimize it and it will take care of the overhead. You should optimize your web sql server tables every so often, if you don't have that ability within your ACP then you can use phpMyAdmin.
  8. You need to have them upload to a directory with chmod 777 (that directory is just for file uploads and must have full permissions) Your .htaccess should have the below in it for 70Megabyte post_max_size = "70M"upload_max_filesize = "70M" Try that out!
  9. Your post seems to have left a few thing out...Like a link, or perhaps at least a name, or do you just want others to know that you have found a site that registers domains free and that it is easy to alter to gain point for whatever you are supposed to gain them for?
  10. Why don't you just right click and save image as (whatever you want to callit) to your hard drive?
  11. That file size seems way too large, do this instead. Go to your cPanel and then select phpMyAdmin and then select the database you want to export as shown below look at the arrows included with text explainations. Pay attention to the rest of the fields that are selected (they should be that way by default) except for the save as file and possibly the Compression: Your database should never expand to more than your webspace size (!%MB or 150MB) which is all your files plus the database. It will probably be more like maybe 13-40MB. If you use the technique as shown in the screenshot above you will notice that it will be an SQL file so it is usually the name of your database plus the extension of .sql. Like I said earlier when you import or run an sql query from a text file (an sql is a text file) sometimes it will throw an error about exceeding tthe max execution time. Try using the above and let me know what you get, and after running on your XAMPP if it does exceed your max execution time then you will need to break the sql into a few smaller files like sql1 sql2 sql3 and so on.
  12. The battery is still in research and development so you can not buy one so at best it will be tomorrows news, they are looking at using it for RFID technology. If you want more information on it the link is right HERE for more just read and view the photos on the battery, and there is a link to the Home Page of NEC at that link.
  13. You just need to export your database using phpMyAdmin as a file (there is a check box that gives you the option to save your database as a file), and put the database which will be the name of your database followed by .sql. This may be quite a large file and if so may exceed the maximum time for execution, you will not know until you try. When you have XAMPP (one that I like and have used for three years) running start the phpMyAdmin there and depending of the version of phpMyAdmin you have either select SQL or Import and let it know that you are going to use a text file and then browse for the file you just downloaded from the host. One of two things will happen, it will either execute and reproduce the database for you along with the structure and data or it will produce an error complaining about the query exceeding the max execution time. If it gives an error then you will need to open the sql file with an editor like PHP Designer or HTML Kit or whatever and breack it up into smaller files and run the queries one at a time untill all have been executed.
  14. It is not really necessary to post daily becuase a post if it has enough content can earn more than a day in credit for a post. A good way to check is after you have submitted a post go back to the Free Web Hosting> link and see how many credits you have. A post after you get hosted odes not equal one day per post but instead there is xome forumula that an Admin or moderator should be able to explain much better than I. Hope that helps with you being able to post every so often while still maintaining an account without adverts.
  15. The only problem that I have with Zone Alarm is that if you are using the free version and have networked computers like I do for internet connection sharing you have to lower your internet protection from HIGH (which is default) to medium or it will not let the client computers access the internet, only intranet functions. If you want to have HIGH set and let the clients use the ICS you have to buy their PRO version.
  16. Actually you would only need one database, but it would have ever how many tables required for your particular needs. For example you would create a database name 'airline' (or whatever you wanted to call it). Within this database you would have a table for lets say 'pilots', in your pilots table you would have an automatically incrementing field say 'id' that starts with 0 or 1 if you want to set it up that way and use it as a PRIMARY KEY, which as pilots are added to the table would get the next number which would be 'unique'. Now you would have other fields in this table like a 'piolet_id' and or 'piolet_name' and another field for 'hours_flown', 'piolet_rank', aircraft_type' and so on. You could then have another table for the flights so just name a table 'flights' and have fields like 'flight_number' and 'destination' and 'fare' and any other fields you would associate with a flight that makes sense in that table. You really do not need to know much about PHP right now as much as you need to learn how to organize and set up a workable database. These can only be defined by you. You could take a simple idea like what a database would look for a basic home inventory (for insurance purposes). You would have a table called 'home_inventory' with fileds like item_description, date_aquired, cost, serial_number, appraised_value, photos_of_item and so on. So juventino79 now when you have a good idea as to how you want tables and what information you want in them then you could post with what you have come up with to help you create the database and its table structure and some queries to play around with it to get used to using it.
  17. 82 if at least one female was born the first month.24 22 20 18 16 14 12 10 8 6 4 2 (one set breeders)14 12 10 8 6 4 212 10 8 6 4 210 8 6 4 28 6 4 2 6 4 24 22 (seven sets breeders)---82The female matures and is ready for breeding at 5 months with a gestation period of 31 days. If both the first kits born were male then it would only be 80, male kits are mature bor breeding at 6 months.
  18. Glad you are set up with your new hosting site. One of the reasons that I asked about the form was if autoglobals are turned off or possibly you are using a server that has incorperated PHP5 some of your old scripts might not now work. So to fix that in the form lets say you have a value of $first_name_inputin an input field, to make it work with PHP5 or autoglobal settings that you can not control then you would change it to $_POST['first_name_input'] this will ensure that your code works. I run two servers on my local machine one running PHP5 and one running PHP4 and the reason for this is basically to test and be sure that any script that I write wil not only work on PHP4 but PHP5 also. Anyway I am glad you have your problem solved, but I am sure that as hosting sites start running PHP5 then there will need to be some code tweaking going on.
  19. When I was in school to multiply a fraction you multiplied the numerator the top part by the number (in this case 3) so you ended up with 3/3 or reduced it is one. So 1/3 * 4= 1 1/3 I like this too then if it is a pizza I east the 1/3 myself and tell everbody i have a pizza cut into three pieces one for everone (except I stashed my other third in my beedroom for later).
  20. Last week I started getting some spam on my PHP-Nuke in the forums. These were obvously SPAM. Poker, casino, and prescriptions and stuff of that sort. At first I just made a couple of new forums where I placed these posts, then edited out all the links. Some of them used e-mail addresses as a poster and some merely used guest. Then after I had placed these posts in their own new forum iwth the links removed, I did an IP BAN on eall the various IPs they were using. But that wasn't good enough for me so I found a Spam eliminator MOD on the phpBB Hacks site. I downloaded and installed it, and I have since not had any more spam posts in my forums. The MOD is real ssimple and you only edit one file so it will be included with this post for you to copy and paste so you can prevent this sort of annoyance from happening or stopping it if you are currently getting this type of KRUD on your site. What the program does is add an auth encrypted signature and looks for a post that took more than 5 seconds after the posting area was generated other wise if a post was made within the 5 second time frame (faster than a human) it just shows a preview and not the actual post, so the bot never really posts and you don't ever see it. Below is the code for both PHP-Nuke with phpBB forums and also the phpBB2 stand alone bulletin board. Hope this help other PHP-Nuke users like it did me! #-----[ OPEN ]------------------------------------------ #posting.php# #-----[ FIND ]------------------------------------------ # $refresh = $preview || $poll_add || $poll_edit || $poll_delete;# #-----[ BEFORE, ADD ]------------------------------------------ # switch ($mode) {case 'newtopic': $secretkey = 'f' . $forum_id; break;case 'quote': // If we're quoting, we need to determine the topic ID $sql = 'SELECT topic_id FROM ' . POSTS_TABLE . ' WHERE post_id=' . $post_id; if (!($query = $db->sql_query($sql))) { message_die(GENERAL_MESSAGE, 'Could not obtain quoted topic information', '', __LINE__, __FILE__, $sql); } if (($row = $db->sql_fetchrow($query))) { $topic_id = $row['topic_id']; } else { message_die(GENERAL_MESSAGE, 'No_such_post'); } // Fall through to 'reply' casecase 'reply':case 'vote': $secretkey = 't' . $topic_id; break;case 'editpost': $secretkey = 'p' . $post_id; break;}// Generate a signature to validate this page$authkey = md5("nana" . $secretkey . "foofoo");$authval = md5($HTTP_SERVER_VARS['HTTP_USER_AGENT'] . $secretkey . $HTTP_SERVER_VARS['REMOTE_ADDR']); $timekey = md5("time" . $secretkey);$timepad = preg_replace('/[^0-9]/', '', $HTTP_SERVER_VARS['REMOTE_ADDR']) + 0;$timeval = time() ^ $timepad;// Check the signature - if this is a submit which doesn't jive with the above, turn it into a previewif ($submit && (!isset($HTTP_POST_VARS[$authkey]) || $HTTP_POST_VARS[$authkey] != $authval || !isset($HTTP_POST_VARS[$timekey]) || ($HTTP_POST_VARS[$timekey] ^ $timepad) > time() - 5)){ $submit = false; $preview = true;}# #-----[ FIND ]------------------------------------------ # // Generate smilies listing for page outputgenerate_smilies('inline', PAGE_POSTING);# #-----[ BEFORE, ADD ]------------------------------------------ # // Insert our signature into the form$hidden_form_fields .= '<input type="hidden" name="' . $authkey . '" value="' . $authval . '">';$hidden_form_fields .= '<input type="hidden" name="' . $timekey . '" value="' . $timeval . '">';# #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
  21. If you are talking about storing binary data in stead of textual data on a MySQL database then the answer is yes. It is the BLOB data type and there are four ypes of BLOB data You can read more about these types of data and their use at the MySQL Page HERE. This would be any kind of binary data such as avi mp3 or jpg and stuff along those lines. Hope that helps you out some.
  22. If Arnold said that he would not ride his Harley until the license issue was resolved then that is about all he could do. Not all states require a special drivers license for a motorcycle or motor scoooter. If he were not issued a ciattion at the time of his offense (when he wrecked the bike) then you can't just go back and say well we now know that you had no license but drove a motorcycle anyway.He is the Chief Law Enforcement Officer as well as Commander in Chief of the California National Guard. Personally I don't see anything wrong with the man riding a motorcycle without a license, should he also be issued numerous citations for all the movies he appeared in when operating a motorcycle?You need to worry about other things than if the Governor of California was driving his motorcycle without a motorcycle license.
  23. There is a reason for wanting to see the form because that is where the sendmail.php is getting its values, most likely the config.php merely connects to the database and selects the database, but showing the program that processes the information it not of much value especially if the problem is not within that program but the program that tells it what values it is working with.Basically speaking seeing what you have right now has nothing to work with and will do nothing because it depends on another program to tell it new information to process, if you have three programs and only show one of them it is hard to determine what is happening to the process as a whole.
  24. While not an expert on slots, a PCI slot is still a PCI slot there might be differences in the way the data works from them but they should all work pretty much the same. If you put a card that is 2.1 into a 2.2 it would seemm that it would work being that the 2.2 is a version with more capabilities or attributes.The best thing to do though would be to go to the manufacture and query them about the issue and get a positive answer especially if you are buying it offline.
  25. Where is the form? I don't see one in that code, is it in the config.php?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.