Search found 518 matches

Actual Results

Post Posted: January 14th, 2010, 6:18 pm

from What is PHP's mysqli Extension? The mysqli extension, or as it is sometimes known, the MySQL improved extension, was developed to take advantage of new features found in MySQL systems versions 4.1.3 and newer. The mysqli extension is included with PHP versions 5 and later. The mysqli ex...

Post Posted: January 14th, 2010, 6:17 pm

How can I automate the 1:1 copy of cd/dvd media without needing any other user input other than detection of source and blank media in appropriate slots? Task description Place a cd/dvd in drive A, and a blank cd/dvd in drive B, and upon detection, a 1 to 1 copy is automatically started, and upon co...

Post Posted: January 12th, 2009, 5:11 pm

I want to allow a user of my c# application (not web, standalone) to be able to save certain data that's accessible later. What method can I use to save such information? Is there another way besides a database like a data file? If so, what format and how to delimit it? Does visual c# express have a...

Post Posted: October 23rd, 2008, 11:41 pm

hehe, thanks Polish, I found that exact same article...too bad I can't seem to get it to work properly.

But I do appreciate you trying, so thanks much for that!

Post Posted: October 23rd, 2008, 6:10 pm Will give you some idea about what punchout is. And although cookies are not a requirement per se, it is how most ecommerce sites function that are punchout enabled. My question is much simpler though, because the "why I need it?" question is proba...

Post Posted: October 22nd, 2008, 8:39 am

Instead of determining it's none of my concern, you might want to ask first, in case there was something you didn't think about. There are websites out there that require legitimate 3rd party cookies placed on the website, such as for eProcurement systems, SAP, Punchout, etc. If the client's browser...

Post Posted: October 21st, 2008, 10:32 pm

How can I check if 3rd party cookies are enabled on the clients browser who is visiting my website?

Checking if cookies are enabled isn't too hard, but I want to check for 3rd party cookies specifically.

ASP or Javascript preferred.


Post Posted: May 30th, 2008, 3:40 pm

Your question is so jumbled up, i have no clue what you're posting at this point...maybe try to clarify it if it's important.

Post Posted: May 30th, 2008, 2:49 pm

Also take a look at your multiple nested while loops. You have some parenthetical issues there, not to mention the logical/complexity issues.

Post Posted: May 30th, 2008, 2:33 pm

