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



Comments:

<0> eml: error_reporting ( E_ALL );
<0> eml: there's also if (file_exists($filename)) { }
<1> yeah
<2> i need some ideas what to code can any one help me?
<1> well, error-reporting gave me useful help
<0> VVLC: You should code me an admin page for my project. I'm not stuck just not modivated.
<3> VVLC: How about a shopping caart, or a guest booking package, or a php web browser ?
<2> fair enuff :)
<2> php web browser
<2> sounds like fun
<0> VVLC: I'm not sure.
<0> gtk?
<2> yea
<3> Right, that's him out of the way for a week or sixteen
<0> you think you could?
<2> i think so



<0> Just parsing the html gives me a headache.
<2> lol :)
<3> http://www.webfilebrowser.org/ - not quite, but...
<1> damnit
<1> permission denied >,<
<3> google on php web browser
<0> I don't think php would make a good web browser.
<2> me2
<0> then again I could be wrong.
<2> hmm
<4> hi guys
<4> need some quick newbie help
<4> anybody got 5 mins?
<2> shut
<0> ok
<5> $patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is";
<3> er, I guess RTFM would be out of the question? :-)
<5> $replacements[] = $bbcode_tpl['url1'];
<4> the-erm, was that for me?
<5> what does these two lines do exactly?
<0> dkarp: ask.
<0> if we know the answer we;ll tell
<6> hello, i have problem with ./configure in 64bit system which have libraries in /usr/lib64/, in configure is hardcoded path $DIR/lib/, is there a easy way to fix this ?
<2> i'll save the web browser for later
<3> satsonic: You might be better asking the creators of whatever you are fiddling with
<2> dont got time to it :S
<5> $patterns = array(); and $replacements = array(); are there in up code
<4> great. I am trialing an email newsletter application which allows tracking to see if emails have been opened. It does this via a small Piece of PHP code which the application itself produces. I am new to all this and created a PHP file called tracking.php with this code in it. I then uploaded it to my web server along with a small GIF file and entered the URL to the PHP file in my browser but all I got was a 404 error.
<3> satsonic: x[] is an array element + is the ***ignment operator
<3> Oops = is the ***ignment operator
<0> satsonic: the first one adds the string to a new element in the array $pattern[] pertty mucht the same thing with $replacements[]
<4> the code itself seems to produce the correct effect of sending me an email to tell me but I was wondering why the 404 error was there
<5> wobbles, ok
<5> the-erm, the second line has relation to this i think, $bbcode_tpl['url1'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); and $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url1']);
<0> dkarp: sounds like the page is missing.
<0> satsonic: no clue
<0> I'd have to look at all the code.
<7> I would like to make an little database and link it with PHP, but an database in a file. No make use of MySQL and PostreSQL etc. Any suggestion to what i must look ?
<3> dkarp: Perhaps the page is redirecting to a non-existent page? Hard to say without seeing the code
<0> dvm1981: what language do you speak. It's not english.
<7> Japanesse ?
<3> dvm1981: you'll want file handling functions
<7> With some typo errno...
<5> the-erm, http://pastebin.com/568421
<7> wobbles: I know a little bit, a verry litte bit PHP, so i ask basic questions. :-/
<7> wobbles: Going to look for that.
<3> dvm1981: You'll need to be able to write to a file, read from a file and search the results, at least.
<0> satsonic: it handles phpBB stuff.
<7> the-erm: Sorry my english are verry bad :-/
<3> dvm1981: So probably searching in arrays would be used as well.
<8> xshad - yeah, i need to do it for any control character, I was just using newline as an example
<9> I don't think you can
<10> you can use arrays
<10> i don't remember the str??? function
<11> '\n' also works
<10> strtr I think
<8> I thought quotemeta would have worked but it doesn't
<10> php.net/strtr
<10> look there
<8> xshad - yes, but I really don't know what characters are in the string, it's not \n or \r\n or <cr> or <cr><lf>



