[PHP] docs.google.com how do the export ?

2007-10-23 Thread Torsten Rosenberger
Hello I watched docs.google.com an wonder how they can export the WYSIWYG created content in pdf, word, ... Are they working with COM() functions on Windows ? to generate the docs and pdf or is it possible to create them with XSLT BR Torsten -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Looking for a framework

2007-10-23 Thread mike
On 10/23/07, Larry Garfield <[EMAIL PROTECTED]> wrote: > I don't think any really integrate with PHP better or worse than others, since > all of them can only speak HTTP. I will say that in my professional PHP work > I've standardized on jQuery because jQuery itself rocks, and doesn't try to > tur

Re: [PHP] Looking for a framework

2007-10-23 Thread Larry Garfield
I don't think any really integrate with PHP better or worse than others, since all of them can only speak HTTP. I will say that in my professional PHP work I've standardized on jQuery because jQuery itself rocks, and doesn't try to turn Javascript into some language it isn't. The fact that it'

[PHP] Re[PHP] direct to an IP address but keep the URL name

2007-10-23 Thread tnorton
I have a web site hosted at http://rexel.adam.com.au, which has basically the home page only on it. My main site is at http://210.8.133.142 with the major links on the home page going to http://210.8.133.142/index.php and http://210.8.133.142/classes/phpbb3/ I would like to make the web page ad

Re: [PHP] EMPTY??

2007-10-23 Thread tedd
I then submit my page and on the following page I put the posted value into two variables. $comments = strtoupper($_POST['comments']); $check_comments = $_POST['comments']; I made two variables for the same posted value because I believe empty() does not work with strtoupper in front of the

RE: [PHP] libmm.so.14 SOLVED

2007-10-23 Thread Jeff Mckeon
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 23, 2007 4:10 PM > To: Jeff Mckeon > Cc: php-general@lists.php.net > Subject: Re: [PHP] libmm.so.14 > > On 10/23/07, Jeff Mckeon <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > > Fr

Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Nathan Nobbe
On 10/23/07, Daevid Vincent <[EMAIL PROTECTED]> wrote: > > I have a garage full of paper books/manuals that I have no idea WTF to do > with because they're all outdated and the recycle people won't take them > b/c > it's too heavy in the blue bin. maybe you could put them in there a few at a time

Re: [PHP] libmm.so.14

