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 Chriss Miller 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: *

  1. Valcor

    Job vs manual execution issues

    All, I'm having an odd issue, and it's kicking my butt. I have a stored procedure that calls a series of other stored procedures. The first called stored procedure gets a list of files from a folder. It then uses a BULK INSERT and puts them into a table for processing by the next stored...
  2. Valcor

    undefined variable???

    Couldn't you also do something like this, might be a little easier: <?php if (isset($_SESSION['hits']) { $hits = $_SESSION['hits']; } else { $hits = 0; } ++$hits; session_start(); session_register('hits'); ?> this page has been viewed <?php echo $hits ?> times. The...
  3. Valcor

    help with a form

    Why not make the items on the second page hidden items too? ie: <form method=&quot;post&quot; action=&quot;nextpage.php&quot;> <input type=&quot;hidden&quot; name=&quot;first_name&quot; value=&quot;<? echo $firstname; ?>&quot;> [etc etc] <input type=&quot;submit&quot;> </form> -- Jon
  4. Valcor

    Importance flag

    Do you mean the importance as it goes through the server? Or the flag for the end user to show it up as an important email? The first I don't think is possible, the second is an X-Priority: header. Hope that gives you an idea. -- Jon
  5. Valcor

    making a back-up smtp server

    I'm working on a similar situation, but nobody has placed a reply. The problem being is the way you have an idea on setting it up. You are looking at duplicating users, making more work for yourself in the even that one or two people decide to change passwords. There is supposed to be a way...
  6. Valcor

    Comparing two files

    Hrm... I think I get it... so it'd probably be easier to dump both files into seperate list boxes, go through the original file, and for each procedure, function, and so on, create a label, and a numeric for that function (etc). Repeat on the second list too, then compare each function (etc)...
  7. Valcor

    Comparing two files

    I think I'm understanding that... so an example would be... procedure TFrmMain.MainProc; begin {funny stuff here} end; That would appear like this in the lookup... mp1: procedure TFrmMain.MainProc; mp2: begin mp3: {funny stuff here} mp4: end; That right? How would I go about doing...
  8. Valcor

    Comparing two files

    Hi All, I'm trying to create a small source integrity program to replace the one we are currently using as it is way out of date, and doesn't run on all the programming computers any more (doesn't support XP, or Win2k). I have MD5 checks sorted, now I'm trying to find a method of comparing...
  9. Valcor

    Getting &quot;Undefined&quot; errors

    If you're using a more recent version of PHP, doesn't it have to be: if ($_SERVER[&quot;REQUEST_METHOD&quot;] != &quot;POST&quot;) { Plus I'm not sure how the recent change to the php.ini file may affect that. They decided to default the &quot;register_globals&quot; to OFF for security...
  10. Valcor

    &quot;Quotes&quot; in non-MIME email

    I believe sleiplnir is correct. I have used stripslashes() in the same scenario: $to = &quot;$toname <$toemail>&quot;; /* the message */ $message .= stripslashes($body); /* the subject */ $subject = &quot;$subj&quot;; /* the headers */ $headers = &quot;From...
  11. Valcor

    send HTML mail from command line

    IIRC, you have to add some extra headers. Depending on how you want it to come out, you may be able to add: content-type: text/html But I'm not entirely sure if you can pass headers like that to sendmail. If you had procmail installed, you could use the formail program to add headers, I...
  12. Valcor

    Email messages staying in inbox..

    This may be a silly one, but if rouse's suggestion doesn't work, we had a similar issue, but affected all mail clients, and that setting [leave mail on server] was off. It was actually caused by bad caching on our proxy server. Restarting the service flushed it, and the problem stopped. I...
  13. Valcor

    Generalised script for loading tab file into MySQL table?

    1) $sql = mysql_query(&quot;delete from <table name>&quot;); You may want to check feedback on that to make sure that worked, ie that $sql isn't null. 2) $sql = mysql_query(&quot;load data local infile \&quot;<file>\&quot; into \&quot;<table>\&quot;&quot;); This reads a tab delimited...
  14. Valcor

    Sendmail Not handeling bad e-mail addresses

    By looking at the error message, it doesn't even know if the user is bad yet. All it seems to be able to find out is that the mail server you're trying to send to is refusing it's connection. That is why you are seeing repeated attempts at sending it. If the user wasn't found, sendmail would...
  15. Valcor

    Why Are My E-mails Bouncing?

    I've not really played with the default config much... I just jumped right in, and added a load of allowed relay's (like the internal network), and blocked anything I know were spammers. Use APOP if you feel you need to. As for setting up different passwords for different services, I didn't...
  16. Valcor

    Why Are My E-mails Bouncing?

    That is a default sendmail configuration on Redhat to stop open relays, and allow relaying for localhost only. You can just put dnl in front of the same line in /etc/mail/sendmail.mc then remake it (instructions are at the top of the same file). -- Jon
  17. Valcor

    Why Are My E-mails Bouncing?

    POP3 is for collection only I thought. You wouldn't require a POP3 server to send mail. That is what SMTP is for. What error message are you getting? Saying it bounced can mean anything... mail loops back to me (bad MX?)... user unknown... host refusing connections etc etc. If you give...
  18. Valcor

    sendmail as backup server (listed as second MX)

    Hi All, I'm trying to work this out, and it's driving me crazy. I've searched all over the place, and keep finding documents, but each document says something different. I'm trying to setup sendmail to act as a backup mail server for the main server. MX records are setup as such...
  19. Valcor

    Creating Indexes

    Hi All, This is really been racking my brain, and I cannot find a bit about it anywhere. We're working with a btrieve database system, but were looking into using Pervasive.SQL to allow people to create add-ins for our program. An issue arrived when trying to create indexes. Some of our...
  20. Valcor

    XML Mapper?

    Thanks... I've checked with Borland... seems it's only an Enterprise edition thing. Seems they issue the same patch for each version they make... really stupid in my opinion. -- Valcor

Part and Inventory Search

Back
Top