Forum: Assembly Apr 22nd, 2008 |
| Replies: 0 Views: 1,513 hello everybody. the project im working on asks me to propmt the user once to change the background color and once to change the foreground (text) color. right now my program prompts the user...but... |
Forum: Assembly Apr 22nd, 2008 |
| Replies: 4 Views: 958 Ok so let me get this straight because I want to be clear on this. Does Assembly automatically put all return values of subroutines in AX, or do I have to put it in AX manually with a MOV... |
Forum: Assembly Apr 21st, 2008 |
| Replies: 4 Views: 958 so i cant actually return a number like in C or C++? in other words, the RETURN statement in my get_fore and get_back subroutines is incorrect/illegal? so i guess i will have to put these values in... |
Forum: Assembly Apr 21st, 2008 |
| Replies: 4 Views: 958 hey everybody. i've got what might be a simple question about return values of subroutines in assembly. okay here goes.
say i've got a subroutine that under normal conditions will do a normal... |
Forum: Geeks' Lounge Oct 11th, 2007 |
| Replies: 62 Views: 5,717 you sure bout that one buddy? |
Forum: Geeks' Lounge Oct 3rd, 2007 |
| Replies: 6 Views: 916 i've been to both pirate's cove and thunder falls in cape cod. great minigolf courses! as i remember thunder falls was a much more difficult course than pirate's cove. |
Forum: Geeks' Lounge Oct 3rd, 2007 |
| Replies: 287 Views: 22,290 |
Forum: Perl Oct 3rd, 2007 |
| Replies: 8 Views: 2,575 thank you for your help that bit of code works great. i still would like to know what is so bad about the other code i was using.....you said it was insecure. what makes it insecure? i guess my... |
Forum: Perl Oct 2nd, 2007 |
| Replies: 8 Views: 2,575 well i was using that because it was a fast and easy way to get all the form elements into a string delimited by a '|' character. u keep saying its terrible code.....but why is it terrible code?... |
Forum: Perl Oct 2nd, 2007 |
| Replies: 8 Views: 2,575 i am fairly new to perl. can you explain what you mean by this?
"why are you mixing that terrible form parsing code in with CGI anyway? Use the CGI module to get all the form data, don't mix it... |
Forum: Perl Oct 2nd, 2007 |
| Replies: 8 Views: 2,575 #!/usr/local/bin/perl
# Simple Email Function
# ($to, $from, $subject, $message)
sub sendEmail
{
my ($to, $from, $subject, $message) = @_;
my $sendmail = '/usr/lib/sendmail';
open(MAIL,... |
Forum: Perl Oct 2nd, 2007 |
| Replies: 8 Views: 2,575 whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form... |
Forum: PHP Jul 23rd, 2007 |
| Replies: 2 Views: 737 i got this already but thank you....i went with storing it in a session. |
Forum: PHP Jul 23rd, 2007 |
| Replies: 4 Views: 969 ok thanks a lot i've got it now. |
Forum: PHP Jul 23rd, 2007 |
| Replies: 4 Views: 969 ok. can i store the entire query in $_SESSION[]? how can i store those values in $_SESSION[]? im a big time newbie so i relaly appreciate the help. |
Forum: PHP Jul 23rd, 2007 |
| Replies: 2 Views: 737 is it possible to store a query globally? if so, how can this be done? thanks. |
Forum: PHP Jul 23rd, 2007 |
| Replies: 4 Views: 969 good morning everyone. i have pretty much correctly implemented a browsing function to look at table information 3 rows at a time. here's the problem: my front end builds the search query from... |
Forum: PHP Jul 20th, 2007 |
| Replies: 2 Views: 845 |
Forum: PHP Jul 20th, 2007 |
| Replies: 16 Views: 8,027 also, can you help with my other thread? its near the top of this forum. |
Forum: PHP Jul 20th, 2007 |
| Replies: 16 Views: 8,027 the actual code from the book didnt have register_globals turned on, but i think that is the default setting for the vbersion on php that i'm using. that is a config file setting, right? |
Forum: PHP Jul 20th, 2007 |
| Replies: 16 Views: 8,027 thanks that worked perfectly. |
Forum: PHP Jul 20th, 2007 |
| Replies: 16 Views: 8,027 and that will grab the value from the URL and pass it to the variable? |
Forum: PHP Jul 20th, 2007 |
| Replies: 2 Views: 845 i've got a front end that upon the user entering criteria it displays the 1st 3 records that match that criteria. is there an easy, or somewhat easy way to display the next 3 records? and possibly... |
Forum: PHP Jul 20th, 2007 |
| Replies: 16 Views: 8,027 |
Forum: PHP Jul 19th, 2007 |
| Replies: 16 Views: 8,027 it looks like this
http://gothics.aanet.org/~henry/display_all.php?offset=20
but its not getting that value into the variable $offset (in the file the function is called from). heres the code... |
Forum: PHP Jul 19th, 2007 |
| Replies: 16 Views: 8,027 ok i figured this out. i was being an idiot and didnt realize that the file that calls the function wasn't the right copy. haha. now i have a different problem tho. i can't get the Next link to... |
Forum: PHP Jul 19th, 2007 |
| Replies: 16 Views: 8,027 $header is assigned in a different php file, the file from which it is called.....this may be part of the problem, in that it's not recognizing it as an array after it's passed to the function... |
Forum: PHP Jul 19th, 2007 |
| Replies: 16 Views: 8,027 i dont think so because both errors refer to the first line of the foreach statement.
foreach ($header as $element)
and the other one which is the same
foreach ($header as $element)
... |
Forum: PHP Jul 19th, 2007 |
| Replies: 16 Views: 8,027 whats up everybody? im using the Web Database Applications: with PHP and MySQL book and tried to modify their generic browse function to make a front-end that looks at a table 20 records at a time.... |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 ok. some of what you said was helpful.....so thanks dude/dudette! |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 i really dont wanna do that because when the user is using my IP database front end they will already have logged in to the server (//gothics). im asking how i can get that information that they've... |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 ok i think i understand the second part of what you said. but how do i post the php control data (txtusername, txtpassword) to my php page? i really am new to php and appreciate all the help. |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 ok. they will only be using my front end if they've logged in successfully, so we can assume that all logins were successful. how would i go about doing that? thanks!! |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 no. everyone in my office (like 9 people total) has a Unix username they have to use to log into our company website. the website has stuff like a calendar of events, technical info, various forms... |
Forum: PHP Jul 5th, 2007 |
| Replies: 11 Views: 1,819 hello all. i am writing a php / mysql script that does various things, but in addition to those things i need it to get the username of whoever is using the front end. any help is greatly... |
Forum: PHP Jul 3rd, 2007 |
| Replies: 1 Views: 2,872 i am opening a file using fopen() and that works fine. from there i want to print out the contents of the file....cant seem to get it to work. here's what i've tried so far.
$file =... |
Forum: PHP Jun 28th, 2007 |
| Replies: 7 Views: 4,641 |
Forum: PHP Jun 26th, 2007 |
| Replies: 7 Views: 4,641 i should be a little more specific. i can get to the point where i have the $result array that has the results of that query we were talking about.
// run the query on the connection
if... |
Forum: PHP Jun 26th, 2007 |
| Replies: 7 Views: 4,641 SELECT ip_id FROM test WHERE network = '10.0.0.1'
so i've got that much already....what i need to do is query the database and get that ip_id number into a php variable or an html hidden input... |
Forum: PHP Jun 25th, 2007 |
| Replies: 7 Views: 4,641 Is it possible to retrieve one cell of data from a MySQL database? I need to put the ID from one row of a table into a php variable so that I can recall the correct row later on for editing... |