Forum: PHP 14 Hours Ago |
| Replies: 3 Views: 68 |
Forum: PHP 1 Day Ago |
| Replies: 6 Views: 107 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 |
Forum: PHP 2 Days Ago |
| Replies: 14 Views: 178 |
Forum: PHP 2 Days Ago |
| Replies: 14 Views: 178 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 |
Forum: PHP 2 Days Ago |
| Replies: 14 Views: 178 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 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 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 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 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 |
Forum: Graphics and Multimedia 3 Days Ago |
| Replies: 3 Views: 206 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 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 |
Forum: HTML and CSS 3 Days Ago |
| Replies: 5 Views: 155 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 |
Forum: PHP 3 Days Ago |
| Replies: 4 Views: 104 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 |
Forum: PHP 3 Days Ago |
| Replies: 6 Views: 92 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 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 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 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 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 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 |
Forum: PHP 7 Days Ago |
| Replies: 1 Views: 70 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 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 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 |
Forum: HTML and CSS 10 Days Ago |
| Replies: 6 Views: 398 |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 1 Views: 240 |
Forum: Graphics and Multimedia 10 Days Ago |
| Replies: 2 Views: 231 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 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 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 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 |
Forum: MS Access and FileMaker Pro 11 Days Ago |
| Replies: 4 Views: 192 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 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 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... |