Here is a link where other people are experiencing the same exact thing, however, they haven't decided the cause/solution.
http://www.webmasterworld.com/forum39/1435-2-15.htm
Most requests are for the DocumentRoot page. The request in the log is "GET / HTTP/1.1" 200 29514 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
The logs show that they just connect once and don't browse any other pages.
Hi all, I just set up my server the other day and it isn't listed anywhere but I've been getting over a thousand hits a day. Is this virus attacks or what?
I installed awstats and almost all of the ips are unresolved.
Any suggestions on figuring this out?
Thanks
http://www.editplus.com/ it highlights things well (although not errors) you have to install the user contributed plugin for PHP (I think). I like it allright. It is windows only, but it works with wine.
Shagy
I haven't really written any recursive functions, although I understand the concept, I am new to implementing it on anything other than a trivial problem. Looks like I should give it a deeper look.
I was also thinking that maybe the OO approach would be better, but again I don't instinctively...
Lets say I have a multi-dimensional array like this:
$file_mod_info[$mod_type][$mod_file_path][$index]='mod_string';
Then I iterate over it like so:
foreach ($file_mod_info as $mod_type => $mod_file_path_array) {
foreach ($mod_fil_path_array as $mod_file_path => $index_arrray) {
foreach...
I have a php script which generates a list of modules to install or uninstall based on reading the directory names. So the page presents the user with something like this:
Text Radio Radio Radio
Button Button Button
--------------------------------------
Module1...
Hmmmm...well aparently you have to use \r\n in windows instead of \n. This really makes it a PIA to keep your script cross-platform. Now I have a $newline variable which I am passing to every function instead of using GLOBAL. Sheesh.
i.e.
if ($os_type == 'windows') {...
Ok, this is driving me nuts. All I want to do is open a file, search for a string, insert a string immediately after the search string and close the file. I am using fopen()fread() preg_match and preg_replace to open the original file, read it all into a string and then replace the search...
I am wondering how to include the column name as an alias after performing the to_char function. Here is the query:
select seq_number AS SEQUENCE, ref_code AS PART_NUMBER, to_char(insert_date, 'HH24:MI DD-MON-YY')AS DATE from table where ref_code like '5555555';
The "AS DATE" part...
allright, well duh. I just answered my own question.
I simply assigned the POST data to variables and used the variables in the select statement like so:
$partnumber=$_POST['partnumber'];
$date=$_POST['date'];
$stmt = OCIParse($conn, "select t1.seq_number, t2.ref_code...
Hi all,
I'm new to PHP though I have good experience with Perl. My question is about escaping single quotes in a SELECT statement. I have a form which I am trying to post to a php script. I want the form data ($_POST["partnumber"] and $_POST["date"] to be used in the...
I have one column which I would like to perform a math operation on and I can't figure it out. I really hate Crystal Reports, but it is good for some things. Anyway, here is a simple example with the output and below that will be what I WANT.
NOW:
SELECT date, sequence, group FROM table where...
Well, THIS works, but it isn't how I wanted to do it. I wanted the SearchStringArray to be a class.
import java.util.*;
import java.util.regex.*;
public class Testssa
{
public static void main(String[] args)
{
String search1 = "xdv hs5";
String[] newone =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.