| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> [fields]: The manual is not down. <1> and thanks for all the help <0> [fields]: Your mirror is down. <1> also to the other users that help me <1> thanks :) <0> [fields]: Anyhow: $str = preg_replace('/[^a-z0-9]/i', '', $str); <2> gracias! much appreciated, thank you. <3> if i want to use "\" in an sql, how do i must write it to be sure that i will have an sql error? <3> 'some sql thing and my \' <3> $sql='some sql thing and my \' <3> i get it \\ <4> some characters need escaping <4> like ' and \ <2> kuja: how would the above reg expression be written to allow spaces and () both parenthesis? <0> [fields]: By adding a space and () in the character cl***. <2> '/[^a-z0-9]/i ()' ???
<4> i have a very weird issue : despites the method="post", i get all values in the url :/ <2> vin: yeah thats really strange, are you sure you spelled post right? or that the form has no misspellings? <4> yes i am. it just suddenly stopped working as expected <4> i've found out that when some hidden fields are empty i got the same behaviour, but i have none right now.... really really weird <2> did you forget to close your </form> ? <4> nope, the html looks good <0> [fields]: Inside the character cl***. I'm not going to help beyond that. You'll have to learn some regex. <2> thank you <5> hi all <6> how can i get php 4.4 complain about my errors as much as it can? is error_reporting(E_ALL) all i can do? <5> I have a "noob problem" I have a php file, wich load several html files (sideboxes, footer, etc..) but, I have included a little php code in one of those html, and code works, but, the main php stop loading the next html files. <7> redduck666: what else do you want? <0> TML: Yo, I actually found a use for adding methods to instances. <6> noppo: anything that will help me tell if i screwed something up <8> hi, i googled this but nothing showed up.. are there pointers in php? <9> if your php install didn't create any php.ini is it ok to copy the one from the souce dir into /usr/local/lib ? <9> source <10> yes <9> oki <9> thanks <8> anyone? ... are there references i could use with PHP? like C++ ... like an object in memory has a reference. .... does that kinda thing exists in php? <11> Prescriptor: yeah... $var =& $another_var; creates the reference "var" to the contents of "another_var" <11> if "var" is changed, so is "another_var" and vice-versa, since they both point to the same thing <8> yah. so the syntax is the & sign <8> got it <8> thanks <11> yeah, =& <11> np <12> This script worked until i switched to php as cgi <12> http://godsownland.com/cgi-bin/plpastebin.cgi?id=41c06f <12> please check <12> any help? <13> If I've compiled php from source and not provided a --prefix (so it's just been installed in /usr/local), is there an easy way to remove it? <13> There seems to be no make uninstall defined and looking through the Makefile is making my eyes go funny :/ <12> This script worked until i switched to php as cgi <12> http://godsownland.com/cgi-bin/plpastebin.cgi?id=41c06f <14> I ***ume $admin and $cms are made in common.php? <15> hi all <15> I'm trying to customize a bulletin board to match the css of my site <15> http://pastebin.com/580056 <<< that's an example of what I need to do (but don't understand it) <15> http://pastebin.com/580030 <<< that's a template of my board <15> here's an example of someone who did it correctly: http://www.vibez.co.uk/forum/ <15> does that make sense to anyone? <16> how do i know which user php is running as ? <16> or i should ask apache ? <14> it's the apache user unless something silly like suEXEC is installed <16> ok .. <16> so how do i know the apache user ? <17> what must be the paramaters of configure when i am installing php 5 ? <16> nevermind <16> found it <16> "nobody" <16> is it a security risk ? <14> eh? <16> is it a security risk to let apache running as nobody ? <18> TheDarkSide: depends on what you want it to do. just to simply install php5 you don't need any parameters, but real ./configure --help and decide what you want to add to it <12> enygma: yes <17> thanks ;> <18> KingDavid: as long as "nobody" is not priveleged account it's ok <16> ||cw: no its not. but im going to turn it the owner of my whole htdocs dir <12> enygma: ?
<19> kingdavid: its best to have minimal permissions for any user that runs daemons <20> hi <19> kingdavid: ie: give them read to what they need, and write to nothing except logs <19> kingdavid: it's definitely not required to give them write permissions to the htdocs dir <20> I have a script that works fine (except for timing out) from the browser but from the command line it says it can't connect to the database...any ideas? <21> What tricks are there for figuring out where some piece of HTML is generated? And what about finding out where a piece of PHP is used in other PHP and where it is reflected in the HTML? <16> bobnormal: some php scripts need that on the installation time <21> I can grep through all the code. I can let every piece of PHP output some identifying HTML comments. What more tricks are there? <19> kingdavid: that's true, but theoretically you shouldn't leave things wide open the rest of the time just on the off chance you might need it later <16> bobnormal: well ill do the chown at the time of instalation and then ill take the files back to my user <16> bobnormal: thx <22> Greetings and salutations! <22> A Question... is there a relatively easy way of finding out if a bot is visiting your site? <22> I have a (viewed # times) part on my blog, and I don't want the counter to increase if a bot scours my site. <23> felixdahousecat robots.txt <23> i mean FenixRF robots.txt <24> hmm <24> I wonder if there's "a php-accelerator" for php 5.x ? <22> Jetpack, how does robots.txt help? I don't want to block bots... I want to have php code that checks to see if the person viewing my page is a bot or a person. if it's a person, then I want to increase the viewed counter, if it's a bot, then don't <25> 66.163.161.117 is down for me <25> thats the mirror I get for php.net <25> 117.161.163.66.in-addr.arpa domain name pointer y2.php.net. <25> anyone else? <26> 66.163.161.117 atleast replies to ping <25> not for me... <26> and shows php.net <26> well <25> Pinging 66.163.161.117 with 32 bytes of data: <25> Request timed out. <26> atleast a similar looking page <25> hmmm <25> hmmm <25> cant ping from two locations <25> and traceroute fails at 13th hop <12> This script worked until i switched to php as cgi <12> http://godsownland.com/cgi-bin/plpastebin.cgi?id=41c06f <26> erm <12> how do i turn on error messages in php <27> hi <26> I dunno what to tell ya, f0urtyfive, ping, traceroute and browsing that 66.* ip works fine for me <27> I'm trying to execute a php file through my webserver, but my browser asks me to download the php file... what could be wrong with my apache? <25> strange <25> lietu: can you traceroute all the way through? <28> mkoebele: you didnt set it up to process .php files correctly. <26> yep <25> what's your lastd couple hops? <27> myc: how would I do it correctly? <27> mime.conf contains php <27> mime.types I mean <28> who cares? <28> that doesnt do anythign <26> 11 ge-0-1-4.p154.pat2.pao.yahoo.com (216.115.96.52) 193.876 ms 198.748 ms 193.393 ms <26> 12 ge-2-0-0-p213.msr2.sc5.yahoo.com (216.115.107.27) 194.490 ms ge-3-0-0-p413.msr2.sc5.yahoo.com (216.115.107.31) 194.357 ms 194.413 ms <26> 13 ge-2-6.bas1.sc5.yahoo.com (66.163.160.202) 193.758 ms 194.666 ms 194.255 ms <28> mkoebele: http://us3.php.net/manual/en/install.unix.php <26> 14 y2.php.net (66.163.161.117) 194.231 ms 194.264 ms 193.737 ms <27> myc: thanks <25> hmmm <25> my last two hops shows multiple routers, with 50% packet loss on the last hop (and it doersnt reach y2 <26> weird <25> somethin must be funky at yahoo <26> wouldn't surprise me a bit heh <25> 12. ge-2-0-0-p213.msr2.sc5.yahoo.com 0.0% 103 27.9 30.2 27.7 213.1 18.6 <25> ge-3-0-0-p403.msr1.sc5.yahoo.com <25> ge-2-0-0-p203.msr1.sc5.yahoo.com <25> ge-3-0-0-p413.msr2.sc5.yahoo.com <25> 13. ge-6-7.bas2.sc5.yahoo.com 52.4% 103 31.6 31.0 27.8 165.1 19.6 <25> ge-8-16.bas2.sc5.yahoo.com <25> 14. ??? <29> Hi all <29> I have a define line as seen in http://ro2.php.net/define define("cfg_SVG_fields", <29> "art1","ART1_PACKQUANTY","ID_ART", "$id", "PackQty ", <29> "art1","ART1_VOLUME","ID_ART", "$id", "Vol ",
Return to
#php or Go to some related
logs:
#web gentoo /dev/dri empty +getelementbyid +run perl mysqld.sock miss css hr thickness firefox #ai rtorrent nohup howto group validation html_quickform eselect voodoo3 Warning: Cannot find word list en.latin1.spl or en.ascii.spl
|
|