- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
26 Posted Topics
im trying to make my own kernel.... my kernel is loaded through grub... i tried creating the gdt and idt for myself... i dont know how to test the gdt and as far as the idt is concerned it failed to capture the division by zero error ... source code …
for debugging in such situations, i always do [CODE] $sql = " whatever query ".$var; echo $sql; die(); [/CODE] now what you can do is see the query, copy it into the mysql console or wherever you wish...and run it from there...this will precisely tell you the error ... i …
im not sure what you are tryin to do with the code...but your sql query is not getting executed any where.... [CODE]$sql = "select * from something"; $res = mysql_query($sql); $row = mysql_fetch_row($res); $img_src = $row[1];[/CODE] you code should be something like this ...
i am tryin to create an app that should make my cellphone work as a webcam ... there are softwres like smart cam for that... also there is an app like mycam that lets you use a gif and create a vistual cam ... i want to know how an …
im trying to replicate the screen contens in my application .. i need a certain area of the screen to be drawn in my app...although this code works fine, its very very slow...takes more than 20 seconds with inferior quality and around 30-40 with best quality... is there a quicker …
when i write import win32print in my python command line (IDLE) it works fine and it is imported... but when i write import win32print in my py file then it gives an error says no module named win32print why am i not able to load the module when writing the …
the win api doesnt provide a method to read the actual data being sent...does everything else though...
i am trying to implement a simple keylogger... my code works fine and is able to detect simple keystrokes.... the problem that im experiencing is that whenever a key is pressed it remains pressed forever even after i release the key unless i press some key again...and if i try …
im new to cgi scripting...im using python...and ubuntu... i changed apache2's default file to set the cgi directory to /var/www/cgi-bin...and there i i uploaded my simple cgi file...the cgi file runs perfectly fine when run through terminal...which means there is no error...but when i try to access it through a …
hello im new to linux programming and i am experiencing a bit of diffuclty with pthreads...basically the pthread_create() function in my code below i tend to pass an integer variable as the argument for my runner() function but i get a warning and an error..i have tried several ways of …
i need to convert an image to ascii text so that the image is still visible somethigng like [URL="http://asciiconvert.com/"]http://asciiconvert.com/[/URL] any ideas as to how i can go about it ?
not reversible... you could allow the user to change the password though on forget password !
html/css php/mysql ... and a bit of javascript/jquery should do the job for a perfect site ... dont forget ajax
this will help you count the no of rows returned..use this method to fix the problem of next pge [URL="http://php.net/manual/en/function.mysql-num-rows.php"]http://php.net/manual/en/function.mysql-num-rows.php[/URL] 2nd why do you have to echo the links when you dont want to show them ? would hiding through javascript solve your problem ?
you have to mke use of the position property of css...position:absolute should do i guess..but try playing with the rest as well ... [URL="http://www.w3schools.com/Css/pr_class_position.asp"]http://www.w3schools.com/Css/pr_class_position.asp[/URL] ...this link might help
strip_tags method in php [URL="http://php.net/manual/en/function.strip-tags.php"]http://php.net/manual/en/function.strip-tags.php[/URL]
you also have the option of using <input type='hidden' name='cust_id' value='{$customer_id}'> nd use this to pass the customer id in pages.. using sessions is a better idea .. but i'd prefer the use of cookies ... !!
well ... if the user manages to upload a php file with .php file extension despite your checking...then you can run a simple script after each upload to check if the upload directory has any php file in it... if found just delete it with your script... else you can …
hey ... im a new member of this community i have started developing python scripts for my phone i made a voice messenger for laptop using pyaudio in python and using sockets to transfer data [CODE] self.pin=pyaudio.PyAudio() streamin=self.pin.open(format=self.format, channels=self.channels, rate=self.rate, output = True, frames_per_buffer = chunk) global wf while 1: …
hey .. i intend to make a bittorent client of my own .. preferably in python ( although im also open to java or C ) .. i have worked in making a download manager but never with p2p connections... i need advice for beginning...as in which modules would help …
if i were you...i would use of some programming language like python or java to use threads and do the job quicker for me...threads is by far the best means of solving this issue that i can think of...yer program running threads could return the result to yer php file... …
yes that is because when you set type=submit...it actualy submits the form contents...a normal button does not "submit" the contents unless an action for it is defined... and having <a href="">Login</a>doesnt make it submit the data either.... if you want to define a normal button like the way you have …
on Windows WAMP server is the best option ... or even if use an IDE for PHP like NuSpherePHP or something...they come bundled with PHPand MYsql too and run their own servers.. best idea is installing wamp though !
[CODE] if(!filter_var($email, FILTER_VALIDATE_EMAIL)) die("not valid"); else die("valid"); [/CODE] this will check for the validity of your email :D and as far as login is concerned..you can use $_SESSION superglobal array to create a very simple login script ( although not very secure but its good for beginners )
here is a quick hack for what i did in my first album ( not the best way to do it though ) you can create a table in your database obviously stores the id of all users... whenever a user uploads an image...you store it in the images folder...and …
The End.
dos_killer