buddylee17 216 Practically a Master Poster

Glad to hear

buddylee17 216 Practically a Master Poster

Datetime is in the YYYY-MM-DD HH:MM:SS format so, Friday, August 28, 2015 at 8:00PM would be:
2015-08-28 20:00:00

buddylee17 216 Practically a Master Poster

Yes, it's done with the css z-index attribute. The highest z-index goes on top. Read more here.

buddylee17 216 Practically a Master Poster

no, sorry, actually it's populated after the page is loaded - it comes from a mouse click

Then you'll have to look into using AJAX. PHP, by itself, cannot modify the page after it has been loaded. It's a common misconception. You see, once the page is loaded, php, by itself, can no longer communicate with the client without a page refresh.
Think of AJAX with php as a phone call between javascript and php.

buddylee17 216 Practically a Master Poster

When is the variable populated? Before or after the page is loaded?

buddylee17 216 Practically a Master Poster

The server doesn't parse the $id variable because you don't have a php delimiter. It should be something like:

<a href='edit_news.php?id=<?php echo $id;?>'>edit</a>
buddylee17 216 Practically a Master Poster

Change the mode parameter on line 20 to r:

$fp = fopen($path, 'R');

should be:

$fp = fopen($path, 'r');
Dukane commented: excellent, quick solution! thanks +2
buddylee17 216 Practically a Master Poster

Initialize a variable. Then increment the variable by the value in the cell:

<?php
$price='';
for($i=0; $i<5; $i++){
$price +=$i;
}
echo "Price=$price";// will output Price=10
?>
buddylee17 216 Practically a Master Poster

JavaScript comes pre-installed on the browser. PHP does not.

buddylee17 216 Practically a Master Poster

Use Sessions for authentication. They will log the user off when the browser is closed. You shouldn't need to store a value in the db unless you want to show users activity (last login at...)

buddylee17 216 Practically a Master Poster

There are a number of converters. I'm not sure how good any of them work but you can find them here.

buddylee17 216 Practically a Master Poster

I'm terribly sorry. I actually use class.smtp.php. I downloaded them both at the same time, got this one to work first, and haven't messed with it in over a year. The script actually has a login and password where you authenticate yourself to your mail exchange and then the email gets sent authentically from your mail exchange with lots of good safe header information that hotmail requires. I've never had a problem getting into hotmail or any other client with this class. It can also send both html and plain text email.

buddylee17 216 Practically a Master Poster

An easy way to create an xls file from php is to create a tab delimited file with an xls extension. Here's an easy example. Create a folder named files and save the following php file in the same directory as the folder.

<?php
$file="files/test.xls";
$f = fopen($file, "w+");
fwrite($f,"A1\tB1\t\nA2\tB2\tC2\t\n\t\tC3");
echo(fwrite ? "File was written":"File write failed");
?>

Now open the file from the browser. If the browser says File was written, then you should now have an xls file inside the files folder created earlier. Open it up.
Note that the "\t" creates a tab and "\n" create a new row. Also note that the text A1 will be in cell A1.

buddylee17 216 Practically a Master Poster

Hello, I use class.phpmailer.php. It works for Yahoo, Hotmail, GMail, and I'm sure many others that I haven't tested. It also includes an example which is easy to follow.

buddylee17 216 Practically a Master Poster

Have you looked into php's mail function? mail($to, $subject, $message, $headers);

buddylee17 216 Practically a Master Poster

Just by breezing over the code, it looks like you are trying to update one row with two or more values. If so, you'll have to concatenate them before the update.

buddylee17 216 Practically a Master Poster

For your "broser problem"
Probably <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

buddylee17 216 Practically a Master Poster

Narrow down the problem and post the code. Most of us aren't going to download your code.

buddylee17 216 Practically a Master Poster

Does anyone know how to integrate PHPlist with an already existing form on their website?
No I have never messed with a pre made mailing list, but I can explain how to use a flash movie to insert users into an existing mysql mailing list.

HOw do I make a person's photo 3D for placement in an SWF file for a website.

The site is just taking a picture with a decent camera and using the Photoshop extraction tool to extract the target(in this case the speaker) from the pic. Then they add a bit of a black outer glow to the layer. Most pictures are taken from an elevated or side vantage point. Both of which are known to increase the 3d effect. The pic is then imported into a layer in Flash higher than the rotating movie clip. Thats all.

buddylee17 216 Practically a Master Poster

