Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BigBadDave
  • Content: Threads
  • Order by date
  1. BigBadDave

    Script optimization

    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...
  2. BigBadDave

    SQL logic

    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...
  3. BigBadDave

    virtual host URL

    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...
  4. BigBadDave

    Speedy XML parsing

    I built this function to parse and render my XML: stop (); var mySort = new Array(); var pXML = new XML(); pXML.onLoad = readXML; pXML.load(&quot;file.xml&quot;); function chkDup (hts, qry) { for (var i = 0; i<mySort.length; i++) { if (mySort[i][1] == qry) { mySort[i] = [mySort[i][0]+hts...
  5. BigBadDave

    Regex

    Ho do I only match these chars: [a-z][A-Z][0-9] Regards David Byng www.byngdesigns.co.uk davidbyng@hotmail.com
  6. BigBadDave

    Open url without packages

    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
  7. BigBadDave

    Open url without packages

    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
  8. BigBadDave

    document.body.innerHTML

    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
  9. BigBadDave

    Edge Drop Down Menu

    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
  10. BigBadDave

    Elasitc Scale

    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
  11. BigBadDave

    Loop SQL

    Hi, this dosn't seem to work: <cfif IsDefined (&quot;form.update&quot;)> <cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#form.arrTotal#&quot;> <cfquery datasource=&quot;ema&quot;> UPDATE students SET class='#form[&quot;class&quot; & i]#', amount='#form[&quot;amount&quot; &...
  12. BigBadDave

    Post form values as array

    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 &quot;<input name='foo[]'>&quot;; } ?> Then I could read the posted results back like this: <?php for ($i = 0; $i < count ($_POST[&quot;foo&quot;]); $i++) { echo...
  13. BigBadDave

    2 single quotes

    Why does CF add in a second single quote to the following: <cfscript> sql = &quot;SELECT * FROM students WHERE sid Is Not Null AND sname <> 'Byng' AND sname <> 'Burns' AND incs <> 'true'&quot;; if (IsDefined (&quot;o&quot;)) { sql = sql & &quot; AND paid = '#o#'&quot;; } sql = sql...
  14. BigBadDave

    How do you set-up Cold Fusion on Apache 1.3.27

    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...
  15. BigBadDave

    New Site

    I just designed this: www.byngdesigns.co.uk/new what do you think? Regards David Byng www.byngdesigns.co.uk davidbyng@hotmail.com
  16. BigBadDave

    Gumi Gumi menu

    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
  17. BigBadDave

    _x and _y Movement

    Just a: &quot;quick tip&quot; 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...
  18. BigBadDave

    Drop Down Menu 3

    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
  19. BigBadDave

    What do you think?

    Check this: www.byngdesigns.co.uk/HPWorld Regards David Byng www.byngdesigns.co.uk davidbyng@hotmail.com
  20. BigBadDave

    Drop down menu 2

    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

Part and Inventory Search

Back
Top