Author |
Message |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
Abyss should be running as the user I am logged in on as that is the user I installed it from. The only other user on the system is the default "administrator" account, and even running from ... |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
If I use "system()" or "passthru()" it returns "2". That's right, the number two. If I try to use that other function @ http://www.php.net/manual/en/function.exec.php#575 ... |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
The command line output does work. If I run "CMD" and type
net start > c:\test.txt
I get a file filled with a list of running Services.
However, if in a PHP file I type ... |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
Safe mode is off. If I run the following PHP code:
<?php
exec('net start > c:\test.txt');
?>
I get an empty "test.txt" on my C drive. If i run that command (ne ... |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
It works on the command line, but i get that weird array output when trying it in php. |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
Using that code I get the output:
Array
(
)
|
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
How would I fix this? Other commands such as "ipconfig" or "netstat" work. |
Topic: Calling "net start" from PHP |
RTAdams89
Replies: 15
Views: 26168
|
|
I have a PHP web page which shows various system info of the server it is served from. I have several windows command line outputs stored as variables with the PHP commands:
$ipconfig = `ipconfig - ... |
Topic: AVG list vnc as virus...auto delete the file |
RTAdams89
Replies: 5
Views: 6920
|
|
THis happened to me the other day too. It seems it was jsut a messed up definitions file. Try updating AVG, and then reinstall the latest version of VNC. That shoudl fix it. |
Topic: Random domains point to my IP :P |
RTAdams89
Replies: 14
Views: 11274
|
|
I meant, how did you find this website? Were you just typing in random domain names or what? |
Topic: Random domains point to my IP :P |
RTAdams89
Replies: 14
Views: 11274
|
|
How did you "notice" these domains point to your ip? |
Topic: Virtual Directory link to other drive |
RTAdams89
Replies: 1
Views: 5568
|
|
I have Abyss's Document's Path set to "E:\" I happen to have a folder on my "F:\" drive I would like to share. Can i create an alias to point to this folder, or do aliases only wor ... |
Topic: Modify PHP Slideshow script to include sub folders |
RTAdams89
Replies: 1
Views: 9137
|
|
Here is the part of a slide show script i use to retrieve and display images:
<?php
function returnimages($dirname, $start) {
$pattern="(\.jpg$)|(\.jpeg$ ... |
Topic: Dynamically adding hyperlinks |
RTAdams89
Replies: 7
Views: 12772
|
|
That works perfectly. Is there anyway to make it grab the contents of the file it is embedded in though? I would rather this not have to have two separate files. |
Topic: Dynamically adding hyperlinks |
RTAdams89
Replies: 7
Views: 12772
|
|
I was hoping for something non-dependent on SQL. Ideally it would be just a script I could insert into the head of a document and not require any other resources.
I want to be able to define a list ... |
Topic: Dynamically adding hyperlinks |
RTAdams89
Replies: 7
Views: 12772
|
|
I am looking for a script (javascript or PHP) that I can insert into one of my web pages that will search the text on the page and add hyperlinks to key words. Anyone know of a script like this? |
Topic: Help with fgetcsv |
RTAdams89
Replies: 4
Views: 10252
|
|
Is there a way I can use PHP to search the CSV file for a particular value (a player's name) and return which line that that value appears in? |
Topic: Help with fgetcsv |
RTAdams89
Replies: 4
Views: 10252
|
|
That is semi-working now. Is there a way I can use PHP to search the CSV file for a particular value (a player's name) and return which line that that value appears in? |
Topic: Help with fgetcsv |
RTAdams89
Replies: 4
Views: 10252
|
|
I have a CSV file as follows:
"player1",5'11,150,R,R,10,OF,17
"player2",5'6,119,R,R,10,2B,13
I am trying to create a PHP page which will look for a specified name in the f ... |
Topic: Best Domain Name to Non-port 80 Practice |
RTAdams89
Replies: 9
Views: 20066
|
|
Yeah. My ISP blocks port 80. |
Topic: Best Domain Name to Non-port 80 Practice |
RTAdams89
Replies: 9
Views: 20066
|
|
I have a domain name through godaddy. The web site I want to associate with it is hosted on my computer. The website is hosted on a different port (9555). What is the best way to go about having " ... |
Topic: Alternative to cookies |
RTAdams89
Replies: 1
Views: 6806
|
|
I have a website that is designed for a particular monitor resolution. When a person with a smaller screen setting visits the page, a popup window notifies them that it appears better at a larger reso ... |
Topic: Some People can't access my site |
RTAdams89
Replies: 9
Views: 9310
|
|
Yes, the music is :evil: but, unfortunately my employer insisted I put it in there. Hey, at least I didn't make it loop or put it on every page. :) |
Topic: Some People can't access my site |
RTAdams89
Replies: 9
Views: 9310
|
|
Apparently some people are having issues accessing my website. From some locations it works, from others it doesn't. If you could, please try going to www.desertmountainbaseball.com (note, it plays so ... |
Topic: Help testign website accessibility |
RTAdams89
Replies: 1
Views: 3770
|
|
Hello. I was recently on vacation and noticed an issue with my website. I have several different "sites" in various folders all served from one computer. I have a dyndns account which is lin ... |
Topic: JPEG MIME type issues |
RTAdams89
Replies: 5
Views: 14379
|
|
I have a PHP script that allows users to upload an image to a directory. Before allowing the upload it does a check of the MIME type to verify it is a JPEG image. I had it set to allow only 'image/jpe ... |
Topic: PHP is causing Abyss to freeze (I think) |
RTAdams89
Replies: 6
Views: 19689
|
|
So, these messages are essentially normal and the underlying issue will present no issues for me? Are there plans to block this error from being reported in the future, or will my log keep growing wit ... |
Topic: PHP is causing Abyss to freeze (I think) |
RTAdams89
Replies: 6
Views: 19689
|
|
I just updated to the new abyss version 2.4 and re enabled FastCGI. It no longer freezes, and everything seems OK, but i still get the following in the fastcgi log:
10/Jan/2007:13:56:02 -0700 SUID: ... |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
pkSML's code worked great, and trying the updated code from aprelium also did the trick. Thanks guys. |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
Ahh, OK that makes sense. The issue seems to be somewhere in the
for ($line in explode("\n", $c))
{
list($proto, $from_ip, $from_port, $to_ip, $t ... |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
I had originally tried a script like you just suggested (though mine was a lot messier), and neither work. I could be way off base on this, but I think it might have to do with
($line in explo ... |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
How would I go about doing that to this code:
$connections = `netstat -n`;
echo "<pre>".$connections."</pre>"; |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
Doesn't quite do it. I need to show all connections (not just those to port 80) from all IPs. |
Topic: Displaying netstat -n |
RTAdams89
Replies: 11
Views: 24298
|
|
One one of my PHP pages I use the following code:
$connections = `netstat -n`;
echo $connections;
With that, I get an output like this:
Active Connections
Proto Local Address ... |
Topic: System Info Script |
RTAdams89
Replies: 2
Views: 9252
|
|
Thanks, I looked at your script, but it wasn't quite robust enough for me. I ended up modifying that script i referenced in my first post. Here is the new code:
<?
/* This program is free softw ... |
Topic: System Info Script |
RTAdams89
Replies: 2
Views: 9252
|
|
I have been trying to find a suitable PHP script that will display system information (up time, disk usage, processor usage, network connections, etc.) of my windows xp server. I have found many, incl ... |
Topic: Using PHP to ping a bunch of html pages |
RTAdams89
Replies: 1
Views: 6394
|
|
Ping may not be the right term, but what I am trying to do is create a script that when given an input such as http://server.com/folder/ will attempt to access every possible 7-character file name ... |
Topic: New to PHP |
RTAdams89
Replies: 7
Views: 12740
|
|
It sounds like you don't need PHP at all, and instead should learn HTML. Try HTMLgoodies.com for a bunch of tutorials. If you edit html pages with a editor such as dreamweaver or frontpage, you can &q ... |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
Alright, that seems better. I guess I must have made a typo or something the first time through. One last thing, is there a way to remove the need for the dir_redirect.php file? |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
It works for me. You probably forgot to make this change.
Exactly which line do I replace with that? I thought I did it, but maybe I changed the wrong line. |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
Hum, still not working. Now it redirects me to the index.html file in my server root all the time. Is it working for you? |
Topic: PHP is causing Abyss to freeze (I think) |
RTAdams89
Replies: 6
Views: 19689
|
|
Ok, I did that immediately after I posted my message. It wasn't helping at first, but at a reboot (which presumable ended some of the PHP processes still running) it seems OK now. |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
One problem. If i navigate to a folder with no index.php or index.html file, it shows the directory listing script as it should. However, once I have that script, i can move up a folder to the server ... |
Topic: PHP is causing Abyss to freeze (I think) |
RTAdams89
Replies: 6
Views: 19689
|
|
The last fee days Abyss has sporadically been freezing (no access to the hosted files or the Abyss web interface). The only way to fix the problem is to restart the abyss service. It just happened aga ... |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
Seems to work well on first glance. If i understand that right, the dir_redirect.php just takes the directory the visitor requests and passes it off to the dir.php as the "path" variable scr ... |
Topic: Evoluted Dir Listing Script |
RTAdams89
Replies: 15
Views: 50364
|
|
Abyss includes the option to use a custom php file as the directory listing script. I tried this script: http://www.evoluted.net/community/code/directorylisting.php and i really like it; however, when ... |
Topic: Problem Having Abyss And Apache on the Same Computer |
RTAdams89
Replies: 11
Views: 17853
|
|
You shouldn't. The only thing to be careful of is that their ports are clashing. For example, abbyss on my PC runs on port 80 and the admin interface is on 9999. If i installed Apache I would have to ... |
Topic: Testing Custom Error Pages |
RTAdams89
Replies: 5
Views: 8972
|
|
Well if i navigate to a page that doesn't exist, i see my custom 404 page. If Use the script you provided to try and view a 404, i just get the standard IE 404 page.
And yes, friendly error message ... |
Topic: Testing Custom Error Pages |
RTAdams89
Replies: 5
Views: 8972
|
|
For some reason when I do that I get standard error pages (in fact not even the default abyss ones, but rather the ones built into Internet explorer) what is that all about?
Oh, and if i disable &q ... |
Topic: Testing Custom Error Pages |
RTAdams89
Replies: 5
Views: 8972
|
|
Is there a way to test the custom error pages I have setup? Obviously, testing 404 is easy, but how about ones such as 408 or the 5xx? |
|