falkencreative Posted January 3, 2009 Report Share Posted January 3, 2009 You have Outlook on your computer... but do you actively use it to send and receive email? If not, you won't be able to find your SMTP this way. As I said before, your best bet is to do a search for your web access provider and "SMTP" Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 3, 2009 Author Report Share Posted January 3, 2009 sir i'm using smartbro at home... then i tried searching google.. i found out the two smtp smtp.smartbro.net and smtp.smartwifi.net but still same thing happned.. how come sir? Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 3, 2009 Author Report Share Posted January 3, 2009 oh wait at smtp.smartwifi.net same thing happened then i tried smtp.smartbro.net this is the result: Warning: mail() [function.mail]: SMTP server response: 553 5.1.8 ... Domain of sender address you@yourdomain does not exist in C:\wamp\www\php_work\function.php on line 8 then what again is the problem? Quote Link to comment Share on other sites More sharing options...
tpattison Posted January 3, 2009 Report Share Posted January 3, 2009 Your script's mail() function should contain a real email address instead of you@yourdomain. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 3, 2009 Author Report Share Posted January 3, 2009 awts i forgot to edit that "you@yourdomain" in my script hehe.... anyways i think i have to call my isp and ask their SMTP to solve my problem regarding mail function.. back again to videos ty again masters Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 11, 2009 Author Report Share Posted January 11, 2009 i've done watching videos in OOP php.. then now i'm in mysql .. . .. . the problem why i write again here to ask question is that why i cant access or go to phpMyAdmin? when i tried it.. here is? the result. .. . . The website declined to show this webpage HTTP 403 Most likely causes: This website requires you to log in. What you can try: Go back to the previous page. More information This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage. For more information about HTTP errors, see Help. what seems to be the problem... pls reply i'm watching the videos right now ..and i want it to do the what is done in those videos again ty Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 11, 2009 Report Share Posted January 11, 2009 Just to clarify... You are using WAMP? And you removed IIS? What is the URL that you are trying to use to access phpMyAdmin? Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 11, 2009 Author Report Share Posted January 11, 2009 Yes WAMP...And i removed IIS... URL? i go to http://127.0.0.1(localhost) and there under ToolS.. there is phpMyAdmin.. and AlSo at the right bottom there Is icon where WAMPserver is there.. I also tried there to go to phpMyAdmin Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 11, 2009 Report Share Posted January 11, 2009 Assuming that you had IIS installed first, then installed WAMP, and then removed IIS, I would suggest deinstalling WAMP and reinstalling -- I'm guessing that something to do with the old IIS installation is causing problems. I've done a brief search on the problem on Google, though I haven't really found anything that may help you -- mostly, the advice usually seems to be "reinstall". If I find anything I'll let you know. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 11, 2009 Author Report Share Posted January 11, 2009 i've done what u said i just finished deinstalling and reinstalling WAMP... but same thing happened Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 11, 2009 Author Report Share Posted January 11, 2009 Is it thiS? When i'm Starting m PC.. There Is always a promt Saying Error Loading C:\WINDOWS\system32\AdminLp.dll The Specified module could not be found. ??? Is It this CauSe my problem? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 11, 2009 Report Share Posted January 11, 2009 Is it thiS? When i'm Starting m PC.. There Is always a promt Saying Error Loading C:\WINDOWS\system32\AdminLp.dll The Specified module could not be found. ??? Is It this CauSe my problem? No, I'm pretty sure that has nothing to do with it. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 12, 2009 Author Report Share Posted January 12, 2009 yeah it is not. i've done a reSearch on google..And Finally I have Solve that problem... But i cant go to phpMyAdmin, i've finiShed Wathicng The VideoS but Still i cant do it practically I need ThiS for my TheSis:( Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 12, 2009 Author Report Share Posted January 12, 2009 wa what will i do? reformat? is there any wayS to Solve my problem >_ Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 12, 2009 Report Share Posted January 12, 2009 wa what will i do? reformat? is there any wayS to Solve my problem >_ I'm not sure what to tell you -- WAMP has always worked perfectly for me. You may try doing a search and see if there is a solution online that others have found for this... or try removing WAMP and trying XAMMP instead (http://www.apachefriends.org/en/xampp.html) which does the same thing as WAMP. Should be straight forward, but Stefan has a video on it if you need help: http://idea22.com/video/details/id/200708281188352306 Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 12, 2009 Author Report Share Posted January 12, 2009 aw.. I juSt removed WAMP and inStall XAMMP... BUt still i cant accESS the phpMyAdmin... x Error MySQL said: #2003 - The server is not responding Connection for controluser as defined in your configuration failed. That'S the error >_< Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 12, 2009 Author Report Share Posted January 12, 2009 Oh my... my head acheS !! >>_< Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 12, 2009 Report Share Posted January 12, 2009 You may want to check this thread: http://www.apachefriends.org/f/viewtopic.php?f=16&t=32596&sid=7a68dce6816302c2417b8597db58ee49&p=131782 And perhaps this one: http://forum.phpvideotutorials.com/showthread.php?t=2571 Sorry you are having so much trouble with this... for most people, it installs without a hitch. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 13, 2009 Author Report Share Posted January 13, 2009 aw nice... it'S now working,,,, at XAMMP localhost where i will Save my project? i mean where i can open my projectS then I'll See the outpuTS? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 13, 2009 Report Share Posted January 13, 2009 http://www.apachefriends.org/en/xampp-windows.html#1173 * Question 2: Where should I place my web content? The main folder for all WWW documents is at \xampp\htdocs. If you put a test.html file here you can browse for it at http://localhost/test.html (if Apache server is running). Use the same procedure with all PHP or cgi files. You can create subfolders for your content too. For example, create the folder \xampp\htdocs\new and copy your test.html file there. Then enter the URL http://localhost/new/test.html to view this in your browser. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 13, 2009 Author Report Share Posted January 13, 2009 aw getS... i forgot the htdocs at the video tutorial.. there are so many folders in xammp compared to wamp hehe so i got confused.. anyways tnx again... gotta back to theSis... Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 13, 2009 Report Share Posted January 13, 2009 glad to hear you got things figured out. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 16, 2009 Author Report Share Posted January 16, 2009 Using phpMyAdmin, how can i make a username and a password in my database? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 16, 2009 Report Share Posted January 16, 2009 Using phpMyAdmin, how can i make a username and a password in my database? I'm guessing you are trying to make some sort of user authentication? You'd need to: -- open up phpMyAdmin -- create a new database, if you haven't made one already -- make sure the correct database is selected -- add a new table to the database (maybe call it "users"?), and select the correct number of fields (perhaps, to keep it simple, you'll want three fields -- a unique ID, a username, and a password) -- then, set up the table by giving each of the fields names and the proper types. -- If you do use three fields, "id" would have an "int" type, and should have the "auto_increment" property (a dropdown under "Extra"). "name" would be a varchar, perhaps with a length of 30, and "password" would be a varchar with a length of 32) -- once all of that has been done, add your data by selecting the correct table, and then the "insert" tab. Insert your data, and press "go" Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 17, 2009 Author Report Share Posted January 17, 2009 No, not juSt like that... i mean How can i make A username and paSSword in my databaSe.. I have reSearch about connecting php to databaSe and here Is how.. The following example creates a database called "my_db": <?php $con = mysql_connect("localhost","peter","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); }if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; } else { echo "Error creating database: " . mysql_error(); }mysql_close($con); ?> So i run ThiS ScriptS and it Said that AccESS denied.. And I think it iS because of thiS line: $con = mysql_connect("localhost","peter","abc123"); That tutorial Is using MySql while me, Im Using phpMyAdmin... So i think i have to replace "localhoSt" to 127.0.0.1 ryt? And in "peter" and "abc123" ThoSe are the Username and paSSword that'S why i aSk here how to make a Username and paSsword out of my databAse in phpMyAdmin Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 17, 2009 Report Share Posted January 17, 2009 PhpMyAdmin is simply a more user friendly way of accessing and modifying a MySQL database. As you say, it sounds like you either have your username or password wrong. You shouldn't need to touch "localhost" -- that should be fine. What is the entire error that you are getting? Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 17, 2009 Author Report Share Posted January 17, 2009 wheni tried running that Script ThiS iS the reSult: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\xampp\htdocs\wewe.php on line 2 Could not connect: Can't connect to MySQL server on 'localhost' (10061) I mean how can i connect php to phpMYAdmin? PlS one eample will do:) Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 17, 2009 Report Share Posted January 17, 2009 With that error, it doesn't seem that it is a username/password issue. Are you sure MySQL is running? If I turn MySQL off, I get that exact error when I try to connect. Can you access PHPMyAdmin? If MySQL is turned off, you should get an error when you try to open up the PHPMyAdmin page. Just to be clear, you don't connect PHP to PHPMyAdmin, you connect it to MySQL. As I said above, PHPMyAdmin is simply a tool that makes it slightly more user friendly to edit and modify a MySQL database manually. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 17, 2009 Author Report Share Posted January 17, 2009 ooppS i forgot to Start MySql... here IS now the ReSult... Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Any '@'localhost' (using password: YES) in C:\xampp\htdocs\wewe.php on line 2 Could not connect: Access denied for user 'Any '@'localhost' (using password: YES) YeS i can accESS phpMYadmin.. Quote Link to comment Share on other sites More sharing options...
phpboy Posted January 17, 2009 Author Report Share Posted January 17, 2009 ThiS iS the wewe.php: <?php $con = mysql_connect("localhost","Any ","Yes"); if (!$con) { die('Could not connect: ' . mysql_error()); }if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; } else { echo "Error creating database: " . mysql_error(); }mysql_close($con); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.