@# 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



Comments:

<0> changing
<1> at least i don't think so
<0> deadroot: then, should it be dynamic DNS or other things else??
<0> deadroot: so why would the user comes to my counter with changing IPs?
<1> "A Transparent Proxy is a AAA server that satisfies the definition of a Proxy, but does not enforce any local policies (meaning that it does not add, delete or modify attributes or modify information within messages it forwards)."
<1> don't know what AAA server is, but the meaning should hold
<1> there are some ISPs that changes their user's IPs
<0> deadroot: that's just a normal proxy, but it's the the ISP who have a little trick on IP, right??
<1> singapore for instance changes the last octet (255.255.255.xxx) after a few seconds
<1> some says this is to prevent their clients from getting attacked, or from hosting their own servers
<0> deadroot: actually, the user's own IP won't change , but the proxy server's IP is changing second by second
<1> if it's a TP, why does your server use the TP's IP address? shouldn't it use the user's IP?
<2> deadroot: It's like using NAT.... You wont see the internal IP addresses, but you could have 15 users all coming fromt eh same IP address.
<2> deadroot TP is just the inverse.



<1> oh. just read the wikipedia article
<1> :-/
<3> anyone have any insight about php-mysql connectivity issues?
<4> How do I get the mail() function to work in PHP? It works fine in python etc, and sendmail is configured properly, what am I doing wrong?
<3> specifically "Fatal error: Call to undefined function mysql_connect() in /home/........"
<2> Is mysql installed and ebnabled in php?
<0> deadroot: the TP server gets the web site first and p*** it to me, so it's the server who touchs the web server
<3> well, phpmyadmin works
<0> Jymmm: is "15" a real figure for TP?
<0> a true figure
<1> DavidHKMrPowers: i think ETags could help you out. you'll just need to figure how to use it properly.
<5> try another mailer cl***, like PHPMailer
<0> deadroot: thanks wonder if no ISPs use TP in your area?
<2> DavidHKMrPowers: ##PHP really isn't the place to discuss networking or proxies.
<1> i don't know
<0> Jymmm: ok :(
<3> any suggestions?
<6> ok, how do i completely destroy a session and remove every trace of it? it's not at easy as it sounds with php, that's for sure
<7> session_destroy();
<7> lol
<7> as for the rest i dont know.
<5> yeah, for sure
<5> are you logging the session in a db or anything?
<6> ^Migs^: no
<6> Kizmet: well, ok, i'll try it. but the thing is that the cookie is not removed
<3> php echoes 'hello world' things without any problems, just can't seem to get it to connect to mysql using
<3> <? mysql_connect(localhost, uname, p***word);
<3>
<3> mysql_select_db (dbname);
<6> Kizmet: the cookie remains
<3> etc
<8> read the topic
<3> been thru all sorts of man pages, forums, docs and can't seem to figure it out
<5> that's not a session issue, that's a cookie issue
<1> MstrJeff: have you been to www.php.net/mysql_connect ?
<9> Parse error: parse error, unexpected T_STRING in
<9> whats a T_STRING?
<3> I think so, but I'll look there again
<10> How would I setup a database to allow me to put in a url, a path to a thumbnail, and an id number? From there I would then use PHP to retrieve that and display the link with the thumbnail...How would I do all of this?
<10> Any guides online specifically addressing this?
<1> Acidic32: T_STRING means that you have a string lying about in unexpected places
<6> this is what i do that DOES NOT remove the session completely: "$_SESSION = array(); setcookie("dun", '', -3600);". is something more needed?
<1> jonkri: you want to completely remove the session?
<6> deadroot: yeah
<10> No one?
<1> jonkri: try session_destroy
<1> i'm not sure how complete it is though
<11> do you say "a 6 month something" or "a 6 months something" ?
<6> deadroot: thanks, i'm reading the session_destroy doc right now
<10> Erm...
<1> root404: if your basics are strong, you can do that by yourself. :)
<10> Well, I want these to be my basics. :P
<10> Lol.
<10> deadroot: Can you help out alittle?
<12> Hah, I have the very same magnet as error403's signoff
<10> lol
<12> ...'some ***hole who really deserves it'
<10> error403!!!
<10> root404!!!!
<12> OMFG
<10> lol