<10> rtrim($line); it would remove any linefeed
<8> it's in the middle of a string
<8> I've just urlencoded it, and it's showing as %0A%09%09%09%09%09
<8> I think %09 is tab?
<10> so you'll need to map each character
<12> hi, what mean @ before 'include' ?
<13> !+@
<14> [@] The PHP error control operator that suppresses errors (@foo()), see: http://php.net/operators.errorcontrol - Don't use it. Think I'm wrong? Ask me about "GO".
<1> !+GO
<15> it doesn't suppress spelling errors though
<1> !+cl***
<12> ok, thank you
<1> !+cl***es
<13> andrewtaylor_: That's "\n\t\t\t\t\t"
<1> !+oop
<8> hmm, nl2br isn't working
<13> eml: !+ only works for ops. message the bot in private.
<1> nahm ut tikd ne abiyt GO and oop =)
<1> ehm.. sorry, placed my fingers wrong
<10> wtf?
<10> lol
<1> "nah, it told me about GO and oop"
<1> in priv tho
<13> eml: "!+" means "say it to everyone in the channel".
<8> oh well, at least I can see what i'm working with - thanks
<13> eml: Which only works for ops.
<1> TML, ok, well it privved me =]
<13> eml: everyone else should message the bot directly
<1> kay, I'll do that
<16> Hi all. I was wondering what would be the suggestions for an wysiwyg editor to create form templates. I have checked Form maker. Dreameaver is too heavy. Suggestions?
<10> vi
<17> Where in the PHP sourcecode does it fill _GET?
<16> xshad: thanks, i use vi already. I want to low the templates creation time.
<18> Hi. Can someone tell me what I need to create PDFs from PHP?
<13> holmeh: main.c
<13> eatmypiano: php.net/pdf
<19> 1. a server with php
<19> 2. a script to create pdf's
<19> 3. some data to use
<20> does anyone understand why xmlrpc_decode returns one parsed value rather than an array of parsed values?
<21> hi guys, I'm using phpcgi, and I'm trying to send a mail message. I need the message part of my mail to come out properly formatted. But the command line won't accpet a message with a newline in it. How do I output my message so that it's not all one long line ???
<19> \n
<19> does a new line
<22> xshad, your script doesn't work with my file.. is it possible that it doesn't work because my structures are more complex, like: <if:while[].sub[].if_advanced:1> ?
<10> coolpix yes
<21> gecko^|: Is there any other way. It's difficult to get a sense of the layout when you are just using \n ?
<13> babo: That's really more of a question for your MTA.
<10> it allows only a-zA-Z
<10> :P
<22> oh damn ;)
<21> TML: I'm just using the mail() function and letting php handle it from there
<22> shoul I replace it with (.*) ?
<10> <if:****:1> never changes ?
<23> Well you can use heredoc syntax instead of \n.
<22> ***** is everytime changing
<10> yes, but the <if: :1> ?
<22> no
<10> hold on
<22> k
<13> babo: I don't understand what you're trying to say. PHP certainly isn't going to reject a newline, so it must be your mailer that's rejecting the newlines.
<13> babo: In which case, you need to fix your mailer.
<24> http://pastebin.com/568652
<24> Why isn't the IP being submitted to the DB.
<24> Everything else it.
<10> '/<if\:(.*)\:1>(.*)<\/if\:(.*)>/se'
<25> startkeylogger
<10> coolpix this one
<24> s/it/is
<11> root404: You aren't echoing it on the form
<11> line 38
<10> startkeylogger wtf does it means ?
<11> make it <?php echo $_SERVER['REMOTE_ADDR'] ?>
<22> thx xshad
<11> xshad, coolpix: You'll want to make that (.*) ungreedy


Name:

Comments:

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






Return to #php
or
Go to some related logs:

_SESSION .hta
#sql
#openzaurus
insert into as select * from in mysql
#css
install SABnzbd ubuntu
#centos
linux hplj3050
Debian BCM4212
pvresize parted shrink partition



Home  |  disclaimer  |  contact  |  submit quotes