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



Comments:

<0> So, I point you to #css,#web,#html and the likes.
<1> is there a reason why it just 'dies'?
<1> no error messege no warning
<2> j45on: try this: take your final output, view source, pastebin that and then ask in #web. then they can't say it's php
<1> it just, you know, dies
<3> kuja: I understand, but I don't understand why they'd spend the same amount of time that can be used to fix the problem to discriminate instead.
<2> j45on: fix the final output and you should be able to see how to fix the template
<0> j45on: That's how people are.
<0> j45on: They are given a set of principles, and if your logic doesn't conform, it's human nature for them to bitch.
<4> j45on OK here is a tip you can do what you want with css
<3> kuja: it lowers my respect for them. It should be either help or don't get involve at all.
<3> ok ungy
<0> Just as when someone asks a question about `register_globals' here in ##php, you get 20 people telling you it's bad and you shouldn't use it.
<0> "Joe: How do I enable register_globals?" -- "John: It's bad, go **** a cow, and don't use it"
<4> j45on .mainmenu input{ align:left; } might work
<4> kuja why is registering globals bad?



<2> register_globals itself isn't bad, but with it on it's easy to write insecure code
<3> kuja: that problem is similar to the boss asking you to jump and you ask how high instead.
<4> ||cw ahh I see
<2> and you should still not use it if for no other reason than portability
<0> If you write PHP, it's easy to write insecure code.
<3> the way I would answer is to provide another solution rather than to say, sorry I don't know.
<2> you can't guarentee that server will have it enabled, and code writtin to not use it will work even if it is enabled
<5> i have a search replace array using preg_replace, im not using //s just // but its replacing all occurences when i only want it to replace the first, any clues?
<2> supergloabls are more powerfull and easier to use than autoglobals anyway
<2> well, in all but the most simple scripts anyway
<4> j45on I see what your saying but didn't I give you the solution you wanted?
<3> Sorry ungy: i was talking to kuja at the same time.
<0> moosey: php.net/preg-replace -- Read the prototype.
<4> ||cw good to know
<5> ahh limit, too much perl in my brain
<0> Well, regexes is what Perl is good at.
<0> I much prefer regex syntax than function wrappers.
<6> I have a question
<6> if create table NAME, which name is $NAME, what should I do ?
<5> my other problem, is i have like $text = preg_replace(BLAH) but in a loop the $text does not appear to be saving after the first replace, that can't be, can it?
<6> $create_table_string = "CREATE TABLE $NAME (" ?
<6> with collon or not ?
<7> I have a possible $dir="/1/2/3", i'd like to check the existence of all dirs refered to, ie "/1","/1/2","/1/2/3". is there an easy way to generate that listing i can't figure out an elegant way..
<8> use single quotes if you want a literal $name
<6> $create_table_string = "CREATE TABLE '$databasename' (". <-- this one ?
<8> no no no
<5> guess i have to create a var and update re-update $text
<5> kinda strange behavior <shrug>
<8> does $databasename contain the table name, or *is* it the table name?
<6> contain table name
<9> what should i put in header of each my page to remove www. in the domain name?
<6> Davey: ?
<4> limepilot what do you mean?
<4> limepilot you mean you want to change the address bar in the browser to not show "www." ?
<9> yes, becouse of the page rank
<4> limepilot why not put a redirect page on www. and point back to the root domain pointer
<9> becouse there are better solutions with php
<9> am i not in php channel?
<4> limepilot oh really there are?
<9> yes
<4> so you want to modify the header information sent to the client why not go look it up on php.net and see if you can do that
<6> $create_table_string = "CREATE TABLE '$databasename' (". <-- is there have anything wrong with this ?
<9> i tried doing it but it didnt work for me
<4> limepilot but in all honesty that shoudl be hanled by the web server
<9> are you good with php?
<10> JOIN #php.de
<11> no ;)
<12> lkthomas: use ` not ' around $databasename
<4> limepilot not really I am a webdeveloper but I use c# and asp more often then php
<4> limepilot I am looking at php.net and I do nto see a way to do what you want without a redirect
<9> wait just a sec
<4> lkthomas could you give the entire line
<13> I want some high
<4> Kcaj High?
<13> PHP and drugs
<4> for me it s php and beer at teh moment
<12> kcaj: PHP and PCP don't mix...
<13> I only like certain drugs and programming
<6> thanks tetrarch
<4> tetrarch that woudl be risky I might crush my laptop
<9> this code doesnt work for me



