Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: wuz
  • Order by date
  1. wuz

    Variable Insanity

    I'm not sure if this is what you're looking for, and I'm no expert, so this might not be the perfect solution. But I would use this: ${"car$x"} to refer to $car1, $car2, $car3, etc. in a loop where you increment by $x. Hope that helps! Susan :)
  2. wuz

    ExecCommand - 'createlink' code creating a border

    Does anyone have any experience using ExecCommand with the "createlink" function? I'm using an editing system that uses this to set a hyperlink on an image. But it's creating a border around the image. The code that's being utilized is: iView.document.execCommand('createlink'); It...
  3. wuz

    MySQL connect on another server

    Does anyone know if there is an easy way to connect to a database that is outside the server? In other words, I have a mySQL database on server #1 that I can access just fine with PHP, on several domains that use that server. But I also want to call that database from server #2 and display the...
  4. wuz

    PHP Password Security

    I know there are several ways to handle the security issue of keeping database passwords safe from hackers. But which is the best method to use in a shared hosting situation? Is it better to store the database user name and password in an include file in the home directory, above the public...
  5. wuz

    Speed of PHP w/ mySQL

    Just a quick question here. How fast is PHP with mySQL, in comparison to ColdFusion with MS Access? I have a web database with close to 2000 products and several other tables in MS Access, using ColdFusion for coding. It uses session variables, which never seem to work for me in PHP (I think it...
  6. wuz

    Using mail() on Windows server

    Thanks, Vic! I do appreciate the info. I talked to the host, and he said the SMTP is set up on the ini file (even gave me the SMTP name), so I'm not sure why I'm getting the error. The error message is: Warning: Server Error in f:\www.site_com\test.php on line 9 and the code on test.php is...
  7. wuz

    Using mail() on Windows server

    A quick question here. Is there anything that I need to know when using the mail() function with a Windows server vs. a Unix server? I'm using the following code at its most basic form: mail("$email", "Test", "Test"); and it doesn't work on the Windows server...
  8. wuz

    Setting Return Mail Value

    Does anyone know how to return emails to the sender if the email addresses are incorrect? I have a newsletter script that includes: mail("$Email", "$Subject", "$MessageStr", "From: $FromEmail\r\nReply-To: $FromEmail\r\nReturn-Path: $FromEmail"); in a...
  9. wuz

    Directory URL does not show index.php file

    Thank you very much!!! I actually didn't have access to the server, but I was able to use the line in an .htaccess file, and it worked like a charm! Susan :)
  10. wuz

    Directory URL does not show index.php file

    I have loaded several index.php files before, and the system works fine if you use the directory URL. For example, www.website.com/directory/ would pull up www.website.com/directory/index.php. But for some reason, on this particular server, the index.php file is not showing up when the...
  11. wuz

    PHP Keyword Search

    Thanks for the info. Unfortunately, I wanted to check for one or more keywords, so it wouldn't work until the keyword was split. I finally used the following: $searchterm = split(" ", $keywords); $countsearch = count($searchterm); $viewquery = "SELECT * FROM Items, Companies...
  12. wuz

    PHP Keyword Search

    Thanks for the info. Actually, I am using a database, and the above code is just part of my sql query in CF. But I didn't know the equivalent code format in PHP. ie. instead of <cfloop>, would it be best to use a while statement in PHP? If so, how should I break up the search string if it has...
  13. wuz

    PHP Keyword Search

    Hello, I have just started PHP programming, and am stuck on keyword searching. I'm trying to create a basic search box that would allow a visitor to type multiple keywords, and have the system search in a specific database field for those keywords. I've done a similar thing in ColdFusion, in...
  14. wuz

    OnChange property for dynamic select boxes?

    Thank you so much; this worked great!&nbsp;&nbsp;I appreciate the post so much!&nbsp;&nbsp;That had just been bugging me for a week now, and here it turns out the solution was pretty simple.<br><br>BTW, your site is great; I liked the book recommendations for web design as well as...
  15. wuz

    OnChange property for dynamic select boxes?

    I'm very new to ColdFusion, and I have a question that's stumping me.&nbsp;&nbsp;In my application, I have a category and subcategory (which is related to the category).&nbsp;&nbsp;I want the user to be able to select a choice from a drop-down box that lists both the category and...
  16. wuz

    Creating a personalized javascript-enabled page based on form input

    I'm trying to create a personalized page, but I can't seem to get the new page to work.<br><br>What I want to do is to create a form with a name field that people can fill out and submit.&nbsp;&nbsp;When they submit the form, I would like another HTML page to appear, with the name embedded in...
  17. wuz

    Looking for a Good ColdFusion Web Host

    Thanks for the info!
  18. wuz

    Looking for a Good ColdFusion Web Host

    I've been searching like crazy for a good ColdFusion host.&nbsp;&nbsp;My pages are almost completed, and I just need to post them.&nbsp;&nbsp;Any suggestions?&nbsp;&nbsp;I've emailed a bunch of hosts but never received any feedback (doesn't seem like a good sign to me).<br><br>Thanks in advance...

Part and Inventory Search

Back
Top