| |
| |
| |
|
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> but its phpbb... and i have the latest php release <1> Dustin2: PHPBB doesn't support PHP5, IIRC <0> hmmm <1> #phpbb, please <2> Somebody from Brazil? <3> Call to undefined function mysql_connect() in /usr/home/slance.com/httpdocs/dnsadmin.domain.com/adodb/drivers/adodb-mysql.inc.php on line 339 <3> anyone? <2> suedoh_: Verify php.ini... extensions... <3> extension=mysql.so <3> thats there <4> Eclesiastes: i'm sure someone is :-) <2> dools: :) <4> suedoh_: check the output from phpinfo(); or php -i on the command line <1> suedoh_: Um... Are you SURE it's under _correct_ php.ini? If so, have you restarted apache when you enabled the extension?
<4> hehe <4> when is that called? <5> dools, it seems like using substr is going to be easy :) <5> thanks <4> riddlebox: i think that's the idea!! <5> dools, I am writing a script for asterisk to work with a mysql database in mythtv, hopefully this will be a good way to start learning php :) <6> Hey everyone <6> Quick question for a patient php developer.. <6> What are some common xauses of sessions being lost after switiching to a custom mysql based session scheme rather than the defualt file based <6> s/xauses/causes <6> It only happens every once in a while, and only once per session - after logging in <6> see ya! <7> cant find a query on mssql to list the tables and their properties in a database <7> I ma trying to convert a mssl database to mysql <7> any idea? <4> riddlebox: you want to telephone the cast of the bold and the beautiful and tell em who shot jr then log their response? <4> psyko_php: try in #mysql or #sql <8> hey I have this array with N index and I have to go one by one. I am using a for, but it give me an error <8> Notice: Undefined offset: 6 in C:\Programas\Apache Group\Apache2\htdocs\antoniocs.org\news_system\news_test.php on line 16 <5> dools, something like that <4> Acs: try foreach <8> dools but I have to change the array <9> Hmmm... I'm starting/trying to learn php. I've JUST started, and learned how you could use a forum to use the POST array so another page can read those variables. But how can you use/make a varible to be accessable by all pages on my site? <4> Acs: pastebin the loop <5> dools, I want to call into my asterisk box, have it give me prompts to setup a recording in mythtv. <8> for ($i = 0;$string[$i] != NULL;$i++) <8> $string[$i] = preg_replace($pattern,$replace,$string[$i]); <8> it's just this <4> riddlebox: that's a cool project :-) you should put a website up for it!! <8> I know I could use preg_replace on the $string <4> Acs: http://pastebin.com <8> but I am testing something <8> it's just that the loop <4> Acs: don't paste in here, it looks ugly :-) <8> ok ok <5> dools, I tried it with python first, python did almost everything I want, but the database never fully sees the recording schedule <8> http://pastebin.com/595589 <8> there it is <4> Acs: that looks a little strange... is $string an array of strings? <4> Acs: also, your terminating condition will cause that offset error, try isset($string[$i]) instead <8> thanks <8> just one more thing <8> how can I echo the array? <8> not going one by one <8> just all of the array <5> dools, if I have "200 result=1234" will substr count the space? <4> Acs: print_r <4> riddlebox: that question doesn't really make sense ... <8> and is there anyway I can put nl2br <8> working with the array? <5> dools, I want to eleminate the "200 result=" part which would be 11 charcters counting the space <4> riddlebox: yeah, substr just counts characters <4> riddlebox: as characters :-) <9> How could you use a forum to use the POST array or something to make a variable accessable by all pages on a site? <1> pianoboy3333: By using sessions. <9> Ok.... Anyone know a good website that could have tutorials on this? <10> Stormchaser: You sure it's __unset or __unset__ or _unset or _unset_ or __unset_ or _unset_ or un_set or _un_set <1> o.O <10> Stormchaser: I'm tellin ya... they can't keep anything fscking consistant <11> can someone walk me through installing apache, php, and mysql on winxp pro? i already have apache installed
<11> i'm kinda confused :s <1> Jymmm: But it's much more consistant than it's used to be... <4> ermm... is: array_keys(get_cl***_vars(get_cl***($this))); completely insane as a return value from __sleep()? is there a heaps easier way to do this that i'm missing? seems convoluted <11> hmm <11> apparently i'll have to go with a manual install <12> i have an input in a form ... like <form action="/newsite/admin/editnews/send" method="post" name="form2"> <input id="itemstosend" name="itemstosend" type="text" disabled="disabled" style="width:250px;" /> </form> ... however the input 'itemstosend' is not postng through .... when I try pick it up with $_POST['itemstosend'] .... Why would this be? <4> zon3d: value? <10> Stormchaser BUlllllllllllllllLL****! It's worse more and mroe these days <12> yeah itemstosend does have a value when it's sumbitted <11> zon3d: try $HTTP_POST_VARS['itemstosend'] <11> iirc $_POST is deprecated <12> but $POST usually works all the time for me <11> well... <11> i dunno <4> zon3d: but it's disabled... <4> mmiikkee12: the other way around <11> dools: oh <12> does that mean it's not gonna post it? <11> i can never remember that :s <4> zon3d: i dunno, make it not disabled and see <12> ok <11> you're using $_POST and not $POST right? <12> yes <12> yay worked .... i removed disabled <12> thanks <1> Jymmm: *shrug* I still use PHP4, when I have to, otherwise Python <0> Stormchaser: a little help here please? <0> :P <1> Dustin2: hm? Lemme see, what's this about... <0> Stormchaser: php 4, the phpinfo(); locking up and showing up as cannot display page <1> Dustin2: Check error logs <0> apache error logs? <1> yes <1> mmiikkee12: Um... $_POST was never disabled, but from what I know, $HTTP_*_VARS will be kicked out in PHP6... <11> Stormchaser: did i say it was disabled? :) <13> i want to do something like ( if in this table in column userid doesnt equal to $ud_id then $sql = "INSERT INTO description VALUES (NULL,'$ud_description','$ud_dob','$ud_location',$user_id)"; <13> $result = mysql_query( $sql,$conn ); ) but i dont know how to start the if else statements to have this done anyone can help please? <11> i just thought it was $_POST that was deprecated, not $HTTP_POST_VARS <0> Stormchaser: only this [Fri Mar 10 17:23:07 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. <4> gack!! does anyone know how to serialise private members using __sleep()? even when i return the names of the variables to serialise properly, the function serialize tells me they do not exist :-( <1> mmiikkee12: $HTTP_*_VARS are disabled by default in PHP5 <11> i know that now <1> Dustin2: Do you actually log the errors? OR show them or something? <0> Stormchaser: No clue lol :S <0> im dumb lol <1> look in php.ini for error reporting. Enable error display and error logging, and set the error reporting to E_ALL <0> Stormchaser: done, now restart apache? <9> Does a file that has php in it have to end with .php? <14> no <15> pianoboy3333, it can end with anything, as long as apache is set up to serve that type of file as a php script <15> see AddType in the config file <0> hi <0> sorry <0> Stormchaser: I got disconnected <9> elouise: but what if it's an html file that happened to have *some* php <9> I'd HAVE to enable it for .html files? <15> yeah i think so, but i wouldn't do that myself <15> make a php file with html in it, not the other way round <9> ok... <15> if you change the handler for .html, every html file will be parsed through php, and i dont think it will go smoothly <0> Stormchaser: you around? <10> elouise: Let him do what he wants, it's not our server that'll be slower than a dog. <15> Jymmm, no, i'd rather help him <4> !tell dools about Serializable <4> Jymmm: how do you add stuff to phpbot? <10> elouise It'll just be a complete waste of time if he doens't start listening. <10> !+serialize <10> !+f serialize <16> Try looking at http://php.net/serialize <15> whether he listens or not, i'm still going to help him if i can <10> lol <4> Jymmm: no, i mean the SPL interface Seralizable, the man page for serialize doesn't mention it <0> Stormchaser ran out on me lol
Return to
#php or Go to some related
logs:
sha1sum for turboprint #suse escape the apostrophe sed math perabala GiFTui localhost ubuntu #web +gui library +single DLL Gnome keyboard preferences not working #python #gentoo
|
|