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...
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...
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...
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()...
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.
<...
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...
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...
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...
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...
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...
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){...
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)...
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?
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...
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...
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.