Jump to content

halm1985

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

halm1985's Achievements

Member

Member (2/5)

0

Reputation

  1. Hello ! I use MySQL 5.0 and need to do the following functionality Update a specific column in the database every 24 hours for example .. How could that be done in MySQL ?
  2. Is it possible to implement a trigger upon a certain time ... for example to update a certian column in all records every 5 miniutes ??? if not , what alternative method can i use to do this ??? ( I use PHP by the way )
  3. What is the Javascript event that allow me to do some action upon Closing the browser window by user ???
  4. Can PHP codes be embedded within javascript to perform some SQL statement upon and Javascript event ?
  5. good , but can you give me 1,2,3 steps to do this ? i never dealth with sessions before !!
  6. I have a site with log-in capability for usrers registered in the database .. can somebody give me an idea about how to show uers who are online at the moment ???
  7. Actually i have no idea about javascript . so i need a ready made script to perform my requrest
  8. i need to executue some SQL query on mySQL database on the event of window close to record user log-out . how can that be done ?
  9. Is it possible to perform a script when a user closes his broweser window ??/ i want to change a column value in the database to show that a user is logged out .. by the way i use dreamweaver as an editor ..
  10. Is there any CSS property that allow me to define size, color and direction of form elements such as textfields and menu items ???
  11. These are my settings using PHPMAILER .. I get the follwoing message on my browser : Message was not sent.Mailer error: SMTP Error: The following recipients failed: halm1985@hotmail.com <?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = "halal-loan.com"; // SMTP server $mail->From = "info@halal-loan.com"; $mail->AddAddress("halm1985@hotmail.com"); $mail->Subject = "First PHPMailer Message"; $mail->Body = "Hi! \n\n This is my first e-mail sent through PHPMailer."; $mail->WordWrap = 50; if(!$mail->Send()) { echo 'Message was not sent.'; echo 'Mailer error: ' . $mail->ErrorInfo; } else { echo 'Message has been sent.'; } ?> To add, when i change the name of the host i get another message Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\mail\class.smtp.php on line 105 Warning: fsockopen() [function.fsockopen]: unable to connect to halal-lsoan.com:25 (Unknown error) in C:\wamp\www\mail\class.smtp.php on line 105 Message was not sent.Mailer error: SMTP Error: Could not connect to SMTP host. So, i think the host name is correct .. Plz help
  12. No, i use a mail address under my domain, what problem could be there ? Also my host supports SMTP and provided me with the corresonding server ??? i thought the problem is much simpler !! Ther's an area in the php.ini file inlucdes : [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 Will any configuration here be handy ?? What about php mailer ?? did anyone use it ?
  13. The failing script is the ordinary mail() function script , any suggestions ??
  14. It's not sending at all .. i'm using my e-mail address in the "to" part but i get nothing
  15. Can somebody help me and tell me how sould my PHP settings be configured so that i become able to send E-mail messages from my site ( autmatic responses or scheduled messages ) .. It is different on localhost from the site on the web ??? knowing that it's not wroking on both with me ..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.