@# 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 25 26 27 28 29 30 31 32 33



Comments:

<0> ? cant be used as a variable so that why its working
<1> hmm ok
<2> H0ly: someone just enlightened me -- never use short tags anymore
<2> this: <?=
<3> can you do this with out modifying the header? Header("Content-Type: image/jpeg");
<2> it wont be around when PHP6 comes around
<1> ok figures
<4> Can anyone help me? I can't login with the specified username and p***word.
<4> It says wrong username/p***
<2> Mitja: try contacting your software vendor :P
<1> so basically i need just to se it to a variable then and put value to that variable
<1> :o
<4> Artnez: I'm the software vendor
<2> Mitja: then please be more specific
<4> Artnez: I have username/p*** specified in the config file of the site and it won't let me in.
<5> arcguvubg the logs like halved the cpu useage



<6> hey guys
<6> does anyone know how to delete a specific line from a data file using php?
<4> Artnez: I'm using localhost Apache
<6> hello?
<2> Murdoc: a line number?
<2> ie: line 10 of a test.php?
<2> http://us2.php.net/file
<2> Murdoc: http://us2.php.net/file
<6> Artnez: lets say I have a login datafile and I wanted to delete person a and overwrite it with the new updated data
<7> will mysqli work with php5 on a mysql 4.1.1 server ?
<8> hi people.. anybody willing to help?
<8> ;]
<9> how can I view my forum locally
<6> can someone tell me how I could find a specific word inside a data file and replace it with new data?
<10> Murdoc: You have to read the file into a string, replace the thing you want to replace, and then write it back to a file.
<7> how do i install php5 on FC4 apache2.2 with the mysqli functionatility?
<10> weasel00: By following the installation guide at php.net/install
<10> Oh, apache 2.2
<10> There's not an apache 2.2 module yet
<8> i'm getting errot while parsing UTF-8 encoded XML file : Warning: xml_parse() [function.xml-parse]: input conversion failed due to input error, bytes 0x98 0x61 0x6D 0x65 in ...
<11> Hi, it's possible to overwrite some php.ini options on a specififc virtualhost?
<10> ruben: php.net/configuration
<11> what is a good value for security readon open_basedir = ? under php.ini ?
<8> runge : .:/path/to/pear:/path/to/tmp
<8> *ruben
<10> I wonder what happened to the Apache Group lately. They did so well for so long, now they seem to have featuritis.
<7> TML: what would you suggest then. php is saying that i dont have a database. is there an alternative module that would work?
<11> Cyberia: thanks
<10> weasel00: I don't understand the question.
<12> php isa saying you don't gave a database? uh?
<7> TML: your saying there isnt an Apache 2.2 module...meaning there isnt a mysqli module in php to work with 2.2? im a bit confused also
<8> weasel00 : sqlite ?
<8> if you need some basic DB functions ;]
<10> weasel00: Meaning that there's not an Apache 2.2 module in PHP, so installing PHP into Apache 2.2 isn't supported right now.
<13> Whats the difference between compiling php with the --disable-static and without? I know it compiles it as an apache static module...what's the benefits to doing this?
<12> um... PHP works fine with apache 2.2 (and 2.3)
<7> the php is working and seems stable and grand for me except the issue with php and mysql and lack of the connecting bits
<10> Stormchaser: Last I checked, it's not a supported platform. Who knows what has changed in the API?
<10> weasel00: Did you compile PHP?
<0> ? cant be used as a variable so that why its working
<0> Hello, i need help on something.. I have a login page when i click on the button it check the authorization on the same page then open a popup which is hte control panel.. the big problem is that the session are turned off in that popup. Any ideas how i could solve this problem ?
<10> Stormchaser: (FWIW, "last I checked" was about 45 seconds ago in php-5.1.2/sapi)
<7> TML: yes... did i miss something obvious and need to be taken out back and shot
<10> Stormchaser: I'm not saying it *doesn't* work, I'm saying it's unsupported.
<10> weasel00: You didn't compile with mysqli support. Read the "Installation" section at php.net/mysqli
<7> GDI *sulks off to grab another beer*
<7> thanks TML
<12> TML: I thougt you didn't deal with PHP5...
<6> TML: thank you
<10> Stormchaser: I don't.
<10> Stormchaser: Doesn't mean I can't check the SAPI directory of all active versions of the tree
<10> Stormchaser: Of course, the apache2handler is still considered experimental as well...
<6> TML: the method you have provided I need more info on. What should be the fopen mode for it to be able to read and write at the sametime? I'm having trouble because if I use w+ it will clear out my data before it even gets read
<11> jiriki: it is ok?
<11> <IfModule mod_php5.c>
<11> php_value open_basedir ".:/var/www/php"
<11> </IfModule
<0> Hello, i need help on something.. I have a login page when i click on the button it check the authorization on the same page then open a popup which is hte control panel.. the big problem is that the session are turned off in that popup. Any ideas how i could solve this problem ?
<0> Actually, i want the session to be alway active until its destroy even in new windows
<0> any ideas?
<10> Murdoc: Don't read and write at the same time.



