@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29



Comments:

<0> CryWolf .. let me write you a specific exemple ...
<0> you go to www.otherserver.com/code.js ... there you have a unique code...
<0> i want ... that .. if you choose to come to www.myserver.com/script.php .... that script will connect you to www.otherserver.com/code.js .. and save that unique code given to you in a $var
<1> Devyll: my answer is the same.
<0> is it possible ?
<1> Devyll: no
<0> ok ..
<1> Devyll: you said you need the client to load the javascript, not php. It's one or the other.
<2> any way to set specific apache headers using .htaccess?
<1> not that php would execute the javascript. It would just store it.
<1> Colloid: #apache
<3> dont you just hate it when you got a 200 line script and it dont work cause you tried comparing with only one = :-/
<0> CryWolf .. i thought that if i made a frameset .. with the java script .. and with php script ... maybe i could retrieve from the javascript frame and save that code ..
<0> but i understand that what i need it's impossible
<4> Colloid: Not via PHP, no
<2> how about via .htaccess?



<4> Colloid: Not in such a way that asking in ##PHP is on topic, no.
<2> php is a technology that most often runs on top of a apache and I'm wanting this for a php script.
<2> so if you know the answer, help, if not stfu ~
<5> lol
<6> That logic really doesn't follow.
<2> *an apache server
<2> My logic is perfect
<6> By that same logic, you should be able to ask how to parse an Apache log file, since it logs requests made to PHP scripts.
<7> any workaround for using imagerotate on PNG with alpha channels ?
<4> Or how to install Linux because "php is a technology that most often runs on Linux OSes on top of a apache"
<8> wow... using BitchX is very different compared to Gaim :P
<9> what, you expected them to be identical, itrebal?
<8> ^Migs^ not at all, just didn't know what to expect
<6> That's what gaim needs. "I'm to lame to read Gaim.doc"
<8> no, i mean, i'm going from Gaim to BitchX, because i'm using it through PuTTY on a windows computer
<10> i try to delete <title>titre</title> i do preg_replace("|<title[^>]*title>|","",$content); and that don't work, someone can help me ?
<6> Y'know, gaim does have a Windows version..
<8> mattmcc i'm very well aware of that, i'm just not allowed to insatll anything on this computer
<11> I was asking here how to get the first index of an array and someone said to run a foreach, get the index and then break.
<6> Heh. I suppose that's one way.
<11> There's a much simpler way on the php site in the array_key function array_shift(array_keys($array));
<6> Yeah, using foreach for that is a tad silly.
<12> !tell Zmanu about doesn't work
<12> Zmanu; use substr replace..
<13> if i do session_register("uid"), $uid and $_SESSION["uid"] should be the same right
<10> sean`: ok, thanks and i gonna forget "doesn't work" :)
<12> yup
<8> Menthol you shouldn't use session_register, it is a very depreciated function and you should stick with $_SESSION
<14> On Wednesday in the US/Canada, at two minutes and three seconds after 1:00 in the morning, the time and date will be 01:02:03 04/05/06. That won't ever happen again." Well, apart from 1:00 in the afternoon and next month on the 4th of May in Australian/European time zones. Don't worry, if you miss it then, you can always catch it again in a hundred years!
<13> itrebal: ok so i should use session_start() and then just store the variables in the $_SESSION array?
<12> $start = strpos ($string, '<title>', 0); substr_replace ($string, $start, strpos ($string, '</title>', $start) + strlen('</title>'));
<8> Menthol exactly
<12> Zmanu; Something like that
<13> thankyou
<12> K\sd; Thankyou for that information :)
<14> :)
<14> its going to be the end of the world!
<12> I feel soo enlightend :p
<14> hehe
<8> K\sd it wont happen again in the afternoon, it will be '13:02 04/05/06
<14> dont ask me.. i just copied it
<14> :P
<8> gotta practice, back in 30 or so
<15> when I'm uploading files that contains ' the ' is being slashed like \
<15> \'
<16> ew. magic_quotes.
<15> how do I avoid this? str_replace doesn't work
<16> stripslashes()
<12> stoffus; Create a function.. for your data
<15> I tried stripcslashes(), what's the difference? stripcslashes only deletes the one I've put there self with addcslashes()?
<0> nighty nighty guys (local time: 1:51 A.M.)
<17> anyone know the easiest way to be able to analyze and entire webpage, and only take the top level elements of a <ul>?
<14> stoffus, hold
<12> function foo ($input) { if (get_magic_quotes_gpc () == 1) { return stripslashes ($input); } return $input;
<14> i use http://pastebin.com/641071
<12> stoffus; stripslashes is not stripCslashes
<14> stoffus,
<12> Note the big C ..



<15> K\sd, why the mysql_real_escape_string ? :S
<14> what ive always used
<12> K\sd; You know that don't work if you don't have a connection open to your mysql server
<14> didnt know that:P my connection is always open
<15> haha
<9> I keep getting too many slashes with mysql_real_escape_string. It's getting annoying.
<9> it addes, like, 7 slashes
<9> so what is stripcslashes?
<3> hey
<3> nvm
<9> do slashes automatically get added when something is POSTed?
<18> hum..
<9> k endra
<14> ^Migs^, my paste would be perfect for you
<18> if am looking for a shoutcast/tv/website hosting
<18> not for many users..
<9> ah, gotcha
<9> oh that was the problem
<18> anyone got a good deal ?
<9> der
<18> know*
<19> Any SQL wizards around? :)
<14> Ciantic, ask the question
<9> try #sql
<1> Ciantic: yes, in #sql
<14> i asume it was php+mysql
<14> :P
<9> well it's dumb to just ask if anyone knows what they're doing
<9> SUCH a waste of time
<1> K\sd: doesn't matter if it's an sql question.
<9> you might as well ask for a brownie recipe
<4> ^Migs^: Why, you have a good one or something?
<4> I'm always up for a good brownie
<20> I'm trying to read a value from $variable from a file.php how do I do that?
<14> zOap, include_once() ?
<14> you will have to global the var in your functions
<20> I did
<19> :) #sql is dead
<4> zOap: php.net/include has an example
<14> Ciantic, pm me ur q
<16> !+typing english
<21> ##PHP does not allow aolbonics (or leetspeak) such as "u for you, r for are, ic for i see -- etc" and typing like this will result in you being silenced; furthermore, inability to adapt may result in a ban.
<20> TML, thanks :)
<4> K\sd: Why not just join #SQL?
<17> if i have an echo statement in an infinite loop on ym webpage..it should be outputting right?
<4> daum: Not until it hits the end of the infinite loop, no.
<14> dont feel link joining another room
<17> TML, hm alright
<17> what would be the best way if i'm using file_get_content(a webpage) then slowly cutting down the string to know when the string is empty?
<4> daum: What?
<12> daum; You can make it output..
<12> If you use the output buffering functions..
<4> You don't even need those
<4> A simple flush() would likely do it
<12> flush is an output control function :p
<4> But not an output buffering function
<17> well what i'm doing is bascially i have a script that takes any webpage in, it then analyzes it for a <ul> list and it only takes the top level elements out of the list then outputs the code for the top level elements only
<12> True
<12> daum; I'm not even gonna ask why you're doing that..
<17> sean`, the university is going to be using ajax to keep menus on a google search page up to date with the homepages.
<12> 'errbody talking about AJAX..
<17> ?
<12> Soon people will be picking on people that don't know ajax :p
<17> heh
<17> well anyways so that is my task
<17> and they decided the best way would be to have the ajax to read an offsite php page that parses all the informatoin, then place it on the serach page
<12> well, like TML said, you can use flush ()
<17> ok
<22> php undefined index errors... If I was feeding an array via list($a,$b,$c)=explode(",",$somestring) and somestring had fewer fields than 3...is that the expected error I'd get?
<18> anyone know a good server where i can shoutcast and tv stream
<18> for a cheap price
<23> localhost!
<23> cheap as can be
<15> can someone take a look at this? the checkExistence() and checkName() isn't working at all -_- / http://pastebin.com/641096


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#suse
captiventfs kanotix
umount /mnt/gentoo device is busy
install SQL::Translator, build.pm
debian apt multiple cds
ibook sound trouble debian
urlescape bash
#web
xchat lircrc
webmin ubuntu 6



Home  |  disclaimer  |  contact  |  submit quotes