Jump to content

astralaaron

Members
  • Posts

    1,254
  • Joined

  • Last visited

Everything posted by astralaaron

  1. thanks for the reply's, what does linux mean? isnt that an operating system??? someone told me to get the linux web hosting... but I have windows XP ?? little confused about that.
  2. Hey can you explain the isset code to me? what does it do.. checks to see if there is a SESSION? or what
  3. okay I guess that means I answerd my own question hah thanks
  4. Hey thanks for posting all of that, your way looks better than what I was doing.I just copied it from a tutorial. I would like to see how to encrypt the password.. if you or someone could post that i would appreciate it!thanks again
  5. <?phpwhile($rows=mysql_fetch_array($result)){ // Start looping table row ?><tr><td bgcolor="#FFFFFF"><? echo $rows['id']; ?></td><td bgcolor="#FFFFFF"><a href="view_topic.php?id=<? echo $rows['id']; ?>"><? echo $rows['topic']; ?></a><BR></td><td align="center" bgcolor="#FFFFFF"><? echo $rows['view']; ?></td><td align="center" bgcolor="#FFFFFF"><? echo $rows['reply']; ?></td><td align="center" bgcolor="#FFFFFF"><? echo $rows['datetime']; ?></td></tr><?phpthe while($rows=mysql_fetch_array($result)) makes a loop? so every row in the database table gets a table row in html??
  6. Anyone know of some internet webspace hosting sites that support PHP5 and MySQL(commandPrompt or phpmyadmin)please let me know(ive been learning about php5/mysql on my local machine.. just wondering how its done through remote servers... do they give you a command prompt? phpMyAdmin? how does that work..?)
  7. its for a 360Degrees picture, when it gets to last frame it needs to jump to the first and when it gets to the first it needs to jump to the last.
  8. Haha, very funny thanks for the information though.and I want to know how to do both live and recorded.
  9. Why learn this language, what can I expect to be able to do with it?sorry if it seems like a dumb question but please give me some answers.
  10. What is involved in streaming media?what languages do you need to know?
  11. okay that script is working now, just had to turn register_globals On in php.iniI would still like to know about the other way I am seeing people post about without session_is_registeredthanks to anyone that tells me in advance.
  12. I just read on php.net that session_is_registerd does not work if register globals is off and that PHP5 has register globals turned off.. theres obveously a better way to do what I am trying to learn. please help me.
  13. (I have a members database setup and without the php code on the login_success.php page it logs in..but when the page checks to see if the session is not registerd it always sends me back to the main_login page...please shed some light on the problem! this is all from the tutorial at: http://phpeasystep.com/phptu/6.html)main login form on main_login.php:<form name="form1" method="post" action="checklogin.php"><input name="myusername" type="text" id="myusername"><input name="mypassword" type="text" id="mypassword"><input type="submit" name="Submit" value="Login"></form>-----------checklogin.php:<?phpob_start();$host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse.mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB");// Define $myusername and $mypassword $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";$result=mysql_query($sql);// Mysql_num_row is counting table row$count=mysql_num_rows($result);// If result matched $myusername and $mypassword, table row must be 1 rowif($count==1){// Register $myusername, $mypassword and redirect to file "login_success.php"session_register("myusername");session_register("mypassword"); header("location:login_success.php");}else {echo "Wrong Username or Password";}ob_end_flush();?>-----------------------login_success.php:<? session_start();if(!session_is_registered(myusername)){header("location:main_login.php");}?><html><body>Login Successful</body></html>
  14. what I want to do is when mousex + then go nextFramewhen mousex - go prevFrameanyone know ?
  15. yeah thats a really good page I am pretty sure its what I was looking for. Thanks again.
  16. yeah I just want to be able to have a database username / password .. so there can be a member area.. I just want to see how something like that works.Thanks for the reply!
  17. Are there any tutorials that explain how to make a username/password database with mySQLand how to communicate with php5 to it - for a log in page / member area?
  18. I have an opportunity to make a realestate website but I am not quite sure how to price the job..Would you guys give me some advice on how you go about pricing a website?it will be all html /css maybe some flash for the logo..they want pages for their listings / highrises / high end homesI would imagine them wanting a contact page / form
  19. astralaaron

    just starting

    I just downloaded the WAMP package that has php, phpMyAdmin, Apache, and MySQL to practice on my local machine..anyway my question is How do I set my username and password for mysql and phpMyAdmin???
  20. thanks for the reply by the way.
  21. so just haveing a php file in my file manager thats trying to talk to mySQL you think they are considering that 3rd party?if so I am canceling service with them right away.. what good is a database if you cannot communicate with it?
  22. can someone let me know what a third party script is? I have been having trouble connecting to my database with PHP on yahoo.com's webspace. one thing they told me when I emailed them was that they do not support 3rd party scripts..
  23. Yahoo.com told me they do not support third party scripts, can anyone tell me what this means? i think they meant third party php scripts..
×
×
  • Create New...