| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> Hi, using apache + php 5.1.4 and php.ini with display_errors = Off, I can see mysql errors via web, any idea how to quit it? <1> how can i round the image? <0> &output=error&msg=You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';show databases' at line 1 el SQL es : SELECT * FROM <2> But I saw nothing about the puncuation <3> How i make auto-resize on php ?? index.php :) to be seen by any resolution <0> ni idea anyone? <4> NickJane: i suggest you go read the PCRE syntax page on php.net, it should be linked from the preg_replace page <5> Are PHP 4 and 5 compatible? <0> 'depends' I think <5> using it with apache2 <0> if you do not use anything about 5, you can use php5 with php5 <4> NickJane: to get you started.. $s = preg_replace('/[^a-z]+/i', '', $s); will remove all non alphabetical characters from the string <0> with php4* <4> there are a few things in php4 which no longer work in php5 <4> there's some upgrading notes somewhere on php.net <6> php ****s in that respect...
<4> hardly. complete backwards compatibility would mean we wouldn't make much progress <7> Hi. Can someone tell me why this regexp do not match what I want (I'd like to match both [..] parts) => http://pastebin.com/729644 <4> terraces: it's being greedy, simplest to add the 'U' modifier <6> .* is greedy <6> try ".*?" ? <4> or that. <7> arpad, thanx, it works fine ! I didn't know that yet <5> Fatal error: Call to undefined function curl_init() in /home/hays/public_html/index.php on line 5 <5> anyone know what this might mean? <4> hays: read the installation instructions at php.net/curl <8> i LOVE it when people dont even read the ****ing error messages. <5> itrebal: I did. <8> hays: and what did you get out of it? <8> "A special value given to variables after they are created and before a value has been ***igned to them." for undefined, "In computer science, a subroutine (function, procedure, or subprogram) is a sequence of code which performs a specific task, as part of a larger program, and is grouped as one or more statement blocks; such code is sometimes collected into software libraries. Subroutines can be "called", thus allowing programs to access the subro <8> utine repeatedly without the subroutine's code having been written more than once. ..." function, undefined function? <4> hays: most functions in php are part of extensions, so if function foo_bar() is undefined, it normally means you need to install extension foo <5> itrebal: Not much. That something was wrong with curl. <8> hays: possibly that the function curl_init doesnt exist? <5> arpad: I see.. I don't touch this much. I found the problem... I had my curl USE flag on an obsolete package and had to update it. <8> grr i have to leave, i'm angry, and agry + irc == bad <9> problem: urlencode is working.. just my problem is that its encode the <a href> too and on the page i see <a href> insted of a link <10> any idea why fsockopen craches my browser? <11> what does this mean: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 <11> it would help if it told me what line number :| <11> can you please help me <10> can anyone in here help me out please? <12> is there a way to convert a one dimensional array to a two dimensional array? <12> or otherwise a way to p*** a two dimensional array on a URL <5> woo hoo building PHP the third time today :) this time I needed to compile in XSL support :) <13> hi all <13> i can not use pear <13> when i write pear install <package>, i give error: Fatal error: Call to undefined method PEAR_PackageFile_v1::getURL() <13> how can i fix it ? <14> anyone using php 5.1.4-fastcgi on freebsd? i am getting core-dumps all day long <9> $body = str_ireplace("<", "%3C", $body); -- dosent works <15> idan: more specifically? <9> just dosent works, no errors no nothing <15> are you sure they're <'s and not <'s? <9> yep <15> hmm, well, you don't need to use ireplace, just use replace <15> if that works, then there's a bug in str_ireplace <15> are you using the multibyte extension? <9> woot? ;S <15> works? <12> is there a way to convert a one dimensional array to a two dimensional array? <15> in what sense? <12> i p***ed an array of fields over URL to the php file, now i need to convert them to rows <15> like turning a [64] into a [8][8]? <12> yeah <15> hmm <16> anyone knows were can I find the mime types for images? I want to accept file uploading but only for that kind of mime types <12> or even a list of arrays if possible <12> like <15> danf_1979: there are a few <15> image/png, image/jpeg, image/gif <12> list($f1[], $f2[]) = $arr <12> or soemthing like that <16> Ok, thanks... I'll search google with that <15> well, SubOne, you could probably try walking through it <16> thanks again <15> no prob
<15> ArrayIterator <15> or array_walk <12> well, i was just wondering if there was a way other than walking through it <15> and do the list() stuff <12> oh theres a function? <15> I don't know offhand <15> www.php.net/array lists the array functions <15> then SPL has a couple Array-related cl***es <12> yeah i been trying different combinations <12> i guess i'll just walk it manually with two iterators <15> maybe array_chunk <4> SubOne: couldn't you p*** it like foo[bar][id]=baz&foo[bar][name]=baz so that php automatically turns it into a 2d array? <15> actually, there it is <15> check array_chunk() <12> ty <15> if the [x][y] y part is fixed size <15> np <15> anyone here use WebSVN? <5> anyone here use gentoo? having issues with xsl support <17> JVz, i do... but i havent had any problems... <17> hays, i'm on gentoo ^_^ <17> hays, whats the issue exactly? <15> Xen0n: just looking for suggestions <15> or problems even <5> xslt_create is showing undefined but I have invluded the xsl use flag <15> if you want to test the trunk, that's be cool <5> Xen0n: and xml also <18> hays: Did the xsl.so get built? Are you loading it in your php.ini? <15> hays: do you know if gentoo builds them as so's or included in the mod_php and php cgi's? <17> JVz, well... http://websvn.c3x.net/ is my home SVN server, and that seems to use it fine ^_^ <17> gentoo builds as modules i think.... <15> aw, that's an old version <15> I've been a developer since somewhere along the 2.0 branch starting <12> sweet ty <17> JVz, oh <17> hehe <15> and since everyone seems to like using only mailing lists, can't get realtime chat <17> JVz, thats like the stable one in gentoo at the moment <15> ah <5> JVz: I don't know <15> well, 2.0 should be released soon <5> TML: not sure <15> well, check /opt/php (or wherever it goes) to find the modules directory <12> ty JVz <15> or something similar <18> hays: Then go find out <15> SubOne: I said np <19> hi all <20> hey <20> how can i compute the difference between two datetime strings <20> in seconds? <20> like D1-D2 how much seconds p***ed before both? <19> can someone help me with php-setup? <20> from d1 to d2 how much seconds it take <18> Boooaa: When you say "datetime strings", are you talking about a database type? <20> yep <20> 2006-05-14 12:43:22.593 <20> to <18> Boooaa: Then, as a general rule, it's easier to ask the database to do it <20> 2006-05-18 13:33:12.003 <15> you can probably use SQL <20> hm <20> how can i do that on sql? <15> select (d2 - d1) from foo ... <20> and it will output ? <20> seconds? <18> Boooaa: Depends on your database. Check your RDBMS documentation. <20> mssql <5> TML: phpinfo shows a libxslt version <18> hays: In which section? <5> was built with --with-xsl <5> in the xsl section <18> hays: xslt_create() is in XSLT, **not** XSL
Return to
#php or Go to some related
logs:
ubuntu no mbr #fedora gcc obfuscate #physics numpy _numpy #debian localhost [127.0.0.1] (may be forged) did not issue MAIL/EXPN/VRFY/ETRN during maximum XvImage size xorg.conf #lgp xcomposite r300
|
|