Jump to content
xisto Community

bakr_2k5

Members
  • Content Count

    90
  • Joined

  • Last visited

Posts posted by bakr_2k5


  1. Either will do thanks, like I said, I want to learn it so whole would really help...

    Ok ... Wel I'm going to bed now but I'll take a look at your script tomorrow and post the script with full explanation in this thread. I think I could manage to find a few good tutorials on the net but not now, tomorrow :lol:
    Anyway the best way to learn something is just toy with it, that's how everyone gets started I think (at least I do)... Just steal a script from somewhere and start editing it. Soon enough you'll see what this and that does, and eventually you know the biggest part of PHP and maybe other programming languages! :lol:

    bakr_2k5

  2. Change this:

    $scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 10);if(!$scfp) {  $scsuccs=1;echo''.$scdef.' Habbo Hotel Radio Is Currently Offline';}
    into
    if(! $scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 10)) {$scsuccs=1;echo''.$scdef.' Habbo Hotel Radio Is Currently Offline';}

    Hope that this helps!

    bakr_2k5

  3. Hi A7X-Girl,When you have MSG Plus installed it will by default save your conversations in your received files directory if I'm right. So disabling it in MSN Messenger doesn't help anything. You'll have to disable it in MSG Plus. Alternatively you could remove those files every time you leave the computer or create a little script that runs on shutdown or boot-up whatever you prefer.Good luck,bakr_2k5


  4. Run a webserver from USB-stick on windows guide

    Introduction
    A few weeks ago we got a 256MB USB-stick from school (yes I didnât have one yet!), and I havenât played with it since I got it till my computer broke and I had to use my moms laptop. Since I didnât want to break up my moms laptop, I thought about my USB-stick and wanted to install a webserver on it. Though it can also be used if you want to demonstrate a project of yours to your clients or friends whatsoever! It can even be used as a real webserver! But please keep in mind that a USB-stick isnât the fastest medium to run a webserver from.

    In this guide weâll be using:
    * 256MB USB-stick ( Directory I:\ )
    * HP Pavilion ze4500 laptop with Windows XP Professional SP2
    * WAMP (Windows â Apache â Mysql â PHP) packages
    Note: When I refer to the USB-drive, I mean the drive I:\. But youâll have to change the path according to your own USB-stick!!


    1. Installing XAMPP (lite) on USB-stick
    In this chapter weâre going to install XAMPP (lite) from apache friends on a USB-stick.




    XAMPP is a free software package containing the Apache HTTP Server, MySQL database and necessary tools to use the PHP and Perl programming languages. The program is released under the GNU General Public License and serves as a free, easy-to-use web server, capable of serving dynamic pages. Currently, XAMPP is available for Windows, Linux, Sun Solaris and Mac OS X (the X in its name could stand for any one of these operating systems; for example, WAMP and LAMP refer to Windows and Linux respectively).
    Source: https://en.wikipedia.org/wiki/XAMPP



    1.1 Downloading XAMPP (lite)
    First, go to this address: https://www.apachefriends.org/download.html. From there scroll down to download section, youâll see three kind of packages:
    * Installer
    * ZIP archive
    * Selfextracting 7-ZIP archive
    Youâll need the ZIP archive or the Selfextracting 7-ZIP archive.

    If you scroll down even more, Iâll find XAMPP lite, which is a reduced version of XAMPP, and is half the size of the full package. Here youâll need the archives too and not the installer!

    Now download the package you want
    XAMPP (Selfextracting 7-ZIP archive)
    https://www.apachefriends.org/download.html?win32-1.5.5.exe
    XAMPP lite (Selfextracting 7-ZIP archive)
    https://www.apachefriends.org/download.html?win32-1.5.5.exe

    And save it to a location of your choice, though the desktop would be best for fast access and such!

    1.2 Installing XAMPP (lite)
    If youâve downloaded the ZIP file, extract it to âC:\xamppâ. If youâve downloaded the Selfextracting 7-ZIP archive, double click the file and enter âC:\xamppâ as the destination directory.

    Now copy the extracted xampp directory to your USB-drive, and wait till itâs done. After itâs done, go to âI:\xamppâ (Where I:\ is the USB-drive!) and double click âsetup_xampp.batâ. This will configure PHP. Though Iâm not very sure itâs needed, but it canât hurt anyway!
    When âsetup_xampp.batâ is done, double click âxampp-controll.exeâ. Now thereâs popping up a control panel for xampp. To test if itâs working, start the Apache server and the MySQL server, and browse to LOCALHOST/ youâll see the xampp splash screen and choose a language of your choice. Now click on âStatusâ in the left navigation panel. And check if the things are running that you want to have running. To test xampp even more, check out the demos which can be found on your left in the navigation panel.

    Now if itâs working, you should make xampp a bit more secure. Click âSecurityâ in the navigation panel. A new window will open and youâll see that youâre xampp installation is pretty much completely insecure! Now scroll a bit more down and youâll see a link to fix this. Yes, click it. Now you should only insert the fields in the MYSQL SECTION, and click âPassword changingâ. If youâre really paranoid with security you could also fill in the second section on that page, though I donât think it will help much. And since you arenât going to run a 24/7 server on a USB-stick, at least I hope for your visitors, you donât have to be 100% secure!

    Now youâre done setting up XAMPP (lite) on a USB-stick. And you can put your webpages and such in âI:\xampp\htdocs\â. Also you can remove the files and directories from htdocs since they arenât needed anymore.

    2. Installing WOS Portable on USB-stick
    In this chapter weâre going to install WOS Portable on a USB-stick. WOS stands for Webserver On Stick, and as the name says, itâs intended to be ran from a USB-stick.




    An Apachewebserver with PHP and MySQL develops its full power now on every USB Stick on the world. Faithful to the Plug&Play motto:

    "Plug in and Play"

    (Here it really works ;-)Just plug in your USB stick in any Windows ÂŽ computer. A complete Apache webserver with PHP and MySQL starts. And you can enjoy the full power of WOS (Webserver on Stick).
    Source: http://forums.xisto.com/no_longer_exists/



    2.1 Downloading WOS Portable
    First surf to http://forums.xisto.com/no_longer_exists/ which is the page for WOS Portable. On the left navigation panel click âdownloadâ. Now youâre prompted with a WOS X page, but we donât what that because itâs much bigger than WOS Portable. So click âNo thanks, take me to the downloadâ button. Now if you already own a WOS Portable package you can choose to upgrade or to obtain a new package. For this guide, weâre going to click the âI do not have a WOS Portable II Package and want to obtain a new packageâ radio button, then we click go. Now weâre prompted with a package choose menu kind of thing, we have to select a few packages. For this example weâll only take the âApache2_SE, MySQL5_SE and PHP4/5_SEâ. Itâs your choice to choose PHP4, PHP5 or both. âSE stands for Small Editionâ. Now when you scroll down, youâll be seeing a calculator for the size of the packages, which is pretty handy since no USB-stick has the same capacity. So take a good look at it, that you donât exceed you USB-sticks capacity! When your satisfied with you selections click the âDownload nowâ button. Now you can download the file, save it to a location of your choice and wait till itâs done downloading.

    2.2 Installing WOS Portable
    Ok, weâre done downloading. Now extract the âwosportable.zipâ file to âC:\wosportableâ. Go to the wosportable dir and take a look, you see that there are three (3) files with the extension â.wosâ these are package files which are unpacked and installed with âwos.exeâ. So, double click âwos.exeâ. Choose a language, weâre going for the English language. Youâre now prompted with a screen where youâll find your chosen packages from the website, just click âInstallâ at the bottom right. When itâs done youâll see the server screen, click end. Now copy the wosportable directory (âC:\wosportableâ) to your USB-stick (âI:\wosportableâ). This might take some time depending on your USB transfer speed and such. Ok, when itâs done, double click âwos.exeâ on your USB-stick, the server is started immediately, and your browser will popup. When the browser fails to load the first time, just hit the refresh button. Now youâre done installing WOS Portable!

    2.3 Upgrading WOS Portable
    As you might have seen we forgot to get âPHPMyAdminâ with WOS Portable. Just go to http://forums.xisto.com/no_longer_exists/ again, and click download on the left navigation menu, click the âNo thanks, take me to the downloadâ button, now click he first radio button with âI have already a WOS Portable II Package and want to update itâ, and click go. Scroll down till you find âPHPMyAdminâ and click âdownload nowâ. Just save it to your USB-stick in the folder âwosportableâ! If you have the WOS Portable server still running end it by clicking on âEndâ in the server screen thing. And restart âwos.exeâ, now you see that you can install âPHPMyAdminâ just click install. This might take some time! When itâs done it will start the server automatically. Now browser to localhost/phpmyadmin to verify the installation. And youâre done.

    3. Last word from me
    All this could be done with much more packages, but I donât have them all you see. And since these two plus the writing took me almost two days, it wouldnât be smart to take 100 WAMP packages! I hope you like my guide and that you can learn something from it. I made it with love so treat it with love! Also, Iâm sorry I didnât use any pictures in here, but since working on a laptop isnât really comfortable for me I just skipped them. Maybe when my PC is fixed, Iâll edit it and add pictures!

    When I have my PC up and running again, Iâll be making the same guide but then for Linux, I hope!

    bakr_2k5



  5. Was confused here as well ;)
    I'm with nightfox. If you mean imaging the drive instead, you will need to get programs like Norton Ghost or Acronis TrueImage. Both of these programs should be able to accomplish what you wanted originally there. Image files are meant for speedier "installs". It will be a one to one copy from this 3.2 GB hard drive to another hard drive you want to install the operating system on.

    Very short reply,

    No that not what I mean,

    That 3,2 gb drive will contain install ISOs (windows iso, ubuntu iso, etc) and no hd ISOs.

    bakr_2k5

  6. "Burn" an ISO to a hard disk? Is this like imaging a computer? You can't actually "burn" anything to a hard disk since it doesn't use a laser... just magnetism. If you mean image a computer, there are several tools available. However, all the ones I know cost money.
    [N]F

    Yeah I know this. And it can't be called burn though don't have other words for it ;)...

    Mark420, I came across those too today. Though they're very much linux specific since it uses the kernel from the ISO. And Windows ISO's don't have such a kernel (i think).

    ---

    I've also seen some people that said: "Format the partition as CDFS / iso9660". Though can't seem to find ANYTHING that can do that. Or some howto or something.

    Anyway, I don't want it to be Linux specific. Because of my Windows ISO. So those methods you (Mark420) mentioned won't work I guess.

    I hope I'll get some more replies here. In the mean time I'll build a bootable floppy disk, and try some stuff with that. It might work in some way!

    bakr_2k5

  7. Hi there,

     

    (Don't know if this is the right forum for this. And it also applies to all other OS's I guess. Though I'm in Ubuntu LiveCD at the moment!)

    Got a question, I've read on the net it IS possible to 'burn' an ISO file to a partition on the harddisk?!

    Though they don't say HOW to do it. I've been searching google like all day only for this and getting pretty desperate on this! ;)

     

    Anyone in here that knows how to do this?

     

    My idea is, I have a 3,2 gb spare hd which I'm going to use as my "ISO drive". I make a bootable floppy disk to boot the "ISO partition" of my choice to install. This spares me from download every ISO over and over again :P

     

    I've also been searching for "Boot ISO from grub / lilo" but couldn't find anything to do this. (especially on windows ISO, though legal CDs but ripped from CD to ISO! ;)) If you know something about this too, I'll be happy to hear!

     

    I really need to know this, since it'll give me:

    a. Better install speed (since HD is faster then CD) :P

    b. No spoiled CDs

    c. Less (spoiled) CDs

    d. Easy way to install something else

    etc... etc...

     

    Hope to get some fast reply here! ;)

     

    bakr_2k5


  8. Thanks for the replies!Though I've recently replaced the ducktape with those small boxes where you screw the wires in :) Looks a lot saver. Also dhanesh, my AMD is pretty cool. I have a Arctic Freezer 64 Pro running at 5volt. And it's pretty cool.I don't care a lot about the temperature though when it's above 50 / 60 C then it's going to be a problem :)...Anyway I've always used AMD and I'm pretty pleased with it.I'll just ignore the voltages, since it seems to be on all systems here in my house so I guess it's ok.bakr_2k5


  9. Hi there,

     

    My voltages seem to be too high when I run some monitoring software.

    This also occured in windows with SpeedFan though never did something with it.

    No I'm back on linux and sometimes I smell some really wierd smell.

    This is what I get from "sensors":

    CONSOLE
    alice:~# sensors

    w83627hf-isa-0290

    Adapter: ISA adapter

    VCore 1: +1.44 V (min = +0.00 V, max = +4.08 V)

    VCore 2: +1.50 V (min = +0.00 V, max = +4.08 V)

    +3.3V: +3.26 V (min = +2.82 V, max = +3.79 V)

    +5V: +5.24 V (min = +0.73 V, max = +2.04 V) ALARM

    +12V: +12.10 V (min = +4.80 V, max = +1.52 V) ALARM

    -12V: +1.70 V (min = -13.35 V, max = +5.81 V)

    -5V: +2.54 V (min = -2.64 V, max = +2.24 V) ALARM

    V5SB: +5.64 V (min = +2.58 V, max = +6.07 V)

    VBat: +2.26 V (min = +2.98 V, max = +0.66 V) ALARM

    fan1: 2909 RPM (min = 1288 RPM, div = 8)

    fan2: 2410 RPM (min = 14062 RPM, div = 8) ALARM

    fan3: 0 RPM (min = 3125 RPM, div = 8) ALARM

    temp1: +32°C (high = +8°C, hyst = -40°C) sensor = thermistor ALARM

    temp2: +32.5°C (high = +80°C, hyst = +75°C) sensor = thermistor

    temp3: +30.0°C (high = +80°C, hyst = +75°C) sensor = thermistor

    vid: +0.000 V (VRM Version 2.4)

    alarms:

    beep_enable:

    Sound alarm enabled

    Ok quite a lot seem to be much more higher then the max. Don't know if this accurate enough to go with but I think so.

    Though the smell could also be something else since I swapped my fans in the PSU because they ratlled, but kinda screwed up with the wireing, so I just ductaped them together! :)

     

    Anyway my question:

    Is this harmfull and could this cause this wierd smell?

     

    Maybe it's usefull to know my system specs:

    PSU: Q-teq dual fan (gold) i think it's 400W.

    CPU: Amd Athlon 64 3200+ @ stock speed (though has been overclocked for a while)

    Motherboard: ASRock 939DUAL/SATA2

    HD1: 40gb Maxtor

    HD2: 3gb Maxtor :)

    GPU: Nvidia Geforce4 TI4200 8x :)

    RAM: 1gig dual channel (DDR400)

    And somekind of CD burner.

     

    I'm running Debian (etch) at the moment (if important :))

     

    bakr_2k5


  10. Hi Mark and thanks for the reply,

    No, D:\Program Files\Common Files\Microsoft Shared\DW doesn't exist neither does it exist on the C:\ partition (some build in software like media player try to recreate the program files folder in C:\ ... So I take your advise and try to move it. Looks like editing a lot of registry keys to me, there are quite a lot of E:\Program Files\... keys so I'll see.

     

    I hope it will work, cause reinstalling takes quite time :)

     

    Anyway thanks for the fast reply!

    I'll post back if it doesn't or does work for people ever going into this problem!

     

     

    Well I've never had something like this before. But yes windows has its little annoying things! :)

     

    bakr_2k5

     

    EDIT:

    OK this is VERY strange!! Earlier this day it didn't exist on D:\Program Files\Common Files\Microsoft Shared\DW and NOW it does exist! What is going in here man?!?! ....

    EDIT2: Oh wait .. It's the 32bit version .. sorry! (D:\Program Files (x86)\Common Files\Microsoft Shared\DW)

     

    UPDATE: Alright found out this Dr Watson (that's in the wrong dir) belongs to .NET Runtime 2.0 (Error Reporting) that's how the reg key is called. AND Microsoft ® Visual C# 2005 Compiler

     

    LAST UPDATE / EDIT:

    Ok, moving the files and editing the reg keys worked! At least for now, since I don't really know HOW to cause Dr Watson start up using Visual C++. Anyway it works :) It didn't recreate anything in the reg or filesystem so I think it's done now! Great!


  11. Ok got some strange things going on here on Windows XP x64 edition!

    I've got 4 partitions:

    C:\ (windows)

    D:\ (software)

    E:\ (downloads)

    F:\ (backup)

     

    I've changed some stuff in the registry to change the default install directories to D:\Program Files and D:\Program Files (x86)... Also I've changed the CommonFilesDir to D:\Program Files\Common Files and D:\Program Files (x86)\Common Files... This works good so far.

     

    BUT today I've discovered that there's a directory called Program Files on the E:\ (downloads) partition!

    The full dir is E:\Program Files\Common Files\Microsoft Shared\DW which is owned by Dr Watson I guess.

     

    I think it came with Visual C++ or something included with it, but it doesn't belong there, right?

    Also Visual C++ is just installed to D:\Program Files (x86). And when I search in the registry for "E:\Program Files" most of them are in Visual C++ keys!

     

    I really don't know what's going on here, don't think there's some kind of error in the registry since I just checked if I changed the dirs incorrectly! Also I'm not sure if I could move it to D:\Software and change the registry according to the place I've moved it.

     

    Also I clean my registry often with ccleaner, though like I said, those dir configs seem alright to me.

    And I don't think it's the cause of some kind of virus because I didn't visited suspicious sites or opened suspicious emails, and I use Firefox which won't put viruses automatically on my computer!

     

    Ok, the Program Files dir on E:\ (downloads) by Dr Watson is: Yesterday, January 09, 2007, 17:19:50

    and the Visual C++ dir is created on: Yesterday, January 09, 2007, 17:28:32

    So those match up, which indicates it's no virus to me I guess! Though I don't run any virus scanner or a monitoring anti spyware tool. I know it isn't something like that.

     

    I've made a screenshot of my registry concerning about the Program Files edits and such.

     

    Maybe you discover some kind of stupid error I made!

     

    I hope you guys can help me out here, I really bugs me :)

     

    bakr_2k5


  12. Well let me say this,
    You aren't in need of an anti virus software if you don't visit untrusted web pages or click on every link that appears on your screen! Like my little brother who is most of the time on my moms PC and it load of viruses.
    He just clicks where he can! :)

    Anyway, a firewall should be enough for security if you aren't like my brother or feel like visiting crack / warez sites! Well I ran a few anti virus software on my PC. Most of the time NOD32 or Free AVG. Though I'm not in need of those anymore since I know what I do when I'm on the web. And WHEN I download a program from the web I don't trust I load up Clamwin (link) which is a ondemand virus scanner. So I save some of my system recourses. Though Clamwin has a trayicon which uses some RAM, but I think it could be turned off somehow.

    And if you want to download / test a piece of software, use bittorrent with a trustful tracker. You won't get viruses from there. (if this line isn't allowed for some reason which is in the Rules, please tell me or remove it :))

    Also I used to be a MS hater because of the viruses I always got. But then I saw the light and I knew it wasn't MS their fault. It all depends on the user! Though there are a lot of people who just turn their PC on and do some stuff and shutdown, yes those won't know what they have to do when they visited something like a crack site... Or they want to download some piece of software. Just think about it. :)

    bakr_2k5


  13. The icon "Internet Connection" wasn't there before and my connection doesn't come from my Local Area connection 5 anymore....how do i get it back to normal

    Hi deFT,

    I thought it had to do with your Router or something similar. I setup up my home network on this computer like 2 minutes ago, to see if it came up. And it did! But after restarting it disappeared.

    Well if I'm right, you could remove the icon by disabling some service, and I'll take a look for you!
    ...
    Ok, I made a screenshot and I attached it to this post. It's pretty much all you have to do.

    Just restart and then it should be gone.

    Please reply if it works or doesn't then I know I was right or not :) Since I'm not completely sure about this!

    bakr_2k5

  14. Can you post the contents of your c:\windows\hosts file and perhaps the Apache directives for the Vhosting from the httpd.config files to ensure that the default settings for localhost are correct, please and thanks.
    Maybe post them here to have someone double check them, even if they are the default settings as created by XAMPP.

    hosts file isn't in 'c:\windows\hosts' but in 'C:\windows\system32\drivers\etc\hosts' though on Windows 9x it's the first one,,,, Anyways the hosts file is setup for ' 127.0.0.1 localhost ' so that isn't the problem.

    I have attached the httpd.conf file, but it's the XAMPP default one so I don't think there anything wrong with it.
    Perhaps you can find a faulthy thing in it. Though in Firefox and Opera it works like it needs to do. I think it's a IE7 specific problem... Anyway I dropped IE7 as my default browser and downloaded Opera (since it's the standard compliant browser), and I'm happy now :)

    Isn't there something like a bugzilla for M$ products? :)

    bakr_2k5

  15. Are you sure that you installed the correct version of Internet Explorer 7?
    There's a x86 version and a x86_64 (or M$ might call it x64).

    Plus, Windows XP x64 Edition is quite experimental still.

    xboxrulz

    It installs IE7 x86 & x64 by default (both), it's installed by Automatic Updates. Anyway in my opinion Windows XP x64 is quite stable and such, never had a crash whatsoever!
    I hope to see a solution to this 'localhost' thing soon :P

    Merry Christmas :P,

    bakr_2k5
×
×
  • 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.