Jump to content

Opv

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Opv's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am trying to test the following simple mail script. <?php $to = "opv1419@yahoo.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "me@mydomain.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> But I get the following error: Mail Sent.PHP Warning: mail(): SMTP server response: 550 Invalid recipient: opv1419@yahoo.com in test3.php on line 7 I have my php.ini file configured to use SMTP port 2525, which is the port used by my mail server,and I have this port assigned as available to my localhost on my router. Any suggestions?
  2. EUREKA.  Thanks.  I found the problem.  I had already checked the BRS Webweaver site and searched the forum but failed to find the solution.  It was there all the time. Thanks for helping me find it.  The solution is that I had to tell my web server to point to php_cgi.exe rather than php.exe.  I made that change, restarted my server and it works fine.  Thanks everyone for your help. Opv
  3. Yes, I changed the error reporting settings as recommended earlier.  The phpinfo() returns a full page or more of info, and the php.ini path is set correctly to c:\php.  As for the "same problem", as I stated in my earlier posts, all of the php scripts do nothing after I load the original page, i.e., install.php (for the guestbooks) or the index.php (as in the case of phpmyadmin.php).  When I load those files, fill in the form fields, as applicable, and click on the link to proceed, the page just sits there as if I hadn't clicked on the link.  Nothing happens.  On that note, the test script you provided did the same thing.  I type in my name and click "post vars test" and nothing happens.  I don't see a get button.
  4. I am not running Apache...I am using the BRS Webweaver server.  Here are some of the log entries: HTTP Server Started - 31/Aug/2006:18:40:09 127.0.0.1 - - [31/Aug/2006:18:44:38] "GET /Gbook/gbook.php HTTP/1.1" 200 1651 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" 127.0.0.1 - - [31/Aug/2006:18:44:39] "GET /Gbook/style.css HTTP/1.1" 200 340 "http://localhost/Gbook/gbook.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" 127.0.0.1 - - [31/Aug/2006:18:44:39] "GET /Gbook/images/nospam.gif HTTP/1.1" 200 4301 "http://localhost/Gbook/gbook.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" 127.0.0.1 - - [31/Aug/2006:18:44:41] "GET /Gbook/gbook.php?a=sign HTTP/1.1" 200 1651 "http://localhost/Gbook/gbook.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
  5. OK, I have made the recommended changes to the Php.ini file.  The following are the extension settings: ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) ; extension folders as well as the separate PECL DLL download (PHP 5). ; Be sure to appropriately set the extension_dir directive. ;extension=php_mbstring.dll ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_exif.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_ifx.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_mime_magic.dll ;extension=php_ming.dll extension=php_mssql.dll extension=php_msql.dll extension=php_mysql.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll ;extension=php_pgsql.dll ;extension=php_shmop.dll ;extension=php_snmp.dll ;extension=php_sockets.dll ;extension=php_sqlite.dll ;extension=php_sybase_ct.dll ;extension=php_tidy.dll ;extension=php_xmlrpc.dll ;extension=php_xsl.dll I'm still experiencing the same problem after stopping and restarting my server.  I don't see any errors being reported on any screen.
  6. I installed PHP version 5.1.6 in C:\PHP and set the PATH in my environment variables to include the path to the PHP installation directory.  I then edited the PHP.ini (originally the recommended version) to set the doc_root path to match my web root path in my web server (BRS Webweaver). I have downloaded the PHPJunkyard guestbook, the Vanilla guestbook, the Gbook and several others which I have since forgotten.  By the way, PHPMyAdmin is also one of the programs I have downloaded but which will not get past the first screen.  I experience the same problem in that program. P.S.  FYI...I just created a main database and then tried to run one of the scripts but encounter the same problem.
  7. Bear in mind that I am new to PHP and MySql....I have tested MySql by creating a test database (simple script copied from the net) using my HTML/script editor, and it worked fine.  I haven't created the databases required by the PHP programs, as I wouldn't know where to start.  As best I can tell, the install.php scripts for the progrmas I have tried so far all ask for my MySql server, accessname and accesspassword, so I have presumed that they are designed to automatically create the required database.  Thanks, Opv
  8. I just installed a web server on my home Windows XP laptop.  I am just testing out the feasibility of hosting my own permanent server.  I have downloaded and installed the latest version of PHP, Perl and MySql (latest as of today) and they all test and appear to be running.  I have assured that my web root matches in my web server and the PHP.ini file. I have tested Perl scripts and CGI scripts and they seem to work fine.  And I can create a simple test PHP document and it runs fine.  PHPinfo() returns the expected results.  However, I have downloaded about 8 PHP scripts (guestbooks, etc) and followed the instructions by creating a folder within my web root and then loading the install.php file in my web browser.  My problem is that I can't get any of the php files to actually do anything.  I open the initial install.php file and click "install" and the page just sits there.  It's the same with every new php script I try to download and install.  The author of one of the guestbook scripts suspects that it might be a problem with PHP not recognizing the _GET and _POST variables and referred me to a general PHP forum.  Does anyone have any thoughts on what might be the problem?
×
×
  • 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.