<10> Murdoc: Read the entire file, do the work, then write the file. You should have 2 different fopen() calls.
<6> TML: so where does the data go while it's being read?
<10> Rushino: php.net/session-start
<10> Murdoc: Into a variable.
<6> TML: but new data will replace old data that's stored inside variable each time it is read how can an entire file be read in at once?
<10> Murdoc: There are about a thousand ways. Here's a few that come to mind: $f = fopen("foo", "r"); while(! feof($f)) { $a .= fgets($f); } | $a = file("foo"); | $a = file_get_contents("foo");
<14> good evening
<15> damn. im going to have to mod my script not to show any progress. its friggin killing firefox :/
<16> how do I change the db for my forum to use
<15> go and ask #forumyouuse :)
<16> did, no1 responded
<16> but wouldnt it not be able them?
<16> I mean if u dont have a db you cant get on ur forum to change a setting like that
<15> too bad. find the config file and mod it.
<16> config.php?
<15> depends on forumyouuse
<15> but yes - thats most likely.
<16> good point
<16> thanks
<16> completely forgot about that file
<16> I only mess with this stuff every so often so I keep forgetting everything, lol
<12> !+enter
<17> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<12> !tell [MM]Sniper about u
<15> hi Stormchaser
<12> and we don't support 3rd party scripts here.
<12> yo, Meltir!
<16> I didnt realize it had to do with a 3rd party script
<16> as I suggested, I completely forgot where you set that stuff
<12> You don't, because that's not ##php stuff
<15> [MM]Sniper: we deal with php in generall, not in someone elses solutions. we help you with your solution.
<12> Ask int #yourforumhere
<16> I already have it fixed
<15> darn, were it not for the fact that ive been running this thing for more then two hour i would kill it and disable all output :/
<15> *hours
<18> Helo
<18> Is there a way to call a function from inside another function, from the same cl*** without using $this ? I mean, instead of $this->function1(), just function1() ?
<15> slowly but surely its eating up all my swap :(
<15> fromvega: you want namespaces, and theyr not here yet.
<19> hey, all! greetings and salutations
<18> Meltir: how do namespaces work?
<15> dad ?! i havent seen you for so long, you wont believe the **** ive gotten myself into...
<15> wtf are you doing on irc anyway ?
<15> ;)
<15> fromvega: just the way you described.
<20> hey guys
<20> I need to have a functiion in PHP that gets called from a couple of places
<20> I suppose I just generate a PHP function as you would expecxt
<15> cl*** foo { function xyverz() { return;} function bar() { namespace foo; xyvers(); return;} }
<20> guess I should RTFM
<11> uhmm, it's possible to put open_basedir only read only? unchangeable?
<15> ruben: iirc opent_basedir works only on apache level, so its pretty much read only. i could be wrong thou.
<21> Meltir: I think he wants to have it work as in C++. Where $this-> is implied.
<19> Meltir: i'd believe it. but you have access to a computer, you must not be in too bad a shape :)
<15> dad: ive always had access. its pretty hard for a bot like me to sur...
<11> Meltir: so it's not possible?
<18> mikepence: I suppose you can just create a function and put in right in the top of the script
<15> oh crap ;)
<20> thanks, fromvega
<19> Meltir: lol!
<20> could I just include the PHP file in another PHP file?
<15> ruben: its read only as it is. cant be more read only then that :)
<20> cause I need multiple other PHP files to have access to it
<18> mikepence: yes, but you should use require I think]
<20> cool,thanks
<15> crap, the memory eater is picking up speed :/
<11> Meltir: I have set open_basedir = .:/opt/web/php/share/pear, but one user can open my /etc/p***word how is possible?
<19> hey, i'm trying to learn OOP, and have a php5-mysql4.1 project - is it a good thing to abstract the mysql_query function into the database object?
<22> dad: For learning purposes, I don't see why it's bad.
<15> ruben: it shouldnt happen. make the /etc/ only readable for proper users.
<22> dad: Keep in mind though, learnign to reuse existing code is part of learning as well.
<19> kuja: but in the real world?
<15> this is insane. im expecting my hdd to exploda any minute now :/
<15> s/da/de/


Name:

Comments:

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






Return to #php
or
Go to some related logs:

ipcop iptables lsmod port
ubuntu proxy Ignore host list
GODADDY openssl perl
SUSE linux resize impossible
libdvdcss memphis
lx-viewer install apt-get
module snd_cmipci not found
#postfix
python urllib3
ktorrent can't find x include



Home  |  disclaimer  |  contact  |  submit quotes