Search Results

Showing results 1 to 36 of 36
Search took 0.01 seconds.
Search: Posts Made By: buddylee17
Forum: ColdFusion Sep 24th, 2009
Replies: 3
Views: 1,344
Posted By buddylee17
It's unique to your area. Go to job sites like Monster.com or careerbuilder.com. Search different web development languages. Does coldfusion list 100 jobs? Does php? What about .net? If you are...
Forum: ColdFusion Aug 2nd, 2009
Replies: 2
Views: 1,461
Posted By buddylee17
Why do you need regex for this? Can you not use basic string functions like LEFT, MID, and RIGHT?
Forum: PHP Jul 28th, 2009
Replies: 4
Views: 557
Posted By buddylee17
You haven't specified an image: "<img src=/em/tutor/images/".
only specifies the folder that the image should be located.
Forum: PHP Apr 2nd, 2009
Replies: 20
Views: 872
Posted By buddylee17
Here's a possible solution.
Step 1, Create an empty array.
Step 2, Evaluate each checkbox in a loop. If empty, push a 0 into the array. Else, push a 1 into the array.
Step 3, Implode the array...
Forum: PHP Feb 26th, 2009
Replies: 26
Views: 2,188
Posted By buddylee17
Actually, I modified your query to test the code in my db prior to posting and it outputted "No rows retrieved'". Also, when I run the code like so:

$sql = 'SELECT * FROM `absent faculty table`...
Forum: PHP Feb 26th, 2009
Replies: 18
Views: 3,608
Posted By buddylee17
Rewrite rules don't actually hide the query string. Rewrite rules pretty much convert seo friendly urls into the actual query string.
Example .htaccess:

RewriteEngine on
RewriteRule...
Forum: PHP Feb 26th, 2009
Replies: 5
Views: 2,494
Posted By buddylee17
Here is a simple AJAX form submission using POST. It basically sends the first and last name to the server, and the server outputs the form information and the date on the server. Very simple, but...
Forum: ColdFusion Feb 25th, 2009
Replies: 2
Views: 1,397
Posted By buddylee17
Have you added a loop to display the output?

<cfquery name="players" datasource="connsilvereagles">
SELECT *
FROM player
ORDER BY playernumber DESC</cfquery>

<cfoutput>
<table>
<cfloop...
Forum: PHP Jan 27th, 2009
Replies: 4
Views: 569
Posted By buddylee17
Either disable html messages or look into using BBCode
Forum: PHP Jan 16th, 2009
Replies: 15
Views: 1,656
Posted By buddylee17
Basically something like

RewriteEngine on
RewriteRule ([^/\.]+)/?.html$ viewPage.php?ID=$1 [L]

So if you typed
www.blastingart.com/New Features.html
into the url, it would be the same as...
Forum: ColdFusion Dec 22nd, 2008
Replies: 23
Views: 3,425
Posted By buddylee17
Do the customers know you are storing there credit card numbers? Do the credit card companies know about this? I think that both parties would have a problem with you storing this information without...
Forum: PHP Dec 21st, 2008
Replies: 4
Views: 521
Posted By buddylee17
<?php
$page = file_get_contents('http://www.google.com');
$num = md5(uniqid());
$filename = $num;
$filename .=".html";
$handle=fopen($filename,"x+");
fwrite($handle,$page);
?>
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 2,017
Posted By buddylee17
Create a blank php page and put the following in to see how it should work:

<?php
$profpic="http://www.daniweb.com/alphaimages/logo/logo.gif";
?>
<html>
<head>
<style type="text/css">
body...
Forum: PHP Dec 1st, 2008
Replies: 10
Solved: please help
Views: 760
Posted By buddylee17
The name the element has in the form goes inside the brackets.
So if your form has

<input name="name" type="text" id="name" tabindex="16" />

After the form is submitted, PHP can assign the...
Forum: PHP Oct 26th, 2008
Replies: 2
Views: 403
Posted By buddylee17
Are you accessing the file through localhost?
Forum: PHP Oct 25th, 2008
Replies: 2
Views: 557
Posted By buddylee17
In the form element, add the attribute target="_top".
<form action="process.php" target="_top">


Have a look at all of the possible target values:...
Forum: PHP Sep 22nd, 2008
Replies: 1
Views: 360
Posted By buddylee17
You can use extract.
@extract($_POST);
This will convert all of your form names to variables.
You can then access each variable by using the following:

