Jump to content

jhollin1138

Members
  • Content Count

    142
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jhollin1138

  • Rank
    Distant Family

Contact Methods

  • Website URL
    http://www.jhollin1138.com
  • ICQ
    0

Profile Information

  • Location
    Cleveland, Ohio
  1. I spoke to soon. I forgot to change "Web Service Extensions".
  2. That is what I thought too. After I make the necessary changes and restart IIS, I can't get any php pages to load until I change everything back to point to php4. Any ideas on what I am missing? Is there something else that could be pointing to php4?
  3. Now that the TCH's servers I am hosting my accounts on have both been updated, I need to update my own Windows 2003 server to PHP5 from PHP4. This is the server I have at work for file storage and hosting a few web based applications, so I need to avoid downtime if possible. I am trying to find the best method or procedure possible to do this update. I found this procedure on another website. h**p://www.geekpedia.com/tutorial88_How-to-upgrade-from-PHP-4.x-to-PHP-5.x-on-Windows.html But since it involves uninstalling PHP4 I am weary of trying it in case it doesn't work. Does anyone
  4. Well if you want to stay with Gallery, I am not sure what you can use. If you consider switching to SPGM, I wrote a mod for it that adds video support. Information on my SPGM-Vid mod for SPGM can be found on my site here.
  5. Being a long time hotmail and yahoo user myself, I think I can answer this. I believe Hotmail doesn't have a a true spam filter like yahoo and the others use. When a hotmail user turns on spam filtering, basically if the email isn't from an address in the address book or the safe list, hotmail will assume the email is spam. The people receiving your email on their hotmail account need to have your email or "@solabroad.com" in their safe list. I believe because of this, there is nothing you can do with formating your email to get around this with hotmail.
  6. To be honest I am not sure why I did that either. Some of the code on php.net had them, and others didn't. I am not planning on hosting on a MAC or even Windows so I will never know if I needed them or not.
  7. I had a project a month ago or so to add a form to my company's website. My goal was to have the email in both html and plain text as well as include an attachment. I read all the posts on sending mail on php.net and combined the best of the information to build a function for handling mail. Here is the function I came up with, of course there is a little bit of nearly every post in it. >function send_mail($fromname, $emailaddress, $fromaddress, $emailsubject, $body, $fileattach = false) { # Is the OS Windows or Mac or Linux if (strtoupper(substr(PHP_OS,0,3)=='WIN')) $eol="\r\n"; els
  8. I finally got everything working. The solution came to me when I was giving the kids a bath. Instead of trying to figure out which radio button was picked and set a variable, just set a variable. This is what I came up with for the html section: ><div id="box" class="dialog"> <form method="post" name="printDialog" action="printWin('./print.php?id=4306&PrintSheet=');"> <table align="center"> <tr><td colspan="2">Print Sheet: </td></tr> <tr><td colspan="2"><input type="radio" name="PrintSheet" onclick="printPage='order'" /> O
  9. Unfortunately, the only thing I know about cookies is how to eat them.
  10. Here is an update. I tried the following javascript code, still no luck. >MyPrintWin=null; function printWin(linkName, printPageDefault) { if(MyPrintWin != null) MyPrintWin.close(); var printPage = printPageDefault; for (var i=0; i < document.printDialog.PrintSheet.length; i++) { if (document.printDialog.PrintSheet[i].checked) { printPage = document.printDialog.PrintSheet[i].value; } } printPageLink = linkName + printPage; MyPrintWin = window.open(printPageLink, "printWindow", "width=700,height=500,menubar=no,resizable,toolbar=no,scrollbars"); } I also tried using onsu
  11. I feel like a javascript knucklehead here. I am trying to implement the "Modal Dialog Box" script found here h**p://javascript.about.com/b/a/256836.htm. I have been able to get the front end of things working fine; it is the back end of things that isn't working. I am working on a script, in PHP, that is pulling information together and generates one of three different reports. I am using the "Modal Dialog Box" to generate an interface for the user to select which of the reports they want to generate. When the user clicks 'OK', I want to pop-up a new window with their report. Here
  12. :oops:I found my problem. Replacing the similar section of code in my first post with the code below, fixes the it. >for ($i=0; $i<count($arr_Multiplier); $i++) { $arr_EstimateTotal[$i]['ItemType'] = $arr_Multiplier[$i]['ItemType']; $arr_EstimateTotal[$i]['Multiplier'] = 1 + $arr_Multiplier[$i]['Multiplier']; for ($j=0; $j<count($arr_Estimate); $j++) { if ($arr_Multiplier[$i]['ItemTypeID'] == $arr_Estimate[$j]['ItemTypeID']) { $arr_EstimateTotal[$i]['ItemTotal'] = $arr_EstimateTotal[$i]['ItemTotal'] + $arr_Estimate[$j]['Total']; $arr_EstimateTotal[$i]['MultTotal'] = ceil($arr
  13. I am working on script and I am having the addition problems with PHP. Here is a sample piece of code that I am having a problem with. ><?php $OverallTotal = 0; for ($i=0; $i<count($arr_Multiplier); $i++) { $arr_EstimateTotal[$i]['ItemType'] = $arr_Multiplier[$i]['ItemType']; $arr_EstimateTotal[$i]['Multiplier'] = 1 + $arr_Multiplier[$i]['Multiplier']; for ($j=0; $j<count($arr_Estimate); $j++) { if ($arr_Multiplier[$i]['ItemTypeID'] == $arr_Estimate[$j]['ItemTypeID']) { $arr_EstimateTotal[$i]['ItemTotal'] = $arr_EstimateTotal[$i]['ItemTotal'] + $arr_Estimate[$j]['Total'];
  14. It shouldn't be hard to do. I will see if I have some time this evening.
×
×
  • Create New...