- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
43 Posted Topics
How about showing what you have tried AND/OR an example of your records and in what format they are in.
Try these: [URL="http://www.w3schools.com/js/js_timing.asp"]http://www.w3schools.com/js/js_timing.asp[/URL] [URL="http://www.w3schools.com/jsref/met_win_setinterval.asp"]http://www.w3schools.com/jsref/met_win_setinterval.asp[/URL]
Double posting - [url]http://www.daniweb.com/web-development/php/threads/397000[/url]
Line 80: [CODE]Age = 'ud_age' WHERE Pet_Code =[/CODE] ^Forgot the $ before ud_age Line 74: [CODE]@$ud_p_habitat = $_POST['ud_b_habitat'];[/CODE] You misspelled the key. It's 'ud_p_habitat' Also, why have a @ when those variables need to be set correctly?
This means that those keys - 'senderName' and 'senderMsg' - do not exist in the $_POST array. You have to set the post keys with the name tag in your form. [CODE] <input type="text" name="senderName" /> [/CODE]
What are you using to write this? Notepad ++? [url]http://www.tech-faq.com/cannot-modify-header-information.html[/url] Is there a specific Header line that's failing? Or are all of them making it fail?
I don't exactly get what you are trying to ask. The only question I see is whether windows form application is a good idea to make a hang man game. The other option is a console application or WPF application. WPF is more graphical, and but console could also get …
Just for you? Or for every user? If it's just for you, make an exception in your virus software. If you plan to have others use it too, what files are you creating/deleting? Where are these files saved to?
Use the <div> tag. [CODE] <div style="background-image:url(LINK_TO_IMAGE);width:WIDTH_OF_IMAGE;height:HEIGHT_OF_IMAGE"> <input_here> </div> [/CODE]
Yes, you definitely need checks for bad characters. I see none in the code posted. You should have them in both the $_GET area and the $_COOKIE area. Since both can be modified, you need to clear bad characters. As it is now, it's easily subject to SQL injection...
This might help: [url]http://serghei.net/docs/programming/autobook-1.1/unix2fwindows20portability.html[/url] It is much easier to make different versions of the same program for each OS, but to make a single version appears to be possible, but I haven't never done it and wouldn't try. windows and unix are very different, and make a program to run …
From reading, it looks like you need to run your program as SYSTEM If you go into Taskmanager and look at processes, the "User Name" column needs to say SYSTEM instead of your username.
[code]$result = str_replace ("--","-",$string);[/code] Should remove all if there's 3 in a row: --- It would find the first two [--]- and replace with one: [-]- leaving -- which is then replaced by -
If you have not connected to your database, and as long as nobody knows the password to it/ the password is not easily guessed, it can't harm the database. But, mysql_real_escape_string() is easily used and good practice.
Narrow down your question to the specific area, not the whole page, please. [CODE]<?php echo $editor->display('job_description', ($this->job_post->description == '')? '<p> </p>' : htmlspecialchars($this->job_post->description, ENT_QUOTES), '480', '850', '60', '20', true); ?>[/CODE] Remove htmlspecialchars() and see if that works.
Get the scores into an array, and use array.sort() You could also use List
It looks like you're setting every item to have the same name: "name=item" You need to make each item have its own unique name (I usually use the item ID #) You currently have all items with the same name, making the POST use only the last one.
[url]http://www.google.com/images?hl=en&q=test%20search%20hi[/url] test%20search%20hi is the search "encoded" You can use javascript to encode the search: encode("test search hi") Or php: urlencode("test search hi") then just add the encoded to the end of "http://www.google.com/images?hl=en&q="
Nobody wants to download stuff... try to narrow down where the issue is, and post the html and css sections/files please.
Why not "log out" of the default user and then "login" to the admin account. End the default session just like you're logging out of a regular account, and then have it login to the admin account right after.
What you want to look into is XMLhttprequest objects with javascript. Basically have a php script in a separate file that gets the new page views and echos the new number, and the xmlhttprequest object will load that page, and store the output in object.responseText Then just change the page …
yes, cols="" and rows="" in textarea boxes will also make it bigger. CSS is what most use to change input sizes though.
Email Reminder? So emailing at a certain time? You'd need to run a cron job if you want the server to do it at at specific time. Just make a PHP file that will send the email, and set the cron job to run it. If your server host doesn't …
If c starts in the same place always, int[0][2] in the example given, then keep two ints x = 0, y = 2. if c == startPos[x][y-1] then y=y-1. Now startPos[x][y] is the previous value, 4 in the example given. Is that what you're asking?
Ask someone their password, and then after they type it, ask them again? :D
[url]http://www.beesync.com/packetx/docs/html/examples.html[/url] Have you looked at these? An alternative to this would be to hook the send/recv functions of the program via dll injection or createremotethread.
HWND hwndDC = FindWindow(0,"Dransik (c)opyright 2010 Iron Will Games, LLC."); Do you have spy++ or winspector(free)? Use one of those and see if the Class Name or Text is right. DOes hwndDC even come out to be something? Or does it stay equal to zero? If it stays zero you …
For "portability", if you plan to add directories later on, you could put them in a file that you can change without the need to re-build. [CODE]void function() { String dirlist = File.ReadAllText("ToDelete.txt"); char[] nl = Environment.NewLine.ToCharArray(); String[] dirs = dirlist.Split(nl); DeleteDirectories(dirs); } public void DeleteDirectories(String[] directories) { foreach (String …
For files, there is the owner, last access, etc... When the filesystemwatch goes off, you can get those values using windows api's If I remember correctly filesystemwatch should also tell you what happened to the file For who was working with it... You can tell who created it by looking …
[url]http://stackoverflow.com/questions/203912/does-python-support-multiprocessor-multicore-programming[/url] I haven't really gone into any python, but threading does operations side by side. So, researching threads with python would be a start...
What exactly are you asking? What are you having trouble with?
So assuming you have an array of all processes, in your foreach [CODE]foreach(Process p in processes) { string path = p.MainModule.FileName; }[/CODE]
split each line by space, into an array. MY NAME IS MIKE etc.. Then do a foreach word, see if any of your names in your names array matches, and if so, make the first letter uppercase. For periods, split the original line again by ". " and then make …
"System::EventArgs^ e" the var, e, is the event arguments. int x = e.X; int y = e.Y; should get the x,y coordinates relative to the screen. No extra headers needed I believe...
document.form <- form points to name="form" which was missing [code]<script language="javascript" type="text/javascript"> var myTime = "20"; function countDown() { document.form.seconds.value = myTime; if (myTime == 0) { location.href="trivia1.php"; } else if (myTime > 0) { myTime--; setTimeout("countDown()",1000); } } </script> <body onload="countDown();"> <form name="form"> Time Left: <input type="text" name="seconds" size="3"> …
[CODE]<script language="javascript" type="text/javascript"> var myTime = "20"; function countDown() { document.form.seconds.value = myTime; if (myTime == 0) { location.href="trivia1.php"; } else if (myTime > 0) { myTime--; setTimeout("countDown()",1000); } } </script> <body onload="countDown();"> <form name="form"> Time Left: <input type="text" name="seconds" size="3"> </form> </body>[/CODE]
If you can't click the link provided and scroll down, here's the code it gives on emailing attachments(stripped of comments): [CODE]<?php $to = '[email protected]'; $subject = 'Test email with attachment'; $random_hash = md5(date('r', time())); $headers = "From: [email protected]\r\nReply-To: [email protected]"; $headers .= "\r\nContent-Type: multipart/mixed; boundary=\"PHP-mixed-".$random_hash."\""; $attachment = chunk_split(base64_encode(file_get_contents('attachment.zip'))); ob_start(); ?> --PHP-mixed-<?php …
Post any code that you have?
C# has a media player control that you can just drag onto your form [url]http://msdn.microsoft.com/en-us/library/dd564582(v=VS.85).aspx[/url] You don't need to be able to see it, you can just use it to play media files and make your own set of controls to control the media player control.
<textarea> can only contain plain text. No code or images. What is the point of this textarea? Are you doing it with only HTML or is PHP an option? From the "<form name='statusUpdate'..." it looks like this will be displayed on a page? If that's the case, use what all …
I just did this a few days ago... You deleted the partition with the actual GRUB installation on it. I could not find a way to get it back, so I ended up clearing the whole thing off. Just live-boot an OS, copy all your needed files, and then fresh …
I need to create a program that monitors incoming packets to a certain process. Each incoming packet needs to be searched for a string of hex (eg. "FF 00 00 03") and modified to be null (eg. 00 00 00 00). Or, if it's easier, to just completely block the …
[url]http://fedoraforum.org/forum/showthread.php?t=245738[/url] This might help I don't know if ubuntu is any different with GRUB, but I have ubuntu and this is what I did: Get the startup Manager Application Assuming this is the GRUB bootloader Boot ubuntu, and type: "sudo gedit /boot/grub/grub.cfg" into the console(no quotes) (enter password) You should …
The End.
makman99