2007-10-23 Thread Daniel Brown
On 10/23/07, Jeff Mckeon <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Jeff Mckeon [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 23, 2007 10:52 AM > > To: 'Daniel Brown' > > Cc: php-general@lists.php.net > > Subject: RE: [PHP] libmm.so.14 > > > > > -Original Message

RE: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Daevid Vincent
> -Original Message- > Please include the list in replies. > > > Thanks for your message, With regard to your message, the > main reason > > why I want it Electronically is because, Am a PHP Student > Who has no > > enough Cash to buy from Amazon or any bookseller and more > over,

RE: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Daevid Vincent
> -Original Message- > > > Please I need a book called : "Oracle Database 10g > Express Edition PHP Web Programming (Osborne Oracle Press > Series): Books: by Michael McLaughlin". > > > > > > Please if anyone with the E-Book Version of it should > be contact me on my Email > >

RE: [PHP] libmm.so.14

2007-10-23 Thread Jeff Mckeon
> -Original Message- > From: Jeff Mckeon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 23, 2007 10:52 AM > To: 'Daniel Brown' > Cc: php-general@lists.php.net > Subject: RE: [PHP] libmm.so.14 > > > -Original Message- > > From: Daniel Brown [mailto:[EMAIL PROTECTED] > > Sent: Tu

Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Stut
Please include the list in replies. Dare Williams wrote: Dear Stut, Thanks for your message, With regard to your message, the main reason why I want it Electronically is because, Am a PHP Student Who has no enough Cash to buy from Amazon or any bookseller and more over, the book is not avai

Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Robert Cummings
On Tue, 2007-10-23 at 20:34 +0100, Stut wrote: > Dare Williams wrote: > > Dear Pals, > > > > Please I need a book called : "Oracle Database 10g Express Edition PHP > > Web Programming (Osborne Oracle Press Series): Books: by Michael > > McLaughlin". > > > > Please if anyone with the E

Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Stut
Dare Williams wrote: Dear Pals, Please I need a book called : "Oracle Database 10g Express Edition PHP Web Programming (Osborne Oracle Press Series): Books: by Michael McLaughlin". Please if anyone with the E-Book Version of it should be contact me on my Email ([EMAIL PROTECTED]).

Re: [PHP] EMPTY??

2007-10-23 Thread Philip Thompson
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: O M G! I am a tard! my "Do Something" was a series of insert statements, > each of them having the or die ("Query failed: />".mssql_get_last_message()); at the end. My very last "or die" message > was OUTSIDE of the closing curly brace! And as

[PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Dare Williams
Dear Pals, Please I need a book called : "Oracle Database 10g Express Edition PHP Web Programming (Osborne Oracle Press Series): Books: by Michael McLaughlin". Please if anyone with the E-Book Version of it should be contact me on my Email ([EMAIL PROTECTED]). NOTE: I would p

Re: [PHP] window.open() and search engines

2007-10-23 Thread Richard Heyes
If you want search engines to pick up your link then you can always use . :) Interesting. I hadn't thought of that. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing Lis

Re: [PHP] EMPTY??

2007-10-23 Thread Dan Shirah
Nathan, I do not have a hard coded string for "Changed database context to Database." It is simply the get_last_message function like below: if (!empty($check_comments)) { echo "Do Something"; } or die ("Query failed: ".mssql_get_last_message()); O M G! I am a tard! my "Do Something" was a se

Re: [PHP] EMPTY??

2007-10-23 Thread Nathan Nobbe
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > Correct, which is why in my original post I set two variables. > > $comments = strtoupper($_POST['comments']); //This is the value I want > saved > in my database. > $check_comments = $_POST['comments']; //This is the value I am using to > dete

Re: [PHP] window.open() and search engines

2007-10-23 Thread Eric Butera
On 10/23/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > Can anyone say for sure whether window.open() links get spidered by > search engines? > > Thanks. > > -- > Richard Heyes > +44 (0)800 0213 172 > http://www.websupportsolutions.co.uk > > Knowledge Base and HelpDesk software > that can cut the c

Re: [PHP] EMPTY??

2007-10-23 Thread Nathan Hawks
Wow, OK... Can you get this same error reducing a copy of the the script down to just core PHP, and that scenario? If so, what version of PHP on what OS is giving you this error? I have seen PHP give some incredibly wonky errors and sometimes they had nothing at all to do with the part of the cod

RE: [PHP] libmm.so.14

2007-10-23 Thread Nathan Hawks
http://www.qmailrocks.com/ I am mailserver-challenged and I changed my VPS from exim to qmail with only one practice run using their guides, patch-kits, and add-on bundles. On Tue, 2007-10-23 at 10:52 -0400, Jeff Mckeon wrote: > > -Original Message- > > From: Daniel Brown [mailto:[EMAIL

Re: [PHP] EMPTY??

2007-10-23 Thread Nathan Nobbe
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > doing a var_dump($_POST['comments']; > > returns string(0) "" > > So the value of $comments in $comments = $_POST['comments']; SHOULD be > equal to 0 or "", right? > > In which case when I do my original: > > if (!empty($comments)) { > echo

Re: [PHP] EMPTY??

2007-10-23 Thread Dan Shirah
> > > > > "Does it look the same way if you view source?" > Yes. > > >

Re: [PHP] EMPTY??

2007-10-23 Thread Dan Shirah
Correct, which is why in my original post I set two variables. $comments = strtoupper($_POST['comments']); //This is the value I want saved in my database. $check_comments = $_POST['comments']; //This is the value I am using to determine if there were any comments entered. On 10/23/07, Nathan Ha

Re: [PHP] EMPTY??

2007-10-23 Thread David Giragosian
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > I did a simple test like this on my save page: > > $comments = $_POST['comments']; > echo "".$comments.""; > ?> > > And it returns > > So, that should show me that there are no place holders, no characters, > and no carriage r

Re: [PHP] EMPTY??

2007-10-23 Thread Dan Shirah
doing a var_dump($_POST['comments']; returns string(0) "" So the value of $comments in $comments = $_POST['comments']; SHOULD be equal to 0 or "", right? In which case when I do my original: if (!empty($comments)) { echo "Do Something"; } It SHOULD just bypass that and continue with my code

Re: [PHP] EMPTY??

2007-10-23 Thread Nathan Hawks
Note: empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). http://www.php.net/manual/en/function.empty.php On Tue, 2007-10-23 at 13:20 -0400, Dan Shirah wrote: > I am having some issues with empty(). >

Re: [PHP] EMPTY??

2007-10-23 Thread Nathan Nobbe
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > I made two variables for the same posted value because I believe empty() > does not work with strtoupper in front of the value. It only works with a > standalone variable, correct? no; strtoupper modifies its argument, that is all. empty eval

Re: [PHP] EMPTY??

2007-10-23 Thread Dan Shirah
I did a simple test like this on my save page: And it returns So, that should show me that there are no place holders, no characters, and no carriage returns for the value of $comments, correct? On 10/23/07, David Giragosian <[EMAIL PROTECTED]> wrote: > > On 10/23/07, Dan Shirah <[E

Re: [PHP] EMPTY??

2007-10-23 Thread David Giragosian
On 10/23/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > I am having some issues with empty(). > > On my page I have a text area: > > width="680"> > > Comments: > wrap="soft"> > > > > > I then submit my page and on the following page I put the posted value > into > two variables. > >

[PHP] EMPTY??

2007-10-23 Thread Dan Shirah
I am having some issues with empty(). On my page I have a text area: Comments: I then submit my page and on the following page I put the posted value into two variables. $comments = strtoupper($_POST['comments']); $check_comments = $_POST['comments']; I made two varia

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Julien Pauli
That's just the case : "too see what happens if ...". I agree that anyone will never meet such a case in everydays' programming. ;-) 2007/10/23, Andrew Ballard <[EMAIL PROTECTED]>: > > On 10/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > My bad, print is not a function, and so: > > > >

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Andrew Ballard
On 10/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > My bad, print is not a function, and so: > > print( 'toctoc ' ).'hihi '; > > is equivalent to: > > print( 'tocktoc '.'hihi ' ); > Ah. I see. I knew they were optional, but I didn't know that when you include them PHP evaluates ('toc

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Robert Cummings
On Tue, 2007-10-23 at 11:54 -0400, Andrew Ballard wrote: > On 10/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-10-23 at 17:34 +0200, Julien Pauli wrote: > > > > > echo "coucou " . print('v ' . print('u ' . print('toctoc ') . 'hihi > > > ') ) . > > > 'tata ' . print('zozo ' . p

Re: [PHP] window.open() and search engines

2007-10-23 Thread Rafael
It depends on the way you do it, for instance, something like ... will, but if you use something like ... chances are it won't. Edward Kay wrote: Can anyone say for sure whether window.open() links get spidered by search engines? From my experience they don't, but I use a custom Ja

RE: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Instruct ICC
> Hello everyone. > > We all know the difference between print and echo, but has someone ever > tried to combine them together ?? > > Right, try this : > > echo "coucou " . print('v ' . print('u ' . print('toctoc ') . 'hihi ') ) . > 'tata ' . print('zozo ' . print('pupu ')); > > > And guess

Re: [PHP] Re: window.open() and search engines

2007-10-23 Thread Richard Heyes
Freyjkell wrote: Richard Heyes wrote: Can anyone say for sure whether window.open() links get spidered by search engines? Not This Group Not what group? -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of

Re: [PHP] Looking for a framework

2007-10-23 Thread Merlin
Hi Dave, thanx for the hint. I looked into those two. They seem to provide the functionality I am looking for. The reason I did post it here in the PHP forum, is that I want to select a framework that will work with PHP for deaper AJAX integration. There are so many ones out there, like for e

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread tedd
At 11:46 AM -0400 10/23/07, Robert Cummings wrote: On Tue, 2007-10-23 at 17:34 +0200, Julien Pauli wrote: That's not cool, that's a mess. Why doe sit happen the way it does? First off, print() is a function so nesting functions means the innermost functions get processed first, this is why th

Re: [PHP] problem with foreach

2007-10-23 Thread Andrew Ballard
On 10/23/07, tedd <[EMAIL PROTECTED]> wrote: > At 12:01 PM -0500 10/22/07, Adam Williams wrote: > >I have an html page with checkboxes: > > > > > >Modern > >Mississippi > >Civil Rights > >MilitaryHistory > > > > > >and mailform2.php containing: > > > >echo "you selected: "; > >/* line 81 */ foreach

Re: [PHP] Looking for a framework

2007-10-23 Thread Dave Goodchild
You mean a javscript library? If so, check out jquery and moo.fx. On 10/23/07, Merlin <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am looking for a framework to integrate some AJAX Functionality into > my PHP4 MySQL Apache webapp. First thing I would like to do, is an edit > function that opens

[PHP] Re: window.open() and search engines

2007-10-23 Thread Freyjkell
Richard Heyes wrote: Can anyone say for sure whether window.open() links get spidered by search engines? Not This Group -- Freyjkell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looking for a framework

2007-10-23 Thread Merlin
Hi there, I am looking for a framework to integrate some AJAX Functionality into my PHP4 MySQL Apache webapp. First thing I would like to do, is an edit function that opens up a layer with an edit field and shifts the content underneath further down. I had a look on prototype and sript.aculo

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Andrew Ballard
On 10/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-23 at 17:34 +0200, Julien Pauli wrote: > > > echo "coucou " . print('v ' . print('u ' . print('toctoc ') . 'hihi > > ') ) . > > 'tata ' . print('zozo ' . print('pupu ')); > > That's not cool, that's a mess. Why doe sit happe

Re: [PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Robert Cummings
On Tue, 2007-10-23 at 17:34 +0200, Julien Pauli wrote: > echo "coucou " . print('v ' . print('u ' . print('toctoc ') . 'hihi > ') ) . > 'tata ' . print('zozo ' . print('pupu ')); That's not cool, that's a mess. Why doe sit happen the way it does? First off, print() is a function so nesting functi

Re: [PHP] problem with foreach

2007-10-23 Thread tedd
At 12:01 PM -0500 10/22/07, Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) { echo "$a"; } but I'm getting the

[PHP] echo VS print : that's a cool behavior !

2007-10-23 Thread Julien Pauli
Hello everyone. We all know the difference between print and echo, but has someone ever tried to combine them together ?? Right, try this :

RE: [PHP] libmm.so.14

2007-10-23 Thread Jeff Mckeon
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 23, 2007 10:47 AM > To: Jeff Mckeon > Cc: php-general@lists.php.net > Subject: Re: [PHP] libmm.so.14 > > On 10/23/07, Jeff Mckeon <[EMAIL PROTECTED]> wrote: > > Hey all, > > > > Setting up a php ba

Re: [PHP] libmm.so.14

2007-10-23 Thread Daniel Brown
On 10/23/07, Jeff Mckeon <[EMAIL PROTECTED]> wrote: > Hey all, > > Setting up a php based ticket system on a new OpenSuse 10.3 64bit system. > > The ticket sys requires qmail so I had to uninstall postfix and install > qmail. > > Qmail injects emails into this ticket sys with the following line...

[PHP] libmm.so.14

2007-10-23 Thread Jeff Mckeon
Hey all, Setting up a php based ticket system on a new OpenSuse 10.3 64bit system. The ticket sys requires qmail so I had to uninstall postfix and install qmail. Qmail injects emails into this ticket sys with the following line... /usr/bin/php -q /srv/www/virtual/support/mailpipe.php I now ge

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > $ rpm -V MySQL-devel-community-5.0.45-0.rhel3 > missing d /usr/share/man/man1/comp_err.1.gz > missing d /usr/share/man/man1/mysql_config.1.gz > > I suppose this is, albeit not ideal, tolerable? Yeah this is fine. Your system is probably not setup to install d

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 21:07, Colin Guthrie wrote: No, I reckon Jul 5th could be about right when was .45 released? I had it in my head it was august but Jul doesn't seem too far before that so entirely possible. Ah sorry, I was thinking about source installs. RPMs keep the original cre

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > On 23. Oct 2007, at 20:33, Colin Guthrie wrote: > >> If you compile PHP and it finds v3 of mysql that means that you must >> have the old development libraries for mysql 3 installed in some >> capacity (I believe). >> >> What is the output of: >> rpm -qa --nosi

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 20:33, Colin Guthrie wrote: If you compile PHP and it finds v3 of mysql that means that you must have the old development libraries for mysql 3 installed in some capacity (I believe). What is the output of: rpm -qa --nosignature --nodigest | grep -i mysql This should give

RE: [PHP] window.open() and search engines

2007-10-23 Thread Edward Kay
> > Can anyone say for sure whether window.open() links get spidered by > search engines? > >From my experience they don't, but I use a custom Javascript function to open pop-ups. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote: > On 23. Oct 2007, at 17:22, Colin Guthrie wrote: > >> Do rpm -qa --nosignature | grep -i mysql and see what old libraries you >> have lying around. Specifically look for the devel libraries/packages. >> Remove the 3.x versions via RPM and make sure you've instal

[PHP] window.open() and search engines

2007-10-23 Thread Richard Heyes
Can anyone say for sure whether window.open() links get spidered by search engines? Thanks. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Php generated html email

2007-10-23 Thread Richard Heyes
Ronald Wiplinger wrote: How can I create a html email directly from a web page via Php? The page will include tables, background colors and pictures within the tables. The received email should be readable without Internet connection (pictures, must be sent with the email) http://www.phpguru.

Re: [PHP] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 19:55, Martin Marques wrote: Wouldn't it be easier to upgrade to CentOS 5? We tried to explain that to our host, but their service *major expletive*, and other hosts in Tokyo ain't better either. :-( Chrs, Dav -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] MySQL connector installation/upgrade problems

2007-10-23 Thread Martin Marques
David Zentgraf escribió: Hi, I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5 installation + PHP4. I installed the MySQL 5 package, server and client, via RPMs and they work fine, the client tells me it's version 5.0.45. I went on to recompile PHP 4.4.7 --with-mysql, b

Re: [PHP] Proposal of DOM non-standard method: DOMDocument::loadCharacterEntitiesFromDtd($path)

2007-10-23 Thread Per Jessen
Freyjkell wrote: > DOMDocument::loadCharacterEntitiesFromDtd($path); > > I like to load character entities (not whole document type > definition). > Whilst we're on this subject - where do you guys normally load character entities from? I recently ported some stuff from the PHPH4 XSLT implemen

Re: [PHP] Thoughts on multiple servers

2007-10-23 Thread Per Jessen
Ronald Wiplinger wrote: > Questions: > 1. Any hints on above configuration? I would take a look at LinuxHA for a high-availability N+1 solution. > 2. Has anybody experience with a cluster mysql? > 3. How to get the web servers working with the closest connection > (according to the users IP) ?

[PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Zentgraf wrote: > Hi, > > I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5 > installation + PHP4. I installed the MySQL 5 package, server and client, > via RPMs and they work fine, the client tells me it's version 5.0.45. I > went on to recompile PHP 4.4.7 --with-mysq