Jump to content

Q

Members
  • Posts

    50
  • Joined

  • Last visited

    Never

About Q

  • Birthday 05/18/1989

Profile Information

  • Gender
    Male
  • Location
    Pune, India (Originally from Denmark)

Q's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Okay.. Everything looks like it's supposed to on my end. I've given the task to the server administrator. Thanks for the help guys!
  2. Hi guys! - Thank you very much for the answers.. I have tried to turn error handling on in PHP, and there is no underlying errors - I'll try the other things monday morning! - Again.. Thank you!
  3. Or at least make the loading page insert the info for the images on loading, this will make sure you would never have to get the size of any image more than once..
  4. This is what the log contains: #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2009-07-30 06:08:06 #Fields: time c-ip cs-method cs-uri-stem sc-status 06:08:06 10.128.0.196 HELO - 250 06:08:06 10.128.0.196 MAIL - 250 06:08:06 10.128.0.196 RCPT - 250 06:08:06 10.128.0.196 DATA - 250 06:08:06 10.128.0.196 QUIT - 240
  5. Hi guys.. I've been banging my head against a wall the last two weeks. I simply can't get IIS Mail server to relay mails from my php scripts on the same server. I've been googling and tried everything I can imagine could help. Changing the smtp server in php.ini to all kinds of different settings, adding the sendmail_from, and still nothing. A weird thing though is that the mail function does not return any errors, not matter what I do. I've turned error reporting on in all different ways possible. Please, someone.. Bring me the magic cure! Edit: Just found out the mails is put in the C:\Inetpub\mailroot\queue folder, but never sent? Why is that?
  6. I suggest using PayPal API
  7. You should look into cURL. Edit: typos..
  8. Try turning on error reporting. ini_set("display_errors", E_ALL); This might give you the reason of the hang
  9. No, your complete path like /public_html/site.tld/profile/avatars/blah.jpg
  10. You need to remember your curly brackets! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-… <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Validate Credit Card</title> </head> <body> <H1> Validate Credit Card </H1><hr /> <?php if (!isset($_GET['ccnumber'])) { echo "<p>Enter your credit cad number.</p>"; } else { $Payment = $_GET['ccnumber']; $ValidPayment = str_replace("-", "", $Payment); $ValidPayment = str_replace(" ", "", $ValidPayment); if (!is_numeric($ValidPayment)) { echo "<p>You did not enter a valid credit card number!</p>"; } else { echo "<p>Your credit cardnumber is $ValidPayment.</p>"; ?> <form action="ValidateCreditCard.php" method="get" enctype="application/x-www-form-urlenc… <p><input type="text" name="ccnumber" size="20" value=""<?php if (!empty($_GET['ccnumber'])) echo $_GET['ccnumber'] ?> /></p> <p><input type="submit" value="Validate Credit Card" /> </form><hr /> </body> </html> You can't go and mix it all up like you've done..
  11. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Home</title> </head> <body> <?php require_once("newlink.php"); $obj = new newlink(); if (isset($_GET["page"]) && $_GET["page"] == 1) { echo $obj->displayPage(); } else { echo $obj->displayLink(); } ?> </body> </html>
  12. Okay? How bout using a session with an array of sites visited?
×
×
  • 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.