Thanks for your help pickle; my problem was the hidden 'if' in the code, I didn't know that.
Thanks again.
Search found 18 matches
- Mon Jul 09, 2012 11:39 am
- Forum: PHP - Code
- Topic: what does this line mean?
- Replies: 4
- Views: 684
- Mon Jul 09, 2012 9:18 am
- Forum: PHP - Code
- Topic: what does this line mean?
- Replies: 4
- Views: 684
Re: what does this line mean?
Thanks, but I don't quite understand what "return !empty" means together.
- Mon Jul 09, 2012 8:28 am
- Forum: PHP - Code
- Topic: what does this line mean?
- Replies: 4
- Views: 684
what does this line mean?
public function Validname()
{
return !empty($this->_nom);
}
I don't understand the meaning of return !empty($this->_nom);
thanks.
{
return !empty($this->_nom);
}
I don't understand the meaning of return !empty($this->_nom);
thanks.
- Tue Aug 16, 2011 6:16 am
- Forum: PHP - Code
- Topic: PHP Form Sumission - strange behavior - variable not passed
- Replies: 9
- Views: 574
Re: PHP Form Sumission - strange behavior - variable not pas
by the way, where may I edit this php.ini?
thanks.
thanks.
- Tue Aug 16, 2011 6:15 am
- Forum: PHP - Code
- Topic: PHP Form Sumission - strange behavior - variable not passed
- Replies: 9
- Views: 574
Re: PHP Form Sumission - strange behavior - variable not pas
is it solved or what? did it have to do with post_max_size?
- Tue Aug 16, 2011 6:03 am
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
- Tue Aug 16, 2011 5:09 am
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
sounds great, I didn't know about that website.
I'll start right away and I'll let you know if there's something I don't get.
Thanks for your help.
Regards.
I'll start right away and I'll let you know if there's something I don't get.
Thanks for your help.
Regards.
- Tue Aug 16, 2011 4:57 am
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
Thanks again for your prompt reply, actually I know the basics, I was looking for the more advanced lessons. sometimes I get stuck when analyzing the things that happen within a piece of code containing classes, as if I know nothing about the classes. That's why I'm looking for a source explaining a...
- Tue Aug 16, 2011 4:34 am
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
Thanks social_experiment!
- Tue Aug 16, 2011 12:26 am
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
Hurry up please, I'm desperate to learn the classes.
I just need something simple with a lot of examples
I just need something simple with a lot of examples
- Mon Aug 15, 2011 10:26 pm
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
Is it for free?
- Mon Aug 15, 2011 12:46 pm
- Forum: PHP - Code
- Topic: what is the meaning of :: in php?
- Replies: 16
- Views: 934
Re: what is the meaning of :: in php?
does anyone know any good source to study classes?
- Sun Jul 31, 2011 1:44 pm
- Forum: PHP - Code
- Topic: why this code doesn't send mails?
- Replies: 5
- Views: 375
Re: why this code doesn't send mails?
social_experiment is right, the problem is with this line : $headers .= 'To: '.$first_name.' <'.$payer_email.'>' . "\r\n"; it works when I change it to : $headers .= 'To: Mike <abc@example.com>' . "\r\n"; but this is not what I need, I don't know how I should fix this.
- Sun Jul 31, 2011 9:40 am
- Forum: PHP - Code
- Topic: why this code doesn't send mails?
- Replies: 5
- Views: 375
Re: why this code doesn't send mails?
I don't get any error messages. actually before getting to these lines all the $_post data including $payer_email are stored in the database and everything works well, sending email is the last step.
- Sun Jul 31, 2011 12:01 am
- Forum: PHP - Code
- Topic: why this code doesn't send mails?
- Replies: 5
- Views: 375
why this code doesn't send mails?
Hi I have set up a license selling website, it works with paypal IPN, everything works well except the mail function, where could be the problem please? here is the code in brief: <?php $payer_email = $_POST['payer_email']; $mail_To = $payer_email; $mail_Subject = "Your license"; $mail_Bod...