-
Posts
89 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by eguru
-
-
Thanx for notifying me, edited the lines, i did not notice.
-
-
Are the admins busy or do they come online.
-
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/forumI'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? -
there is pinned thread above to introduce yourself there.
-
-
Well if u still get erros please do tell us, there would be someone to help u all the time.<?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
// this could be useful if u want to display your results in a table, ?>echo " '$pili_id' <b> '$branch' </b> ,'$zone', '$location', '$type', '$subtype', '$alamat','$latest_updated'"; -
SQL update
in PHP
Well the in my above script is working perfectly.you donot need to do anything, just
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.<?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";}?> -
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.
-
I am not that good in Asp.net, but good at mysql so a search down the google found me a good result for your request.http://www.codeproject.com/cs/database/ConnectMySQL.asp
-
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.
-
Do u think google is dominating the world of web too much???your opinions.
-
there is a software called flash slideshow which would convert your powerpoint to flash/http://www.google.co.in/search?hl=en&q...earch&meta=
-
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.
-
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.You can edit the template in any way you wish if you know some HTML and in most cases PHP.Ruud Hermans -
-
well i think u can get a better help from phpbb.com than here and also check their mods database and i am sure that there is a program for it as i have used it before over my friends website.http://mods.phpbb.comhttp://www.phpbbhacks.com
-
SQL update
in PHP
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";}?> -
I agree with you for some extent, but i would like to say that making an offtopic forum is not that far away or not that tough.just oneclick u create a cat and forum.
-
no need for chat , as we come here to help people or learn new things and if u need an chat well there are better places like yahoo or msn to have an chat .
-
we can show some good tips before starting out, for instancemain(){ int a,b;printf("%d,%d",&;}something funny like this, this is something which is stating testing the skills. some what like this where people will surely come to learn more.
-
SQL update
in PHP
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.
-
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
-
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.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.
help......
in Multimedia
Posted
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.