Jump to content
xisto Community

miCRoSCoPiC^eaRthLinG

Members
  • Content Count

    2,482
  • Joined

  • Last visited

Everything posted by miCRoSCoPiC^eaRthLinG

  1. Dunno about php wget, but wget is a standard Unix Shell Command - which you can use like: shell> wget -r http://forums.xisto.com/no_longer_exists/404.png The -r stands for recursive - i.e. it will download all linked files under the current URL.
  2. Bah !! This was jack$**** I got to the so called control panel in no time. You guys are thinking too hard.. Here's what I did. 1. Logged into my Xisto shell 2. Used wget to fetch the link with spoofed header: That gave me the header with a ticket number: xxx.xxx.xxx.xxx - and a login page - which I downloaded and edited to make the links absolute. When I tried to use this file to login, I faced the same user agent problem coz FireFox was still reporting wrong version - but I got the URL structure:same here 3. So I used wget again to fetch the page with this URL 4. That got me to the so-called control panel which contained a page like this: BTW, you can use WannaBrowser too, to spoof the headers: http://forums.xisto.com/no_longer_exists/ That's it I guess
  3. Sorry I was away for two days, cudn't reply to this. Usually .NET threads aren't very active here as we have very few .NET coders here. Most people are into C/C++, Java & Scripting. Threads on those topics are likely to move much faster. Anyways, here is your solution. You need to use a DataSet to hold your config options. I'm specifically talking about dataset, coz this control has inbuilt functions called ReadXML and WriteXML - which will read/write the contained data into XML formatted files. If your dataset has two columns - one for the Configuration Option Name and the second one for it's value - that does the job Best is to use the following code to create a config file reader/writer class that will handle all your config tasks. Here's how: Imports System.IO.........Private ConfigFileName as String = "config.ini"Private DSConfig As New DataSet ("Options")............' CODE: For Reading XML config options - best to put it in a separate Sub' Upon Form Load try reading the file - if it exists, populate the dataset with read values,' else simply create a blank dataset with two columns - OptionName and OptionValueIf File.Exists (ConfigFileName) Then 'Read XML and populate DSConfig.ReadXml (ConfigFileName)Else 'Create blank dataset with two columns Dim dt As New DataTable ("Values") dt.Columns.Add("OptionName", System.Type.GetType("System.String")) dt.Columns.Add("OptionValue", System.Type.GetType("System.String")) DSConfig.Tables.Add(dt)End If.......' CODE: For Writing out the XML data. Again - best put into a separate subDSConfig.WriteXml (ConfigFileName).... Hope this helps you get started with it - if you need more code demonstrations or example of a full blown class, post again and I'll guide you to the finalized solution. Regards, m^e
  4. Yup it can be done. There are existing mods for it - but first you need to compile PHP again with the --pspell or --ispell options - or else PHP won't be able to call aspell in the background. Problem with this technique is that aspell eats up a whole bunch of system resources when used this way. So you can imagine how much load it'll put on the server for a busy board like Asta. Probably will land up with the same problems as Army System.
  5. Yup... then its 100% your svchost.exe giving out problems... Funny thing is this used to happen a whole lot to me during one long spell.... It stopped for a while after I installed all the patches.. and then started again. But give it around 2-3 weeks, and it'll go away (ghostly)... lol.. it comes back now, only when I run a whole bunch of applications together and windows generates a page fault. Otherwise its stays all calm and cool.
  6. We can't get to your site Tarun... Not loading at all - or maybe it's just me...
  7. Hi Tarun (Eternally Young - I believe), On behalf of the Xisto staff, I extend you a warm welcome. Have an enjoyable stay at Xisto and have loads of fun. We have a vibrant community here and you'll be absorbed into it, in no time. Thanks to Nakul too for bringing you in. Regards,m^eP.S. I'm from India too - Calcutta, but now settled in Thailand.
  8. Sure it is... doesnt make any sense to me You should keep an english translation for that 404 as well...
  9. Yup that's how it will work. Say for your earlier post you gained around 10 credits. That means your web-hosting account will remain active for next 10 days, 1 credit being deducted from your total pile-up for every real-world day. If you don't come and make some more posts here by the end of these 10 days, your account (not this one) - the hosting account i.e. your web-site will be indefinitely suspended. However, if you come back and make enough posts to get around 5 credits (which isn't difficult at all and can be done in just 1-2 posts), you web-site will get re-activated automatically. But please allow ONE HOURS time after you've gained the required 5 credits for the site to be up again. That's how the system works. Finally, say you don't come back at all - nor do you make any posts. Your credits keep going down by 1 per day and when it reaches -30 (i.e. a months time) - your hosting account is cancelled for good and you'll have to make a new request again. So in case you foresee a situation where you won't be able to come for a month and make posts, you're advised to gather enough credits to keep you running for 20-25 days. That way you can safely be off for your vacation :PBest regards,m^e
  10. I do. I've been working on it for quite sometime now. Check during later part of today - I'll have some sample code for you. Extremely busy right now, sorry
  11. With the amount of hard drive space you mentioned, I think it'll be better if you stick to Win2K - it's not as resource hungry as WinXP and would do fine on your system. Xp with Office XP would eat up most of your space leaving very little for smooth operability of windows page files, which take up a large chunk on your OS partition. Win2K on the other hand consumes far less space than XP and is 100% more stable than WinME. Till date, Win2K has been known to be the most stable OS marketted by MS - and according to me, that should be your obvious choice.One thing I'm not really sure of is whether you can install Win2K over ME - although most of the settings (My Documents, Registry settings) are similar - and if worst comes to worst, you should be able to keep your current documents & settings and uninstall ME - then install Win2K over it. Cheers
  12. Nice work - but as it's been pointed out, this board runs on IPB - and if you are willing to port those mods for IPB, we surely don't have any problems. This board could surely do with a spellchecker. Also your posts might have gained you enough credits for a particular hosting plan - but you are not granted a hosting account till you've filed a proper hosting request application in the appropriate forum. We have many different kinds of members here - those who come for hosting and those who come to just be a part of the board - so it's not possible for us to know who wants a hosting account, till you've made an application.Regards,m^e
  13. Funny thing is take a look at the polls.. lol almost neck-to-neck despite so much of hatred for Pepsi...
  14. Yup. Thats true. Well, you gotta do something at least to keep your account alive, i.e. come post in this board. That's how you earn credits. Think of it as your virtual currency - this method is to ensure that only active members can keep their site up - that's how this hosting service runs - in conjunction with the board. Otherwise, most people just come here, make some posts to get the required credits and once they get hosting, they never come back to the board again... So it is clearly stated in our Introductory text: The rule is - No Post, No Host
  15. hehe plenty. Word meanings primarily other than recipes. I look up word meanings a whole lot, or even idioms and phrases. Find it extremely quick & handy in this regard.
  16. Did you get a Illegal Function Call of some similar error saying svchost has crashed - right before this ? I used to face similar problems when my svchost would crash and cut-copy-paste would go away till I rebooted. Now, is your problem permanent or is fixed upon a consecutive reboot ? If it gets fixed on reboot, then surely it's a problem with svchost.Try finding all the security patches relating to svchost and apply them. I have no idea which one fixes it - but the problem went away only after I applied all the patches.
  17. I did - shortly before I dound Xisto. I tried out atspace.com and right before that frandt - atspace was still ok - but extremely limited features. Frantd - was bogus to the core. I can't even clearly remember why i was so mad at them at that time - I wish I'd written off a rant right then. But I DO remember that I had some horrible experience with their hosting (my page wouldn't load 99% of the time) - and that was bad enough for me to get moving.
  18. None that I know of offers the amount of storage you are seeking. Still check out these following listings: 1. http://www.lights.com/not_found 2. http://forums.xisto.com/no_longer_exists/ 3. https://www.thebalance.com/how-do-i-whitelist-email-sender-or-a-domain-in-aol-3515039
  19. Thanks for the link Am off to register.. I need to put up all my camera pics... was looking for something like this for a while
  20. hehe thanks mc There's this saying in one of the Indian languages (Hindi) - Do harami ek hi sochte hai - which in proper terms means, Great men think alike (fools seldom differ too) and in literral translation it would be more likeTwo b@st@rds always arrive upon the same conclusion. ... lol Even I've looked around and found some sites which offer web-based compilations. Quite fast too - but none of them offer the code/methods to setup one yourself. I think it can be done if we try this way - am just not getting the syntax right. Here are the sites: 1. http://forums.xisto.com/no_longer_exists/ 2. http://forums.xisto.com/no_longer_exists/ I'm trying to do this with the primary intention of putting up such a compiler on the opensource collaborative devlopment site we're going to launch very soon. What I intend to do is put a limit on the amount of code you can compile - so you can compile and test only small pieces of code and not overburden the system with huge compiles. Just so that you can write up something and test quickly in absence of a compiler at hand. Also - another security consideration we'll have to sort out is that, you can execute some nasty code to read segments of system memory through this - or cause some rogue code to do something bad to the system. Have to find a way to jail the input file/output binary to a particular directory and not letting it act on anything outside that dir. That I think can easily be sorted out with linux... but the web interface is my main concern now
  21. Hi guys, Need some serious scripting help. I'm trying to come up with a web-based compiler. here's how it's going to work. 1. The user is given a form with a large textarea to enter code (lets assume C++). 2. Upon submit the script takes the entire text from the textarea and writes it to a file. 3. Then it calls GCC the linux C compiler and passes this file as an arguement to it, as well as another arguement which is the name of the output file. 4. It then chmods the output file to make it executable. 5. Then it runs the output binary and pipes the console output from that into another text file. 6. Then it dumps this text file back onto your screen. Here's what I've tried to do so far: 1. The HTML Form <html><head></head><body><p>Web-based Compiler</p><form action="compilerparse.php" method="post" name="compiler" id="compiler"> <p>Enter your code below:</p> <p> <textarea name="code" cols="80" rows="20" id="code"></textarea> </p> <p> <input name="Compile" type="submit" id="Compile" value="Compile"> <input name="Clear" type="reset" id="Clear" value="Clear"> </p></form></body></html> 2. Upon clicking submit - this form sends the output to a php script. <?phpif (isset($_POST['code'])){ // Get the code from the form $code = $_POST['code']; // Sets infile and outfile name $codefilename = "temp.c"; $outfilename = "temp.out"; // Open file for writing $fh=fopen($codefilename,'w') or die ($php_errormsg); // Write the code fputs($fh,$code); // Close file fclose($fh); // Sets up compiler command string. FORMAT: gcc codefile -o outputfile $compilercommand = "gcc " . $codefile . " -o " . $outfile; // Calls the compiler using system() command and catches output in a var system($compilercommand, $outputresult); // Display output/error report echo $outputresult;} I've tried doing only upto the compiling part here, but somethings going wrong - the codefile isn't being written at all, leave apart compiling. I'm utter crap when it comes to php coding - so need some serious help here. Also I tried to figure out whether the php script is reading the textarea at all by echoing the $code variables.. I found out it's NOT. I'd tried out a simple "hello world" sample... #include <iostream>using namespace std;int main (void){ cout << "Hello World!" << endl; return 0;} When I echo the $code var, this code is shown as: #include using namespace std; int main (void) { cout << "Hello World!" << endl; return 0; }i.e. The whole code becomes one single line of text - which is all fine, since all commands are semicolon ";" delimited and gcc won't have any problems with that. What I can't figure is, WHY the #include <iostream.h> is being chopped off to simply #include. Does it have anything to do with the <> braces ?? If so whats the workaround ? Thanks in advance to whoever cracks this php demons skull
  22. Yup - you are right. US should be the first one to be checked for weapons of mass destruction and be disarmed accordingly. After all, they are the ONLY country in the World, who's ACTUALLY TESTED such a bomb on LIVE targets. The rest of them are just happy with inhouse tests. What I don't like about them is their govt.'s bossy attitude - THEY ARE ALWAYS RIGHT, THEY CAN GO AHEAD AND DO WTF THEY LIKE in any corner of the world - and the rest of the world is just a cartload of bull$h... Plus, they make sure that most of the American mass remains uneducated when it comes to the rest of the world. Infact, 90% of the american students in my university didn't even know that so many different countries exist in the Asian continent... to them nothing exists beyond america. - Funny or Sad ??
  23. Lol.. Yaah good enough, but unfortunately nothing can be done about situations like this, till you make a few posts and get your credits above 5 - then the account gets automatically unsuspended within an hours time.Just so you don't face this thing again, whenever you have an impending visit to a remote corner of the world devoid of any means of electronic communication, you should come and make enough posts to get your about 15-20 credits (doesn't take too many posts - I've known people to do it with just 3 posts)... that'll ensure that your account won't get suspended even if you are away for 2 weeks or more...Regards
  24. Naah didn't make much sense.. are you talking about proxies/firewalls on your own system ? Coz this applet fails to connect if your own connection goes through a proxy/firewall. Keep in mind that this applet simply acts like mIRC - it downloads itself first and then tries to connect using whatever settings you have in your browser - but doesn't always succeed through proxies - as it is happening with me. I'm going to get a certificate from Thawte and sign this applet digitally - so the warning will turn up as green and wouldn't scare anyone off. This is just a quick alternative to people to do not want to go through the extensive process of downloading clients and connecting. I don't know why it took a long time for some of you to download, but for me - over a 56.6kbps dialup connection - it downloaded in less than a minute !! The very fact of downloading a client just o join the channel is a big deterrent factor to many - for them this is the easiest way out. Besides, it takes a little bit longer only on the first occasion - after that the applet in cached and loads almost instantaneously for me - in Firefox.
×
×
  • 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.