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...
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...
Why not make the items on the second page hidden items too?
ie:
<form method="post" action="nextpage.php">
<input type="hidden" name="first_name" value="<? echo $firstname; ?>">
[etc etc]
<input type="submit">
</form> --
Jon
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
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...
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)...
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...
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...
If you're using a more recent version of PHP, doesn't it have to be:
if ($_SERVER["REQUEST_METHOD"] != "POST") {
Plus I'm not sure how the recent change to the php.ini file may affect that. They decided to default the "register_globals" to OFF for security...
I believe sleiplnir is correct. I have used stripslashes() in the same scenario:
$to = "$toname <$toemail>";
/* the message */
$message .= stripslashes($body);
/* the subject */
$subject = "$subj";
/* the headers */
$headers = "From...
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...
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...
1)
$sql = mysql_query("delete from <table name>");
You may want to check feedback on that to make sure that worked, ie that $sql isn't null.
2)
$sql = mysql_query("load data local infile \"<file>\" into \"<table>\"");
This reads a tab delimited...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.