@# 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



Comments:

<0> hello can I use post for arrays?
<0> I did try it but it did not work for me:-))
<1> nanotube, sure... just make sure the html is set up to send an array with []
<0> lig: how can I make sure? where?
<2> name="theinputsname[]"
<0> lig : so I need to send array a$ like $a[] not like $a ?
<2> nanotube: check out the php manual for file uploads
<3> bentob0x: Hm, solved it with some code from http://se2.php.net/manual/en/function.get-magic-quotes-gpc.php. Thanks.
<2> php.net/file.upload or the likes
<2> it has an example of multiple file upload
<2> and there are plenty of examples in google with multiple checkboxes etc.
<4> k cool
<5> I just wanna know if there is someone here before I ask anything. last night noone was.
<5> so
<6> if you ask your question, people might look in and see it and know the answer



<5> what's the secret behind updating only a part of the site? like if I have a table/div and some info there, and I want it to change but the rest of the site will be un affected.
<5> thanks GwaiLo
<6> I don't understand the question...
<5> well
<7> I think he means he wants AJAX
<5> my clothes are fine with the current product
<5> ?
<5> argh. that wasnt clewer.
<7> its basically using a javascript call to send a http request 'in the background', and have a javascript callback function to update a particular part of the website depending on what the http request returns
<8> nor clever
<7> see also www.w3schools.com under 'learning ajax'
<5> yeah.
<5> on this one site there is a list of people.
<5> and when you select "A" it gives the names of the people starting with A
<5> I'm not sure if it updates the whole page.
<5> seems pretty simple http://www.jarvenpaantaideseura.fi/lista.php?kirjain=A
<5> it's in finnish.
<9> I was just wondering if there are any live javascript games that use php
<10> a comparison that i would do in MySQL directly as "where foo LIKE "%bar%", which function would i use to do a comparison "like LIKE" in PHP ?
<10> somewhere contained in the string,not case sensitive
<11> mutante: stristr?
<12> mutante: see regular expressions
<10> thanks, stristr doesnt look bad either
<10> can i get the html manual pages from php.net as linux man pages on my host somehow,so i can type "man x <php_function>" on the shell?
<13> mutante: hmmm an ez way is to prob script another command that calls lynx phppage.html
<13> think groff supoorts html also...
<10> hmmm,yes, i know man2html, but this would be html to man
<14> what editor do you people use in linux, not commandlinedbased like nano etc
<15> Hi all :)
<10> inv_Arp: i just want it as manpages, because there is a second step behind that, whatever i have a as local manpage i can automatically include into a wiki thru some special Manpage extension.. but not so important after all;)
<12> Dr3as: i use phpeclipse
<14> i'm using quanta atm, but it kind of got too much
<16> Hey,
<16> How many MySQL Quries should I limit my self to for 1 page loading?
<16> At the moment I have 19, and that will grow - is that an overkill?
<17> AlexC_: should be no more than 5.
<16> Bazzi, ah good. Guess I have a lot of optimizing to do then ;)
<6> Dr3as: vim here :)
<18> approximately how many php systems can use GD functions like getimagesize() and so on?
<17> getimagesize() is not part of gd
<19> the username and p***word that are saved in cookies, are encrypted or not ?
<17> but other than that all servers should support gd
<20> hi
<20> can anyone tell me what a site map is please?
<18> i want my script to run on any php installation without special addons etc... can I use getimagesize() then?
<16> http://en.wikipedia.org/wiki/Sitemap
<20> and please dont say a"a map of a site"
<16> illegalc0de, http://en.wikipedia.org/wiki/Sitemap
<20> alexC_: thanks for the link but do you know what format the sitmap has to be in and what file extension it should have?
<16> illegalc0de, no sorry - though you could have a look Google Site Map
<20> im using google site map and its asked me for my site map. ive never used one
<20> i found a link at the bottom of wiki anyway
<21> hmmm
<21> i need and idea to what to code :/
<21> any one that can help me?
<21> looking for something not to big but not to easy
<16> come up with a concept for a new CMS? I could really do with a new concept *hint hint*
<17> I could do with a good implementation :P
<19> sorry
<19> do you know how the remote include() works ?
<22> guys, i have the following regex pattern, which works fine in regexcoach, but in PHP i get a string error..



