Showing results 1 to 40 of 42
Search took 0.01 seconds.
Posts Made By: sickly_man
Forum: Assembly Apr 22nd, 2008
Replies: 0
Views: 621
Posted By sickly_man
prompt the user to change background and foreground

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: 610
Posted By sickly_man
Re: comparing return values of subroutines

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: 610
Posted By sickly_man
Re: comparing return values of subroutines

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: 610
Posted By sickly_man
comparing return values of subroutines

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: 3,731
Posted By sickly_man
Re: Government Labels I like To See

you sure bout that one buddy?
Forum: Geeks' Lounge Oct 3rd, 2007
Replies: 6
Views: 665
Posted By sickly_man
Re: Minigolf

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: 286
Views: 15,257
Posted By sickly_man
Forum: Perl Oct 3rd, 2007
Replies: 8
Views: 1,722
Posted By sickly_man
Re: getting form elements to write to a file

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: 1,722
Posted By sickly_man
Re: getting form elements to write to a file

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: 1,722
Posted By sickly_man
Re: getting form elements to write to a file

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: 1,722
Posted By sickly_man
Re: getting form elements to write to a file

#!/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: 1,722
Posted By sickly_man
getting form elements to write to a file

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: 488
Posted By sickly_man
Re: is it possible to store a query?

i got this already but thank you....i went with storing it in a session.
Forum: PHP Jul 23rd, 2007
Replies: 4
Views: 676
Posted By sickly_man
Re: storing a query for later use

ok thanks a lot i've got it now.
Forum: PHP Jul 23rd, 2007
Replies: 4
Views: 676
Posted By sickly_man
Re: storing a query for later use

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: 488
Posted By sickly_man
is it possible to store a query?

is it possible to store a query globally? if so, how can this be done? thanks.
Forum: PHP Jul 23rd, 2007
Replies: 4
Views: 676
Posted By sickly_man
storing a query for later use

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: 578
Posted By sickly_man
Forum: PHP Jul 20th, 2007
Replies: 16
Views: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

also, can you help with my other thread? its near the top of this forum.
Forum: PHP Jul 20th, 2007
Replies: 16
Views: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

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: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

thanks that worked perfectly.
Forum: PHP Jul 20th, 2007
Replies: 16
Views: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

and that will grab the value from the URL and pass it to the variable?
Forum: PHP Jul 20th, 2007
Replies: 2
Views: 578
Posted By sickly_man
displaying next 3 rows of query results

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: 4,092
Posted By sickly_man
Forum: PHP Jul 19th, 2007
Replies: 16
Views: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

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: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

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: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

$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: 4,092
Posted By sickly_man
Re: using foreach with multi-dimensional arrays

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)

please...
Forum: PHP Jul 19th, 2007
Replies: 16
Views: 4,092
Posted By sickly_man
using foreach with multi-dimensional arrays

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,158
Posted By sickly_man
Re: getting user info

ok. some of what you said was helpful.....so thanks dude/dudette!
Forum: PHP Jul 5th, 2007
Replies: 11
Views: 1,158
Posted By sickly_man
Re: getting user info

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,158
Posted By sickly_man
Re: getting user info

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,158
Posted By sickly_man
Re: getting user info

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,158
Posted By sickly_man
Re: getting user info

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,158
Posted By sickly_man
getting user info

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: 1,500
Posted By sickly_man
printing to the screen after using fopen()

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: 2,652
Posted By sickly_man
Forum: PHP Jun 26th, 2007
Replies: 7
Views: 2,652
Posted By sickly_man
Re: retrieving a single cell of data from a MySQL database

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: 2,652
Posted By sickly_man
Re: retrieving a single cell of data from a MySQL database

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: 2,652
Posted By sickly_man
retrieving a single cell of data from a MySQL database

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...
Showing results 1 to 40 of 42

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:24 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC