| |
| |
| |
|
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
Comments:
<0> which release? current/edge/release <1> you hurt MasterABD ? <0> i bet it's release <2> RvGaTe my head hurts but not from slamming it into the wall <0> anyway, latest cpanel release tree is vulnerabile to a high severity XSS <3> m0dY: the perl version of 10.4.8 <0> easily, you could modify any page existing on the cpanel box with root privileges <2> this really shouldn't be this hard... why does a stupid ? gotta fsck everything up <0> Stormchaser, !? <0> you'll find it in your cp .. cPanel Build = <3> m0dY: 10.8.2-R 83 <4> hi all <3> woof <5> hi <4> i have a Q regarding PDO::prepare() <4> i have set the PDO::ATTR_ERRMODE = PDO::ERRMODE_EXCEPTION attribute on my PDO object...however I cannot get prepare() to throw an error even by deliberately sabotaging the SQL query...
<4> *throw an exception sorry <6> Tankshell: PDO is a bit buggy, sounds possible. Depends on what driver you're using, it'll only through the exception once you execute under some drivers <0> Stormchaser, then it's release as i thought :) <6> depends if the prepared statements are emulated <4> im using postgres driver <0> Stormchaser, congrats.. you could modify whatever file on ur hosting box <3> !+typing english <7> ##PHP does not allow aolbonics (or leetspeak) such as "u for you, r for are, ic for i see -- etc" and typing like this will result in you being silenced; furthermore, inability to adapt may result in a ban. <4> When i execute the prepared statement an exception is thrown....i just thought that the prepare() would have picked up on the fact that the schema.table i am p***ing it doesn't exist! prepare does actually go off and talk to the database intitially doesn't it? then execute just sends the bound params... <8> hi guys <4> hi <8> is there any function i can use to perform a check on a text string to find out if it has "foo bar" in it, two parts? This is to check whether the Firstname Lastname part was typed in a form <8> and i cannot devide it into two separate forms <8> fields <8> basically to check if there is an ampty space after the first text string <8> s/ampty/empty <4> a regular expression would do the trick <8> Tankshell: ok <4> bit overkill but it would work =) <9> ..how'd you string multiple irc command together? <9> just out of curiosity <4> either that or just check for the presense of a space using a standard string index of function <10> i have an html form in a php file that asks a bunch of questions, anyway two of the questions use select and options are Yes and No, i have if checks for each of these (if $_POST['prevexp'] = 'Yes') to show a block of output if and only if prevexp is Yes and another (if $_POST['prevstill'] = 'No') to show a block of output if and only if prevstill is No, however my problem is that regardless what i choose for prevexp and prevstill they alwa <8> Tankshell: space can be also put after the first name without typing in last name so that will not help <11> hey guys ;) <12> mysql_query("insert into `member_availability` (`member_id`, `monday`, `tuesday` , `wednesday`, `thursday`, `friday`, `saturday`, `sunday`, `job`) values ('$member_id_2', '$monday', '$tuesday' , '$wednesday', '$thursday', '$friday', '$saturday', '$sunday', '$job')") or die(mysql_error()); <12> Does anyone see anything wrong with that? <12> All the values are correct, when I put the command into mysql it inserts the row <12> But from the site it doesn't work for some reason <12> I know that it's getting called too <11> i have a html/php page with text fields. I then have another php with $ql stuff on to connect to my db and create tables based on the information inputted from the user. The problem is i dont know how to capture that info of the user to use to create the table with? <8> Zakabog: mysql_query("insert into member_availability (member_id, ... <12> K <9> YazzY: that bit is fine <12> Heh aww <12> I was hoping that was it <8> Zakabog: are the $member_id_2 etc parts something you post from a form ? <12> Yeah <12> Actually no <9> maybe do '".$member_id_2."' <8> in that case they need to be $_POST['member_id_2'] <12> They're all set some other way <8> or $member_id_2=$_POST['member_id_2']; <13> I would like to validate some fields of a form and I am not sure what to do. <12> No I just remembered they're not from post <13> I know that I can do it with javascript(client side) or php(server side). In fact, I would like to do it in the client side but I still want to work with php then I can work with mysql too. what should I do? I took a look at some sites and at google but I still not sure what to do. <12> Azuos001 do it with java script <12> You can still make the page in php and have javascript in it to verify the fields <8> Azuos001: use if or switch, like if($_POST['something'] { echo "posted Something"; } else { echo "posted something else"; } <14> why would you want to validate client side , so they can forge the forms and use the forged form to input invalid code? go with php and lock them down. <8> if($_POST['something']) <8> or if (isset($_POST['something'])) <13> jimmiehansson: do you think that using php is safer? <14> Azuos001: yes <3> Azuos001: It can be <11> Do basically i need to create a table, but i want the contents of the table to be derived from what the user inputs. <11> So* <15> i need an advice about a web form to register users <3> ha? <14> Azuos001: as a matter of fact, there has been several exploits on such services such as Yahoo! using that type of injection <15> i need to avoid that nickname or email are duplicated, then i have added a unique constraints on the two fiels
<15> of my database <15> now the question is, if i want explain to the user exactly that the nick used for the registration is just used <15> or the same thing for the email, before the insert i need to execute two sql query: one for the nick and another <15> for the email <3> what? No. <15> it's to much stress <15> ? <13> Zakabog: why do you think I should use java script? Is there sth special? <3> kioto: no, your logic is broken since you could do the test with a single query <12> It's quicker, people don't have to wait for the page to reload to tell them there's an error <3> Zakabog: think *disable JS* <12> ? <12> So validate it with php as well <3> yes, that's better <15> Stormy i need to check in details how to use a single query with mysql <16> Do you mean something like: Check for JS, if JS: validate with JS, else: validate with php? <15> to execute an insert only if a value doesn't exist <3> !+enter <7> Don't use the enter key as punctuation. Think in complete thoughts, then type. <12> hahaha <12> kioto check the fields with javascript first, then when it's up to the php stuff have it validate the data there too <12> Err nevermind <12> Ugh I wish I knew why this mysql_query wasn't working <17> hi room http://pastebin.com/734757 can any tell me what ive done wrong, my next and prev etc arent hyperlinks <13> I am quite sure in the future I will have around 300 insert per day <13> It might not be a lot. <12> matthewcrane what kind of error are you getting? <13> Thanks guys, I will do my job now trying to develop sth here <17> hi zakabog <17> www.hertfordtown.info/html/d.php <17> the problem is the pagination links at the bottom arent hyperlinks <17> i think ive made an error in my coding but not sure what <6> matthewcrane: there's no anchor tags in the html? <17> echo("<a href=\"$PHP_SELF?page=$pagenext\">NEXT".$limit."</a>"); this is my NEXT button line <17> how would i need to alter it <12> Where do you define $page? <17> im not sure why the anchor dont work <12> Did you check if that was getting called? <17> hmm <17> ive missed out page havent i <17> im not sure how i would define it <12> Hehe <6> matthewcrane: that html is not called <6> matthewcrane: that line of code is not in the page you showed us <6> matthewcrane: echo ''; you don't need the double quotes if you're escaping out <18> ls <18> hi guys <11> guys, could someone show me simple html code in a <form> that will CREATE TABLE ? <12> And put \n at the end of the echos before the last " so you can read the html <11> so if user enter his name for example, that $name must be used to CREATE TABLE name <18> <table><tr><th>cool</th></tr></table> <19> hi there <20> I'm having a problem compiling PHP I get "configure: error: Cannot find OpenSSL's <evp.h>" and that file is present in /usr/include/openssl and /usr/include/ssl I tried compiling with "--with-imap --with-imap-ssl=/usr/include/openssl", "--with-imap --with-imap-ssl", "--with-imap --with-imap-ssl --with-openssl-dir=/usr/include/openssl/", "--with-imap --with-imap-ssl=/usr/include/ssl" (I'm on Suse 10 / amd64) <21> is it possoble to compress a 200mb file from php using bz2? <21> the mannual is talking about strings <22> thyko: php.net/bzip2 <22> thyko: Although if the file is 200MB, you're probably going to have to adjust your memory limit <3> retro_neo: Are you compiling on 32-bit Linux? <21> from php.ini? <22> thyko: yes <20> Stormchaser: no, 64-bit <22> retro_neo: Try: "--with-imap --with-imap-ssl --with-openssl-dir=/usr" <20> TML: I'm trying <22> Stormchaser: I'm curious...where were you going with that? <20> same error, here's my config.log when using "--with-imap --with-imap-ssl=/usr/include/openssl" : http://pastebin.com/734783 <22> retro_neo: Well, "/usr/include/openssl" will never be the correct value <3> TML: I had too many problems on compiling PHP modules on 64-bit machine... I usually had to hack the configure file at the end... <21> TML: is there a way to compress the file directly without copying it to a variable first? <22> retro_neo: Because it would look for something along the lines of: /usr/include/openssl/include/openssl <22> thyko: Not without using something like exec(), no. <21> ok <17> hi room im a bit stuck , the pagination i was using from a tutorial on php freaks, and im unsure how to fix the hyperlink problem <17> would someone be able to explain exactly what i need to do, i tried moveing the anchor tags but it didnt work <14> matthewcrane: pastebin?
Return to
#php or Go to some related
logs:
kde rootshell ubuntu #bash ubuntu windows dual boot install ubuntu first lociento bzip2-devel ubuntu --with-mysqli +winxp #python #ai #math suse install failed error 3030
|
|