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 Mike Lewis 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. lifelineamerica

    SESSION issues

    You were correct jpadie (as always), about zeroing the super global and sending a timeout on the session cookie and you were also correct about PHP mentioning it right there on the php.net session documentation page. So now I have it like this and my problems have all been solved: if...
  2. lifelineamerica

    SESSION issues

    Thanks jpadie for your response. I'll answer in chronological order. I'm running on PHP Version 5.4.14 You assumed correctly the way I'm doing the redirect, but you state that it is Why do you think so? Next, I have superglobals set to off of course (I've been coding PHP for ten years so I...
  3. lifelineamerica

    SESSION issues

    This seems so silly but its driving me nuts! I redirect people who reached a page they shouldn't have. So if the session I am looking for is not there, they are redirected back to the page with variable ks=1 set (ks as in kill session) I have this condition in the home page where if they have...
  4. lifelineamerica

    Script redirecting instead of executing

    Thanks to both of you, I'll give it your suggestions a shot.
  5. lifelineamerica

    Script redirecting instead of executing

    Well I have identified it down to the htmal email part. If I disable the HTML part of the emails and only send plain text version there's no issue. That would break down the bug into one of theses lines then: ob_start(); include('../avatar2/printable_version.php'); $htmlver=ob_get_contents()...
  6. lifelineamerica

    Script redirecting instead of executing

    Ok here we go. I had to remove a bunch of code from that script that was not relevant to the problem at hand. I created this smaller script that has just the part we need. It's doing the exact same abortion or redirection if choosing more than 10 as explained. <...
  7. lifelineamerica

    Script redirecting instead of executing

    I built a script that will send an email to a bunch of people from a list. At each row, I have a checkbox to select whether to include that person in the mass email or no. Funny thing that's happening is that if I choose less than 10 people to email it goes through, however if I choose...
  8. lifelineamerica

    Select duplicate charges made on same card same day

    Thanks that did it. Another star for you!
  9. lifelineamerica

    Select duplicate charges made on same card same day

    Like how? please post an example. last_4 and date have to be the same. But then ONLY ONE not all of the others have to be the same. So if the names and the phone numbers then don't match but the ipaddress does match good enough for me. Or if the ipaddress and the phone numbers don't match but...
  10. lifelineamerica

    Select duplicate charges made on same card same day

    Thanks a lot Feherke. I guess I have to add some conditions in there, I can't just go by that group. Many people's last 4 digits of cards match up. So additionally, I detect real last_4 duplicates then either by their last names being the same, or by their phone number being the same or by...
  11. lifelineamerica

    Select duplicate charges made on same card same day

    I am trying to locate all records paid by the same card (last 4 digits were stored and column name is last_4) on the same date (column is called date_made, and is in the date_time format) SELECT * FROM res_reservations a INNER JOIN res_reservations b ON a.last_4=b.last_4 WHERE a.date_made LIKE...
  12. lifelineamerica

    Mail not working in PHP5

    I migrated from a shared server that ran PHP 4 to a new one running PHP5. I'm having trouble sending email as in this simple example: <? $tocust ="me@yoursite.com"; $mail_contents="This is a test email"; $subjectcust ="Hello Again!"; $mailheaderscust ="From:Mysite.com...
  13. lifelineamerica

    Simple toFixed(2) issue

    Thanks a million Dan!
  14. lifelineamerica

    Simple toFixed(2) issue

    I'm trying to display values selected via radio button. It works fine as: function GetSelectedItem() { var thefrm = document.forms['showtimes'].elements; var theans = thefrm['time_id[]']; for(i=0;i<theans.length;i++) { theel = theans[i]; tnum=theel.value if(theel.checked == true){...
  15. lifelineamerica

    White gap in between div's only in IE6

    You get a star. Thanks a million. That did it. I had been wracking my brains for 2 days on this.
  16. lifelineamerica

    White gap in between div's only in IE6

    I'm getting a horrible gap where there should be none but only in IE6. Page I'm working on: http://www.washny.com/avatar2/ The css code for that section is this: div.content_top_cap{ float:left; width:900px; background-image:url(../imgs/main_content_topcap.gif)...
  17. lifelineamerica

    IMAP on Mailtrust

    Thanks jpadie. That steered me in the right direction
  18. lifelineamerica

    IMAP on Mailtrust

    Let me be clarify a little. I know that the server, port, user name, and password are definitely correct, and php.ini reads "with IMAP". But I still cannot successfully connect to the IMAP server using imap_open. Is there any other thing that I may still be missing?
  19. lifelineamerica

    IMAP on Mailtrust

    I have an account with Mailtrust.com. They are a popular email host. I copied my parameters from a regular email client (ie outlook) where everything works fine. $server = '{imap.emailsrvr.com:143}'; $mailbox = 'INBOX'; $username = 'me@mydomain.com'; $password = 'mypassword'; //connect to...
  20. lifelineamerica

    Sending mail at a later date

    I have a system set up where a bunch of users log in daily. I want users to be able to set reminder emails to each other to check on certain tasks, but such emails are to be sent at later dates. I guess I can: 1). store the contents of the form into database with the timestamp of the time it...

Part and Inventory Search

Back
Top