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



Comments:

<0> worked like a charm thanks alot jude
<1> Blimey it's gone 2am!
<1> I'm supposed to be going out with the gf at 11...heh...whatever happend to my 8hrs sleep
<2> pilot|kof: :-)
<3> uhh
<2> Eleaf: I had port forwarding for SSH through my router a few months back. I turned it off after all the "root", "1234567890" access attempts I was getting. :D
<3> haha
<1> Yeah I have SSH through my router
<1> But I need it so my gf can access my system
<1> So I just put it on a different port, use protocol 2 only, and use one of them crazy key things instead of p***words
<2> Keys are much better than p***words.
<1> Yeah so I read somewhere
<1> They are annoying thoug and if you lose it you die
<1> I keep all my keys backed up on my .Mac account, but if someone hacked that they'd have overwhelming amounts of stuff of mine
<1> Like... All my bank details, all my servers details, all my business accounts, everything :/
<2> Ow. :)



<1> In fact I backup my entire Home directory to .Mac nightly...so... heh I'd be ****ed
<1> That reminds me.... my .Mac is full I need to upgrade it in June when I get paid
<2> :)
<1> 4GB for an exta a year...awesomeness
<4> I have an odd question, if I set a users name via a session, and then I access a php script via AJAX, will the session info carry to that script (Yes I am very new to AJAX with PHP)
<1> Yes it will if you have session_start() in the page you access with AJAX
<1> PHP won't know any different
<4> ooo sweet, thank you
<1> The thing you have to worry about with AJA is sending any variables, you pretty much have to do it with GET which ****s
<4> I suppose I dont follow
<1> Like if you define some variables in the main page
<1> And you have a small part that uses AJAX to update it
<1> You have to p*** all the variables you defined in the main script via GET
<4> oh okay
<1> I have found a way to do it which works reasonably well... Store all the info in the database, then for security, require that there is an active session to restore it in the second script
<4> I dont know enough to do all that, Ive only used AJAX to p*** like an e-mail address and then spit back some text to update the html with
<1> And of course you just send the ID which has all the variables in the DB so no sensitive info can be sent
<1> Ok fair enough :)
<1> I'm a bit of an AJAX freak
<4> wow my head hurts :-)
<1> I've redone all my software since working out scure way of doing everything
<4> I like the concept, Im not sure what all I could do with it
<1> Also gone crazy with Javascript recently :D
<1> JavaScript sorted tables, etc., awesomeness
<4> haha
<4> I made an active counter with ajax, does that count?
<1> Also I do tabbed config pages with AJAX now :D
<1> I love it
<4> (PHP end isnt totaly done, but AJAX half is)
<1> I see... I guess, but I find counters tacky and annoying :P
<4> the one I made isnt displayed on the site, just on a page for the owner of the site
<4> a client asked me for it, hes a bit of an odd one
<1> I guess if a client asked for it then it's ok
<1> ***umign they are paying huge sums of cash
<4> haha
<1> I'm serious dude
<1> Never undersell yourself
<4> it wasnt that big of a deal so didnt see the need for huge cash
<1> How much you get off him?
<4> hrmm dunno
<4> lol
<1> Jeez
<4> its in my paperwork some where
<1> I never took on any project without knowing how much I'm getting
<1> And I never took on any project under $1500 (well, not since I've been serious about my programming, I did as an amateur)
<4> omg it was a tiny lil script
<1> So?
<1> Don't write tiny little scripts, for anyone
<4> so you have examples of what you do with Javascript? Im currious about this table thing
<1> Only take on worthwhile projects
<4> I do web stuff for hobby and job, that was a hobby project
<1> Yeah i could certainly sow you my JS tables
<1> I work 9 til 5 Monday to Friday UK time
<1> Monday is bank holiday this weekend
<1> And Thursday I'm not working
<1> Tuesday, Wednesday or Friday I'd be happy to show you some of my stuff
<4> awesome
<4> was wondering what yer day off had to do with anything
<1> The fact that I don't do business when I'm not on business
<1> I'm also off for two weeks and one day after this week



<1> It's a personal thing...ie I don't feel like working
<1> And we got builders in teh house
<3> okay, I have a webpage, I want to bring one of the variables from one of my php files into my html page, how do I do this?
<1> print?\
<2> Eleaf: Echo it as HTML?
<3> woah.
<3> so I have my main html file. I just "echo phpname.php"
<3> inside the html, which isn't php.
<5> javascript
<3> is that really how most sites do it?
<2> Eleaf: <?php blah blah blah ?>?
<3> Jude, even if the file is an html file?
<3> I tried doing that in an html file and it just displayed that as if it were normal text.
<5> javascript.
<3> alright, so javascript is the best method to do this? ie. how other php sites do it.
<5> you are saying that its not a php file.
<3> okay..
<3> wait what?
<3> yes, the file where I want the data. I'm just wondering if most sites use a javascript approach to put php into their website?
<4> wow how confusing. :-)
<6> hiya
<3> is it?
<7> hi
<3> do most websites use javascript to put php into their websites....?
<3> That's what I hear, whenever you have php, you usually most certainly have javascript.
<4> I have been doing php ALOT longer than javascript
<4> there is no need
<6> if i need to p*** information back and forth through in a form a couple of times before i finally "submit" (POST) the form, is there an easier way to do it than having multiple POST conditions/if-then-else statements?
<6> TimJR88: i almost never use JS with PHP
<7> if I have a number of for() loops on a page... and I have them like this: for ($a= 1; $a < count($something); $a++) ... willl it speed up page load to run count($something) before the for() loop?
<8> ReTaLiAToR: Yup.
<7> hehe great
<7> how much speedup you think?
<8> Substantial.
<7> cool beans!
<8> Otherwise it is running count each time through the loop
<3> TimJR88, alright, well how do I put the output of a php file into my html page?
<7> I figure I must have atleast 5 on my page haha
<8> Better to ***ign it to $somevar, then do that
<7> cool thanks ;)
<9> is your page actually slow?
<7> well
<3> I have a normal html page, and a php file... how do I get the php file's results into the html.
<6> Eleaf: PHP is an html pre-processor, it GENERATES html
<7> not slow, cuz it's on a dedicated server
<7> but it sometimes takes a couple secs to load
<7> http://jkdf2.net
<3> CerealVore, I know.. But I don't want php to create all the html
<7> page load time is at footer
<8> It's a good coding practice to get into.
<6> Eleaf: in your html page, go <?php include('myphpfile.php'); ?>
<1> Right I'm off to bed... 2:45am and I gotta be up at 10
<1> Peace out
<5> CerealVore, that wont work, its an html file
<3> CerealVore, alright, so I would just go ahead and take my php file and put it in the html?
<3> should I rename the html file to a php file?
<7> Eleaf: yes
<6> beford: depends on how the web server is configured
<3> ReTaLiAToR, okay, how do I get it to be the first thing to show up though? since apache makes "index.html" the base file.
<5> CerealVore, well, you got me :P
<7> Eleaf: PHP is installed right? lol
<5> index.php
<3> ReTaLiAToR, yes.
<3> and that will show up first?
<7> Eleaf: yes index.php will show up first
<3> ;) lol.
<3> Thanks for reiterating that php creates the html file.. I get a little confused there.
<10> Hi - can anyone recommend a good php developer for hire?
<4> me, me, pick me...
<4> I am just playin...
<8> My rates are a mere $1000/hr.
<4> Steep bro, steep


Name:

Comments:

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






Return to #php
or
Go to some related logs:

usb_bulk_write 4 bytes
#linux
adept install gcc
realtime.ko Invalid module format gentoo
debian setlock
#css
#linux
spamassassin bad transport type: content_filter
#gentoo
#ubuntu



Home  |  disclaimer  |  contact  |  submit quotes