Jump to content

eduard

Members
  • Posts

    2,375
  • Joined

  • Last visited

Everything posted by eduard

  1. Now again an error of my insert.php file: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/eduardli/public_html/insert.php on line 10Access denied for user 'root'@'localhost' (using password: YES)??? <?php$Site_Name = $_POST['site_name'];$Site_URL = $_POST['site_url'];$Description = $_POST['Description'];$con = mysql_connect("localhost","root","usbw") or die(mysql_error());mysql_select_db("website", $con);$sql="INSERT INTO links (Site_Name, Site_URL, Description)VALUES ('$_POST[site_name]','$_POST[site_url]','$_POST[Description]')";if (!mysql_query($sql,$con)){ die('Error: ' . mysql_error());}mysql_close($con);?>
  2. No, I uploaded the website folder, but now I get the error message of another ´old´ php file!Do I´ve to changr something concerning my html form in the index.php file?
  3. Ok, but if I fill out data in the html form, on line the data doesn´t go into my db?If I put the insert.php file into the website1 folder it doesn´t open (Win32 error!)? So, I think this php file must be saved in a different way?
  4. No, it is not, because it also shows an html form!
  5. I´ve in the root folder of my webserver a folder called: website1! All the files in it (without the php files!: they are separate in the root folder!I think I see the problem: all files must be saved in the same folder (incl. php files! But insert.php is now in index.php?).
  6. The problem is that I can´t find the index.php file - with the insert.php script and html form (I´ve tried many times: Find, without success!). That file is working off?-line, but I´ve not been able to upload it to my FTP server!
  7. So, what do you suggest: root folder is a mess, website folder is a mess, FTP is a mess!How do I save the files (Wordpad, block de notas = I don´t exactly know it in english?) I can´t install anything on this pc! > Flash Drive?
  8. Since november 2011 URL = www.eduardlid.net
  9. mmm - Thus, the folder of my website I´ve to put in the root folder of my webserver or do I only put the files of my website in the root folder?
  10. What I don´t understand: Do I have to put all the files in the root folder of my webserver and wil the php files automatically go in the folder local host?
  11. Ok, thanks! You have a better memory than I do (I wrote that I´m not a perfect student!)
  12. Why do you need the content of my insert.php (I did that a while ago - it works!). It´s not necessary for the question!The reply of Ingolme is very clear to me!
  13. Better questions? You gave the perfect thing I wanted to do! What else can I do with an index.html and a insert.php?
  14. From my local host everything works fine, but how do I get this working on-line?
  15. What do I have to write for form action because the html form amd insert.php`are in the index.php. So. insert.php is not possible!index.php?
  16. D:USBWebserver v8_en\root\website1\index.php no es una aplicacion Win32 valida? Why is my index.php working off-line and not on-line?
  17. Thanks! But I cannot rename my index.html into index.php? And then I´ve to run it from my webserver?
  18. Sorry, also wrong (checked!) date: 15 5, now 24 5!
  19. Why do you think it took me 3 days to have my index.html validated (from 32 errors to 0 errors)? As others told me it´s impossible to have your being validated to 0 errors without knowing what you are doing! At the time of writing this a next reply can be: someone else validated your file!
  20. Then sorry, you are very wrong!Again, I call this a prejudge (not checked!)Sorry, also wrong (checked!) date: 15 5, now 24 5!
  21. To combine the insert.php + index.html do I have to make a new file (index.php) or can I add index.html to insert.php or v. v.?
  22. If you validate my index.html there are 0 errors (as agreed!). So, I MUST know the basic stuff!
  23. I´ve thought about it and I want to come back!Apologies:First, I apologize to all the american members what I wrote about the USA (i really was very angry!). I don´t know the USA, but the americans I´ve seen (quite a lo!) behave arrogant and they think they are the best in the world! (I was angry about copy and paste and highschool. For me are they prejudgesTime:Many times members wrote me that I´m such a long time at these fora! No,web development is not my favourite, but I like it! But I was rejected for jobs several hundred of times, not of my skills (because they were good!), but because I was in a wheelchair (now with a walker!). Very frustrating! So I decided to do web design, so they don´t see me!Therefore, I would like to come back! As I wrote, I´m not a perfect student, but many things have changed since the beginning (and I´m still learning!)-Replies:Please reply me about web development and no other thing like face palm (what´s that?).I hope you agree!Eduard Lid
  24. Can I export the table of my database of phpMyadmin to the portfolio.html of my website?
×
×
  • Create New...