Jump to content

usawh

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

usawh's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I was just wandering is there any good tutorials on how build a car classifieds site ? regards, usawh
  2. Hi, I am looking for a three part dropdown list script using php. For example I would like to have users select a country and then states and then cities. How can I do this ? I would also like the have each dropdown list as a variable. regards, Usawh
  3. Hi, Could it be something with the php.ini file ? Here is the file: register_globals = off allow_url_fopen = on expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
  4. Hi Thanks, I tried to copy your code but it gets jumbled up. regards, usawh
  5. Here is the code <?session_start(); $username = $_POST['username']; $password = $_POST['password']; if ($username&&$password) { $connect = mysql_connect('server','user','password') or die("couldn't connect "); mysql_select_db('hilo102') or die ("couldn't find db"); $query = mysql_query(" SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($query); if ($numrows!=0) { while ($row = mysql_fetch_assoc($query)) { $dbusername = $row['username']; $dbpassword = $row['password']; } if ($username==$dbusername&&$password==$dbpassword) { echo'you are logged in click <a href="http://www.classifiedsinhawaii.com/Post-Ads/post-ads.php">here</a> to post ad'; $_SESSION['username']=$username; } else echo'incorrect password'; } else die('That user does not exist'); echo $numrows; } else die (' Please enter an username and password !'); ?>
  6. Does anyone know a good reliable hosting company. I am having too much problems with godaddy.com. I would like to be able to use fronpage on the hosting. regards, usawh
  7. I have hosting with Godaddy.Com and I am having problems with sessions. I contacted them and the cannot figure out the problem. Here is the page I am working on http://www.classifiedsinhawaii.com/Login101/login-box.php when you login the session error message comes up. Has anyone seen this message before ? regards, usawh
  8. here is the begining coding <?php session_start(); $username = $_POST['username']; $password = $_POST['password'];
  9. Hi, I am getting this error message with my session login. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/h/i/l/html/login101.php:1) in /home/content/h/i/l/html/login101.php on line 2
  10. I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home/content/config.php:1) in /home/content/config.php on line 10 here is the line of code that's causing the problem. header('Content-Type: text/html; charset=UTF-8'); how to I solve this problem . regards usawh
  11. Hi Everyone, I am working on this site http://www.click4hawaii.com but the problem is when they site is minimized everything shifts to the left. How can I prevent this from happening ? regards, usawh
  12. Thank you very much it works now. Usawh
  13. Hi, I tried it but got this error message " Parse error: syntax error, unexpected '=' in /home/content/h/i/l/index2.php on line 7" regards, usawh
  14. Hi, How to I edit this script so that everytime a user go to my site they get a ramdom fixed background. Here is the script.. <style type="text/css"> body { background-attachment:fixed; background-image:url(background_image.jpg); } </style> regards, usawh
  15. Hi Thanks What if I wanted to have random fixed background each time the page is loaded ? How do I go about doing that ? regards, usawh
×
×
  • 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.