| |
| |
| |
|
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
Comments:
<0> ||cw, hehe <1> They must require *SOME* other evidence, rather than one whacko's say-so, to sieze lots of business equipment <2> MarkR: and that opens up for countersuit :) <0> I suppose you're always open to the accusation no matter what happens <1> Just get some liability insurance, worse things happen. <3> http://www.firsttimedrivercl***.com/Registrationform.aspx?a44txntype=ASI&trackingid= jesus christ, they misspelled friend <1> That's ok, they misspelt submit too <4> looks like something i'd do... if i smoked crack <5> Say I wanted to have a .inc file that I could set in an array whether the page was finished like If I wanted to see if the file was under construction still would I do: require_once("config.inc"); if($this->page == 'uc') { echo "Under Construction"; } or would i need to do something else <2> itrebal: that web site scares me <2> Hit3k: well, $this is reserved for use inside cl***es, but something like that could work <5> ||cw, the .inc file will include a cl*** <2> Hit3k: and I hope you are doing soemthign to prevent your inc files from being accessed directly, or at least telling apache to parse them as php <5> ||cw, yes I am why?
<2> Hit3k: portable way is change your standard to .inc.php <5> oh ok thanks <2> Hit3k: so poeple can't make an error happen, get the file name, access it directly, then have your code and find exploits <2> if it's a cl*** and a .php file, then they get nothing from accessing direct, not even more errors <5> there isnt a $PHP_SELF by any chance is there? <3> ||cw: likewise <6> Hit3k- it's in $_SERVER <2> Hit3k: $_SERVER['PHP_SELF'] <5> oh cool thanks <0> hrm, what's the "best" way to do a config file? at the moment I'm thinking of just making a list of vars for people to edit and then including it? <7> xml :) <0> xconspirisist, it's kinda of overkill <8> Good morning Room <9> Why XML ? (not a joke) <0> since a human should edit the config really <0> it's only the base config, the other config will probably be in SQL <3> http://www.firsttimedrivercl***.com/Chapter1_Section_3_files/image006.jpg that cellphone is hot <9> Why not use text with descriptive names <10> why not just a properties file? format of VAR1=VALUE1 <line break> VAR2=VALUE2 and so on? <9> yes <0> javadude, yeah that what I was going to do <10> I say that only b/c Java has a Properties object built in :) buts its very easy to duplicate in PHP <3> what about parseinifile ? <9> I some data in XLM format, HOW do I print it in a READABLE form without writing my own prog <9> I got <0> ElectronM, XSL ? <9> XLS sorry <0> bleh <0> same thing <9> SORY XML bad day here <0> hehe <0> ElectronM, use XSL or whatever it's called <0> http://www.w3.org/Style/XSL/ <0> the topish link <0> XSLT <9> Ok having a look now <11> Hi, am I being stupid? Why does this return nothing :( preg_match_all("@=\$(\d+)@U","SELECT cols FROM table WHERE id=$1",$mtchs) <12> They made me hop around like a rabbit. <9> Not quit what I had in mind Seadog, I can read the data in ,script form, table form but how do I print it in table (ie do you have a app/program) <13> hello <14> HI! <15> 'lo <16> ElectronM: with xsl <16> it's by far the easiest way <9> I will need to read more, I just scanned that page, thanks <13> is posible to know what will be the size (KB) of an image before its JPG compression? <13> any idea? <17> Kaners: I do think it is possible to implement an approximation algorithm. <18> is the session id 16 chars long ? <19> Lafa: 32, I think <13> Bazzi how? You know: Height and Width of the image, it has 16bits, and will be compressed to 80% <17> I don't know JPEG well enough :) <13> omg <18> GarethAdams: thx <20> interesting <20> hmmm <21> I have made an IRC bot in PHP, but I don't quite know how I would reload it without restarting it or anything. Does anybody know? <22> DarthLappy: email to their developers <21> What? <23> most of u guys from the states? <22> no, we are a communist tribe NE of asia
<13> how to get the freenode channel list? <9> try ''/list" <13> thnks <23> ::: therock ::: awww u dont seem friendly <9> My Pleasure with cherrys on top ;-> <24> ye he's a bitch ;> <14> ElectronM: So wonderfully often, list won't work. :( <23> lol <25> !tell SG-gaweee about u <9> We I was kicked a couple of times last night using it <9> Have not used IRC in over 8 years, had to learn all the commands again <13> Bazzi do you know any channel for ask my question? <23> quite awhile back, IRC became really hot in singapore, then it died and gave way to icq,msn........... <23> so this is all very interesting to me........all over again <23> heh <17> Kaners: just read some stuff about how JPEG works. And run some tests, you should be able to make rough approximizations then. <26> hello everyone. <26> Could someone give this short function the once over? http://pastebin.com/659588 <13> I've read about it, but JPG algorythms are too much complex <26> i'm getting the errorFatal error: Cannot redeclare printblogs() (previously declared in /var/www/html/functions_list.php:9) in /var/www/html/functions_list.php on line 28 <3> roundyz: you are including that file multiple times, stop it <26> oh <25> roundyz: Your problem is either on line 9 or line 28. <23> =X <26> well CryWolf not helpful,thats where the funtion starts and ends, itrebal: i'll look into it <23> @include_once cant supress the error? <6> CryWolf- PHP reports redefined functions a little weird <23> if hes really including that file multiple times that is........ <27> isn't there a function to stringify time intervals... such as.... stringify(30 * 3600) == "1 day, 6 hours" <25> SG-gaweee: @ is the wrong solution. <26> i am, i was includes at the nav file and within each page file. <6> Norm- I'm sure there are plenty of them out there. Or you can write your own <26> each page also includes the nav so, its like a nested include <26> i sorted it now. <26> thanks <27> Dragnslcr: yeah, i'm in the process of writing one, but it would be nice to use a standard one ;) <23> =) <6> There's no builtin function that I'm aware of <6> The "standard" way is just math anyway <23> shudnt be too hard to write that function <6> Nah, it isn't too bad <6> I've done it myself <6> It's just a whole lot of division <22> samurai 7, best movie ever <26> is PHP a proper recognised program language? On par with c or pearl? or is it just html+? <23> heh <6> PHP is a programming language, yes <3> roundyz: perl <6> As much a programming language as Perl or C <23> depends on the context man <26> yerh perl <22> roundyz: its just a template system <26> sorry <23> theres a gtkphp thingy rite? <6> A different language, but still a programming language <6> Yeah, there is PHP-GTK <23> anyone tried developing a gtk app with it before? <6> Several years ago <22> there is bunches <6> Then it stopped compiling for me <6> Haven't really tried it since <23> what variant of linux are u using? <3> !tell SG-gaweee about u <6> Now? <23> now, then? <23> wats with this about u thing? <6> My server is running KUbuntu right now <6> At the time, it was running some version of Redhat <23> ic <3> err why KDE? why X in the first place? <3> !tell SG-gaweee about aolbonics <6> Eh, I like KDE over Gnome. No real reason <3> but why X on a server in the first place :/ <22> server ubuntu?? rofl
Return to
#php or Go to some related
logs:
Can't open and lock privilege tables: Table 'mysql.host' #linuxhelp T_ENCAPSED_AND_WHITESPACE ldap #css download maps from google maps | (google maps download tiles) mplayer 4tw #debian genkernel switchroot suse 10.1 wifi 3945 Composite extension enabled disabling direct rendering
|
|