foreach($_POST as $key => $value){...
Forum: PHP Sep 16th, 2008
Replies: 14
Views: 1,143
Posted By buddylee17
echo "<img src='/photos/".$info['photo']."' width='200'><br>";
echo "<b>Description:</b> ".$info['name']."<p> <hr>" ;
Forum: PHP Aug 14th, 2008
Replies: 4
Views: 2,086
Posted By buddylee17
This is supported in php. I'm not to sure if the keyword super is. Here's a simple example of this:

class Human
{
public $thirsty = 'Very thirsty!';

function drink($water)
{...
Forum: PHP Aug 10th, 2008
Replies: 2
Views: 1,131
Posted By buddylee17
Change the mode parameter on line 20 to r:
$fp = fopen($path, 'R');
should be:
$fp = fopen($path, 'r');
Forum: MS Access and FileMaker Pro Aug 5th, 2008
Replies: 2
Views: 903
Posted By buddylee17
Also, see http://www.daniweb.com/forums/thread136175.html on how to set up the connection string for accdb.
Forum: MySQL Jul 27th, 2008
Replies: 6
Solved: MySql Vs Oracle
Views: 2,528
Posted By buddylee17
You shouldn't compare the two. It's like comparing a school bus (Oracle) to a Corvette (MySql). Oracle can deliver tons of data in a reasonable amount of time consistently. MySql can deliver smaller...
Forum: HTML and CSS Jul 22nd, 2008
Replies: 4
Views: 761
Posted By buddylee17
The two important ones are keywords and description. They both go in the head of the document. Metadata help search engines find content relative to what was searched for. Let's look at this page:...
Forum: PHP Jul 21st, 2008
Replies: 6
Views: 527
Posted By buddylee17
Okay, what this does is it performs a substr on the text portion of the link only by using a function inside the preg_replace function:

<?php
$content="You can read more about reducing the text...
Forum: HTML and CSS Jul 18th, 2008
Replies: 2
Views: 509
Posted By buddylee17
Once you get comfortable with the xhtml syntax, look into a server side language. At some point you'll find that xhtml won't full fill all of your needs and will need some server interaction. If you...
Forum: PHP Jul 14th, 2008
Replies: 4
Views: 1,397
Posted By buddylee17
Yes, this is called a preloader. It's a movie clip that should go in at the beginning of the timeline and play until getBytesLoaded=getBytesTotal. Here's...
Forum: PHP Jul 9th, 2008
Replies: 4
Views: 475
Posted By buddylee17
You are right about the onclick function. The onclick function is a JavaScript event handler so you'll need to incorporate JavaScript (else you'll have to have a page refresh after each button is...
Forum: HTML and CSS Jun 15th, 2008
Replies: 4
Views: 1,931
Posted By buddylee17
The reason is that each browser applies its own default stylesheet to your page. What this means is that each browser adds a certain amount of margin, padding, line height... to each element. The...
Forum: HTML and CSS Jun 13th, 2008
Replies: 4
Views: 1,691
Posted By buddylee17
No, CSS is not hard to learn but, it does take time to master. You'll catch the basic concepts in a day or so but, because you can manipulate the design in so many different ways, it will take a...
Forum: HTML and CSS Jun 7th, 2008
Replies: 4
Views: 713
Posted By buddylee17
You want something like this? This textbox clears when the user clicks it.
<input type="text" onfocus="this.value=''; this.onfocus=null;" name="notes" value="enter ticket number here" />
Forum: Graphics and Multimedia May 28th, 2008
Replies: 6
Views: 1,266
Posted By buddylee17
my_sound.loadSound("music/track1.mp3", false);This tells me that the music is being downloaded and is not actually in the flash movie or library. Look in the folder that you downloaded. It should...
Forum: HTML and CSS Mar 25th, 2008
Replies: 8
Views: 2,021
Posted By buddylee17
An easy way to validate is to install the free web developer (https://addons.mozilla.org/en-US/firefox/addon/60) add-on in Firefox. Once installed, you can simply press Ctrl+Shift+A and the W3C...
Forum: HTML and CSS Mar 4th, 2008
Replies: 2
Views: 995
Posted By buddylee17
External css should not contain style tags (<style type = "text/css"></style>) at the beginning and end like they do when putting them inline. If the styles aren't showing up, they probably aren't in...
Forum: PHP Jan 24th, 2008
Replies: 3
Views: 805
Posted By buddylee17
Do a SELECT to find the user_id for the current user in the USER table. Assign the user_ID to a variable, $user_ID. Now do your UPDATE on the USER_INFORMATION table using WHERE user_ID='$user_ID'
Forum: MS SQL Jan 3rd, 2008
Replies: 1
Views: 1,030
Posted By buddylee17
newcountry, sql injection is not desirable. You want to download it? Sorry it's not some open source program you can download.

SQL injection is a technique used by hackers to exploit your...
Forum: PHP Dec 3rd, 2007
Replies: 7
Views: 798
Posted By buddylee17
Read up on password sniffing (http://www.washington.edu/computing/windows/issue21/password.html). It's great if your server is secure, but if the user is on a LAN then it's still possible to get...
Showing results 1 to 36 of 36

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC