User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 374,505 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,783 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 250
Search took 0.02 seconds.
Posts Made By: buddylee17
Forum: PHP 14 Hours Ago
Replies: 3
Views: 68
Posted By buddylee17
Re: Secure PHP Login Script

Who asked you to post this?
Forum: PHP 1 Day Ago
Replies: 6
Views: 107
Posted By buddylee17
Re: pointing an iframe to a .php file

I can't replicate your problem. It parses as normal html on my machine. Try to put a simple script like <?php echo "Hello world"; ?>in as an iframe and see if that parses.
Forum: HTML and CSS 1 Day Ago
Replies: 5
Views: 104
Posted By buddylee17
Re: Save notepad as CSS file

Surround the filename in double quotes:
Click Save As
Filename: "default.css"
Forum: PHP 2 Days Ago
Replies: 14
Views: 178
Posted By buddylee17
Re: Another Problem

Yeah, change it to testFile2.txt or something.
Forum: PHP 2 Days Ago
Replies: 14
Views: 178
Posted By buddylee17
Re: Another Problem

Huh. Just to verify this, run the above script again but change the file name to something not in the current directory. If it creates a new file, it will output "file opened The file is empty"
Forum: PHP 2 Days Ago
Replies: 4
Views: 99
Posted By buddylee17
Re: how to restrict user from click another tabs menu

Yeah you'll definitely want some JavaScript incorporated. What I would do:
Disable tabs 2 and 3.
Use onclick handler to send the first form to a php script via an xmlhttprequest(AJAX). If the form...
Forum: PHP 2 Days Ago
Replies: 14
Views: 178
Posted By buddylee17
Re: Another Problem

No, it was just a hunch. Can you test a local file? Create a text file, type a couple of words in it to give it some testable content and save it as testFile.txt in the same directory as your current...
Forum: PHP 2 Days Ago
Replies: 14
Views: 178
Posted By buddylee17
Re: Another Problem

Do you have access to the server? Your host may have the functions disabled. If you are not sure, place the following into a new php file and name it phpinfo.php:
<?php
phpinfo();
?>
This page will...
Forum: PHP 2 Days Ago
Replies: 14
Views: 178
Posted By buddylee17
Re: Another Problem

$fp = fopen("http://www.mydomain.org/order.txt", "a+");
if($fp){
echo "file opened";
}
else{
echo "file did not open";
}
Forum: PHP 2 Days Ago
Replies: 4
Views: 104
Posted By buddylee17
Re: Send more than two parameter to a page

I don't understand what you are trying to do. Will this not work for you?
<form action="contents.php?id=11" method="get">
Recherche<br/>
<input type="text" name="search"/><br/>
<select...
Forum: PHP 2 Days Ago
Replies: 5
Views: 84
Posted By buddylee17
Re: creating arrays

I believe you have to do something like:
$teamMbrs= array(1 =>$team1, $team2, $team3, $team4, $team5, $team6, $team7, $team8, $team9, $team10, $team11, $team12, $team13, $team14, $team15, $team16);
Forum: PHP 2 Days Ago
Replies: 4
Views: 99
Posted By buddylee17
Re: how to restrict user from click another tabs menu

Use the header function to return the user to the first page if the variable from first page isn't filled in.
<?php
if(empty($_POST['var from first page'])){
header ('Location:page1.php');
}
Forum: Graphics and Multimedia 3 Days Ago
Replies: 3
Views: 206
Posted By buddylee17
Re: CS3 Madness

Learn them one at a time based on your current interest. If you want to edit pictures, start with Photoshop. If you want to create nice vector graphics, start with Illustrator. All of the programs...
Forum: HTML and CSS 3 Days Ago
Replies: 4
Views: 127
Posted By buddylee17
Re: How do I go about metadata

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...
Forum: PHP 3 Days Ago
Replies: 2
Views: 62
Posted By buddylee17
Re: php-coldfusion

Are you asking if they can be mixed in the same document?
Forum: HTML and CSS 3 Days Ago
Replies: 5
Views: 155
Posted By buddylee17
Re: What Editors Create This Code?

These are inline styles. Dreamweaver will do something similar. It will create a class for the element and embed the styles in the head of the document. This will look like:
<style...
Forum: JavaScript / DHTML / AJAX 3 Days Ago
Replies: 1
Views: 188
Posted By buddylee17
Re: Text from Text area to be used in scroll <div>

Check out the Dynamic Drive Cross Browser marquee (http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm). I have used it before in conjunction with php and mysql. Basically, you create a form...
Forum: PHP 3 Days Ago
Replies: 4
Views: 104
Posted By buddylee17
Re: Send more than two parameter to a page

Each option should have an associated value. For example:
<option>Actualité</option>
should be
<option value="Actualité">Actualité</option>
Also, if you want to add variables to the url, use...
Forum: HTML and CSS 3 Days Ago
Replies: 1
Views: 117
Posted By buddylee17
Re: css stypes and block

There are several errors on the page. Validate with W3C (http://validator.w3.org)
Forum: PHP 3 Days Ago
Replies: 6
Views: 92
Posted By buddylee17
Re: what about that probs??

The bottom of your script is incomplete. It ends with:if( ($fGvxm8_f4DlzWpub7u=='showthread.'.VBSEO_VB_EXT) && isset($_POST) && isset($_POST['excerpt']) && VBSEO_IN_TRACKBACK...
Forum: PHP 3 Days Ago
Replies: 6
Views: 92
Posted By buddylee17
Re: what about that probs??

This will happen anytime that you don't close a loop. For example something like:
<?php
if($this==$that){
echo "They are equal";
//loop was never closed
?>

Would cause this error.
The way to fix it...
Forum: PHP 3 Days Ago
Replies: 6
Views: 102
Posted By buddylee17
Re: wrapping urls in an a tag

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 of...
Forum: PHP 4 Days Ago
Replies: 6
Views: 102
Posted By buddylee17
Re: wrapping urls in an a tag

Something like this should work:

<?php
$content="http://www.daniweb.com/forums/thread135726.html";
$short=substr($content,0,22);
$text = preg_replace('@(http://[^\s]+)@sm', '<a class="diaryUrl"...
Forum: HTML and CSS 4 Days Ago
Replies: 1
Views: 122
Posted By buddylee17
Re: Use of

Yes, this is called an include. Includes can be either client side (JavaScript) or server side (php, asp, jsp, coldfusion...) Basically, what happens is that you save one file for your navigation bar...
Forum: HTML and CSS 7 Days Ago
Replies: 2
Views: 157
Posted By buddylee17
Re: Newbie Help/ Advice

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: JavaScript / DHTML / AJAX 7 Days Ago
Replies: 2
Views: 218
Posted By buddylee17
Re: Stop browser from caching an image

You can control cache in php with headers. Here's (http://www.badpenguin.org/docs/php-cache.html) a good read.
Forum: PHP 7 Days Ago
Replies: 1
Views: 70
Posted By buddylee17
Re: html tags

That's actually a function called strip_tags:

$text='<p>This is some <strong>sample text</strong>. You are using</p> ';
echo strip_tags($text);
Forum: PHP 8 Days Ago
Replies: 11
Views: 315
Posted By buddylee17
Re: Echoing PHP variables in JavaScript

OR

$row = mysql_fetch_row($result);
echo'<script type="text/javascript">';
echo "window.location = 'http://myurl.com/test/".$row[0]."/index.php?name=".$row[0]."/';";
echo'</script>';
Forum: PHP 8 Days Ago
Replies: 11
Views: 315
Posted By buddylee17
Re: Echoing PHP variables in JavaScript

Try echoing a meta refresh:

$row = mysql_fetch_row($result);
echo'<meta http-equiv="refresh" content="0;url=http://myurl.com/test/'.$row[0].'/index.php?name='.$row[0].'">';
Forum: PHP 8 Days Ago
Replies: 11
Views: 315
Posted By buddylee17
Re: Echoing PHP variables in JavaScript

Is there any reason that you are redirecting with JavaScript instead of php's header function?
Forum: HTML and CSS 10 Days Ago
Replies: 6
Views: 398
Posted By buddylee17
Re: Problem with table height in Internet Explorer

What about something like this (http://www.activewidgets.com/examples/2.5/basic.htm)?
Forum: JavaScript / DHTML / AJAX 10 Days Ago
Replies: 1
Views: 240
Posted By buddylee17
Re: java script help for making webpage sample.?

Do you mean something like this?
http://www.felgall.com/jstip22.htm
Forum: Graphics and Multimedia 10 Days Ago
Replies: 2
Views: 231
Posted By buddylee17
Re: Flash Nav bar on Web page

Here are a few scripts available to get rid of the IE click to activate problem.
http://www.findmotive.com/2006/10/13/ie-click-to-activate-flash-fix/
http://blog.deconcept.com/swfobject/
Forum: PHP 10 Days Ago
Replies: 4
Views: 132
Posted By buddylee17
Re: Flash Loading Bar

No problem. The preloader is very important with large swfs. Users want to see results, even if it is just a simple bar filling up to let them know that the site will soon be loaded.
Forum: HTML and CSS 10 Days Ago
Replies: 11
Views: 361
Posted By buddylee17
Re: Placing images without overflowing

So you want a 50x50 image to fit inside a 25x25 cell? It sounds like you are trying to fit 48 ounces of water into a 24 ounce bottle. I'm sorry but I'm not understanding what you ask.
Forum: PHP 10 Days Ago
Replies: 4
Views: 132
Posted By buddylee17
Re: Flash Loading Bar

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 10 Days Ago
Replies: 3
Views: 119
Posted By buddylee17
Re: Publishing php/mysql on Apache website

Here's a good guide to configuring Apache on XP.
http://www.pcstats.com/articleview.cfm?articleID=1868
Forum: MS Access and FileMaker Pro 11 Days Ago
Replies: 4
Views: 192
Posted By buddylee17
Re: HELP! Do I need IIS???

This will only work locally (and may not work at all). I have only got this to work on XP-Professional. Go to Control Panel->Administrative Tools. You may have to click Switch to Classic View to...
Forum: JavaScript / DHTML / AJAX 11 Days Ago
Replies: 2
Views: 327
Posted By buddylee17
Re: Prolem in Delete Confirmation

What about just doing something like:
<a href="delete.asp" onclick="return confirm('Are you sure you wish to continue?')">Delete</a>

Or, if you need a function for several links:
<script...
Forum: PHP 12 Days Ago
Replies: 11
Views: 345
Posted By buddylee17
Re: checkboxes to email and database

You are treating specialevents as one value, when it is actually an array. What I would do would collect all values of the array and shove them into one...
Showing results 1 to 40 of 250

 
All times are GMT -4. The time now is 2:12 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC