Jump to content

eguru

Members
  • Posts

    89
  • Joined

  • Last visited

Posts posted by eguru

  1. without the code it is difficult to help u on the process.i am not that good at vb, well some developers here might require the source file to see and point out the problem.

  2. I'm curious... where did you learned C and C++ from? Hopefully, if it's something online, you'll give a link. The site in your sig doesn't have any tutorials for it. I guess it's new, isn't it?
    I learned through myself and some books that i have. The online resource for C and C++ are not that good enough for a beg and an intermediate.I and my friends learnt together, you can get them here http://www.httpguru.com/forum

    Host

    ISP does not close any ports that have a service from the user side for example port25 for SMTP access, and an attack can be made through any ports open, it is the duty of firewall to produce logs and then inform the admin about the access.

  3. <?phpinclude 'config.php';$pili_id=$_POST['pili_id'];$branch=$_POST['branch'];$zone=$_POST['zone'];$location=$_POST['location'];$type=$_POST['type'];$subtype=$_POST['subtype'];$alamat=$_POST['alamat'];$latest_updated=$_POST['latest_updated'];$connection = mysql_connect("localhost","username","password");if (!$connection) { die('Could not connect: ' . mysql_error()); }mysql_select_db("databasename" , $connection) or die ('unable to select the database');$query = "INSERT INTO pili VALUES (pili_id, branch, zone, location, type, subtype, alamat, latest_updated)('$pili_id', '$branch', '$zone', '$location', '$type', '$subtype', '$alamat', '$latest_updated')";mysql_query($query) or die('Error, insert query failed');echo "<table cellpadding=8 border=1>"; echo "<tr>";echo "<td>$pili_id</td>";echo "<td>$branch</td>";echo "<td>$zon</td>";echo "<td>$location</td>";// and similarly add for othersecho "</tr>";echo "</table>";// OR
    echo " '$pili_id' <b> '$branch' </b> ,'$zone', '$location', '$type', '$subtype', '$alamat','$latest_updated'";
    // this could be useful if u want to display your results in a table, ?>
    Well if u still get erros please do tell us, there would be someone to help u all the time.
  4. Well the in my above script is working perfectly.you donot need to do anything, just

    <?include "config.php";$timestamp=time();$timeout=$timestamp-$timeoutseconds;mysql_connect($server, $db_user, $db_pass) or die ("Useronline Database CONNECT Error");mysql_db_query($database, "INSERT INTO useronline VALUES ('$timestamp','$REMOTE_ADDR','$PHP_SELF')") or die("Useronline Database INSERT Error");mysql_db_query($database, "DELETE FROM useronline WHERE timestamp<$timeout") or die("Useronline Database DELETE Error");$result=mysql_db_query($database, "SELECT DISTINCT ip FROM useronline WHERE file='$PHP_SELF'") or die("Useronline Database SELECT Error");$user =mysql_num_rows($result);mysql_close();if ($user==1) {echo"$user User online";} else {echo"$user Users online";}?>
    now try to run this script instead of the one you are running, and in the page where u want to display the usersonline just add these line of codeyou are 1 of the <?php include('thefilename.php');?> usersonline.if u want to see an example, go to aspin.com and in the top u would see like this.
  5. what about their adsence and adwords which are used by many, well in simple words i could state that they are used than any other service in world.they are trying to dominate each and every possible cleams of the web industry.

    Host

    not really if u close port25 then u could not use email client from your own system, i donot think this port would be closed.The best way to be secure is closing down all the ports, and closing down all the ports will lead to no service.Just joking, a hacker can enter through anyway though your system is well secure with firewalls having logs for each access and well protected anti virus system which monitors virus and trojans.

  6. I am vinoth from HTTPguru Team from India.I am good at C,C++ , PHP , MYSQL and Security.I am BE in computer science with CCNA and currently pursuing CCNP.Nothing more to add about me, I like playing chess and football and i play for my club in football.

  7. You can edit the template in any way you wish if you know some HTML and in most cases PHP.Ruud Hermans
    but some part u cannot edit and when u develop of your own you will be knowing the code so adding new features is not so difficult.

    Host

    before making your own computer as a server, please be sure that u high configuration and also check that your system is well secure.

  8. well u must set your database and include the config.php below and run the code.How it will be displayed.you are 1 of the <?code?> onlinein the place of <?code?> it will display the total users online.

    <? $timestamp=time(); $timeout=$timestamp-$timeoutseconds; mysql_connect($server, $db_user, $db_pass) or die ("Useronline Database CONNECT Error"); mysql_db_query($database, "INSERT INTO useronline VALUES ('$timestamp','$REMOTE_ADDR','$PHP_SELF')") or die("Useronline Database INSERT Error"); mysql_db_query($database, "DELETE FROM useronline WHERE timestamp<$timeout") or die("Useronline Database DELETE Error");$result=mysql_db_query($database, "SELECT DISTINCT ip FROM useronline WHERE file='$PHP_SELF'") or die("Useronline Database SELECT Error");$user =mysql_num_rows($result); mysql_close(); if ($user==1) {echo"$user User online";} else {echo"$user Users online";}?>
  9. i am not sure if i am correct, i think i need to look on the full source code if it is available, i think u are intergating the number of usersonline with to show the IP address of the person too.

  10. they are doing a good job as i see they take in active participation too which is not a job of mods as they have to look around for spam posts too which are caused by people like me ( just joking )/////great work

  11. I find that I like the "head first" series books the best.The tutorials are great and they are pretty interesting reads. I could probably just read through the book and not fall asleep, lol. Lots of pictures and descriptions, they make it very easy to learn.
    It doesn;t matter if u are a fan of the publications above , instead just think is it good enough for the learner. coz everyone is not like u as they differ.Orielly pub is for people who are geek as it is not easy to learn , i would recommand you sams publications or dreamcode pub.Regards.
×
×
  • Create New...