Search found 162 matches

by R4000
Sat Jan 12, 2008 11:52 am
Forum: PHP - Code
Topic: Find RSS / Atom feed on a web page
Replies: 1
Views: 243

Re: Find RSS / Atom feed on a web page

Firefox does this by looking for the following in the page's <head>: <link href="http://www.example.com/some.rss" rel="alternate" type="application/rss+xml" title="TITLE OF YOUR RSS FEED" /> It depends how detailed you want to do this. You could detect all <a>...
by R4000
Sat Jan 12, 2008 11:34 am
Forum: Javascript
Topic: [Slv]Individual text colours for individual options dropdown
Replies: 11
Views: 1410

Re: Individual text colours for individual options in a dropdown

The code I wrote was : <head> <script type = 'text/javascript'> function changeColor() { [code] document.getElementById('dd').opt1.style.color = 'green'; document.getElementById('dd').opt2.style.color = 'orange';[/code] } </script> </head> <body> <form id = 'dd'> <select name = 'dropdown' id = 'dro...
by R4000
Sat Feb 24, 2007 2:45 am
Forum: Javascript
Topic: Javascript: Sorting Odd's from Even's
Replies: 7
Views: 1566

True...
by R4000
Sat Feb 24, 2007 2:18 am
Forum: Javascript
Topic: Javascript: Sorting Odd's from Even's
Replies: 7
Views: 1566

Just to let you know, to find out if an int is odd or even you should do the following: for(i=0;i<10;i++){ if(i % 2) { alert("The number " + i + " is an even number"); } else { alert("The number " + i + " is an odd number"); } } The operator used above (%) is ...
by R4000
Sat Feb 24, 2007 2:13 am
Forum: Javascript
Topic: li>a
Replies: 5
Views: 1173

I think:

Code: Select all

li a {
   /**
    * CSS Data
    **/
}
by R4000
Wed Jan 17, 2007 5:01 am
Forum: PHP - Code
Topic: Shell PHP file writes to MySQL, but not if it has apostrophe
Replies: 2
Views: 650

you might want to look at mysql_real_escape_string()

:)
by R4000
Tue Aug 22, 2006 4:48 am
Forum: UI Design/Usability
Topic: PHPGameDesign.org
Replies: 2
Views: 6775

Yes... the host is there, but it should be a seemless transition when the dns updates :)
by R4000
Mon Aug 21, 2006 7:33 pm
Forum: UI Design/Usability
Topic: PHPGameDesign.org
Replies: 2
Views: 6775

PHPGameDesign.org

I know i posted about it a long time ago, but this is just a quick note to say that i have now got it up and running on a perminant host.

http://www.PHPGameDesign.org

I would really like to hear you ideas about what i should do to make this better...
by R4000
Mon Aug 21, 2006 1:28 pm
Forum: PHPGD.com
Topic: Webpages to PNg/Jpg/Gif/BMP
Replies: 7
Views: 9524

I 'pose it wouldn't be too hard to make:
http://khtml2png.sourceforge.net/
work on a server, then use something like the code I posted about to create the screens.
by R4000
Sat Aug 19, 2006 7:32 pm
Forum: PHPGD.com
Topic: Webpages to PNg/Jpg/Gif/BMP
Replies: 7
Views: 9524

Grab yourself a copy of IECapt... Then use this little script. :D http://iecapt.sourceforge.net/ <?php /** * IECapt - PHP Frontend. * - * IECapt is a small application designed for screengrabbing websites * Using the Internet Explorer rendering engine. * - * This frontend is designed to allow people...
by R4000
Fri Jul 14, 2006 4:42 pm
Forum: PHP - Code
Topic: AJAX+PHP=refresh
Replies: 2
Views: 839

easy
use sajax or something or your own ajax code

Code: Select all

<div id="WHAT EVER">
part to change
</div>
and then when you get your ajax response

Code: Select all

var _gel = document.getElementById("WHAT EVER");
_gel.innerHTML = reposnseText;
:)
by R4000
Fri Jul 14, 2006 2:01 pm
Forum: PHP - Code
Topic: Bayesian Filters
Replies: 6
Views: 1808

ok :)

those links would be nice.
thankyou!
by R4000
Fri Jul 14, 2006 1:33 pm
Forum: PHP - Code
Topic: Bayesian Filters
Replies: 6
Views: 1808

So is it posible to us it in this project do you think?
by R4000
Fri Jul 14, 2006 12:52 pm
Forum: PHP - Code
Topic: Bayesian Filters
Replies: 6
Views: 1808

Yea, im pretty sure its just one of these impossable tasks you get given, that you can't actualy do.
But they want to see how inteligent you are by see what you would do to try doing it.

So still got any theorys on how to impliment it? :P
by R4000
Fri Jul 14, 2006 12:33 pm
Forum: PHP - Code
Topic: Bayesian Filters
Replies: 6
Views: 1808

Bayesian Filters

Hello guys, a friend of mine asked me a question earlier, about a project of his for school. It involved bayseian filters, now i have no idea what one of these is, or howto impliment it in PHP. Any of you guys know? :P What he wants it for is something like this: 1) Find uri from company name [DONE]...