News:

LVCS.NET offers low cost domain registration services.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jonano

#1
Support Requests / Re: Annual Fee POLL - Please vote.
September 01, 2011, 02:34:33 AM
I agree to pay more, but only if the service is getting better (or will get), which I think it will, so yes, and thanks.

It makes sense,

--Jon
#2
Support Requests / Bad certificate for PRETP2p.com
November 09, 2008, 11:36:43 PM
if you go to:

https://208.109.218.24/

or

https://pretp2p.com

or

http://208.109.218.24/ or http://pretp2p.com (the logo of pretp2p is there right?)

on s, You will see a certificate error, can it be corrected?

Also why I dont see like on paypal, another small box beside the url bar ? are the SSL Certificate are certificated by VeriSign as well? Can we put a seal on our site, from godaddy or something?

--Jon
#3
I have a problem using the session, I get this problem:

Call to undefined function session_start()

anyone know how to fix it? ed?
#4
Support Requests / mail() function
May 27, 2008, 09:34:55 PM
Hi

When I use many many email in my mail() function, I dont receive any email, I use a seed/test email in the middle of emails.

But when I put only 1 email or 2 or 5 it works good I receive the email.

Do you know if LVCS.net is putting a limit with the mail() function?

here is the code I use:

$post = $_POST["emails"];
preg_match_all('^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})^', $post, $matches);