<22> $preg = "\[([^\]]+)\] \[([^\]]+)\] ([^-]+)-([^\n]+)";
<22> Warning: Unexpected character in input: '\' (ASCII=92) state=1
<19> it gives back html or transfer the php code ?
<22> Parse error: syntax error, unexpected '['
<21> alex___ isent and CMS kinda big?
<23> hnk
<24> is it possible to by php, alter the url in the adress field, without making it reload the page?
<7> dont think so
<7> sounds more like a javascript thing
<25> NovaKing: try putting / at the start and end of the regex string
<22> deltab: it's just setting a string has nothing to do with /{string}/i
<25> extr3m: what do you mean?
<22> $preg = "\[([^\]]+)\] \[([^\]]+)\] ([^-]+)-([^\n]+)";
<22> if( preg_match( "/$preg/i", $args["data"], $result ) )
<26> extr3m, the only thing you can do is change the anchor. (everything after the #), anything else will require reloading the page. And you cant do it with PHP, you'll need to use javascript.
<24> oik
<16> Sillyman, Yeh, CMS is pretty big - well depends really. The idea I have, which works very well - is modular - but it's MySQL heavy at 19 quries per page - I need to optimize it, if I can
<27> Modules are almost essential in a CMS -_-
<28> Hi guys, what does the @ mean here ... ? thanks .... @preg_replace(
<27> babo: Suppresses any errors emitted by that function.
<28> kuja: cool, thanks :-)
<28> kuja: so I'm looking at a phpbb exploit here, just out of curiosity. Apparently this function doesn't validate input correctly and so can be used as an exploit ... $message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', ... I'm not sure I understand how that exploit actually would work ? I mean the text would be a message right ? It wouldn't actually get executed would it ?
<16> Would any one want the source code to my CMS and see if they can help optimize the 19 quries per page?
<27> babo: I don't enjoy deciphering regex.
<27> babo: That preg_replace() is also using the `e' modifier.
<28> kuja: so the 'e' modifier is the problem here. Without it, the code wouldn't execute do you think ?
<29> hi, i got a cl*** method function hey(&$a, &$b) {..} and a function ho($this->a, $this->b) in another method in the same cl***, but the values will not get into $this->b and so on? what do i wrong?
<29> if i use normal function ho($a, $b) i will get the values in $a and $b
<30> hello
<30> ??/
<30> dfjefauif
<31> stop that
<30> hello enygma
<31> hi
<30> asl?
<30> hey enygma
<31> yeah....go find another channel for that kind of stuff
<30> wer r u
<30> ??
<16> This is a PHP support forum, not a dating agency
<16> channel*
<32> PHP: http://pcmedia.gamespy.com/pc/image/article/701/701858/episode-15-war-preparations-20060414042214566.jpg
<30> leche putangina nio
<32> !tell louienel about u
<16> !tell louienel about growing up
<32> dangit!
<16> hehe
<32> so close...
<16> Does anyone want the source code to my CMS? You can help optomize the queries if you want ;)
<33> why does php uses a default FIXED unchangeable mysql username?
<16> because your suppose to chagne it your self?
<33> how?
<32> usually it's root
<33> i used @mysql_pconnect("localhost","username","p***word");
<33> but i rcv this error:
<16> $Connection = @mysql_connect( _DB_SERVER, _DB_USER, _DB_P*** ); is that I use
<34> I was wondering if anyone here could point me in the right dirrection , i would like to find out how i can make a good ping environment like the one in blogplatforms (e.g. wordpress )
<33> Couldn't connect to MySQL Access denied for user 'scislogin'@'localhost' (using p***word: YES)
<16> maybe wrong username/p***word combo?
<16> trying to connect to wrong mysql server?
<33> the username i specified was "miguel"
<16> buh? mind uploading the code but saving it as .phps ?
<32> @mysql_pconnect("localhost","username","p***word"); <-- wrong, unless you meant variables...
<32> Couldn't connect to MySQL Access denied for user 'scislogin'@'localhost' (using p***word: YES) <-- username ain't miguel like you said you specified
<33> well doesnt any php script override the username? or how about the config file?
<32> no
<16> Fushuing, I don't get what you mean - is it the " " ? should it be ' ' ?
<32> i don't have ANY quotes there actually :/
<35> please say php script for big gallery ?
<32> NO
<32> we don't support third party software and neither do we help you find one which is not supported by us
<32> use google.com next time before asking and making a fool out of yourself
<34> Anyone who some info on php - pinging to blogsearcheninges?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

IP Address bind order local vpn
#oe
#gentoo
#web
mpgs player on ubuntu
#linux
gentoo firefix ebuild
#debian
#php
gentoo ati-driver xorg 7.2 overlay



Home  |  disclaimer  |  contact  |  submit quotes