A quick DELETE query will take care of the database.
Code: [ Select ]
DELETE from table_name where id=1
The filesystem deletion would require the directory to be CHMOD to 777 and then do a quick check if file exists and delete if so: [php]if(file_exists(<<file>>) { unlink(<<file>>...

Post Posted: May 28th, 2008, 12:20 pm

Or, one can use Python and the last comma issue is dealt with by virtue of a great programming language.

Post Posted: May 23rd, 2008, 2:19 pm

../ takes you back a dir, ../../ takes you back 2 dirs. ./ is current dir.

Post Posted: April 24th, 2008, 5:17 pm

i'm looking for a way to recover files from a hard drive that i have formatted. I tried using active undelete, and it works but only on certain file types. I'm looking to recover *.dv files which I believe is the extension of a movie file when you capture it from a digital video camera using adobe p...

Post Posted: April 5th, 2008, 2:41 pm

I actuall had to write it in ASP not PHP, so I used base validation and DNS validation...

followed here

Post Posted: April 5th, 2008, 12:51 pm

Nice, thanks neksus.

By the way, I never wanted your code, just the idea behind how it woudl be done. I can code it myself.

Post Posted: April 4th, 2008, 5:32 pm

So what is the way?

Post Posted: April 4th, 2008, 1:52 pm

Can't do that because of the fact that the forms are for anonymous people, not required to join or be a member or anything like that.

Captcha is it I think.

Thanks again.

Post Posted: April 4th, 2008, 1:43 pm

Yeah, that might be the best way to go.

If there are any other suggestions, please let me know. Or else, I'll go with the Captcha idea.


Post Posted: April 4th, 2008, 1:36 pm

if you preg_match, all it does it validates the format, so a would do just fine.

I'm getting random emails from random people with BS information on the forms...I need to stop that from happening.

Post Posted: April 4th, 2008, 1:18 pm

Quite urgent...any help please?

Post Posted: April 4th, 2008, 11:40 am

What is the best way to validate an email address being submitted in a form? I already have the javascript portion of it for syntactical purposes. Now I need to know how I can validate the email actually exists or not. SMTP validation I assume, but from what I read, that's a very slow process. Any s...

Post Posted: April 2nd, 2008, 7:29 pm

Understood. Thanks joe.

I thought there may have been a more efficient way. Guess not.

Post Posted: April 2nd, 2008, 5:09 pm

Well, that's exactly my query example I gave above :D

what i'm looking for is something like..

Code: [ Select ]
UPDATE 'table' set field_name = replace(field_name,'search_value','replace_value') IF live_link(search_value));

where live_link would be a PHP function return true or false, etc.

Post Posted: April 2nd, 2008, 4:37 pm

That would reuqire me to run 2 queries, one for retrieving the URL, checking if it's live or not, and then UPDATING or not accordingly.

Is it possible to do in 1 query?

remember: search_value IS the URL we're checking to see if it's live or not.

Post Posted: April 2nd, 2008, 4:02 pm

Hi, I want to run a REPLACE query, like this:
Code: [ Select ]
UPDATE `table` set field_name = replace(field_name,'search_value','replace_value') where id=\"$id\"";
But I want to also check and see if the search_value that's found is a live link. How can I do this using one query? Please ...

Post Posted: April 2nd, 2008, 2:36 am

I wrote a PHP script that goes through the mysql database of vbulletin and modifies the posts as I wish. The only problem I'm having is that, even though the post is actually being modified correctly, it's not being displayed. The interesting part is that when I click on 'edit' on the post, I'm able...

Post Posted: March 17th, 2008, 11:08 am

Try placing the "Thank you" text in a DIV on it's own and give it the correct positioning values.

Post Posted: March 16th, 2008, 1:00 pm

You can use
Code: [ Select ]

if you need to further simplify, you can use substr() -- just google if it needed.

Post Posted: March 16th, 2008, 12:39 pm

Also, might be a good idea to output $count right after
Code: [ Select ]
$count = mysql_num_rows($result);
but before the if statement, to see what the value is at that point.

Post Posted: March 16th, 2008, 12:16 pm

Your link isn't working, but I think this should fix it: edit: also make sure your database connection is correct as far as syntax and credentials. [php] <?php $output = ''; mysql_select_db($database_*****, $******); $xHeadings = mysql_query("SELECT category_Name FROM tbl_prdtcategories &quo...

Post Posted: March 16th, 2008, 12:08 pm

I suppose nothing is in your database currently?

Post Posted: March 5th, 2008, 2:14 am

if both servers are in the same network, will it work with that address? if not, i suppose i need the particular ip for that server, right? The number they gave you is an internal IP address within that network. If both servers are on the same network, use the internal addresses, else us...

Post Posted: February 25th, 2008, 4:49 pm

When i run the above script, it runs through 6 times, the first 5 alerts i get $NAN returned then the 6th Alert i get the right answer =$52.
How do i get the 6th answer without the first 5 incorrect ones?

Instead of alerting twice in the for loop, alert once outside of the for loop.

Post Posted: February 24th, 2008, 3:08 pm

Here is your main issue.

Code: [ Select ]
$data= "while($info = mysql_fetch_array( $data ))";

Read here:

Post Posted: February 24th, 2008, 1:24 pm

I haven't really "chosen" any language, because I simply code in whatever language my clients' systems require. PHP is very similar to c++ or java in syntax, that's 1 reason many people use it. The other reason is because it is the most universal. 99% of webservers are unix based and have ...

Post Posted: February 24th, 2008, 1:20 pm

Not sure if Java has a built in Linked List method or something, but in theory, linked lists aren't like arrays, they don't have any index.

Instead, they use nodes which contain the value of the element and also a pointer/reference to the next element in the list.

Post Posted: February 24th, 2008, 1:17 pm

For debugging purposes, try something like:

Code: [ Select ]

instead of

Code: [ Select ]

see if that works, if it does, then you know where your issue is (the randomization)

Post Posted: September 18th, 2007, 12:05 pm


How can I get a value inputted into a text field in a HTML form to become the value of a Hidden form element on the same form?

Thanks in advance!

Post Posted: September 11th, 2007, 8:09 am

You can use ASP <% Response.Write("<input type="text" value='" & Date & "'>") %>

or PHP in the same way just php syntax which is simple, use the Date() function there as well.

I'll let you figure that one out...

Post Posted: May 16th, 2007, 6:57 pm

I agree with Truce here.

Form method would be the cleanest and best way to get around it that spam problem.

But even then - if you use your email address anywhere, it'll probably be sold as a whole to someone else, thus, you already have spam.

Post Posted: May 16th, 2007, 6:54 pm

Ahhh! NIce explanation Truce...thank you for that! I'm always glad to learn something new, so thanks for that... but unfortunately this was a tad too late, and I just ended up purchasing some resizing software called ASPThumb. But, for the future, I will definately keep this post in mind :) thanks a...

Post Posted: May 11th, 2007, 10:58 am

Unfortunately this is not using PHP - its ASP coded on a windows machine.

Post Posted: May 5th, 2007, 1:58 am

Nope, you can't simply change the extension of the file, won't help.

Post Posted: May 5th, 2007, 1:55 am

True, however for me, it is necessary to have the scaling be done automatically.

Post Posted: May 4th, 2007, 2:24 pm

hmm, didn't make any difference here :(

Post Posted: May 4th, 2007, 12:26 pm

I need to scale my product images on my website down by 35% (my images are 100 x 100 pixels) My images are square, so I thought just by doing <img src="" width="65" height="65"> would work, but it doesn't. Well it does, but the images look very bad - some distorti...

Post Posted: April 13th, 2007, 12:01 pm

There are many ways which I shouldn't get into. But the simplest point I was trying to make is that it's possible to get data into your database which you may not want in there unless you do some PHP validations as well.

Post Posted: April 12th, 2007, 12:31 am

I agree with Carnix' points completely. I use both ASP.NET as well as PHP, and they're both great, it's just a matter of what platform you're on, unix based or windows.

Post Posted: April 11th, 2007, 12:06 am

ASP with mysql? I've never seen that before...possible?

Post Posted: April 10th, 2007, 10:54 am

Just remember that if it's very crucial that this data isn't changed, then html restriction is not enough. You must do some more coding in the php file to ensure it is not being entered...but that's only if it's imperative.

Post Posted: April 10th, 2007, 10:50 am

Browse to the script using your browser :P

then, check your email :P

Post Posted: April 10th, 2007, 10:49 am

If you're using windows server, then:

if it's linux then:

Post Posted: December 18th, 2006, 11:31 pm

Usually PO's and such are company specific. All depends on your database structure and whatnot. Or did you man you wanted to start a new database?

Post Posted: December 18th, 2006, 11:29 pm

First of all, what are the errors? Other than that, I don't think this makes any sense, but maybe it's just me: [code] Console.WriteLine("You have {0} minutes of homework for {1}", course1.GetTime(), course1.GetClassName()); Console&#...

Post Posted: December 15th, 2006, 12:49 pm

Yeah, I know that. I meant to explain a way to do it without that built in function.

Post Posted: December 15th, 2006, 10:55 am

I don't know C, but I know C++. In C++ that would be very easy, simply cast that string's 0 position into an `int` type, if there is a difference in them, take the smaller one. If not, then compare the 1st position of the string's.

Post Posted: December 13th, 2006, 5:01 pm

All really depends on what sort of environment he's in, chrooted, etc. He didn't specificy shared hosting, so could be dedicated even. :)

Post Posted: December 13th, 2006, 11:01 am

You said you use "Plesk" for your host? Plesk is a piece of software, not a host.

If you have server access, SSH to your server, and look at the httpd.conf file. There you should see the DocumentRoot of each host, pointing you to the location of your subdomain.

Post Posted: December 13th, 2006, 9:54 am

Write a PHP file that increments a number in an `int` field in a mysql database and then calls the file you want the user to download. Make the 'download' link, the PHP file. Then write another PHP file which will query for you the number in that field in the mysql database which will be the number ...

Post Posted: December 7th, 2006, 11:40 am

Put the following code at the top of the original:

PHP Code: [ Select ]
  header ("Location: $URL");
  2. <?php
  4.   $URL="";
  6.   header ("Location: $URL");
  8. ?>

Post Posted: December 7th, 2006, 11:01 am

That spelling issue might be the problem.

Post Posted: December 6th, 2006, 12:32 pm

1. Use a query string which determines which record to start displaying. 2. Use the query string value in your mysql query to get given amount of records starting at the query string value. 3. Implement the 'previous' and 'next' links on your page using html and php mixed (AJAX could be used here as...

Post Posted: December 5th, 2006, 3:17 pm

I believe you need 2 UPDATE clauses to accomplish the task you are requesting. However, 2 UPDATE clauses doesn't mean 2 queries.

Post Posted: December 5th, 2006, 2:38 pm

Ruby on Rails? Not at all.

Assuming you mean "other forums" that don't belong to you, what you're asking for is considered "taboo" in the internet world. It would be best not to even try this.

Post Posted: December 5th, 2006, 12:48 pm

Get the total number of bytes to be transferred before the transfer, and then update the progress bar according to the percentage that has been transffered.

Post Posted: December 5th, 2006, 12:41 pm

phpmyadmin would be the easiest. mysqldump is another idea

and even better might be mysqlhotcopy ... tcopy.html

Post Posted: December 5th, 2006, 10:54 am

Anything is safe, depends on your layout. Usually 255 characters is standard though.

Post Posted: December 5th, 2006, 10:49 am

ATNO/TW wrote:
I've found sometimes I need to also comment the beginning braces as well as the end

PHP Code: [ Select ]
//begin this thing
}//end this thing.
  1. //begin this thing
  2. {
  3. }//end this thing.

Yes, that's necessary when the code format is not tabbed/indented.

Post Posted: December 5th, 2006, 10:38 am

You can find free scripts at that do just that.

I'd suggest doing it from a temporary host or something, simply because usually when you SPAM like that, your IP address will get black listed.

Post Posted: December 5th, 2006, 10:34 am

I'm glad you got it working. I just spotted your problem I think: [code] SELECT Contacts.Birthdate, Contacts.FirstName, Contacts.LastName FROM Contacts WHERE (Month([Birthday]) Between Month(date()-1) AND Month(date()+1)) AND (D...

Post Posted: December 4th, 2006, 2:14 pm

joebert wrote:
What's the difference between forgetting what a block of code does 6 months from now, and 6 minutes from now ?

5 Months, 29/30 days, 23 hours, 54 minutes, 0 seconds, 0 (split-)^x seconds

Post Posted: November 29th, 2006, 3:45 pm


Post Posted: November 29th, 2006, 3:28 pm

hehehe :)

