Jump to content

yaqub

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

yaqub's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Man thanks alot that worked. Now I can actually get rolling. I really appreciate it! ;D
  2. Hi- Thanks for the reply. I did get it to display my php code which was just a date test if you will. But my main problem seems to be getting it to use an "aliase" I think. Right now what works is http://localhost/date.php, but the date.php file is in a folder called prorider. If I put http://localhost/prorider/date.php I get the usual cannot find page error. I've even tried http://prorider/date.php same message. From what I think is that apache isn't recognizing that I have made prorider the "default" folder. Excuse me if my names or terms are wrong. Root folder is the correct way of putting it I guess. In the tutorial I was following we were supposed to add an alias in apache's config file which would be used as the virtual root folder(once again terms probably wrong).
  3. Hi - I am trying to add aliases to my config file so I can follow along with Beg. PHP5 and MySQL E-Comm. I'm trying to add this Alias /tshirtshop/ "c:/tshirtshop/" Alias /tshirtshop "c:/tshirtshop" But when I restart Apache(I'm using 2.0.59 by the way) and try to test I get an error page. I also have a test.php file that I'm trying to call. So my "url" is http://localhost/tshirtshop/test.php Can someone give me a hand asap I really need this help fast, Im buiding a site and learning as I go starting off real good as you can see. Now I have maybe fixed something. I rewrote the php code in Dreamweaver so now I don't get the 404 page cannot be found. Now I get a blank page. With this code if all is working properly should I see the php icon?..... <?php phpinfo();?> Cause like I said before rewriting the code I was getting an error page(notepad adding the .txt after .php) but now there's nothing displayed on the page. Even if I do a simple Hello World basic php script nothing get's displayed. Any answers? I can email the config file if that will help. Thanks
  4. Wow. I'm surprised no one knows about this issue. I really thought people would maybe offer a little more help to a newbie php'er Disappointed
  5. I think this is where I have to specify what server I'm using isn't it? From the error message it says that it's unable to find a mail server. You tell me, I think it's basically saying I have reconfig the php.ini file to reflect what mail server I'm using. But I'm having trouble finding it(I installed apache to the default location so you should know exactly where that file is). I downloaded and installed QK SMTP mail server which is running also Apache is running obviously by the error message. So do you have some ideas for me? I know this is a commone problem especially for newbies. Thanks
  6. How do I check the SMTP settings and how do I change them? I'm using QK SMTp server I hope someone can please walk me through this step by step. I'm having a really hard time trying to find help which is really surprising, I thought that people formed a rather tight community to help newbies get up and started. Please anyone who's ever had this problem please walk me through what I got to do here. I know this is a common problem so everyone has gone through at one point in time. Thanks
  7. I'm new. So I'm using Apache and I have looked at the php.ini file I think. Can someone give me some step by step advice instaed of just saying have you done this or that? I'm new so for me to mess with the .ini file I would need some type of assistance. Thanks
  8. Hi- I'm trying to make a simple mail form using dreamweaver and when I preview the page I get this error::: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Group\Apache2\htdocs\newland\message_sent.php on line 6 I'm not sure what to do here. I want to make sure that I'm headed in the right direction so can someone please let me know how or what I can change to make this work. Also here's the dreamweaver code:: <?php $to = "yaqoobcerbes@hotmail.com"; $subject = "This is the message subject"; $body = "This is the message body"; $headers = "From: yaqoobcerbes@hotmail.com\n"; mail($to,$subject,$body,$headers); ?> <!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>Newland Tours: About</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="css/newland.css" rel="stylesheet" type="text/css" /> </head> <body> <a href="#top"><img src="images/spacer.gif" alt="Skip to main image" width="1" height="1" border="0" align="left" /></a> <table width="750" border="0" cellpadding="3" cellspacing="0"> <tr>   <td><img src="images/banner_left.gif" alt="Newland Tours Banner" width="451" height="68" /></td>   <td width="280"><img src="images/banner_right.jpg" alt="Newland Tours Banner, previous tour images" width="276" height="68" /></td> </tr> <tr>   <td><img src="images/navbar.gif" name="navbar" alt="Newland Tours image" width="450" height="20" border="0" usemap="#navbarMap" /></td>   <td><img name="copyright_bar" src="images/copyright_bar.gif" alt="Copyright 2006 Newland Tours width="272" height="20" border="0" /></td> </tr> <tr>   <td colspan="2"> <h1><br />   <a name="top" id="top"></a>Message Sent  </h1>     <p>Your message has been sent. We will contact you soon.</p>     <p>Return to Newland <a href="index.php">home</a>.  </p></td> </tr> </table> <br /> <br /> <map name="navbarMap" id="navbarMap"> <area shape="rect" coords="1,0,62,20" href="index.php" alt="Home" /> <area shape="rect" coords="71,0,117,20" href="about.php" alt="About" /> <area shape="rect" coords="129,0,196,20" href="tours.php" alt="Find Tours" /> <area shape="rect" coords="209,0,311,20" href="profiles.php" alt="Navigation Bar" /> <area shape="rect" coords="327,0,434,20" href="contact.php" alt="Contact An Agent" /> </map> </body> </html> Please give me a hand with this, it's much appreciated. Ya'qub :D
×
×
  • 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.