Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
DEVILSAN
PostPosted: Mon Jul 10, 2006 10:04 am Reply with quote

PRO Level 15
 
 


Joined: 18 Oct 2003
Posts: 1238
Location: Canada
l33t wrote:
i need something that can determine a computers real world ip (not the class C 192.168 stuff) through visual basic.

and examples or ideas? thanks!


U r far from reality...

i am asking bout "in windows explorer if iclick any file say html it should be open myapplication " not just by setting open with from he properties as it would only launch that particular application.

But it should also loads that particular file on which i double clicked in windows explorer to open..
 
Back to top
Mentali$T
PostPosted: Tue Jul 25, 2006 8:43 am Reply with quote

PRO Level 3
 
 


Joined: 07 Jun 2006
Posts: 85
Location: UK
Hi guys,
Ok i want a code for this server monitor which shows the players on a game server and theres scores etc. Here is what i mean:
http://www.game-monitor.com/GameServer/83.142.84.226:10147/GGMJ_ARENA_MASTER__ggmj.de__X2_Power_.html
Half way down the page you will see a list of the players and their scores. If anyone could give me the code for this that would be great. Only thing is, its for a different server with the ip 84.12.163.39:7777 (i didnt give u a link to tthis one because there are no players on it at the moment so it would have been harder to understand)
 
Back to top
thefirstdude02
PostPosted: Tue Jul 25, 2006 11:11 am Reply with quote

PRO Level 2
 
 


Joined: 02 Mar 2005
Posts: 10
Location: Michigan
Hi. I haven't been around here in a good long time. Now I would apprecate some programming help.

I am working on a web-based IM client similar to GMail chat. I have no idea what some of the AJAX code does, but it seems to work. The basic program is written in Perl, with some HTML, JavaScript, and CSS. It uses a MySQL database for managing users and chats. I don't know much JavaScript (as I said); my teacher wrote it for me, as it was a Perl/MySQL web dev class. Anyway, what I want is the following: a way to get the choice of three radio buttons into the query string without having to refresh the whole page, and also not having it visible in the URL bar. After that, I know how to make Perl deal with the data. Thanks!
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Fri Aug 31, 2007 8:29 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
okay i just set up a php5 compliant login script, now i want each diffirent member to be redirected to a page to upload pictures to, i have the upload script, i just need a member recognition script.

members goto login page; done
login; done
after successful login get redirected to another page containing their photos; still in need
have ability to upload new photos, or delete old photos; done
logout; done

just something simple and quick, not fancy.
this is what i have to login.
Code:

/ 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 row

if($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();


And this is to verify their logged in.
Code:

session_start();
if(!session_is_registered(myusername)){
header("location:photo_login.php");
}
 
Back to top
bigt0242000
PostPosted: Tue Jan 08, 2008 2:22 am Reply with quote

PRO Level 2
 
 


Joined: 16 Jun 2004
Posts: 21
Location: Rome, GA
Could somebody create or find me a vertical three level accordion menu that I could use for site navigation. I'm still new to CSS and JavaScript. I've looked for one, but all I have been able to find is two level menus.

Thanks in advance.
 
Back to top
jbullard
Jason Bullard
PostPosted: Tue Jan 08, 2008 3:17 pm Reply with quote

VP - Software
 
 


Joined: 06 Jun 2004
Posts: 3304
Location: Utah
 
Back to top
bigt0242000
PostPosted: Tue Jan 08, 2008 6:39 pm Reply with quote

PRO Level 2
 
 


Joined: 16 Jun 2004
Posts: 21
Location: Rome, GA
Close. How could I turn that in to a 3 level menu?

1
1.1
1.1.1

I was looking at this one, but when I removed the horizontal accordion it brakes whole menu. So if you or someone else could tell me why removing that breaks it and show me how to fix it I would more than appreciate it.
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Wed May 21, 2008 10:38 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
can someone write me a cookie to control the date an image rotates, its to used with this script...

i am not to familiar with writing cookies. and need to images to rotate weekly.
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Fri Jun 27, 2008 6:42 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
i need a small php script to display all images within the current folder using..

Code:
onclick='return hs.expand(this)' class='highslide


within the href....

simular to
Code:
<a href='$file' class='highslide'>


i have this...
Code:


if ($handle = opendir('images')) {
   while (false !== ($file = readdir($handle))) {
       if ($file != "." && $file != "..") {
           echo "
           <a href='$file' class='highslide'>
                <img src='jessica.php?src=$file' alt=''>
           </a>
           ";
       }
   }
   closedir($handle);
}


except its not diplaying the images within the folder.
 
Back to top
Back to top
Index >> Webmaster Domain & Code Room >> Code request Thread

Goto page Previous  1, 2, 3, 4, 5, 6, 7

Page 7 of 7

 


Tired of the Ads? Registered users have 80% less adverts.