Yes, Oracle is a beast and a memory hog. My favorite comparison was made by Charles Phillips, President of Oracle:
"We're both in the transportation business," Mr Phillips said. "We have a 747, and they have a Toyota."
Marten Mickos, CEO of MySql responded:
"There are many more Toyotas sold than 747s. "Toyota is a very profitable company"

buddylee17 216 Practically a Master Poster

Most good encryption methods don't have simple decryption. However, if something simple will work, you can use base64_encode and base64_decode.

buddylee17 216 Practically a Master Poster

Software companies don't want to hire a new guy. It's a fact. It's why they offer internships. They want a person who has proven his/her self to be knowledgeable and reliable in that field. As the new guy, you have to start at the bottom. This means very little pay (possibly a small stipend or salary) in exchange for credibility. Once credibility is attained, you can put it on the resume and the sky is the limit.

buddylee17 216 Practically a Master Poster

The script above performs a query but doesn't output anything. You will need an output from the script to populate the suggestions. What does the demo script look like?

buddylee17 216 Practically a Master Poster

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 amounts of data in a much faster time consistently. How big is the db and how frequent will it receive requests? Are you planning on having millions of users querying the db every 3 seconds? If so, Oracle should be your choice (or even better, IBM DB2). However, if you are predicting <10000 users and average query of 5 per minute or less, MySql will do all you have ever hoped for.

peter_budo commented: I like this reply +9
buddylee17 216 Practically a Master Poster

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.

buddylee17 216 Practically a Master Poster

Surround the filename in double quotes:
Click Save As
Filename: "default.css"

buddylee17 216 Practically a Master Poster

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 type="text/css">
<!--
.style1 {
	font-size: 18px;
	color: #FF0000;
}
-->
</style>
</head>

<body>
<p><span class="style1">TEST FONT</span></p>
buddylee17 216 Practically a Master Poster

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 the link at  http://www.daniweb.com/forums/thread135726.html .";
function reduceurl($url, $url_length) {
        $reduced_url = substr($url, 0, $url_length);
        if (strlen($url) > $url_length) {
		$reduced_url .= '...';
		return $reduced_url;
		}
	}
$text = preg_replace("@(http://[^\s]+)@sme", "'<a class=\"diaryUrl\" target=\"_blank\" href=\"$1\">' . reduceurl(\"$1\", 40) . '</a>'", $content);
echo $text;
?>

This will output "You can read more about reducing the text of the link at http://www.daniweb.com/forums/thread1357..." with the link in place.

Venom Rush commented: A great help. Thank you very much +1
buddylee17 216 Practically a Master Poster

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" target="_blank" 

href="$1">'.$short.'</a>', $content);
echo $text;
?>
buddylee17 216 Practically a Master Poster

What about something like this?

buddylee17 216 Practically a Master Poster

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.

buddylee17 216 Practically a Master Poster

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 a tutorial with many downloadable examples and actionscript which should get you going in the right direction.

iamthwee commented: Yeah that's better than my suggestion +15
buddylee17 216 Practically a Master Poster

IE is retarded. Here's what I've found regarding the scrollable tbody element.

buddylee17 216 Practically a Master Poster

It's called a textarea.

<textarea rows='5' cols='42'>
Put whatever you'd like to be inside the textarea here</textarea>

To make the box wider, increase the cols value. To make it taller, increase the rows value.

buddylee17 216 Practically a Master Poster

No, with AJAX, JDOMP, or Flash, the url is never seen. The request is sent "behind the scenes". The user doesn't see any change in the url throughout the data exchange. Here is a simple example of how it works.

buddylee17 216 Practically a Master Poster
buddylee17 216 Practically a Master Poster

Yeah, I tried using &amp; but it truncated the text. I don't believe Flash interprets html. I know the <br> tag gets displayed as plain text.

buddylee17 216 Practically a Master Poster

I believe you have to use url encoding to get Flash to read it. For example, %26 will be displayed as &. Here's the urlencode manual.

buddylee17 216 Practically a Master Poster

If it's in the query string (myscript.php?myvar=value), you use get: $var=$_GET['myvar']; You can put as many variables as needed into the query string:myscript.php?myvar=value&var2=value&var3=value...
Go to google and search for something. You'll notice many variables in the url.

buddylee17 216 Practically a Master Poster

In dreamweaver, create a new php file. Clear all of the code out of the code view. Now click toggle plain text, copy and paste all of the following into dreamweaver:

<?php
      if(isset($_POST['submit'])){
      $numfilesuploaded = $_POST['numuploads'];
      $count = 1;
 
          while ($count <= $numfilesuploaded)
          {
                  $conname = "new_file".$count;

                  $filetype = $_FILES[$conname]['type'];
                 
                  $filename = $_FILES[$conname]['name'];
                  if ($filename != '')
                  {
                    if ($filetype == "application/msword" || $filetype=="application/vnd.openxmlformats-officedocument.wordprocessingml.document")
                    {
                        $maxfilesize = $_POST['maxsize'];
                        $filesize = $_FILES[$conname]['size'];
                        if($filesize <= $maxfilesize )
                        {
                              $randomdigit = rand(0000,9999);
                             
                              $newfilename = $randomdigit.$filename;
                              $source = $_FILES[$conname]['tmp_name'];
                              $target = "files/".$newfilename;
                              move_uploaded_file($source, $target);
                              echo $count." File uploaded | ";
                      
                        
                        }
                        else
                        {
                            echo $count." File is too big! 10MB limit! |";
                        
                        }
                    }
                    else
                    {
                        echo " The file is not a supported type |";
						echo $filetype;
                    }
                  }
          $count = $count + 1;
          }
      
      }
?>
<?php
    $numuploads = 1;
    $count = 1;
?>
<form action="<?php echo $_server['php-self'];  ?>" method="post" enctype="multipart/form-data" id="something" class="uniForm">
<?php
      while ($count <= $numuploads)
      {

?>
      <input name="new_file<?php echo $count; ?>" id="new_file<?php echo $count; ?>" size="30" type="file" class="fileUpload" />
      <?php
            $count = $count + 1;
      }
?>
      <input type = "hidden" name="maxsize" value = "10240000">
       <input type = "hidden" name="numuploads" value = "<?php echo $numuploads; ?>">
      <br>
      <button name="submit" type="submit" class="submitButton">Upload Files</button>

</form>

Name the above file uploader.php
Move the file to your server. In the same directory as the uploader.php file, create a new folder and name it files. Now go into your browser and test the uploader.php file.

buddylee17 216 Practically a Master Poster

Use javascript:

<script type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer") 
{
document.write('If you are using an outdated version of internet explorer your browser may not show the images correctly. In order to prevent this please download the latest version of Microsoft Internet Explorer:<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9AE91EBE-3385-447C-8A30-081805B2F90B&displaylang=en"><font size="2">  Click Here for the latest release</font></a>');
}
</script>
buddylee17 216 Practically a Master Poster

So are you saying that you already have an upload script but dont know how to implement?

buddylee17 216 Practically a Master Poster

You could do this a number of ways. The easiest, in my opinion would be Flash.
However, if Flash isn't an option, JDOMP or AJAX will do it. Both of these will require some understanding of JavaScript and the DOM. In all three however, the same basic steps occur. Variables are sent to the php script and the output of the php script is sent back as a response. The url never changes.

buddylee17 216 Practically a Master Poster

It looks like you may not have published the swf prior to putting it on the web. The reason I say this is because the file has no content. Go to the swf that you have on your local machine and open it up. Does it work correctly? If not, open the fla in Flash and hit Shift+F12. This will insure that the swf is up to date. Now copy this file to the server and check it again.

buddylee17 216 Practically a Master Poster

Replace this: <a href="index.html"><IMG SRC="images/arrow_prev.gif" BORDER=0></a> with this: <a href="javascript:history.back()"><img src="images/arrow_prev.gif" border="0"></a>

buddylee17 216 Practically a Master Poster

Yes it will. Generally a cookie lasts until:
a.)It is manually deleted or modified by the user.
b.)It expires.
Also, Cookies need to be set in the header. This means they must be sent before any HTML is set to the page, or they will not work.

buddylee17 216 Practically a Master Poster

This will set a cookie named user which will expire in one hour:

<?php
if (isset($_COOKIE["user"])){
  $message= "Ouuu you already have one account!";
  }
  else{
  setcookie("user", "Current User", time()+3600);
  $message="Welcome new user";
  }
?>
<html>
<head>
</head>
<body>
<?php
echo $message;
?>
</body>
</html>
buddylee17 216 Practically a Master Poster

Sounds like the link on the back button is wrong. Post some code or a link to the page.

buddylee17 216 Practically a Master Poster

So it's counting the space in between the words each time? Never thought of doing it this way. Great approach!

buddylee17 216 Practically a Master Poster

Use substr. I hate to repost this so here's the link. Good luck