Post Posted: November 29th, 2006, 12:38 pm

$newVar is a boolean that's being set as 1 if $oldVar is 1 and 0 if $oldVar is anything else.

That's a shorthand If statement with a booleon operator.

Post Posted: November 29th, 2006, 10:47 am

Sam, wouldn't Scheme be good for this project?

Post Posted: November 27th, 2006, 3:40 pm

Starting off Software Programming?

Get a book and learn C++. Your knowledge in "those [other] languages" should make it a bit easier to learn C++. Especially if you know "those" well.

Post Posted: November 27th, 2006, 2:30 pm

lol. i'm going to read both of those and see...

thanks to both of you guys, i'll keep you posted.

thanks again!

Post Posted: November 27th, 2006, 11:42 am


Post Posted: November 21st, 2006, 4:44 pm

How would I POST the raw XML? Usually when I do HTTP posts, i've used variable names for text fields, text area's, etc....not sure where to put the XML so I can post it.

Post Posted: November 21st, 2006, 10:55 am

Hello. One of my clients gave me a URL and said that I should be able to POST an XML script to that URL.

I've never done any POSTS with XML, so can any of you guide me as to how to do such a thing?

I would greatly appreciate it!

Post Posted: November 21st, 2006, 10:50 am

Hi folks, I'm looking for a free photo gallery software that is written in

I found a couple on google, but they weren't that good. Do you guys have any suggestions?

Post Posted: November 20th, 2006, 11:02 am

I'm also confused what you're asking.

But if you mean, is there a way to have no html within an html page, the answer is no :D

But if you want to get rid of only the <br> tag in a form, you can use tables to accomplish that.

Post Posted: November 20th, 2006, 10:57 am

SSI is usually used in online program packages. Like, CMS's, forums, etc. Systems like that require both languages, not just one or the other. My suggestion is for you to start with PHP (because you can do your "include's" only with PHP, no need to have SSI just for that) and then move on ...

Post Posted: November 20th, 2006, 10:53 am

Honestly, I think it makes no difference at all between those 2 versions.

And practically speaking, even if there were a minute difference, it wouldn't really matter at all, because it's not noticeable. I've been using both for a while now, and there's no difference that I can see.

Post Posted: November 20th, 2006, 10:32 am

You can simply use Zend Optimizer, which is being used by many scripts out there. IonCube is another popular one. Only thing is that the server will need to have Zend Optimizer or IonCube installed to be able to read the files. But you know what, even that is not 100% safe. Nothing is :) The bytecod...

Post Posted: November 17th, 2006, 3:36 pm

This doesn't look like a normal php.ini file to me. Not even a custom one.

Post Posted: November 16th, 2006, 5:51 pm

dyefade wrote:
echo "Hello $user_name it's raining today!";

Is that right? I have nowhere to test it...

Yep, that should work.

Code: [ Select ]
echo "Hello " . $user_name . "it's raining today";

Should also work.

So, what about that boinking?

Post Posted: November 15th, 2006, 12:17 pm

What sort of programming are you talking about? Web programming or software programming?

Post Posted: November 13th, 2006, 12:35 pm

Simply to build a form in flash, you don't need PHP nor MySQL. If you're speaking of a mail form, where users fill it out and it get's emailed to you, then that's where you would need PHP ( in this case ). If you want people to, not only email you using the HTML Form, but also save the information i...

Post Posted: November 10th, 2006, 2:09 pm

If you need the users to have full access to the user folders completely, make them chmod 777 The main folder really depends. The script which is creating these folders within the main folder, what permissions does it have? You should be okay with chmod 755 according to my experience. *make sure you...

Post Posted: November 9th, 2006, 9:59 am

ASP and PHP can be used on windows boxes. As long as they're completely separate and aren't dependent on each other. For example, using query strings (i.e file.php?var=1&var2=bla) things get messy when you need to transfer those variables over to the ASP file or vice versa. So as long as the 2 s...

Post Posted: November 8th, 2006, 4:41 pm


Code: [ Select ]
SELECT Cinemas.City, City.City FROM Cinemas
ON Cinemas.City=City.City
  1. SELECT Cinemas.City, City.City FROM Cinemas
  2. INNER JOIN City
  3. ON Cinemas.City=City.City

This will select the data which exists in both tables only.

Post Posted: November 7th, 2006, 3:11 pm

I didn't know dev-c++ was an Operating System.

Post Posted: November 6th, 2006, 4:45 pm

You need to give us more than just a querystring for us to figure out your problem.

Post Posted: November 6th, 2006, 10:04 am

Agreed with Sam. Forget the tutorials.

By the way, why C and not C++? Just curious.

Post Posted: November 6th, 2006, 10:00 am

Well, there's a function Date which you can use, but it will return the date in yyyy-mm-dd order. Yours is switched around.

Post Posted: October 31st, 2006, 3:44 pm

You don't have a semicolon after system("PAUSE")

Post Posted: October 31st, 2006, 2:08 pm

Thanks this123, that helped.

And yep, it is "text" -- I imported data from excel, and excel was set as "number". After the transfer, I switched it to "text".

Anyway, your query worked, so thank you!

Post Posted: October 31st, 2006, 12:56 pm

I have a microsoft access database. One of the fields is a type "text" field and contains zip codes. The Zip codes which started with 0 got truncated. For example, 05437 became 5437. I need to write a sql query that goes and add's the 0 back to the front of each. Can anyone help me with th...

Post Posted: October 25th, 2006, 2:44 pm

if the first turn is the computers turn, then have the function calculating the computer's move and the function to make the move run as soon as the program is ran. right after, have the user input the location of the next mark. as soon as that's done let the calculation functions run, and then imme...

Post Posted: October 12th, 2006, 10:38 am

If you're going to use this code:
PHP Code: [ Select ]
 <? shell_exec('sh'); ?>
Make sure that is in the same directory as the php file you are running. or you can change the code so it points it to the directory where is in, for example: [php] <? shell_exec('/path/to/d...

Post Posted: October 10th, 2006, 1:05 pm

Okay, so when the user goes to you want it to automatically go to in that case, in your index.html file, place the following meta tag: [code] <meta http-equiv="refresh" content="5;url=

Post Posted: October 10th, 2006, 8:39 am


I think what you mean is Response.Redirect(). That is part of ASP, So you can use:

Code: [ Select ]

Post Posted: October 10th, 2006, 8:30 am

edit: ah didn't see that.

Post Posted: October 6th, 2006, 4:04 pm

Your include statement says "/quotes" where the error says "/quote"

Make sure you're pointing to the right directory :)

Post Posted: October 5th, 2006, 1:10 pm

We don't support illegal activities at ozzu. Everything is possible. Let's end it there.

Post Posted: October 4th, 2006, 9:50 am

Well first of all, it seems you're setting your variable within the function parameters.
Code: [ Select ]
function mysql_fetch_array_safe($result, $fetch_array = false)
maybe you should change that to something like: [code] $fetch_array = false; function mysql_fetch_array_safe($result, $fe...

Post Posted: September 25th, 2006, 9:54 am

Solved it.

The Trim() function was needed.

Thanks again.

Post Posted: September 25th, 2006, 9:18 am

I am writing a program in C#. I have a textbox where you input data like
Code: [ Select ]
address:password address2:password2 etc:etc2
My program, splits each line up into 2 and saves address in one variable, and password in a second variable. Later I output them into another textbox. The ...

Post Posted: September 25th, 2006, 8:52 am

I try. I'm glad you got it resolved bud.

Post Posted: September 25th, 2006, 8:20 am

You have to chmod 777 the directory they are in.

So, chmod 777 /home/onlyican/public_html/disabledfriends/friends

Post Posted: September 21st, 2006, 10:54 am

Using what language?

Post Posted: September 21st, 2006, 9:25 am

Well, it should work. I'm thinking your array might have some sort of issue. Try echo-ing the array to debug it. Also, before using an array, I'd make sure it's working with just 1. Set a variable $var = "aksjfksjdfkjdkjkdjf"; Then try: [php] <?php $geocities = file("https://edit.y...

Post Posted: September 20th, 2006, 2:01 pm

Hmm, interesting. Thanks for the clarification :) I appreciate it!

Post Posted: September 20th, 2006, 8:37 am

You can also try:

Code: [ Select ]
SELECT * FROM table_a, table_b WHERE table_a.project_id != table_b.project_id;

Post Posted: September 19th, 2006, 2:01 pm

Where is the code that defines the array $keywords[] and where is $kn set?

Post Posted: September 19th, 2006, 1:50 pm

Nice. Yeah, that's the method not using sockets.

thanks for the reply kenetix :)

Post Posted: September 18th, 2006, 9:23 pm

I guess I was wrong then. Bottom line being that there are multiple ways of doing the aforementioned using C++.

And sam, to answer your question, I'm never tired of Scheme. Always more to learn.

Post Posted: September 18th, 2006, 10:57 am

Yeah, very simple function. C++ let's you write it because there is more than one way to sum the values. Iterative, recursive, etc. Easiest one (for most people) would be the iterative one; the more efficient one being recursive.

Post Posted: September 18th, 2006, 9:58 am

Thanks Rabid, I think this is good enough for me to continue my work.

I appreciate your help.

Post Posted: September 18th, 2006, 9:31 am

Warning: socket_connect() Host lookup failed [-10003]: Unknown server error in /path/to/public_html/sock.php on line 3 Warning: socket_read() unable to read from socket [107]: Transport endpoint is not connected in /path/to/public_html/sock.php on line 4 I get those erros when I do: [php] $socket = ...

Post Posted: September 18th, 2006, 9:13 am

Would using a socket connection be the faster/more efficient method?

If so...I went here,

But it seem those functions won't work for my needs, will they?

Post Posted: September 18th, 2006, 8:54 am

No. It's a personal web project.

I don't need the entire script, just core function or something to give me direction.

Post Posted: September 15th, 2006, 2:39 pm

This needs to go in "Job Opportunities"

Post Posted: September 15th, 2006, 12:51 pm

Hello folks.

I need to write a program, can be in PHP, Perl, Java, or C++, that I input a web URL to the script, and it looks for a specific word on that page, and prints it out to the screen.

Any suggestions?

Thanks in advance for the help!

Post Posted: September 13th, 2006, 11:18 am

There is no need to find your potential clients IP addresses.

When your "sites" email you the data from the forms, you are being emailed from the site's IP address, not the users.

So you would have to restrict the email form to only relay emails coming from your site's IP address.

Post Posted: September 13th, 2006, 11:14 am

I put the php for the mailer in a separate file and called it.

I thought you already had done that. My misunderstanding.

Post Posted: September 13th, 2006, 10:27 am

You can restrict relaying from only certain IP addresses to accomplish that same task.

Post Posted: September 13th, 2006, 9:39 am

Look at this site for some examples. Some free, some paid.

Click Here

Post Posted: September 13th, 2006, 9:30 am

My code is to replace the code that you use when you're "including the form" on other pages.

It's replacing this code that you showed above:

Try my code again, I just made a quick modification.

Post Posted: September 13th, 2006, 8:27 am

Generally the default should go at the bottom of the switch statement. Maybe that's the issue, but I'm not certain. [php] <?php switch($_GET['page']) { case "xxxx": include('p/xxxx.php'); break; case "xxxx": include('p/xxxxx.php'); break; case "xxxx": include('p/xxxx...

Post Posted: September 12th, 2006, 2:58 pm

I was done installing the operating system. Just not the GUI's and everything else I need for a normal everyday OS. I started compiling fluxbox. Had issues. Now i'm trying KDE. Let's see what happens.

My issue mostly is with the USE variable.

Post Posted: September 11th, 2006, 11:49 am

Yeah. I've used reiserfs for my root partition. First time I've used it. I'm really interested to see what the differences are going to be from the ext3 i've used before and NTFS on windows.

thanks again for the clear explanation. I appreciate it! This will be much help.

Post Posted: September 11th, 2006, 11:19 am

I think what stzo wants is to take a character array and convert each of the character in the array into it's integer equivalent and concat those values together. An example of what I think he wants to do: [code] main() { char[2] input='abc'; for(int trav=0;trav < 2;trav+...

Post Posted: September 11th, 2006, 10:42 am

Thanks so much for your reply. I really appreciate it. So to clairfy, do I complete the above steps AFTER I install windows on the machine that currently has gentoo installed? Also. Since gentoo is already installed, how will windows know to install itself on the "unpartitioned" area? Sinc...

Post Posted: September 11th, 2006, 8:19 am

Hello folks. I have Gentoo installed on my hard drive. Partition 1 - Gentoo boot - 100 MB Partition 2 - Gentoo swap - 4096 MB Partition 3 - Gentoo root - 70,000 MB The rest of the hard drive is unpartitioned space ( about 225 GB unpartitioned ) I would like to Install windows on that unpartitioned s...

Post Posted: September 11th, 2006, 8:16 am

Thanks for the reply. Everything went haywire over the weekend so I decided to just use Gentoo as my main operating system instead of windows.

I re-formated my hard drive, and now I'm installing Gentoo on there. Everything works fine now. I got past the point I was getting stuck at using VmWare.

Post Posted: September 8th, 2006, 4:24 pm

Hello folks. I'm trying to install Gentoo on my windows xp pro machine using VmWARE. I go through the installation process 1 by 1 ( tried this about 5 times ) and once everything seems to be installed and I restart, I get the following error during boot up. Block device /dev/sda3 is not a valid root...

Post Posted: September 8th, 2006, 11:11 am

Yep, nmap is probably the best tool for port scanning.

Post Posted: September 6th, 2006, 1:16 pm

Nice lookout, but it tells you also in the error message that there is an extra &.

Post Posted: July 28th, 2006, 10:15 am

It's basically a shorthand version of writing code. example:
Code: [ Select ]
int safe(int i) { return i >= 0 ? i : -i; }
is the short hand for
Code: [ Select ]
int safe(int i) { if (i >=0) { return i; } else { return -i; } }

Post Posted: June 27th, 2006, 3:18 pm

If they are part of the same network domain, then yes. You can deploy that script to all machines.

Post Posted: June 27th, 2006, 3:10 pm


Posted a "solution" but realized it wont work.

Post Posted: June 27th, 2006, 3:00 pm

try this:

Code: [ Select ]
$server_file = /public_html/folder_name/

Post Posted: May 15th, 2006, 4:05 pm

For example, Java can automatically write to hard disk, unlike what that page states.

Post Posted: May 11th, 2006, 4:15 pm

let us simplify May's example to let you understand a bit better:
Code: [ Select ]
<?php $file = "./images/somefile.jpg"; delete_file($file); ?>
$file is a variable, which you set to whatever file you want to delete. In this case, it is somefile.jpg, which is located in...

Post Posted: May 10th, 2006, 1:55 pm

hmm, that could be some kind of encryption. doesn't seem like zend to me. could be ionCube.

Post Posted: May 10th, 2006, 1:53 pm

Yep. In fact, there are programs out there right now which can brute force a lot of the "captcha" login systems. They are also called "OCR" systems. The way the programs can read the "captchas" is the same way that a OCR program can convert a scanned image with text on ...

Post Posted: May 10th, 2006, 1:29 pm

why are you posting that here?

Post Posted: May 9th, 2006, 8:28 am

So check for illegal file extensions and escape special characters then?

Post Posted: May 5th, 2006, 11:08 am

Look up some sql commands HoocH.

Google is your best friend.

Hint: count()

Post Posted: May 5th, 2006, 10:42 am


Post Posted: May 5th, 2006, 10:39 am

Hehe, yeah. That's a quick fix. But as it's been mentioned often, if you use DISTINCT, it means you have bad database structure, which is why you need DISTINCT.

Post Posted: May 5th, 2006, 10:33 am

just use this sql command:

Code: [ Select ]
$result = mysql_query("SELECT DISTINCT `fruit` FROM `breakfast`");

Post Posted: May 1st, 2006, 3:34 pm is localhost, but that would mean your own PC. :D

anyway, looks like ATNO/TW has figured the problem out.

Post Posted: April 27th, 2006, 12:39 pm

No need to do any kind of formatting for me. Just use that '#' wrapper. Maybe that formats it? I don't know.

Post Posted: April 27th, 2006, 11:24 am

Nope, that didn't work either. But I figured it out.

You have to wrap the Date() with '#'

Code: [ Select ]
# " & Date() &" #

Thanks for all your help buddy!

Post Posted: April 26th, 2006, 4:33 pm

MAX get's the latest date in the database right? Well the problem is, in the database there is data that is older than the current date, and also data which is for the future. Like we already have data that is coming up in octorber. But I just want to pull the data that is closest to today's date, j...

Post Posted: April 26th, 2006, 3:52 pm

It's a Microsoft Access DB. The query just return text. It's a table that has an ID, NewsDate, Title, NewsText -- What's returned is the News article's title. I just want to return the most current one instead of the older one's.

Post Posted: April 26th, 2006, 3:19 pm

the format is actually 04/26/2006

Post Posted: April 26th, 2006, 2:30 pm

I think "." is the root actually.

I do agree though, money is the root of all evil :D

Post Posted: April 26th, 2006, 2:29 pm

I am using ASP code. Here is what I have as a SQL query, which is working. "SELECT TOP 1 News.* FROM News ORDER By NewsDate ASC" NewsDate in the database is a "date" column. Written like 1/22/2006 7:41:00 AM What I want to do, is make it so that my SQL query only pulls the TOP 1 ...

Post Posted: April 19th, 2006, 1:03 pm

Hehe, yeah, I just figured it out too.

Code: [ Select ]
<style type="text/css">

        input.text { width: 20em; height: 15px; }

  1. <style type="text/css">
  2.         input.text { width: 20em; height: 15px; }
  3.         </style>

Post Posted: April 19th, 2006, 10:24 am

Code: [ Select ]
<input type="text" size="25" value="Field Name">

Just change the 'size' attribute.

Post Posted: April 18th, 2006, 1:25 pm

I would suggest using the 2nd method. Yes, database with large BLOB fields will lose performance. The table in MySQL would look something like this: [code] <id><title><pdf><winrar> [1] - [A Name] - [] ...

Post Posted: April 17th, 2006, 11:20 am

So the error doesn't come up on the test environment ?

Post Posted: April 13th, 2006, 12:04 pm

Nice work man, thanks. I like the div idea much better.

Appreciate all your help :)

Post Posted: April 13th, 2006, 9:55 am

Can anyone help please, this is quite urgent.

When i say 2 columns, I mean like when you go to an ecommerce website, the products are sometimes listed in 2 columns:

1st product 2nd product

3rd product 4th product


Post Posted: April 12th, 2006, 2:55 pm

Hello. I have an access database. I am able to display the results I want on the website. However, I need to display them in a 2 column layout. This is the code that needs to be changed: [code] strSQL = "select * from bla" 'Loop through the recordset Do While not rs.EOF 'Write the HTML...

Post Posted: April 6th, 2006, 3:21 pm

Sure. This will check if the server is "" -- if it is, then it will redirect to or else it wont do anything. [code] <% if Request.ServerVariables("SERVER_NAME") = "" then Redirect_URL = "http...

Post Posted: April 6th, 2006, 12:06 pm

You can put this on the default.aspx file at the root directory. [code] Redirect_URL = "https://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("URL") & "?" & Request.ServerVar...

Post Posted: April 6th, 2006, 11:57 am

Except for the fact that in that case, quote[0] will be week 1 where we actually want quote[1] to be week 1

I guess we could just do:

PHP Code: [ Select ]
$quote = array(
    'Hello, this is quote #1',
    'Hello, this is quote #2',
    'Hello, this is quote #3'
  2. <?php
  4. $quote = array(
  6.     '',
  8.     'Hello, this is quote #1',
  10.     'Hello, this is quote #2',
  12.     'Hello, this is quote #3'
  14. );
  16. ?>

Post Posted: April 6th, 2006, 11:14 am

Using this method ( though it is most accepted ):
PHP Code: [ Select ]
 <?php $quote = array( 1 => 'Hello, this is quote #1', 2 => 'Hello, this is quote #2', 3 => 'Hello, this is quote #3' ); ?>
you would still have to re-number everything if you wanted to add something in between element 1 an...

Post Posted: April 5th, 2006, 12:47 pm

Try this: [php] <?php switch($num_pages){ case $num_pages < 5 : $price2 = "75"; break; case $num_pages > 5 && $num_pages < 10: $price2 = "100"; break; case $num_pages > 10 && $num_pages < 25: $price2 = "125"; break; case $num_pages >...

Post Posted: March 30th, 2006, 4:11 pm

I should have downloaded the index file you provided. That # issue didn't even cross my mind, but it's definately the cause. Good job finding the error location.

Post Posted: March 28th, 2006, 7:32 pm

It's possible that I am mistaken, I was only guessing that it might work, because it does with php, asp, and

Post Posted: March 28th, 2006, 3:34 pm

Queries to the MySQL from different processes cause mutiple mysqld processes. If you have multiple mysqld process running, that just means that you have many different processes querying the MySQL.

Post Posted: March 28th, 2006, 3:22 pm

That should work. As long as you are not part of the home directory, or it's sub-folders.

Post Posted: March 28th, 2006, 3:08 pm

Try this:

PHP Code: [ Select ]
$myVar = $_GET["page"];
if(ereg("this_.[0-9]", $myVar))
  // do something
  2. $myVar = $_GET["page"];
  6. if(ereg("this_.[0-9]", $myVar))
  8. {
  10.   // do something
  12. }

Post Posted: March 28th, 2006, 3:02 pm

Do you have that code both in your iframe source code, and also on your main page's source code?

Post Posted: March 28th, 2006, 2:52 pm

Do you mean you want the search query to be case sensitive?

Post Posted: March 28th, 2006, 2:47 pm

I'm not exactly sure what you need, however this is what I came up with just assuming what it is you need. [php] $myVar = $_GET["page"]; $parts = explode("_", $myVar); echo $parts[0]; // the 'type' part of 'type_code' echo "<br>"; echo $parts[1]; // the 'code' par...

Post Posted: March 28th, 2006, 12:37 pm

Where are you using sessions?

Post Posted: March 28th, 2006, 12:35 pm

Do you mean when you first go to the page, it runs it once, but when you refresh, it runs it 2 more times?

Post Posted: March 27th, 2006, 7:35 pm

On your webserver, run the command "which mysql" which will give you the location of where mysql was installed. For example, /usr/local/mysql or something like that.

Once you have that, change that to that directory.

cd /usr/local/mysql

and then run


Post Posted: March 27th, 2006, 4:25 pm

You also have to "make install", and configure the installation.

Post Posted: March 27th, 2006, 4:23 pm

Yes, that is C programming. Unfortunately I don't know much C, so I don't know if all this even works, I'm just typing it in notepad. You gotta try it out and debug it, this is just a start for you. here is a bit more commentary for what I did. [code] int main() { char c; // keys entere...

Post Posted: March 26th, 2006, 11:58 pm

All you need is a "mysql_connect" to a MySQL database. The "mysql_connect" is a piece of php code which has the MySQL database's login information as it's parameters. Your MySQL database can be on the same server as the website is, or it can be an external server. Either way, mys...

Post Posted: March 26th, 2006, 11:52 pm

I needed to make a few changes, for example, use fgets instead of scanf. [code] int main() { char c; char input[4]; char *mypointer; long year,month,day,v,w,x,y,z; printf("Input year: "); fflush(stdout); mypointer = fgets(input,4,stdin); if&...

Post Posted: March 26th, 2006, 10:42 pm

Sorry, was a bit tired when I wrote that...didn't read it thoroughly :)

Post Posted: March 25th, 2006, 7:52 pm

Hehe, I know. I understood your humor :)

What I would do is just try the above 2 methods, if neither of them work for you, then we will try to help you in other ways...just ask :)

Post Posted: March 25th, 2006, 7:51 pm

Your above example uses magic quotes which are not always turned on in every system.

Post Posted: March 25th, 2006, 4:11 am

Seems like it's doing the job. Let me know if you encounter any problems. As far as C++ and C; C++ is a more versatile, user friendly, and object oriented than C is. C++ is a higher level programming language than C. ( "Higher Level" is a term which basically means "closer to human lo...

Post Posted: March 24th, 2006, 6:55 pm

I agree with you Sam. No doubt about that.

I just have found it quite easy to interpret, having known C++ and not C.

Post Posted: March 24th, 2006, 5:29 pm

I wouldn't say it's totally differnent. Here is a start for you in C. Though I've never actually programmed in C before :) [code] #include <stdio.h> #include <ctype.h> int main() { int year=0, month=0, day=0; scanf(%d,&year); while (year < 999 || y...

Post Posted: March 24th, 2006, 5:10 pm

Yep, use sessions to fix it.

Post Posted: March 24th, 2006, 4:26 pm

Why didn't you use what I gave you above? Implement my above code into yours, and see if it works.

Post Posted: March 24th, 2006, 4:18 pm

Ah, I wrote that in C++ -- you might need to convert a few things to C. As far as I remember, C doesn't use cin and cout, so you gotta convert those to printf. And put the word "int" in front of "main"

Post Posted: March 24th, 2006, 4:16 pm

No need for all that. He is "lazy" as he says, so I don't think he'd be willing to modify a MySQL table :P

phpBB has a smiley administration anyway, all he has to do was either put the information in there, or use the mod posted above.

Post Posted: March 24th, 2006, 4:13 pm

Let's not write the whole program for him, this is simple enough for him to write it. But here's a start. [code] #include <iostream> main() { int year=0, month=0, day=0; cin >> year; while (year <999 || year > 9999) { cout << endl << "Plea...

Post Posted: March 24th, 2006, 12:51 pm

First of all, why would someone's parents want to cause such an issue by telling everyone about such a personal change or stance? Very weird.

Other than that, I'm going to stick to the consensus and say, "This is REALLY" dumb.

Post Posted: March 24th, 2006, 12:39 pm

Does this not work? [code] $text = preg_replace('~(||||[^\s<]+[^\.!?&,\)\(\<\-\s])~', '<...

Post Posted: March 24th, 2006, 10:53 am

As they mentioned above, AJAX is the best method to do this. However, if you truly want to be non-efficient, then you can use the following methods: The "x" is in seconds, so you can modify that to whatever number you want. [code] <head> <meta http-equiv="refresh" conten...

Post Posted: March 24th, 2006, 10:38 am

What you can do is create some smilies in phpbb, so that when you type ;) or :) ( which are ; ) and : ) without spaces in between ), it will display the corresponding smiley. Once you do that, all you have to do is replace the "F word" for example, with whatever symbol you have chosen for ...

Post Posted: March 24th, 2006, 10:17 am

I think this should help you: [code] <?php //mysql connections above: $name_orig = $_POST['name']; $name = $name_orig; // save the original posted 'name' $sql = "select columnName from tableName where columnName = '$name' "; // the sql query we want to run $x=1; // define an...

Post Posted: March 24th, 2006, 10:02 am

here you go: [code] <?php //mysql connections above: $result = mysql_query("SELECT * FROM blog_users ORDER by date_entered DESC WHERE first_name = '$search' OR last_name = '$search'") or die(mysql_error()); // store the record of the "example" table...

Post Posted: March 17th, 2006, 1:33 am

Web programming or general programming? If it's general programming, I recommend starting with C++. The reason is because, once you learn that, you will easily learn most programming languages relatively quickly. After learning C++, I would move on to Java, and then Scheme. Scheme being one that doe...

Post Posted: March 15th, 2006, 10:06 pm

Great to hear it :)

Post Posted: March 15th, 2006, 3:09 pm

We would need to see the pieces of code which play part in this issue. Please provide that for us and we will be able to help.

Post Posted: March 15th, 2006, 3:08 pm

Point well taken. However, what I must clarify is the fact that javascript cannot even do what MySQL can when it comes to files and filesystems ( which is to create and read files that are on the filesystem, even though you need to tell it where to write to or read from specifically ).

