231 Posted Topics
Re: Wrong forum! How naive has someone to be to ask in a serious forum how to programme malware? | |
Re: Why shouldn't you be able to use more than one query in a php-file? When I got you problem correctyl you want to save the selected dropdown as a flag in the table [code] mysql_query("UPDATE `cab_eticket_numbers` SET `cab_eticket_used`=1 WHERE `number`=".$yourphpvariable); [/code] and secondly you want to hide it the second … | |
Re: So do you have 3 buttons "A", "B" and "AB" or do you have a form with checkboxes so that the user can choose which options he(she want's to perform? First of all I'd work with functions. Try something like: [code] funciton buttonA(){ //perform stuff for button A } funciton … | |
Re: seems to me as if you have an empty line at the beginning of your code. Make sure that the php-tag "<?" starts directly at the beginning of your file, that all code that you include before don't echo anything and no echo or print is used in your file … | |
Re: [code] XOR EDX,EDX MOV ECX,length reverse_loop: MOV AL,[string_remarks+EDX] MOV [string_reverse+ECX],AL LOOP reverse_loop [/code] I'm pretty sure that's what you mean. If you have probs with you memory then try length-1 in EDX or increase ECX or something like that. If it's not working at all than ask again an I'll … | |
Re: when including source to your project the assembler's root directory is the directory of your project. So you have two or actually three choices: 1) Leave the author's libs somewhere on your HD and include them with the complete path (eg "/home/yourname/authorsname/lib/whatiwant.asm"). which is a hell a lot of work. … | |
Re: Change the method in the form-tag to "get". This adds the value and the variablename automatically to the URL you set in "action". Example: [code] <form method="get" action="redirect.php"> <input type=text name="e"></input> <input type=submit> </form> [/code] is automatically changed to redirect.php?e=enteredemailaddress Greetings Simon | |
Re: I never work width EOD but a common problem is (which causes a lot of confusion) that you have to dequote you variables. Try to change your code to something like this: [code] var$="This is my var ".$my_var." at line 1"; [/code] If this isn't enough than have a look … | |
Hello everybody, I hope this is the right forum to post my question. It's a bit "in-between". I am about to write an updater for a programme of mine. The updater downloads an update-file from my server that has packed all files I want to replace and executes a simple … | |
Re: code 1 (The HTML-Form): [code] <form action="code_2.php" method=post> <select name="phonenumber"> <option>Nb1</option> <option>Nb2</option> ... </select> <input type=submit> </form> [/code] Code 2 (Selecting the Values in PHP): [code] <? $phonenumber=$_REQUEST["phonenumber"]; $res=mysql_query("SELECT * FROM `table` WHERE `PhoneNumber`='".$phonenumber); ?> [/code] | |
Re: If the game's using TCP/IP or UDP for LAN/Internet-connection then it's not a problem at all to combine multiple platforms and consoles. Even the code has not to be different. The only fuss would be to implement TCP/UDP on all platforms and that is definately differnet when accessing the OS-specific … | |
Re: I hope I got it as well, but I'll give it a try: When dividing a number with DIV then it returns the result in AX and the modulo in DX. Communicating with a microchip can easily be done via the RS-232 (COM) Port. Have a look in you OS-environment … | |
Re: It means that you didn't open your DB correctly. I can't tell you exactly as you haven't posted the code which calls the function db_getrows(). Have a look there and make sure that the handle you're passing the function s correct. | |
Re: as simple as this: [code] <? //Getting the current day: $today=date("d"); //String for the dropdown... $dropstring="<select>"; for($x=1;$x<=31;$x++){ $c=""; if($x==$today)$c=" selected"; $dropstring.="<option value=\"".$x."\"".$c.">".$x."</option>"; } $dropstring.="</select>"; echo $dropstring; ?> [/code] This should work, even though I haven't tested. If you find an error it must be something like missing ; or bracket. … | |
Re: get this book from amazon.com. It's really worth it. I learned assembly with it as well: [url]http://www.amazon.com/Assembly-Language-Step-step-Programming/dp/0471375233/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1216222573&sr=8-1[/url] nasm is my assembler of choice. It's free, fast, efficient and widespread on all OS so that you always find people who are familiar with it. YOu can find it here: [url]http://nasm.sourceforge.net/[/url] Quite … | |
Re: ????? I don't get your problem. You say you get an error, when you upload more than 1MB and write in your code [code]if ($_POST['MAX_FILE_SIZE'] >= $_FILES['file']['size']) {[/code] By the way: hidden textboxes are bad style anyway. Why don't you just define the maximal size directly in addphoto.php? | |
Re: ORG just leaves empty space before the assembled hex. So if you just code your stuff in NASM and then later want to place your C-code before, your can use the DOS-Funktion copy (cp in UNIX?). This function merges two files (your c-bin and your asm-bin). You don't have to … | |
Re: It does depend on the server you are using. I don't know if you can access gmail or hotmail but if you have a server running it should work. At least with my provider. | |
Re: Just put the file favicon.ico in the directory of that file. | |
Re: Hi, go to php.net and look up these two functions: date() and mktime(). The first one gets you all information that you need about a specific day and mktime creates you the unix-time-stamp that is needed for date(). When reading the documentation you should get all information you need to … | |
Re: Hi 1) you cannot protect your design from being copied. This is the soul of open-source (which has mainly developed the internet). a) There are a few stupid tricks out in the web that propose to write something like "<!--End of page--!>" quite at the beginning of your page to … | |
Re: [url]http://www.oracle.com/technology/tech/php/index.html[/url] Download the source/bin and recompile your php (maybe even your apache). Should work then - but don't ask me how to access it the database. Guess it works much different to mysql. If you think it's too much work then think about exporting your oracle-DB to MySQL. | |
Re: Nothing is missing apart from a good browser. Things about graphics in HTML (unless you messed around with tables of CSS) are nothing that you but the user have to worry about. The problem is the following: A video is displayed by a plug-in and firefox grap the buffer from … | |
Re: Very simple reason: When you use mov bp,#mymsg you load the pointer to that string into bp. Use MOV BP,[#mymsg] instead. For the looping see PM. | |
Re: Hi, this is my personal opinion: reading otherone scripts is the hell on earth. Before I try to understand someones logic I programmed everything myself a dozen of times. What you could do is: Use the script that covers most of your project and then rewrite the stuff that you … | |
Re: could you post the html-source of your browser? that may help other users to grasp the problem. Cheers Simon | |
Re: ??? When you access and search through a file you need a pointer anyway. [code]MOV AL,[file+EBX][/code] So write a routine that compares a string and a string (file) with an offset. [code];ESI: string1 ;EDI: string2 PUSH EBX MOV ECX,string1length cmp_loop: MOV AL,[ESI+EBX] MOV AH,[EDI+EDX] CMP AL,AH JNE cmp_false LOOP cmploop … | |
Re: Of course you can. Basically everthing ist possible with PHP, even complicated stuff when you extend it with system-specific functions. Things that generally cannot be solved in PHP: - JAVA (Chat, Games) - Flash (Animations, Games) - JavaScript (Eventhandling and Website-manipulation) | |
Re: HTTP doesn't transfer any information about the form, because the website generates the code itself. I believe that the tag "name" was added with JavaScript to access these field in JS. But what do you need it for? The only thing I can imagine is one of these phishers or … | |
Re: [QUOTE=webwareshop;620466]Hello All, I have a chat friend online who said to me that if I don't know java or .Net then my web design will not make me money. I know how to program in php, asp html etc and willing to learn more as knowledge has no age limit. … | |
Re: Proberbly you don't have access to the PHP.ini. If you just want to hide a file you can put it into a directory with a .htpasswd (a 403 pops up) and then read these files with PHP, eg [code] echo readfile("./forbidden/test.html"); [/code] | |
Re: I also learned Assembly years before I started really using C. C is still for me the language that I struggle most with. What I don't like about C is: - type-casting - pointers - platform specific code These three points are much, much easier in ASM, because the assembler … | |
Re: Why should the user see the password when you access the data via PHP? Do you want to thank thet website by writing "Data from ...&password=unknown"? If not then the user doesn't see anything at all. The PHP-Script on x2.com only needs to say "okay" or "incorrect". When accessing "okay" … | |
Re: Personally, I haven't. But I am interested in writing USB-programmes as well. A very good place to start is usb.org. It is the official website for the USB-interface and provides many useful information and documentation. If you have you first successful code, please let me know. Regards Simon | |
Re: the simpliest way that I can find right now is saving each occurance of a char in a new array. Basically like this: [code] string DB 'Hello Demonoid2008!",$ yourloop: XOR EAX,EAX MOV Al,[string+EBX] ;reads char MOV BL,[array+EAX] ;reads how ofter char occured till now... INC BL ;and increments it 'cause … | |
Re: Put a variable in the form-element say [code]<form action="save.php?mode=edit">[/code] In save.php you just have to distinguish between a new post (mode=="") and an update (mode=="edit"). | |
Re: You can try to access the server directly: [url]http://de3.php.net/manual/en/book.ftp.php[/url]. You better try it with a sample code because many server are restricted. Once you have the data, it shouldn't be a problem for you to import the stuff into your database. | |
Re: Of course it is. You have to write your own lib with functions for in- and output. It just is quite a fuss. Try to google a bit, because C-Compilers can convert the code to assembly. This actually makes the code unreadable (in my opinion) but saves a lot of … | |
Re: You can use any of these registers. The data is stored until you/your generated code that overwrites or chages it by some functionst. eg. [code]MOV EAX,100h ;<- stores 100h in EAX some code here MOV EAX,0 ;<-clears the register XOR EAX,EAX ;<- clears the register as but faster ADD EAX,EBX … | |
Re: I wouldn't do any fuss to look in the net. It takes about two days to programme yourself. 1. Write a cookie/session-login. Write the functions in a smooth lib so that you can be sure that they are working correctly - and if not rewrite them eith ease. 2. Create … | |
Re: FDisk should work. A floppy is a normal FAT32-partition. If not, I believe, you can find good codes for formating disks in FAT. | |
Re: I would solve it a bit different, because some browsers have problems displaying images like this. Write another PHP-File that just outputs the image. Then use [code]<a href="image.php?id=1">[/code] in your first script. I hope that helps. Simon | |
Hello all together, I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter? Here is the script: [CODE]document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.cursor="hand"; … | |
Re: You need a semicolon after the string in echo. eg. [code]echo "<a...>";[/code]. | |
Re: Of course you can. The error ays that the image doesn't exist. Make sure your script is in the same dir as you image, then try to add a "./" at the beginning of image-name. And if all doesn't work, that you could try to delete the image giving the … | |
Re: Use [code]header("Content-Length: ".$filesize($fullpath));[/code] to add the size of your image as well. It then should work. | |
Re: That depends on you browser, of course. In IE (I just can guess) it is stored in Windows\Temp in a normal textfile. Opera saves all cookies in one file but but you can edit the cookies within the settings. Firefox, Safari, Konqueror, etc save the cookies somehow else. But as … | |
Re: First of all, and this is my personal opinion, is assembly much more logical. When fussing around with pointers in C++ I always mess around after a while and don't have a clou which variable stands for. In assembly the compiler (or in this case the assembler) doesn't bother which … | |
![]() | Re: is that programme already running? Guess you have to solve that with C using events. Can't imagine that using the Linux-Kernel/the WinAPI with ASM is done in a few minutes. Win and Linux are sending a kill-signal a soon as the user shutsdown the computer. Don't ask me how you … |
Re: I prefer NASM. It is totally free, has a very good performace and supports the native Intel-Syntax. The code is very clear. Many examples in the internet (and also programmes) are written in the NASM-Syntax, so you don't always have to rewrite the codes you find. Linking can be done … |
The End.