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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dneff

  1. dneff

    Corrupt Image Detection

    I have a problem where somebody cancels the process of an image being uploaded, yet it somehow still gets to the server. The PHP code handles the uploaded file, yet the file is corrupt (or incomplete). Later, PHP code tries to do a createimagefromjpg() on the file and everything blows up with...
  2. dneff

    shell Environment Variables

    Actually, it looks like the SetEnv did in fact work. Sorry for the last reply, and THANK YOU for the help. -David
  3. dneff

    shell Environment Variables

    PHP is an Apache module. I've tried putting SetEnv <var> <val> in the VirtualHost without success. Is this where I would put it? Thanks
  4. dneff

    shell Environment Variables

    Hello, This may be more of a Linux question, but perhaps somebody knows the answer. I can use getenv() to get environement variables, but I'm not sure where to set environment variables in linux so they can be seen from PHP. I've tried setting my variable in /etc/profile but it still isn't...
  5. dneff

    Using PHP for portals and online site builders

    Check out http://www.spinsite.com
  6. dneff

    Sending Mail to Many Addresses

    I'm sorry, I just realized my original message got cut off. I do have ignore_user_abort() and set_time_limit(0) at the top of the code. The problem appears to be that something causes the page to refresh as many as ten times, resulting in everyone getting the same email ten times. The page...
  7. dneff

    Sending Mail to Many Addresses

    Here's the meat of the code (excluding the actual database query and some debug code): function sendMail($fromName, $fromEmail, $toEmail, $subject, $msg, $toName=&quot;&quot;, $content_type=&quot;html&quot;) { if (!empty($fromName) && !empty($fromEmail) && !empty($toEmail) &&!empty($subject))...
  8. dneff

    Sending Mail to Many Addresses

    Hello, I have a .php page that loops through a database and sends an email to person. There are over 200 emails sent out. I initially had the problem where the scrip would time out (usually because invalid email addresses take more time), so I set set_time_limit

Part and Inventory Search

Back
Top