I need help in optimising the following script:
use strict;
use 5;
use CGI qw(:standard);
use POSIX qw(strftime mktime);
use DBI;
my $from = main::param ("from");
my $to = main::param ("to");
my @from = split (/\//, $from);
$from = $from[2] . "-" . $from[1] . "-" . $from[0];
my @to = split...
I am trying to get a handle on selecting the top 10 entry and exit pages of my apache access_log database. I log the url, host name etc. This is what I have for top 10 popular URL's if its any help:
SELECT `url`, COUNT(`url`) AS `num` FROM `access_log` WHERE `date` = '0000-00-00' GROUP BY...
Hi,
How can I load a URL instaed of a document root?
I assume you can do it with mod-rewrite but i'm not sure of the syntax
insted of: subdomain.my-domain.com -> /htdocs/subbdomain/
I need: subdomain.my-domain.com -> /cgi-bin/prog.sh/prog.w?aff=xcsma
Regards
David Byng...
I built this function to parse and render my XML:
stop ();
var mySort = new Array();
var pXML = new XML();
pXML.onLoad = readXML;
pXML.load("file.xml");
function chkDup (hts, qry) {
for (var i = 0; i<mySort.length; i++) {
if (mySort[i][1] == qry) {
mySort[i] = [mySort[i][0]+hts...
How can I open a URL for parsing without having to install any packages (as I can't) I don't have libwww-perl installed so can't use LWP::UserAgent Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
How can I open a URL for parsing without having to install any packages (as I can't) I don't have libwww-perl installed so can't use LWP::UserAgent Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Hi,
Does anybody know a way of getting the contents of document.body.innerHTML in NS4 I need to parse through the contents of the HTML (I can't do it server-side even though I would normally!!) Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Hi,
I made this:
www.byngdesigns.co.uk/tek-tips/drop-down-edge.swf
www.byngdesigns.co.uk/tek-tips/drop-down-edge.fla
based on this:
www.edgedesign.co.uk/theedge.html
but with better features Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Somebody aked me to make this:
www.byngdesigns.co.uk/tek-tips/elasticscale.swf
www.byngdesigns.co.uk/tek-tips/elasticscale.fla
If you want it use it Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Hi, How do you post form values as an array? In PHP I would do it like this:
<?php
for ($i = 0; $i < 5; $i++) {
echo "<input name='foo[]'>";
}
?>
Then I could read the posted results back like this:
<?php
for ($i = 0; $i < count ($_POST["foo"]); $i++) {
echo...
Why does CF add in a second single quote to the following:
<cfscript>
sql = "SELECT * FROM students WHERE sid Is Not Null AND sname <> 'Byng' AND sname <> 'Burns' AND incs <> 'true'";
if (IsDefined ("o")) {
sql = sql & " AND paid = '#o#'";
}
sql = sql...
I have installed Cold Fusion but I can't get Apache to start with it I get this error:
Syntax error on line 830 of c:/phpd/apache/conf/httpd.conf: Cannot load c:/phpd/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so into server: (126) The specified module could not be found Regards
David Byng...
I just made this, if you want it use it:
www.byngdesigns.co.uk/tek-tips/gumi_gumi.swf
www.byngdesigns.co.uk/tek-tips/gumi_gumi.fla
It is based on gumigumi.com:
http://www.gumigumi.com/korekore.html Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Just a: "quick tip"
When using onClipEvent(); to move an objects _x and or _y you should add updateafterevent(); to the actions
http://www.macromedia.com/support/flash/action_scripts/functions/updateafterevent.html
It helps to stop flickering Regards
David Byng...
This is the most reliable drop down menu I have made
www.byngdesigns.co.uk/tek-tips/drop_down_menu3.swf
www.byngdesigns.co.uk/tek-tips/drop_down_menu3.fla
FAO: Dragos, Just post if you need anything explaining Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
Just made it:
www.byngdesigns.co.uk/tek-tips/drop_down_menu2.swf
www.byngdesigns.co.uk/tek-tips/drop_down_menu2.fla
The options stay selected when clicked and the title text goes yellow etc etc
NOTE: It is a bit tempremental Regards
David Byng
www.byngdesigns.co.uk
davidbyng@hotmail.com
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.