@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> all i could find was how to retrieve from your own domain
<0> hmm
<1> <?php echo file_get_contents($_GET['url']); ?>
<1> that's all
<0> no php => meta refresh
<1> huh ?
<0> i don't want my server to load with file_get_contents
<1> it's the only way to do that
<0> ok, thanks
<1> cause with XmlHttpRequest you can just open file on your own server



<2> L`OcuS u sure of what u say? caus XMLHTTP is meant to access other websites
<1> no with some browsers
<1> not*
<1> firefox can't load "distant" url
<2> hm... that sure is... strange
<1> that's not "strange", that's SECURE :)
<2> i guess...
<3> Hi,I am trying to generate an error handler if someone trys to do getElementById() on an ID that does not exist, like this: try{var h=document.getElementById(layerID);} catch(E){alert("error");}, but this doesnt work. Does getEl... not throw an exception?
<2> no
<2> it will make h "undefined"
<2> so just check if(h=="undefined") and it should do the job
<2> (undefined may need a capital U, i'm not sure)
<3> strange.. why didnt they implement that it throws an exception?
<2> because it's javascript... and not java?
<2> i don't know
<3> (and h is null when getElementById doest find the ID, I alerted h, and it returns null, not undefined)
<3> but javascript does have exceptions
<2> well anyway you got your answer :P
<3> so when there is an exception handling facility, why not support it with the most used method?
<3> jep indeed
<3> thx
<2> sorry, can't answer that
<3> never mind :)
<4> Hi.
<4> I have a rather big question, and would appreciate some pointers...
<1> hi, please ask
<4> I'm working on a webpage, which includes a message board...
<4> When posting a new message, the user just types in text... But I want to be able to make the text bold, colors, etc.
<4> Any ideas on how I could do that? I suspect I could do that with javascript.
<4> Right now, they type into a text area.
<1> http://www.formvista.com/uploaded_html/demos/areaedit/index.html
<1> can have a look at this
<4> Ok.
<5> echo "<a href='javascript:newWindow('http://www.sickhoops.com/new/friend/index.php?'+document.location.href,'tell',575,292,'')'><img src='images/tellfriend.gif' border='0'></a></td>";
<5> any idea why wheni click that im getting 'ERROR ON PAGE" ?
<1> hummm...
<1> newWindow ?
<1> window.open ?
<5> see that same exact line works in just regular html
<5> but whenn i try echoing it thru php it doesnt work
<1> cause



<5> ?
<1> echo '<a href="javascript:newWindow(\'http://www.sickhoops.com/new/friend/index.php?\'+document.location.href,\'tell\',575,292,\'\')"><img src="images/tellfriend.gif" border="0"></a></td>';
<1> this should work better
<5> Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/marvin/public_html/pr4nks/index.php on line 129
<1> must have forgotten to backslash a quote
<5> i put exactly waht u gvae me tho:S
<6> http://201.214.24.63/ls_lib_php_2.txt
<1> you didn't
<5> i did:|
<1> sure you did not
<5> kik
<5> lol
<1> if you did, there would be no error
<5> i ***ure you i did
<1> okay
<1> i put this in a script of mine and, oh surprise, no error
<1> you did NOT
<1> (lol)
<5> http://www.pr4nks.net/
<5> :|
<5> http://pastebin.com/514713
<1> echo "<td><a href='view.php?id=$field5'><img src='images/listen.gif' border='0'></a><a href='$field4'><img src='images/dl.gif' border='0'><a href="javascript:newWindow(\'http://www.sickhoops.com/new/friend/index.php?\'+document.location.href,\'tell\',575,292,\'\')"><img src="images/tellfriend.gif" border="0"></a></td>";
<1> that's no what i told you
<1> YOU DID NOT !!!!!! :p
<5> <1> echo '<a href="javascript:newWindow(\'http://www.sickhoops.com/new/friend/index.php?\'+document.location.href,\'tell\',575,292,\'\')"><img src="images/tellfriend.gif" border="0"></a></td>';
<5> <1> this should work better
<7> javascript: ..... ugly
<1> echo '<td><a href="view.php?id='.$field5.'"><img src="images/listen.gif" border="0"></a><a href="'.$field4.'"><img src="images/dl.gif" border="0" /><a href="javascript:newWindow(\'http://www.sickhoops.com/new/friend/index.php?\'+document.location.href,\'tell\',575,292,\'\')"><img src="images/tellfriend.gif" border="0"></a></td>';
<1> the first code you gave me, wasn't the one I see now
<5> i hate javascript
<5> ll
<1> before "hating" javascript : learn PHP's basics
<1> you don't even know how to echo a simple string
<7> becareful, there is no room for javascript hater here ;)
<5> lol
<1> 1 - learn html, 2 - learn - javascript and from then learn a dynamic language
<1> such as php
<7> 1.5, learn programming
<1> (or ASP, then i'll have some reasons to hate coding ;)
<1> you'll*
<8> anyone using BrowseForFolder in jscript?
<8> nm
<9> nope
<7> nice pic.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#linux
FIBERLINK RDS ETHERNET
#linuxhelp
What are there 100 of to the Drachma in Greece ?
overknocking
Apache 1.3.36 (Unix) caching pages
12WHO MET CYCLOPS ON HIS THIRD VOYAGE?
#linuxhelp
Nanuq clothing
#java



Home  |  disclaimer  |  contact  |  submit quotes