Code request Thread
Re: determine real world IP address in Visual basic?
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..
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/ ... ower_.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)
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!
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!
- thefirstdude02
- Posts: 10
- Joined: Thu Mar 03, 2005 12:42 am
- Location: Michigan
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.
And this is to verify their logged in.
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: Select all
/ 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: Select all
session_start();
if(!session_is_registered(myusername)){
header("location:photo_login.php");
}
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.
Thanks in advance.
- bigt0242000
- Posts: 19
- Joined: Thu Jun 17, 2004 12:55 am
- Location: Rome, GA
- jbullard
- VP - Software
- Posts: 3653
- Joined: Sun Jun 06, 2004 10:17 pm
- Location: Utah
- Real Name: Jason Bullard
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.
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.
- bigt0242000
- Posts: 19
- Joined: Thu Jun 17, 2004 12:55 am
- Location: Rome, GA
i need a small php script to display all images within the current folder using..
within the href....
simular to
i have this...
except its not diplaying the images within the folder.
- Code: Select all
onclick='return hs.expand(this)' class='highslide
within the href....
simular to
- Code: Select all
<a href='$file' class='highslide'>
i have this...
- Code: Select all
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.
Re: Code request Thread
Hello, I'm new here. I think this is the right place for my problem. I have a batch file that I wrote for my company that copies sales reports from a directory, zips and emails them to a gmail account. This works great for customer accounts that are less than 4 years old but for those that are over that the zip file becomes too large to mail. I can split up the zip through the batch process but I still need the files automatically emailed.
I want to write the directory that the zip's are in to a text file and then use that file to retrieve the path info and then input it into the target of the email script. I know how to output to a text file but can't figure out how to retrieve the data line by line and execute the script for each line.
Any help is would be much appreciated.
Thanks in advance.
I want to write the directory that the zip's are in to a text file and then use that file to retrieve the path info and then input it into the target of the email script. I know how to output to a text file but can't figure out how to retrieve the data line by line and execute the script for each line.
Any help is would be much appreciated.
Thanks in advance.
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 2 guests