[PHP] Google Pagerank script

2008-03-29 Thread Joey
Hello All, Does anyone have a link to source code for a pagerank script? I want to provide this to users. Thanks! Joey

Re: [PHP] new lines in textareas?

2008-03-29 Thread TG
Is \n included literally because you're using single quotes for the variable? $textdata = 'This is a test\nThis is the second line'; vs... $textarea = "This is a test\nThis is the second line"; I would guess a lot of the pages you find are talking about what to do with the text after submitti

Re: [PHP] new lines in textareas?

2008-03-29 Thread Casey
On Sat, Mar 29, 2008 at 9:26 PM, Mary Anderson <[EMAIL PROTECTED]> wrote: > Hi all, > I have a php script which produces text which is to be displayed in > a textarea. I have the wrap for the text area set to 'hard'. I need to > have newlines inserted in the text. > "\n" and "" don't w

[PHP] new lines in textareas?

2008-03-29 Thread Mary Anderson
Hi all, I have a php script which produces text which is to be displayed in a textarea. I have the wrap for the text area set to 'hard'. I need to have newlines inserted in the text. "\n" and "" don't work. They just get quoted literally in the text. I suspect I need to use htmlspeci

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
token_get_all, fantastic! Thanks. - Adam On Mar 29, 2008, at 10:02 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote: Yes, php source code. You will not be able to do this with PCRE. You need something that can track state because double quotes can appear

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote: > Yes, php source code. You will not be able to do this with PCRE. You need something that can track state because double quotes can appear within HTML outside of PHP blocks, within HEREDOC, within double-quoted strings when backslashed,

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Casey
On Mar 29, 2008, at 4:16 PM, Adam Jacob Muller <[EMAIL PROTECTED]> wrote: Hi, Have a potentially interesting question here, wondering if anyone has done this one before and could shed some light for me. I have a bit of PHP code that needs to extract some quoted strings, so, very simply: "

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Yes, php source code. On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. Sorry, I wasn

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: > Assume that you should accept any string that PHP itself would accept, > though no processing of the actual escapes is required nor desirable. Sorry, I wasn't clear enough :) By source I meant more along the lines of what the text mi

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. On Mar 29, 2008, at 8:34 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote: Hi, Have a potentially interesting qu

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote: > Hi, > Have a potentially interesting question here, wondering if anyone has > done this one before and could shed some light for me. > I have a bit of PHP code that needs to extract some quoted strings, > so, very simply: > "hello"

[PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Hi, Have a potentially interesting question here, wondering if anyone has done this one before and could shed some light for me. I have a bit of PHP code that needs to extract some quoted strings, so, very simply: "hello" perfectly fine and works great but, it should also be able to extract "

[PHP] Re: character encoding

2008-03-29 Thread Manuel Lemos
Hello, on 03/29/2008 12:43 PM Bill said the following: >> You can build mailto: links with a default subject and text, but I am >> not sure you can force Outlook to use specific HTML. It's wiser to not >> rely on mailto: . > > Hotmail will accept mail delivery from PHP ? Sure. There is nothing s

Re: [PHP] Re: optimilize web page loading

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 10:16 +0100, Zoltán Németh wrote: > > > > One last thing though... > > even if this were escaped and even if there were fifty variables > > embedded, a good bytecode optimizer (not quite the same as a bytecode > > cacher) would optimize the bytecode for caching so that the s

[PHP] Re: character encoding

2008-03-29 Thread Colin Guthrie
Bill wrote: >> You can build mailto: links with a default subject and text, but I am >> not sure you can force Outlook to use specific HTML. It's wiser to not >> rely on mailto: . > > Hotmail will accept mail delivery from PHP ? mailto: links have nothing to do with PHP but generally speaking mai

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS5and MySQL 5.x

2008-03-29 Thread David Giragosian
On 3/29/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Shawn McKenzie wrote: > > >[EMAIL PROTECTED] wrote: > > > > > >>Shawn McKenzie wrote: > >> > >> > >> > >>>Paul Scott wrote: > >>> > >>> > >>> > >>> > On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: > > > > > >I'd

[PHP] page content duration

2008-03-29 Thread Alain Roger
Hi, i have a strange behavior on my web page. i have a form where users can enter their email address to subscribe to newsletter. if user already exists the page inform him and allow him to go back thanks a button. clicking on this button, load another page (initial page with the form for newslet

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS5and MySQL 5.x

2008-03-29 Thread edwardspl
Shawn McKenzie wrote: >[EMAIL PROTECTED] wrote: > > >>Shawn McKenzie wrote: >> >> >> >>>Paul Scott wrote: >>> >>> >>> >>> On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: >I'd suggest going with a real operating system (linux) which keeps patches

[PHP] Re: character encoding

2008-03-29 Thread Bill
Hi Manuel > You can build mailto: links with a default subject and text, but I am > not sure you can force Outlook to use specific HTML. It's wiser to not > rely on mailto: . Hotmail will accept mail delivery from PHP ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS5and MySQL 5.x

2008-03-29 Thread Shawn McKenzie
[EMAIL PROTECTED] wrote: > Shawn McKenzie wrote: > >> Paul Scott wrote: >> >> >>> On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: >>> >>> I'd suggest going with a real operating system (linux) which keeps patches updated quicker... >>> As much of a Free Softwar

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5and MySQL 5.x

2008-03-29 Thread edwardspl
Shawn McKenzie wrote: >Paul Scott wrote: > > >>On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: >> >> >>>I'd suggest going with a real operating system (linux) which keeps patches >>>updated quicker... >>> >>> >>> >>As much of a Free Software advocate as I am, that is not the answer to

Re: [PHP] Simple RegEx to pull out content between 2 markers

2008-03-29 Thread Richard Heyes
Jon Bennett wrote: Hi, I need to grab the what's between 2 markers in a Textile / html string, but my regex skills aren't all that hot. The text I have is: h3. Article Content Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

Re: [PHP] Simple RegEx to pull out content between 2 markers

2008-03-29 Thread Zoltán Németh
2008. 03. 29, szombat keltezéssel 11.26-kor Jon Bennett ezt írta: > Hi, > > I need to grab the what's between 2 markers in a Textile / html > string, but my regex skills aren't all that hot. The text I have is: > > > > h3. Article Content > > Lorem ipsum dolor sit amet, consectetur adipisicing

[PHP] Simple RegEx to pull out content between 2 markers

2008-03-29 Thread Jon Bennett
Hi, I need to grab the what's between 2 markers in a Textile / html string, but my regex skills aren't all that hot. The text I have is: h3. Article Content Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad m

[PHP] Re: PHP code to write excel spreadsheet with multiple workbooks

2008-03-29 Thread Christian Schmidt
Mary Anderson wrote: I have a linux based web app which prints an html screen of results. My users really want Excel spreadsheets with the same results. There is a PEAR application which does this, but from the PEAR description it seems to be pretty buggy (65 open bugs, average days open

Re: [PHP] Posting Summary for Week Ending 28 March, 2008: php-general@lists.php.net

2008-03-29 Thread Zoltán Németh
hey I made into the top five! celebrating this, now I top post :D ;) greets, Zoltán Németh 2008. 03. 28, péntek keltezéssel 16.00-kor PostTrack [Dan Brown] ezt írta: > Posting Summary for PHP-General List > Week Ending: Friday, 28 March, 2008 > > Messages| Bytes

Re: [PHP] why won't my array work?

2008-03-29 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 12.28-kor Jason Pruim ezt írta: > Hi everyone :) Happy friday to all of you! > > Here's my issues, I am attempting to echo the results of mysqli query > out to my script just so I can make sure it's working right, what I'm > hoping to do in the long run is comp

Re: [PHP] Re: optimilize web page loading

2008-03-29 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 11.31-kor tedd ezt írta: > At 9:14 AM +0100 3/28/08, Zoltán Németh wrote: > > > This way for literal strings, the PHP parser doesn't have to evaluate > > > this string to determine if anything needs to be translated (e.g., > > > $report .= "I like to $foo"). A mi

Re: [PHP] Re: optimilize web page loading

2008-03-29 Thread Zoltán Németh
2008. 03. 28, péntek keltezéssel 10.59-kor Robert Cummings ezt írta: > On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote: > > 2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta: > > > On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: > > > > > > > > yeah maybe. you're r