<12> lkthomas: np
<13> What is the best drug for programming?
<12> kcaj: adrenaline!
<6> LOL
<4> limepilot what code
<9> heres the link : http://webhostingtalk.com/showthread.php?t=498106
<13> (excluding meth and coke, taking logic in to consideration, rather than productivity)
<4> Kcaj lsd
<13> I'm all out of lsd ;_; As of two days ago
<13> I got some DOI left
<4> Kcaj be carefule though you could end up making a lot of infinite loops
<12> ungy: heh - screenfuls of text burnt onto your retinas for days afterwards... lovely!
<13> but my acid and acid-like drugged up programming days are over
<4> Kcaj OK then try caffeine
<13> Last time I sat down and programmed anything on a bunch of acid I ended up writing a script to write other php scripts for me
<9> did you check it?
<13> I'm immune to caffiene these days :(
<13> Work in an office for a few years... haha
<13> Caffiene becomes a habit with no effects
<12> kcaj: sounds like you need motivation, not drugs.
<13> Yeah
<4> limepilot you getting an error?
<9> y
<4> what is the error
<13> tetrarch: Any tips?
<13> It ****s because I'm programming things I don't want to
<13> I want to make like... games, useful tools, stuff for my record label
<9> dont remember now
<9> tried it before
<13> Instead I'm programming all kinds of stuff for a company I really don't care for
<9> anyways there are a few codes on the net
<4> limepilot well see now ther eis a problem
<9> but i need the working one
<4> and that is a redirect
<12> kcaj: in that case, come up with a rough "todo" list, organise it in order of complexity, then resort in order of interest, and get started.
<4> limepilot that is some pretty ****ty code as well
<12> kcaj: out of interest, what style music on the record label?
<13> Its a slight mix of IDM, Industrial, rap, and hip hop.
<13> Kind of its own genre really.
<9> get me better one :)
<14> my god, where am i ?
<13> I've tried the to-do list thing before, and it helped, but not for very long.
<4> limepilot why not try to do it on your own you need do you know your domain?
<12> kcaj: any samples available? that's not usually the style of music I'd ***ociate with lsd! :)
<9> yeah
<13> tetrarch: Not while I'm at work, sadly, lol, but if you want to add me on AIM or something I could hit you up from my house or the studio some time
<4> limepilot if you know yoru domain you don't need to $_SERVER['SERVER_NAME']; then
<12> limepilot: if that script doesn't work, it might be that the headers have been sent already?
<4> limepilot but why not try that code again and post your error
<9> why wouldnt it work with $_SERVER['SERVER_NAME']; ?
<4> limepilot it shoudl work but why not give us the error
<15> ||cw: We still have a problem?
<4> limepilot This code ahs to be at the very top of the page nothing goes ahead of tit
<16> hi i have a php script that connects to a specific url. how would i be able to submit the user's login forum to travel to a new url
<2> TML: no, but it got a little hairy for a bit
<0> ||cw: Hairy!? I am SOOOO not hairy.
<2> TML: just the usual arguing about how some rule is stupid
<4> sethuhdiah what do you mean you want to login to someoens accoutn for them?
<0> Don't forget the "I can evade my punishment anyways so I don't care!"
<2> kuja: heh, the other guy was though, had his panties all tangled in it too
<10> LEAVE
<16> yeah i want to login to someones monster acct
<4> sethuhdiah and you have there username and p***word?
<16> yes
<16> this script is for a client of mine
<4> sethuhdiah check the login method of the page you are attempting to login to
<16> yes i have that information now
<4> sethuhdiah then you can modify a header and open it with post data that you supply
<4> I think you can do that in php anyway I hav eot check on that one
<16> alright i forget which php functions i need to use for this
<16> httpurlconnect sound familliar?
<9> the error is : Warning: Cannot modify header information - headers already sent by (output started at /home/camel/public_html/header.html:3) in /home/camel/public_html/header.html on line 8
<4> limepilot and did you completely ignor what I told you before
<4> you cannot have anythign above that code


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#centos
fglrx Operation not permitted freshrpms
#linux
hustlercentral ashley
CallfDuty
launch qtparted ubuntu install cd
#awk
#perl
CDROMREADTOCHDR amarok
os path seperator in perl



Home  |  disclaimer  |  contact  |  submit quotes