if(isset($matches)) {

$mfa = implode(", ", $matches[0]);

$from = 'From: invitezvosamis@pretp2p.com';
$to = $mfa;
$subject = 'Vous êtes invité sur PRETp2p.com!';
$message = "Vous avez été invité par l'un de vos ami(e) à découvrir le service web PRETp2p.com, www.pretp2p.com";
mail($to,$subject,$message,$from);

--Jon
#5
so why I cant email 1000 users with mail(); ?

--Jon
#6
here is my code, and I try to send an invitation to all of my gmail contacts which is about 1100 emails:

is my code ok ? when I try 2 emails it works, but not when I try 1000.

<?php session_start(); ?>

<?php

if(isset($_SESSION['user'])) {

include("mysql.php");

$sqlinvite = "SELECT * FROM tbl_auth_user WHERE user_id = '$user' ";

$result_invite = mysql_query($sqlinvite);

while ($line = mysql_fetch_assoc($result_invite))

{

$from = $line["email"];

$mails = str_replace("\n",',',str_replace("\r",'',$_POST["emails"]));

if(isset($_POST["emails"])) {

mail("$mails", "$user invite you to view and rate his/her profile", "AVAKL is a person to person lending online marketplace. \n\n $user invite you to rate and view his/her profile on AVAKL (http://{$_SERVER['SERVER_NAME']}/user.php?user_l=$user\), if you don't want to rate or view the profile, disregard this message. \n\n Thanks.", "From: $from", "Reply-To: $from");

}

else {}

}
?>


<?php

echo"Thanks. You invited your friends.<p><a href=\"javascript: history.go(-1)\">Back</a>";

}





if(!isset($_SESSION['user'])) {

include "login.php";
  echo "<center>You need to log in or <a href=\"signup.php\">register</a> to access our site. You are currently not.</center>";
exit;
}?>
#7
Support Requests / what's the limit of mail();
May 11, 2007, 06:03:55 PM
what's the number of emails we can send with mail(); the limit..

--Jon
#8
Support Requests / mail, importing, phpfm
May 10, 2007, 02:06:27 PM
phpfm should be improved for freepgs users. like we should be able to see the number of each line in the phpfm file with the code.

is it easy to import emails from yahoo, gmail, live/msn, and then invite them to vote on a freepgs web site ? Would it be considered as spam ? Facebook/Orkut is doing it so why not us ? Also is it easy to implement, I imagine so.

next question is, how to mail to many email with mail(); ?

last question is can we handle cash on freepgs ? with visa mastercard and amex ? because Im doing a person to person lending marketplace. Can I also use secure browsing ? ssl.

Thanks for your answers,

--Jon
#9
here is my code, let me know what you think about it, but when I email to an hotmail account I dont receive the message, any hint why ? I receive the thanks message in my gmail account however, but not the your received message on the hotmail account:

<html><head><title>User Comments</title></head>

<?php session_start(); ?>

<?php

include ("mysql.php");

if(isset($_SESSION['user'])) {

$userc = mysql_real_escape_string($_GET['userc']);

$sqlupc = "INSERT INTO user_comments (user, userfrom, comment) VALUES ('$userc', '$user', '$comment')";

$sqlemailc = "SELECT email FROM tbl_auth_user WHERE user_id = '$userc'";

$result = mysql_query($sqlemailc);

while ($line = mysql_fetch_assoc($result)) {$email = $line["email"];}

if ($user == $userc) {}

else {

mail("$email", "You received a message on AVAKL from $user", "$userc, You received a message from $user\n\n You can take a look to your comments page: http://{$_SERVER['SERVER_NAME']}/usercomments.php?userc=$userc", "From: $emailu", "Reply-To: $emailu");

}

$sqlemailcu = "SELECT email FROM tbl_auth_user WHERE user_id = '$user'";

$resultu = mysql_query($sqlemailcu);

while ($lineu = mysql_fetch_assoc($resultu)) {$emailu = $lineu["email"];}

if ($user == $userc) {}

else {

mail("$emailu", "Thanks", "$user, message sent to $userc\n\n You can take a look to the comments page:

http://{$_SERVER['SERVER_NAME']}/usercomments.php?userc=$userc", "From: $email", "Reply-To: $email");

}

if(isset($_POST['comment'])) {mysql_query($sqlupc);}

$comment = mysql_real_escape_string($_POST['comment']);

header('Location: usercomments.php?userc='.$userc);
      exit;

}

if(!isset($_SESSION['user'])) {

include "login.php";
  echo "<center>You need to log in or <a href=\"signup.php\">register</a> to access our site. You are currently not.</center>";
exit;
}

?>
#10
Support Requests / Re: is my mail function enabled?
April 29, 2007, 10:19:25 PM
the problem is fixed, the problem is or appear to be the ' '

you cannot use ' ' but only " "

--Jon
#11
Support Requests / Re: is my mail function enabled?
April 29, 2007, 06:31:01 AM
you can try the script here:

http://p2plending.ca/mail.php

still not working. and here is my code:

<form action="" method="post">
<input type="text" name="email"> <input type="submit" value="Submit email">
</form>
<?php

$email = '$_POST["email"]';
     $to      = '$email';
     $subject = 'le sujet';
     $message = 'Bonjour !';
     $headers = 'From: jonano@gmail.com' . "\r\n" .
     'Reply-To: jonano@gmail.com' . "\r\n" .
     'X-Mailer: PHP/' . phpversion();

     mail($to, $subject, $message, $headers);
?>
#12
Support Requests / Re: is my mail function enabled?
April 29, 2007, 01:52:47 AM
Quote from: admin on April 29, 2007, 01:10:09 AM
If it is not the first line of output, yes.

You will just have to make a simple php file with only the mail() function to be sure your mail server is not blocking the message otherwise.

Thank you,
FreePgs.com Admin

First question:

"If it is", it = the mail function or the session_start(); ?

Second question:

What is my mail server ? You mean gmail for example, or my freepgs mail server..

I will test everything to see how it works but thanks to clarify your answer.
#13
Support Requests / Re: is my mail function enabled?
April 29, 2007, 01:02:03 AM
maybe it is <?php session_start(); ?>
#14
Support Requests / Re: is my mail function enabled?
April 28, 2007, 09:31:22 PM
no my account is jonathandespres

it is enabled but not working ?

--Jon
#15
Support Requests / is my mail function enabled?
April 28, 2007, 05:54:07 AM
is my code or my hosting provider mail function not enabled ? I dont receive any email.

here is my code, which is basic:

include("mysql.php");

$username = mysql_real_escape_string($_POST['user']);
$password = mysql_real_escape_string($_POST['password']);
$email = mysql_real_escape_string($_POST['email']);
$name = mysql_real_escape_string($_POST['name']);
$phone = mysql_real_escape_string($_POST['phone']);
$confirm = mysql_real_escape_string($_POST['confirm']);

$message = "Welcome to blabla.com, your login name is $username and your password is $password";

$sql = "INSERT INTO tbl_auth_user (user_id, user_password, email, name, phone) VALUES ('$username', '$password', '$email', '$name', '$phone')";

mysql_query($sql) or die('This username is already taken');

mail('$email', 'Welcome to blabla', $message);