Author |
Message |
Topic: downloading .exe |
MonkeyNation
Replies: 50
Views: 34298
|
|
Bargain with them, trick them into installing it, or format.
You could try something like [url=http://ophcrack.sourceforge.net/]Ophcrack to get the administrator password too I suppose, but you'd b ... |
Topic: Any Good PHP5 OOP Resources? |
MonkeyNation
Replies: 6
Views: 11248
|
|
class db {
var $link;
function db($hostname, $username, $password, $database) {
if (!$this->link = @mysql_connect($hostname, $username, $password))
... |
Topic: Gzip Compression Size. |
MonkeyNation
Replies: 7
Views: 14508
|
|
Download a file with file_get_contents, save to a text file, get the size of the text file, and thats your uncompressed size :-)
You would still need the response headers to know if it was gzip'ed ... |
Topic: Gzip Compression Size. |
MonkeyNation
Replies: 7
Views: 14508
|
|
Uh, download the gzip'ed page then decompress it and compare the sizes.
I think you'll have to write out the HTTP request manually rather than use file_get_contents or something, but other than tha ... |
Topic: AbyssUnderground.co.uk Server Issues |
MonkeyNation
Replies: 19
Views: 15053
|
|
But you never said it was for the new one
Seriously? Are you kidding?
Also I wasn't saying *nix is better, I use Windows on one of my servers, infact it has 250+ days of uptime, I have nothing a ... |
Topic: AbyssUnderground.co.uk Server Issues |
MonkeyNation
Replies: 19
Views: 15053
|
|
Windows isnt the problem, Its a hardware failure, so drop the "windows is rubbish linux is better" crap.
How rude.
You were buying a new computer, I made a software suggestion. No need t ... |
Topic: AbyssUnderground.co.uk Server Issues |
MonkeyNation
Replies: 19
Views: 15053
|
|
Lose Windows. (Or install a good version at least.) |
Topic: Delete files outside of Web Directory on Local Machine |
MonkeyNation
Replies: 9
Views: 18963
|
|
Oh sorry, I thought the ...s meant there was code taken out.
I could've told you that, sorry. |
Topic: Delete files outside of Web Directory on Local Machine |
MonkeyNation
Replies: 9
Views: 18963
|
|
Can you please post the result of:
unlink("C:¯\\Program Files\\Abyss Web Server\\htdocs\\_exports\\ratracking\\myfile.txt");
Be sure to Change myfile.txt to a real file that ... |
Topic: Delete files outside of Web Directory on Local Machine |
MonkeyNation
Replies: 9
Views: 18963
|
|
Uh, I don't know if this is the problem, but try:
$dir = "C:¯\\Program Files\\Abyss Web Server\\htdocs\\_exports\\ratracking";
Unless my memory is going I don't think PHP will let yo ... |
Topic: Help creating a simple contact form for my site |
MonkeyNation
Replies: 33
Views: 48195
|
|
Look whos talking! Why can't you just drop the subject! Also, since when did this topic envolve you!
I'm getting sick and tired of this along as everyone else, I may as well just stick to MSN if pe ... |
Topic: Help creating a simple contact form for my site |
MonkeyNation
Replies: 33
Views: 48195
|
|
Dear MonkeyNation, your a small man and you can't just leave the past behind.
That is all.
0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
As for eveyone else trying to help thank ... |
Topic: Help creating a simple contact form for my site |
MonkeyNation
Replies: 33
Views: 48195
|
|
For somebody who hates the person that's going to use it, that's a pretty dumb thing to say. |
Topic: Different PHP for every user |
MonkeyNation
Replies: 8
Views: 16855
|
|
The file doesn't /have/ to be called php.ini if you use the -c paramater.
If you provide a directory with -c it will look for php.ini in that directory, otherwise it will use the exact filename you g ... |
Topic: Can't get exif_imagetype working... |
MonkeyNation
Replies: 6
Views: 15040
|
|
Well, obviously - that's why I didn't bother pasting the error in the first place, and why I tried exif_imagetype.. :wink:
But, here are the results from the code you suggested above:
bool(tru ... |
Topic: Can't get exif_imagetype working... |
MonkeyNation
Replies: 6
Views: 15040
|
|
Create a blank PHP script, and paste:
<?php
error_reporting(E_ALL);
var_dump(dl("php_exif.dll"));
?>
Does that produce a warning? Can you paste it?
Also ... |
Topic: Can't get exif_imagetype working... |
MonkeyNation
Replies: 6
Views: 15040
|
|
php.net
--enable-exif and --enable-mbstring are paramaters for the configure script when compiling PHP yourself.
As to your problem, "an error reporting lack of permissions" isn't very h ... |
Topic: locked myself |
MonkeyNation
Replies: 15
Views: 24729
|
|
out of phpmyadmin pressed one of the buttons on it and now it says localhost is not allowed to connect to the server anybody no a way to get back in ?
Can you actually paste what it says?
If you d ... |
Topic: Smarty Templates and Dreamweaver |
MonkeyNation
Replies: 1
Views: 3259
|
|
I've used smarty, just not with dreamweaver.
Then again, other than stealing their icon, I've never used dreamweaver.
On a quick google I get [url=http://smartydwt.klitsche.org/]this, though. Look ... |
Topic: Generically Securing PHP code |
MonkeyNation
Replies: 11
Views: 21394
|
|
Dude, addslashes().
mysql_query("INSERT INTO `music` (`artist`,`title`) VALUES('".addslashes($_POST['artist'])."', '".addslashes($_POST[' ... |
Topic: Generically Securing PHP code |
MonkeyNation
Replies: 11
Views: 21394
|
|
I don't know why you're worried about SQL injection with shell_exec, but [url=http://www.php.net/manual/en/function.addslashes.php]addslashes() is what you're after.
It also might be worth creating a ... |
Topic: Generically Securing PHP code |
MonkeyNation
Replies: 11
Views: 21394
|
|
$output = shell_exec('echo ^<ID01^> '.escapeshellcmd($_POST['message']).' > com1'); |
Topic: help with PHP script not working... |
MonkeyNation
Replies: 6
Views: 13612
|
|
Seems its because the domain providor does not allow subdomains.
Also if he used the code he pasted above then he'll have parse errors. |
Topic: Generically Securing PHP code |
MonkeyNation
Replies: 11
Views: 21394
|
|
[url=http://www.php.net/manual/en/function.escapeshellcmd.php]escapeshellcmd(). |
Topic: help with PHP script not working... |
MonkeyNation
Replies: 6
Views: 13612
|
|
You're going to have to do better than "neither work" if you want any help. |
Topic: Sending emails with my real name |
MonkeyNation
Replies: 10
Views: 18883
|
|
Which operating system are you using and which SMTPd?
Check the SMTPd's logs to see if it was sendmail that rejected it or the SMTPd.
"From: Symphonics <symphonics@inter.net>\r\n" ... |
Topic: Sending emails with my real name |
MonkeyNation
Replies: 10
Views: 18883
|
|
I /know/ using "From: Symphonics <symphonics@inter.net>\r\n" works. |
Topic: Image Question |
MonkeyNation
Replies: 12
Views: 18023
|
|
The reason fopen() alone doesn't work is because all fopen does is create a handle.
You need to fread() or something in conjunction with fopen() to get it to display the contents of the stream. |
Topic: aprelium.com specs |
MonkeyNation
Replies: 22
Views: 20323
|
|
My servers specifications are the same as aprelium's. (Same provider I believe, although not intentionally.)
I also co-own a server located in Redbus Interhouse's London datacentre.
It's a 3Ghz IP ... |
Topic: Seperate MySQL server issues |
MonkeyNation
Replies: 4
Views: 22503
|
|
Use % as a wildcard for the hostname.
Also most things for MySQL under *nix will work for windows. |
Topic: The last 3-4 times I tried MySQL... |
MonkeyNation
Replies: 5
Views: 22890
|
|
Im saying everyone who seems to use command line has problems. If you use the GUI tools its easier. The tutorials I created are there to make it easier for people. Even I would never dream of using th ... |
Topic: The last 3-4 times I tried MySQL... |
MonkeyNation
Replies: 5
Views: 22890
|
|
Firstly, dont use command line. Thats liable to cause problems from the start. Follow the tutorials on my website to get you up and running. www.abyssunderground.co.uk .
I'm sorry, did you just sug ... |
Topic: More recent help with phpmyadmin |
MonkeyNation
Replies: 4
Views: 9798
|
|
Could have sworn I replied to this topic.
Anyway, I doubt very much it's a case of phpmyadmin "not working", I also doubt it's incompatability between php and mysql - all of that stuff is b ... |
Topic: Mail Server Help |
MonkeyNation
Replies: 6
Views: 4668
|
|
so what domains do i need to add then?
I host more than one doman and they all use the shost.no-ip.org DNS
Err? The domain that you're sending an email to? |
Topic: Mail Server Help |
MonkeyNation
Replies: 6
Views: 4668
|
|
The error is pretty self explanitory. You don't have shost.no-ip.org on the list of domains which your server recieves mail for. (That or you haven't made it so anyone can send anything with it.)
I ... |
Topic: Communicating with dos via website |
MonkeyNation
Replies: 7
Views: 13913
|
|
Well, there are two ways to pass values over with forms.
They both have obvious advantaeges and disadvantages over eachother. (Post being less visibile, get being easier to manipulate for the end use ... |
Topic: Communicating with dos via website |
MonkeyNation
Replies: 7
Views: 13913
|
|
You're on the right track.
Two problems:
For variables to get evaluated you have to use double quotes (""s). And you don't really need to use them in this case, you can just do $var.$var.
... |
Topic: Communicating with dos via website |
MonkeyNation
Replies: 7
Views: 13913
|
|
http://www.php.net/manual/en/ref.exec.php
echo shell_exec("ver"); # Microsoft Windows XP [Version 5.1.2600] |
Topic: Fight SPAM |
MonkeyNation
Replies: 5
Views: 4631
|
|
Actually, it wasn't here to begin with, it was moved. |
Topic: Problems installing ASP |
MonkeyNation
Replies: 9
Views: 41202
|
|
If I understand you correctly, you want the web server to serve a network resource?
The Inquisitor is correct, however you could avoid the whole copying and pasting problem by mounting the network ... |
Topic: Fatal error: Call to undefined function socket_create() |
MonkeyNation
Replies: 10
Views: 23582
|
|
If C:\WINDOWS\php.ini was the one you edited, then you edited the correct one.
Like aprelium said, try restarting abyss too.
Also, you could see what PHP does from the command line.
I.E. Start &g ... |
Topic: Fatal error: Call to undefined function socket_create() |
MonkeyNation
Replies: 10
Views: 23582
|
|
Oh right, I thought the windows binaries had it enabled by default.
In that case, yeah, you'll have to uncomment the extension in php.ini.
If you already have, and it didn't seem to work, run phpi ... |
Topic: Fatal error: Call to undefined function socket_create() |
MonkeyNation
Replies: 10
Views: 23582
|
|
Can you paste the output of running phpinfo()? Did you compile PHP yourself?
Also, according to the PHP manual you don't need an extension for socket_create(). |
Topic: <= No Longer power by Abyss => |
MonkeyNation
Replies: 5
Views: 15535
|
|
You've obviously put a lot of work into it, and it shows.
If that's your first site, then well done, a great effort.
I'm not too keen on the flash buttons, but other than that I see nothing wrong wi ... |
Topic: Fight SPAM |
MonkeyNation
Replies: 5
Views: 4631
|
|
This is ripe with irony. |
Topic: http://19x.xxx.x.xxx ? - urgent |
MonkeyNation
Replies: 24
Views: 39872
|
|
If your database details are fine, make sure that (Assuming you created a new user for it.) the user has access to the database.
Also, in MySQL, a primary key can be assigned the auto_increment att ... |
Topic: http://19x.xxx.x.xxx ? - urgent |
MonkeyNation
Replies: 24
Views: 39872
|
|
Heh, I quickly skimmed and checked http://fmi.compusa.com, assuming it was his site.
It does look a lot like a personal website however, which says it all for the manufacturer. |
Topic: http://19x.xxx.x.xxx ? - urgent |
MonkeyNation
Replies: 24
Views: 39872
|
|
You must have done something wrong. :o
Assuming you were referring to The Inquisitor, then although there's no preset timing, I've found that changes can take up to a week to propagate, although fo ... |
Topic: CGIproxy problems |
MonkeyNation
Replies: 12
Views: 90730
|
|
What are the paths to the images on lighthttpd, and what are they on abyss? |
Topic: Display servers current ip in page... possible? |
MonkeyNation
Replies: 18
Views: 32594
|
|
gethostbyname($_SERVER['HTTP_HOST']); # This work? |
|