Post Posted: March 15th, 2006, 12:24 pm

You forgot to end your reply message statement with a semicolon. replace after #Autoresponder with the following: [code] # Autoresponder ############################################################# // note , the . (dot) joins two strings. to end a string, use semi-colon; $replysubje...

Post Posted: March 15th, 2006, 12:01 pm

As far as I'm concerned, if it knows the directory structure using ../../../../ that means that it can read it, and if it can create a new file or append to a file on the filesystem, then that means it can write to it.

Post Posted: March 14th, 2006, 10:21 pm

Sure thing my friend. An example:

SELECT * INTO OUTFILE '/tmp/dump.txt' FROM img

Post Posted: March 14th, 2006, 4:06 pm

MySQL does not read or write to/from the filesystem, unless you count the database files themselves. Some server side languages capable of this would be PHP, Perl, C, and ASP (and it's variants). Incorrect. MySQL has the ability to write to and read from the filesystem. As long as the permissions a...

Post Posted: March 14th, 2006, 1:21 pm

Only if it's given data from somthing that is allowed to read the filesystem.

Just wanted to clarify that PHP and MySQL are examples of things which are allowed to read the filesystem.

Post Posted: March 14th, 2006, 1:18 pm

Apache for unix based boxes is a good suggestion.

Post Posted: March 14th, 2006, 1:16 pm

What are you talking about?

Post Posted: March 6th, 2006, 4:19 pm

@Tdotwire - thank you for your reply. The operators you can use in any combination. You can use them more than once, unlike the numbers.

So in reality, it could be like any of those that you have written. Also, () can be used. For example, (1+2) / (3-4)

Post Posted: March 5th, 2006, 10:41 pm

@Sam Hughes - What comments do you have on this: a=1,b=5,c=6,d=7 write the program so it tries all of the following 4 combinations: abc@d@@ ab@cd@@ abc@@d@ ab@c@d@ after that, we will swich around the assignment of each variable, for example: a=5,b=6,c=7,d=1 then run the same above 4 combinations ag...

Post Posted: March 5th, 2006, 10:39 am

@hgun - yes, parenthesis are considered of course. @sam hughes -- I've never used reverse polish notation. Is that just a way to think before you actually program it, so that it gets simplified in your head? What I'm thinking is this: 1. an array of all the permutations of the numbers 2. an array of...

Post Posted: March 4th, 2006, 6:02 pm

Hello guys. I've been working on writing a program, either in Java or C++, doesn't matter, that does the following: Choose any 4 numbers, and the program should try all possible combinations of those 4 numbers with all possible combinations of the operators +, -, /, * to get a given number. Writing ...

Post Posted: February 2nd, 2006, 2:15 pm

make sure you enclose the column names in `


Code: [ Select ]
SELECT `name`,`location`, `job` FROM table WHERE `name` LIKE '%searchstring%' or `location` LIKE '%searchstring%' or `job` LIKE '%searchstring%'

Post Posted: December 18th, 2005, 6:50 pm

nobody has any idea what i mean?

Post Posted: December 14th, 2005, 1:21 pm

well, if you look at phpbb ( this forum ) we have the following at the bottom of the homepage:

[ Administrator ] [ Super Moderator ] [ Moderator ]

I want to show the usergroups on the bottom of the homepage of my vbulletin forum.

Post Posted: December 13th, 2005, 2:19 pm

hello there. was wondering how to display all the usergroups that exist on my vbulletin forum at the bottom of the homepage with their respective colors.

i cannot find it anywhere in the admin control panel.maybe someone can point out what category it's under?

Thanks my friends.

Post Posted: December 5th, 2005, 1:25 pm

try this...but keep in mnid, I didn't have time to look through your variables, so I made strOrder and strOrderID up. [code] cmdDC.CommandText = "SELECT * FROM top100 WHERE (id " & strLTorGT & " " & iCriteria & ") ORDER BY " & strOrder &a...

Post Posted: December 2nd, 2005, 12:00 pm

the exec() method will execute any commands you can use on the ssh command line -- that is correct. There are some permission limitations, depending on how your system is set up.

just be careful, the exec() method, if used incorrectly, is a major vulnerability on your end.

Post Posted: November 30th, 2005, 12:20 pm

try google.

Post Posted: November 19th, 2005, 4:10 am

well, there are a few ways you can go about doing this: ( I don't see the code for the form here, so I'll just go off what I can only assume ) you can take this: [code] 'Check security code to pervent hackers If Session("lngSecurityCode") <> Trim(Mid(Request.Form&...

Post Posted: November 18th, 2005, 5:28 pm

Not sure where this would, mod's please move it if need-be. I need to know where to begin to do bulk mailing about 100,000 email addresses. I have 2 T-1 lines connected to my location, and a brand new, webserver. Windows 2003 server standard edition. I would like to be able to do the bulk ma...

Post Posted: November 18th, 2005, 5:18 pm

I'm sorry but I have to completely disagree with you Rodie. C++ does not "suck." In fact, it's probably one of the best programming languages ever created. Yes, it's a bit tough when you try to use some advanced techniques, but that's not necessarily a negative aspect. C++ is overall the best langua...

Post Posted: November 18th, 2005, 3:26 pm

you create a file .htaccess on your webserver. and you put htaccess lines in it....if it works, then it's available, if it doesn't work, then it's not available. you can allow .htaccess either by asking your host to enable it, or to move to a different host which does support .htaccess. oh and on mo...

Post Posted: November 18th, 2005, 3:00 pm

not sure if that's what he's asking netmaster. I think he means that the actual login page has three parameters: 1. Username 2. Password 3. Security validation code he wants to bypass the 3rd step by creating his own login page. @doktor - I don't have the source code for this, so if you give us the ...

Post Posted: November 18th, 2005, 2:55 pm

one thing you have to also remember about java is this: Java was first created to be as universal as possible. To give you an idea, your include files in a java program can in fact be URL's. Another example is the fact that the command to open a file in memory can be used for both local files and ex...

Post Posted: November 18th, 2005, 11:50 am

lol guess what the problem was: [code] function formSubmit(frm) { var sText sText = frm.fname.value; alert(sText); // debug here frm.action = "jsTest.asp?cust=<%=sCustomerGuid%>&name= " + sText; // the url you want the form submitted to frm...

Post Posted: November 18th, 2005, 10:32 am

ok I used this:
Code: [ Select ]
function formSubmit(frm){ sText = frm.elements['fname'].value; frm.action = "jsTest.html?cust=<%=sCustomerGuid%>&name=" + sText; // the url you want the form submitted to frm.Submit(); }
but it s...

Post Posted: November 18th, 2005, 10:09 am

Yes. Right now the possible IP addresses are slowly dimminishing. IPv4 ip-addresses have 4 classes. Classes, A and B are already completely reserved or taken. Classes C, D, and E are left. Basically the new IPv6 is in hexadecimal format, and it creates more IP ranges and IP-addresses for the people ...

Post Posted: November 18th, 2005, 10:03 am

because c# is the microsoft bite off of Java :)

Post Posted: November 18th, 2005, 9:50 am

Thanks a lot ATNO for helping me as much as you could. @Radid Dog - Thanks for your help...but I still have a problem. I had simplified this problem so that the people trying to help me wouldn't have too much to deal with...but seems I should have included this too... here it goes: the javascript li...

Post Posted: November 17th, 2005, 5:36 pm

hmm...interesting...thanks for the nice tutorial there ATNO...but here's my question, what if I want all that to happen by hitting the submit button once?

Post Posted: November 17th, 2005, 4:48 pm

hmm...didn't work :(

Post Posted: November 17th, 2005, 1:08 pm

hello...I'm having some problems with this asp form I'm's supposed to be really simple, but I'm just blanking out. I have a form and a form field on page1.asp -- the field accepts a name. the form field is called "fname" I want the form action of the same form to become page2.asp?name=&...

Post Posted: November 15th, 2005, 3:05 pm

that's what I won't find anything online which will teach you exactly what you want to do. dynamic languages like php and asp are capable of so much, that teaching how to do everything would be practically impossible. Learn the techniques, and then apply them to what you want to do. to le...

Post Posted: November 15th, 2005, 2:52 pm

just search on google for php tutorials...but don't expect anyone to teach you something like PHP as extensive as creating a whole membership application. that, you have to use the knowledge you have or will have and make it yourself.

Post Posted: November 15th, 2005, 2:49 pm

Java, yes.

Post Posted: November 10th, 2005, 3:21 pm

ok, thanks guys...I got it to was some error in the way the database was being connected. Thanks for all the help, really appreciate it.


Post Posted: November 9th, 2005, 10:56 pm

hello guys... i just installed a pre-made script..and i'm getting some errors:
Code: [ Select ]
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
[code]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource[/cod...

Post Posted: November 9th, 2005, 2:39 pm

exactly :) just make sure that the database is on your server. Each web-host has different ways of uploading a mysql you'd have to ask your web-host about that. If you're using cpanel, or plesk, then you have phpmyadmin most probably, and that should help you upload the database to the...

Post Posted: November 3rd, 2005, 12:01 pm

well for one thing, you forgot to load the applet directory
Code: [ Select ]
import java.applet.*;
the other thing you forgot to do is make the main function a static function. [code] public static void main(Graphics g) { g.drawString("Testing", 25, 25); ...
  • Sort by

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.