Jump to content

jgingras

Members
  • Content Count

    51
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jgingras

  • Rank
    Family Friend

Contact Methods

  • AIM
    JacquesG007
  • Website URL
    http://piazza.cc
  • ICQ
    0

Profile Information

  • Location
    Wilmington, MA
  1. For some reason it is working again. It was odd that all of a sudden it stopped working. Ill open a ticket if this happens again. Thanks, -Jacques
  2. I'm getting this error now. I have been able to connect to the same mail account for a while now with no problems. But all of a sudden it gives me this error. Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.mydomain.cc:143/notls}INBOX I logged in through the CPanel and was able to access it no problem. what would be the problem that it now all of a sudden fails to work? Thanks, -Jacques
  3. Thanks for the help. I guess i knew that I needed to go everywhere to add checking now, but was trying to find a way around doing it.
  4. The basic idea is this. The access to pages on the site are based on the menu system. But you can get to several other pages from links on the pages etc. IDs of certain content are displayed in the querystring. For example is user A from Company A is looking at their contact, let's say contactid 45.. He currently could change in the querystring to contactid 46 which may belong to Company B. As I originally designed the site, I should have taken more time to add checking on every page but we didn't and we were trying to figure out the cheapest way to fix the problem. I thought that preventing a user from going to a page from the location bar unless they had already been there would be a safe bet, but I ran into this problem with the referrer. I know I could accomplish what I want going to every page and adding checking there, however, that would be extremely long and costly. Just trying to find other alternatives. Thanks
  5. Coming from a meta refresh meaning <meta http-equiv="refresh" content="0;url='blahblah.php'"> The $_SERVER["HTTP_Referrer"] in that case is blank.
  6. I need to track the HTTP_Referrer every time a page is hit so that I know if they came from another link, or if they typed in the location bar the url. I'm trying to prevent users within the site to do the latter. But there is no http_referrer when you come from a meta refresh, which is ok for users to do. Is there any way that I can tell if the user has come to the page from the location bar vs. anything else? Or anyway to tell if they came from a meta-refresh? Please help!! Thanks, -Jacques
  7. I dont know if this is of any help, but the only way that you can do stored procedure is to have the SUPER permission level for the server which you cannot have unless you have a dedicated server. We ran into that problem in the past. So again, the only way that you can write stored procedures with tch is having your own dedicated server. That was a while ago, but I believe that this is still the case.
  8. Sorry about that... I just figured it out... var test = '^' + searchstr; popDiv(RegExp(test,'i'),EmailsArray); Thanks..
  9. Someone please help!! I dont know what I can do so that I can get this to work.. if you have experience with regular expressions but dont understand quite what im getting at, please let me know. I need to get this working today!!!
  10. I dont use javascript a ton so this might seem like a stupid question.. but im trying to pass a variable in a function.. >function repopDiv(searchstr) { if (searchstr == '') { popDiv('',EmailsArray); } else { popDiv(/^*searchstr here*/i,EmailsArray); } } searchstr is a string that needs to be examined in the regular expression checking.. but how do I do that? if I do /^searchstr/i, it will look for searchstr.. Not sure exactly how to wrap it.. Thanks everyone!
  11. Is there any way to "trick" the servers into thinking that an actual user send the mail? What is PHPSuexec? Might this be able to help me to make everything more secure as a whole? Thanks, -Jacques
  12. Thanks everyone. I set it as the fifth parameter and it helped some because now it isn't sent in my spam folder. The Return path, and envelope-from is correct. However there is one part of the headers that im not sure if it could still be a problem for some mail clients. Here is what it says.. Received: from nobody by server01.piazza.cc with local (Exim 4.68) (envelope-from <support@piazza.cc>) id 1K4VAt-0004XV-Fi; Fri, 06 Jun 2008 02:11:43 -0400 Since it says that it is received from nobody, will this still cause some mail servers to reject the mail? Thanks, -Jacques
  13. this is the line of code that calls the mail. >mail($to, $subject, $msg, $headers "-f support@piazza.cc"); it gives me the following error. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING. should it be >mail($to, $subject, $msg, $headers . "-f support@piazza.cc"); OR >mail($to, $subject, $msg, $headers, "-f support@piazza.cc");
  14. Is that a 5th parameter to mail() or a string that I put right after the headers? Also, is there a way to make it so that it doesn't use the nobody@servername? Here is the header that resulted from me doing the line above. Return-path: <support@piazza.cc> Envelope-to: support@piazza.cc Delivery-date: Thu, 05 Jun 2008 16:08:47 -0400 Received: from nobody by server01.piazza.cc with local (Exim 4.68) (envelope-from <support@piazza.cc>) id 1K4LlP-0000WJ-1w; Thu, 05 Jun 2008 16:08:47 -0400 To: support@piazza.cc the return path was fixed, but the received part of the header is still from nobody.. not sure exactly how to fix this.
  15. I'm having problems with the mail function. The basic php mail is using the nobody@servername.com and some mail clients seem to be rejecting the mail, either putting it in spam or rejecting it all together. How come is this the case? How can I change my settings or headers so that this doesn't take place? Thanks, -Jacques
×
×
  • Create New...