| |
| |
| |
|
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> http://pastebin.com/648258 .. Trying to give the tables in which the comments appear in the proper WIDTH according to where they are in the thread. Right now, i'm just using the <UL> tag to make the threaded look, but instead I want to give the tables to proper width. <1> [PQ4]RogeR: this sounds like a #html/#web issue <0> that's what everyone keeps on thinking <2> zircu any idea why i am getting my error <3> zircu: can you help me with something <0> but I don't want to use the UL tag to have the threaded look.. Instead I want the tables resized. To do that, I need the proper numbers generated somehow. <1> [M]ax: i dont know how to describe the problem other then what the error gives <2> i take it no way of getting arround it? <1> [M]ax: only p*** imagejpeg a valid gd image? <1> [PQ4]RogeR: proper numbers generated? <4> How does a multi dimentional array look like? $arr[][] or $arr = array(array(), array()) ? <4> what does* <1> Jemt: well, an array of array's to be specific <1> Jemt: both will define that <4> Ok, great - thanks <1> that <!-- being an array of arrays
<1> i dont see the purpsons of doing $arr[][] though <1> purpose* <3> zircu: can you help me with a basic button value p***ing problem as I think I have found a solution to the problem we were trying to solve <0> If you look at the picture link at the top of the code, might be more clear.. IF the comment is the 2nd reply to a comment, the width need to be 5 less less than the comment before. <1> Razz3r: hurry and ask, i'm getting ready to go out for lunc <1> [PQ4]RogeR: 5 less of what? <1> [PQ4]RogeR: pixels, pt's, ems'? <0> in the picture, i'm talking about percents. <3> zircu: thanks the problem is at line 334 as the the button value is not p***ed on <3> zircu: http://pastebin.com/648230 <0> It's been very hard to explain what i'm doing to do, so I made the picture. <1> [PQ4]RogeR: like I said.. 5 what px's em's pt's? <3> zircu: how do I p*** the value="Create Admin" from the button to indicate that $created ==1 <0> the tables are using %.. so -5% <1> Razz3r: well, i don't like this approach but give a name to the button, then the name in php from $_POST['name_of_button'] will be 'Create Admin'; <1> Razz3r: i still dont see how php can figure out %'s of widths <1> grr.. [PQ4]RogeR ^^^ <1> [PQ4]RogeR: unless you mean you want $percent = 5 * $depth; where $depth is what level the thread is in the topic <5> harrrr <0> i think lol.. I not sure how to do it.. Basicly, if the comment is the 1st reply of the 1st reply to the first comment, and the starting width was 100% it would have a width of 90. <1> [PQ4]RogeR: this is why i say it is a #web issue, that logic wont work very well <1> [PQ4]RogeR: the best way is to type up manually how you want it to work with multiple threads and then find out what php needs to do to make that work <0> what's what I did.. even provided a picture hehe <1> well, when you indented what changed? have php calculate that change <1> but then again i still think this is a bad approach <6> anyone see anything wrong with this? http://pastebin.com/648290 <3> zircu: are you still there? <3> hi all I need some help with my install scrip <3> http://pastebin.com/648307 <3> when I click the button on line 340 the script fails and rests itself <3> can someone ple <3> please help <7> Anyone know of a good search/replace tool that support regular expressions? <8> bbtech, what OS? <7> winXP <9> Razz3r: what do you mean by fail? <8> dreamweaver does that <8> zend studio does it too <8> i don't know of any free ones though <7> yeah, looking for free and smaller :) <8> try google <7> majd: yup, no luck yet <3> alakazm: I mean it doesnt add anything to the database at this stage and rests back to the start <10> anyone here maybe know how to take away some user permission to ssh login <6> Notepad++ <9> EvilDin: yup <10> could you tell me <8> bbtech, i had the same problem....but i have zend studio <10> please <9> EvilDin: what server? <3> alakazam: its to do with the button on line 340 and the lines 18-21 <9> EvilDin: query, this probably isn't the right chan :: <10> i need that some oof my user won't have ssh acces <9> :/ <10> they will be only for ftp <9> ok thanks for 18-21 Razz3r <7> yeah, I know some programming software allows regexp searching...but I have been hoping to find some software that only does search/replace <9> are your sure when submitting that $_POST["insert"] == "Create Admin"? <3> alakazam: yer because it is the value of the button right? Im not to hot on buttons or p***ing veriables <9> do you need to check its value? wouldn't a isset($_POST['insert']) test suffice?
<9> (on a security level, I mean) <3> ah I get you yer either would do <7> anyone know how to use grep? <3> I suppose there is no point inn having both though it still should work <7> I have: grep -RnHE --regexp="<\?(?!php)" public_html <7> doesn't work though <9> Razz3r: except if you have another <input name="insert" <9> bbtech: what do you intend to search for? <9> do you have an error? <7> alakazam: no error, search for <? not <?php <9> recursively, and no results? <3> alakazam: not at this stage <7> in all files/directories of public_html <9> Razz3r: then you should be fine <3> alakazam: i have changed it and the script is still not working <7> alakazam: yes, no results <9> Razz3r: still not doing anything, humh <9> ok <9> $created = 1 <9> line 17$ <9> you were doing a test and not affecting anything <9> ***igning sorry <9> bbtech: what is the -n option supposed to do? <11> is it particularly difficult to add an SSL certificate to a site? <7> ok, if I run this in cygwin I get: bash: !php: event not found <9> bbtech: grep --version | head -n 1 <7> alakazam: line numbers <9> ok <7> 2.5.1 <12> wut up homez <3> alakazam: do you mean I shoudl change $created == 1 to $created = 1 <9> yes Razz3r <11> yo yo yo yo yo yo yo yo yo yo qbwdp <12> include and require are the same except require does more checks? <3> alakazam: what difference will that make and should I also change step == 1 <11> no, require boots you out if there's a problem <9> qbwdp: include does not halt your script on failure <12> ah ok <12> thanx there alakazam and ^Migs^ <11> k homie gee? <9> Razz3r: '==' and '=' are absolutely not the same thing :) <9> == tests, = ***igns <3> ah yer I get you sorry <9> :) <13> === compares value and data type <14> === and == for comparison, = for ***ignment <13> Correct? <8> can i do private $foo,$bar; ? <9> bbtech: (?!php) is not reconized as (not "php") <14> Cody`; Yes, that's true <14> majd; TIAS. <8> TIAS? <3> alakazam: now when I go inot the script I get sent to step1 straight away <9> bbtech: "<\?[^p]+" should work ( <? followed by at least one non 'p' caracter) <3> alakazam: :-/ <9> Razz3r: /query me with the new 20 first lines of the script please <7> alakazam: what if its followed by nothing? <9> bbtech: it can't be at the end of a file :) even if it has a whitespace caracter, it should match) <3> alakazam: http://pastebin.com/648346 <7> alakazam: what about a newline? <9> it should match, test on a testfile : "<?" | grep "<\?[^p]+" <3> alakazam: is that what you where after? <15> if i wanted to get a bool true/false if a text sequence exists in a file, what would be the best way? running `grep`? <16> Hi! <7> alakazam: thanks! <9> you're welcome bbtech <9> emes: fopen, while, read line, preg_match, fclose <9> Razz3r: I'm loooking <3> alakazam: cheers <3> alakazam: any luck <9> I suppose the $_GET['step'] varaible isn't set (i.e. that you don't have ?step=1 after oyur script name) <3> alakazam: how would I go about fixing that <3> alakazam: can you change it in pastebin <9> no, you should change the url you're trying to access :)
Return to
#php or Go to some related
logs:
#ubuntu howto acpi4asus ubuntu #perl wine rootprivileges ubuntu 3dm2 install #oe #ubuntu sudo apt-get uptade dalnet netiquettes vnc4server amd64
|
|