r4v37t Posted April 19, 2008 Share Posted April 19, 2008 Help in create web application using PHP code. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted April 19, 2008 Author Share Posted April 19, 2008 Hallo there! Can you all help me, how to make SHOUT BOX application in PHP without SQL? Quote Link to comment Share on other sites More sharing options...
digip Posted April 19, 2008 Share Posted April 19, 2008 Try Hot Scripts. They have a lot of PHP scripts that work without the need for SQL. Just have to go through them to see what you want for your needs. http://www.hotscripts.com/search?q=shout+b...;imageField.y=0 Quote Link to comment Share on other sites More sharing options...
r4v37t Posted May 22, 2008 Author Share Posted May 22, 2008 How to get country names from IP address? Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 22, 2008 Share Posted May 22, 2008 A reveres DNS lookup might help, but an IP address doesn't necessarily have a associated name (it often helps if it does). In which case you would have to perform a trace route and use name information gathered from a reveres DNS lookup on each hope in the route to figure out the last known location. Quote Link to comment Share on other sites More sharing options...
digip Posted May 22, 2008 Share Posted May 22, 2008 There are tools you can buy to use on your own server for multiple lookups but I just use http://www.ip2location.com/demo.aspx for individual ones. Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 22, 2008 Share Posted May 22, 2008 Also, the whois database contains information about the companies that own blocks of IPs. This will, at least, give away the country the IP address resides in. Quote Link to comment Share on other sites More sharing options...
digip Posted May 22, 2008 Share Posted May 22, 2008 Also, the whois database contains information about the companies that own blocks of IPs. This will, at least, give away the country the IP address resides in. Yeah, samspade is good for that. http://samspade.org/ too. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted May 29, 2008 Author Share Posted May 29, 2008 I got the database ip to country, the problem is how i create it at php code? Quote Link to comment Share on other sites More sharing options...
digip Posted May 29, 2008 Share Posted May 29, 2008 I got the database ip to country, the problem is how i create it at php code? Haven't used it but take a look at this site. It does the same thing, but without the need for a database in sql(It provides the db in flat files). http://www.phptutorial.info/iptocountry/the_script.html Quote Link to comment Share on other sites More sharing options...
r4v37t Posted June 3, 2008 Author Share Posted June 3, 2008 I have a picture file and I want to share it to anyone but I want it downloaded as zip file as output. My question is how I coded it into php? Quote Link to comment Share on other sites More sharing options...
VaKo Posted June 3, 2008 Share Posted June 3, 2008 Start learning PHP then. Quote Link to comment Share on other sites More sharing options...
digip Posted June 3, 2008 Share Posted June 3, 2008 Start learning PHP then. QFE. We are here to help you if we can, but we're not the end all be all "help me code this" site. At some point you have to search for and learn these things on your own, or you are not going to learn anything. We can't spoon feed the world. My advice, start with php.net and pick your native language (http://www.php.net/docs.php) Also, google and http://www.w3schools.com/PHP/ are great places for more info. It takes 2seconds to look up your wuestion with google, and you will probably find a quick answer at the top of your search results. Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted June 7, 2008 Share Posted June 7, 2008 When you go to get your car fixed, do they turn you away and say learn how to fix the car yourself? This is why I spend no more time with this community. Quote Link to comment Share on other sites More sharing options...
tim.vangehugten Posted June 7, 2008 Share Posted June 7, 2008 When you go to get your car fixed, do they turn you away and say learn how to fix the car yourself? No, cause they get MONEY to fix the car. You seem to forget that:p Do the people on the forum get money for their help/ advise? I didn't think so, so it's just a stupid excuse of you to quit this forum. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted June 9, 2008 Author Share Posted June 9, 2008 Okay, i will learn it by self but it's posible to coding? Quote Link to comment Share on other sites More sharing options...
Deveant Posted June 9, 2008 Share Posted June 9, 2008 yerp, its possible to code, not all that difficult to learn how to either, if i was on my desktop i would attempt it for you, but sadly im on the road for the next couple of days. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted June 13, 2008 Author Share Posted June 13, 2008 yerp, its possible to code, not all that difficult to learn how to either, if i was on my desktop i would attempt it for you, but sadly im on the road for the next couple of days. I wish that come true. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted June 23, 2008 Author Share Posted June 23, 2008 I have try to execute shell commands->(shell_exec), but my web-hosting is not support for command "zip"->(to make archive in .ZIP). What I should do? Quote Link to comment Share on other sites More sharing options...
Sparda Posted June 23, 2008 Share Posted June 23, 2008 Does your host advertise this functionality? If I'm a web host and I don't advertise shell access, I'm completely going to block shell execution from with in PHP. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted June 24, 2008 Author Share Posted June 24, 2008 Does your host advertise this functionality? If I'm a web host and I don't advertise shell access, I'm completely going to block shell execution from with in PHP. The access of shell execution isn't blocking by the web host, in fact I can use ping or ifconfig in the web host from PHP but I can't use command for "zip" like ZIP or GZIP. Quote Link to comment Share on other sites More sharing options...
Rab Posted June 24, 2008 Share Posted June 24, 2008 you will be able to answer these questions a lot quicker using google, you can't just ask us every time you don't know something. The guys aren't here to teach you PHP, that's not what Hak5 is about. Quote Link to comment Share on other sites More sharing options...
r4v37t Posted July 10, 2008 Author Share Posted July 10, 2008 I have heard about worm virus in PHP, it's like worm virus windows? And how it's work? I mean to infect to another computers? Quote Link to comment Share on other sites More sharing options...
krandor Posted July 11, 2008 Share Posted July 11, 2008 not sure if you've figured this out, but here's how you'd get the IP for the person connecting to your page. <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?> that's straight from the PHP manual. Here Quote Link to comment Share on other sites More sharing options...
r4v37t Posted July 11, 2008 Author Share Posted July 11, 2008 not sure if you've figured this out, but here's how you'd get the IP for the person connecting to your page. <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?> that's straight from the PHP manual. Here And the POC of worm in PHP it's like a worm virus in computer? I mean how worm in PHP can keep it self run in that computer that have infect? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.