Jump to content


Active Members
  • Posts

  • Joined

  • Last visited

Everything posted by Scorpion

  1. This does look like what i want thank you, I will try this out once i get back to the program. Its long winded but that looks exactly what im after. I will post again once i've done/wrote it. Cant believe that i cant find a backup of my program that i had done this in, when i was only just a begineer at vb.net .
  2. I've tried googling but can not think on how to describe it to get the results i want. My Program will be having a lot of variables in it (mostly Arrays) but i remember doing a look time ago being able to create my own sub that had variables in it. then i could just declare that one variable on the form for the array rather than like 10 variables with arrays. Dim Details(20) As MyOwnFunction inside MyOwnFunction Dim Name As String Dim Phone As String Dim Text As String And So On Then asking for it i can just do Details(1).Name = textbox1.text.toString Thats how i would want to do it but cant find the code for the first bit. I dont want to declare Dim Name(20) As String Dim Phone(20) As String And so on Hopefully this makes sense and you can understand what im trying to do, plus why i couldnt think how to ask this in to google. Please help me :)
  3. I have got this working on the HTC Hero running Villainrom - 2.2 It had trouble extracting but it managed to sort it self out. It doesn't grab all the traffic (even if set to one machine) but i think thats because of how slow the phone is. I do like it though and hope you do carry on with this and you never know it might get on the show (hope so)
  4. http://serverfault.com/questions/261849/unusual-traffic-to-my-webserver-asking-for-myinfo-any-request-allowed-com has an answer to it, but i would say the same thing it is just scanning your host. I've had a uni trying to get in on my FTP one time 100 requests a day (trying only 2 passes so not to ingauge the block) all i did on that was change the port and it never came back. They do say though it should give up and move on but its all down to the program of when.
  5. You could use clone zilla (its a bootable disk/usb) and its free. Clonezilla just remember to double check the new drive before formatting the old one.
  6. edit: Sorry about the picture above i didn't know it would be THAT BIG. Flickr links below one part Second part It was too small to get all the text in one picture.
  7. I've been to one of these and it was cool i would go again but its the money issue plus i went by myself (2 friends dropped out last minute)
  8. They were a limited time only 250 i beleive were made (i managed to get one :D ) but i'm sure if they brought them back they would sell.
  9. Thats it, it worked i wonder why it wanted that instead but thank you for helping me out i thought the query wasn't wrong (in away).
  10. I've tried it in phpmyadmin with dates and it brings up zero results so there is no errors its just odd, by the way the Start_date and End_date are set to Date do you think that could be a problem?
  11. Right i'm building a site that will have a deals page and in the table i have id, Title, Start_date, End_date,Important, Information, Full_information, Price, Image(<-- a link to where the picture is) well i need to make sure that the deals are only there between two dates so i did a query below and thought that looks like it works but nope and there is data in the table 1 One Deal 2011-02-01 2011-02-23 Just some info More info £20.50 .jpg SELECT id, Title, Start_date, End_date,Important, Information, Full_information, Price, Image FROM web_Deals WHERE Start_date &lt;= '.date("Y-m-d").' AND End_date &gt;= '.date("Y-m-d") I'm using php so thats where .date("Y-m-d") is coming from and yes the date on the server is correct. Hopefully its something simple if there isn't a way to do it this way but another way i will be happy to learn.
  12. I have now fixed this i found out after searching more (always find the answer after you start asking) i didn't have mount.cifs installed on the system so to fix that i did yum install samba-client then low and behold the command worked. now to start putting my music cd's on to it the lazy way.
  13. Right i've installed vortexbox on to a Xen Server which is also running Windows XP with multiple shares (Music, Video) the Vortexbox is an automatic music ripper/sharer. The problem that i am having is linking my windows share Music to the Vortexbox on autoboot (both OS have static IP's) i saw that entering this code in /etc/fstab // /storage/music cifs credentials=/etc/my_share.credentials,rw 0 0 on its own line should mount that at startup so when the machine is ripping cd's for the windows machine it will save it on there instead of its own. when i run the next line mount -a i get this whole error list CIFS VFS: No username specifed CIFS VFS: cifs_mount failed w/return code = -22 mount: wrong fs type, bad option, bad superblock on //, missing codepahe or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.&lt;type&gt; helper program) In some cases useful info is found in syslog - try dmesg ¦ tail or so but the file my_share.credentials contains the username and password like it should be placed username=USERNAME password=PASSWORD I'm at a loss here i've been searching vortexbox forums and thats where i got the code from and googling gave the same result. the mount can be done manually and it works but i like things on auto. (little info Vortexbox is based on Fedora 11)
  14. You can use this web interface www.rapidleech.com (look for the download in the forums as the link is broken) and then you just need to have a web server with php simple as that i use it when i can and have friends use it as it can upload it to ftp or send it by email after its done.
  15. i own scorpion54.co.uk - a few programs that i've built zombiepcs.co.uk - computer repair company for a salisbury,england area -hidden-- - a testing site plus my sql server and for a special program i built. (not on scorpion54)
  16. You will need to contact one of the mods/admins and they don't really delete your account (as far as im aware) they just stop you logging in and change a few things this way the posts that are tied to your account could still help else where.
  17. SeasonSorter This is for people who have got alot of videos in one folder and want to sort them out in to simple folders and in seasons. The first time you run the program it will create 3 files Seasons.ini, folders.ini and settings.ini . Inside the folders.ini file you will want something like this: hak5=V:\internet_feeds\hak5\ The program will look for any file that contains hak5 and move or copy that file to V:\internet_feeds\hak5\ (you will need .net framework and surprisingly a windows machine of at least xp) SeasonSorter (It looks online everytime the program runs but if you read the readme.txt you will see how to turn that off) If you can think of any feedback please let me know (but not whats in the todo list)
  18. i have fixed it here's the code &lt;? $id = "1" ?&gt; &lt;? $limit = "6" ?&gt; &lt;? do { ?&gt; &lt;div class='post'&gt; &lt;h3&gt; &lt;? include("links/".$id."/title.txt"); ?&gt; &lt;/h3&gt; &lt;h4&gt;&lt;strong&gt;&lt;? include("links/".$id."/info.txt"); ?&gt;&lt;/strong&gt;&lt;/h4&gt; &lt;p&gt; &lt;a href="/ccount/click.php?id=&lt;? Print($id); ?&gt;"&gt; &lt;? $file = "/home/fhlinux130/z/zombiepcs.co.uk/user/htdocs/links/".$id."/picture.png"; ?&gt; &lt;? if (file_exists($file)) { ?&gt; &lt;img src="/links/&lt;? Print($id);?&gt;/picture.png" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;? } else { ?&gt; &lt;img src="/links/&lt;? Print($id);?&gt;/picture.gif" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;? } ?&gt; &lt;p&gt; &lt;? include("links/".$id."/information.txt"); ?&gt; &lt;/p&gt; &lt;/div&gt; &lt;? $id += 1; ?&gt; &lt;? } while ($id &lt; $limit); ?&gt; Its still messy but hey it works in IE8 and i didnt know i could still loop even when i have closed the php script
  19. i've only learned php from doing simple scripts and looking at code as thats how i learned VB and vb.net 05 but i tried the \" and it stopped working in firefox so i've removed them (wasnt working in IE8) i thought it was over kill but it worked in the browser i was testing so i never saw this bug for a month or 2 even when i had people go on the site it all worked fine. I will rework the php script as that seems to mess something up. That code is inside a loop thats the reason i thought it had to have Print each time.
  20. i didnt know Opera was doing it aswell thank you but i have made those changes and it still doing it could it be this little script Print "&lt;div class='post'&gt;"; Print "&lt;h3&gt;"; include("links/".$id."/title.txt"); Print "&lt;/h3&gt;"; Print "&lt;h4&gt;&lt;strong&gt;"; include("links/".$id."/info.txt"); Print "&lt;/strong&gt;&lt;/h4&gt;"; Print '&lt;p&gt; &lt;a href="/ccount/click.php?id='.$id.'"'; $file = "/home/fhlinux130/z/zombiepcs.co.uk/user/htdocs/links/".$id."/picture.png"; if (file_exists($file)) { Print ' &lt;img src="/links/'.$id.'/picture.png" /&gt;&lt;/a&gt;&lt;/p&gt;'; } else { Print ' &lt;img src="/links/'.$id.'/picture.gif" /&gt;&lt;/a&gt;&lt;/p&gt;'; } Print "&lt;p&gt;"; include("links/".$id."/information.txt"); Print "&lt;/p&gt;"; Print "&lt;/div&gt;"; I'm sure that its messy but you never know the problem could be here for some reason but i dout it.
  21. well i had a look in the CSS and every line with writing has got ; on the end but i can see why i would fault IE8 as its the only browser with the problem but hopefully we can get it fixed.
  22. Right well the website link is zombiepcs and the images work in firefox and IE7 (havent got any others to test) but in IE8 the images are missing but the code is still there in the source and this is with IE8 just installed so not addons or blockers. I am using a CSS and php but have no idea why its not displaying the images. please help hak5 fans ;)
  23. Use Cain and Abel (but make sure your AV is told its safe as a lot report it as a virus) thats what i have used a lot
  24. If you did a search this has been asked a bit the OS i go with is freenas its free and supports a lot of different file supports i use it at home with a few addons.
  25. the pc's belive that the data stick is not formatted. (so i know its not hidden) I will try the Recuva software as i've used it before but i couldnt remember its name and the program was ON THE DATASTICK lol
  • Create New...