<9> how do i make
<9> \ as a delimiter
<13> Acidic32: why do you want to use \ as a delimiter?
<14> how can I make PHP echo out all "*.php" files in a specific dir?
<9> thats what this file has
<9> uses \ as a delimited
<9> delimiter
<8> dbe: See the file and directory functions
<13> Acidic32: what file? I can't see your computer.
<14> [TechGuy], thx
<13> Acidic32: is it a csv file, except using \ instead of a comma?
<10> Help?
<6> "$_SESSION = array(); setcookie("dun", '', -3600); session_destroy();" <--- this is what i do, the cookie remains
<6> i take it i'm not the only one trying to destroy and remove a session?
<15> not sure here, but maybe you should do something like setcooike("dun", "", time()-3600)
<16> hi all
<16> anybody know if i want use template it's necessary i install phplib or other ?
<15> fas3r: you can make your own templates, too. templates don't need any libs. that is if i got you right
<6> for some reason (please explain) i had to p*** the "/" argument to setcookie
<6> wierd
<16> oki thank Pilten
<15> fas3r: take a look at http://smarty.php.net/ if you need a templating system
<17> hi
<16> Pilten, ok thank
<17> Which is quicker: unserialising a 20 element array of fetching one record from mysql with 20 fields
<16> Pilten, it'ss same than modelix no ?
<2> ChrisP let the db do what it does best.
<15> fas3r: i've never heard of modelix
<18> sorry for the n00b question,google isn't turning anything up,is there any way to check a variable for certain characters/numbers/combination of both thanks
<18> or*
<5> heh
<16> Pilten, it's an other solution for using template simply with php ;)
<5> I like the "thanks" at the end
<15> domlolz: take a look at http://se.php.net/manual/en/ref.pcre.php and the preg_* functions
<13> domlolz: depending on what you're looking for, either strpos or preg_match
<15> fas3r: okay :)
<18> thanks guys
<19> anyone know a nice way to merge an array's elements into a long string ? im thinking of something else then a foreach.
<8> implode
<19> oh yeah :)
<19> thx
<10> How would I set up a database that has 3 columns, id, path to thumbnail, and url, so that I can then use PHP to retrieve those and then display the thumnail linked to the url?
<13> root404: once you set up the database, you can use php to retrieve the data and do whatever you want with it.
<10> I know. But how?
<20> mysql_* functions. Or postgresql functions. Or whateverdatabasename functions.
<15> root404: do you really need both path_to_thumbnail and url in you table? think you would do fine with just one of them
<10> I was hoping for a simple walkthrough.
<10> Pilten: Why do you say that?
<20> Gimme a database name.
<13> root404: start by reading the chapters in the manual of whichever database you're using which covers creating databases and tables, and querying tables.
<8> We don't handhold
<2> !+sql
<21> [SQL] Structured Query Language - the language for most DB Systems. See http://www.w3schools.com/ http://www.sqlcourse.com/ http://www.onlamp.com/pub/ct/19 and #mysql, #postgresql or #sql
<10> freeone3000: gallery
<2> root404: There are zillions of tutorials available: http://www.google.com/search?q=php+mysql+tutorial&sa=Search+Google
<2> root404: Also read http://php.net/mysql and all it's subpages and user comments.
<15> oh yeah. got my phpedit 2.0 license a minute ago. sweet :)
<22> hiall
<22> heuu re
<22> ...
<22> in set_var for template it's possible i make php code ... or it's just for using with mysql ....
<23> I have a problem with my script
<23> my mod rewrite is writing the urls but there is spaces in the
<23> m
<23> and I dont know if php is detecting it
<23> RewriteRule ^products/(.*)/(.*)/$ /products.php?cat=$1&prod=$2 [L]
<24> ello
<23> anyone alive?
<13> thegh0st: print_r($_SERVER) to see what PHP is seeing.
<25> wonders if we have 3 for 3
<23> okay..
<24> can someone please point me to a little script i can use to get the entire url of the page the script is running in?
<23> doesnt say anything
<13> uriahheep: print_r($_SERVER);


Name:

Comments:

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






Return to #php
or
Go to some related logs:

symbol lookup error: Xvnc: undefined symbol: cerr
python +USE +tk +flag
#linux
#perl
fatal: gethostbyname: Resource temporarily unavailable
#math
`MOZ_Z_deflateSetDictionary
#openzaurus
#gentoo
82541GI/PI fedora



Home  |  disclaimer  |  contact  |  submit quotes