Re: [PHP] Displaying MySQL data inside of a table

2003-07-28 Thread Jacob Vennervald Madsen
Hi Next time you can find a lot of information about this on www.php.net. Check out this example: Best regards, Jacob Vennervald On Mon, 2003-07-28 at 16:08, SP Computing wrote: > Hi all, > > I have this code so far: > > > mysql_connect(localhost, USER, PASS); &g

Re: [PHP] Running script produces no output

2003-08-05 Thread Jacob Vennervald Madsen
Does the script work when you run it by hand? Try to insert an echo "TESTER" in the top the shell script to make sure something is sent to stdout. And then check in your php script that you receive the message. Best regards, Jacob Vennervald On Wed, 2003-08-06 at 08:38, Chris B

[PHP] httpd runs forever

2002-05-29 Thread Jacob Friis Larsen
I sometimes have a httpd process that when I look at top has run for more than 100 min. Can I in some way find out why it will not stop or its url? Regards Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php5: configure --with-pear but there's no pear?

2004-08-03 Thread Jacob Friis Larsen
When I do configure --with-pear I would assume that pear would be available after make install, but it isn't. Any ideas? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5: configure --with-pear but there's no pear?

2004-08-04 Thread Jacob Friis Larsen
When I do configure --with-pear I would assume that pear would be available after make install, but it isn't. Any ideas? How is it 'not available'? Did the PEAR directory/files not install? Is your system not finding them? I got it now, I think I missed some Debian packages. Thank

[PHP] Validate XML data

2004-08-19 Thread Jacob Friis Larsen
It is possible to validate a XML document with XML Schema Definition Language (XSDL). Is it possible to use XSDL in Php? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validate XML data

2004-08-19 Thread Jacob Friis Larsen
It's possible in PHP 5, but not in PHP 4 Could you link me to the documentation? And I advise to use the most recent libxml2 libraries, since they made big improvements concerning XSD support lately It is possible to validate a XML document with XML Schema Definition Language (XSDL). Is it possible

[PHP] php4 and php5 on the same apache server

2004-09-13 Thread Jacob Friis Larsen
How can I run both php4 and php5 on the same apache server? Could I do it like this: AddType application/x-httpd-php .php AddType application/x-httpd-php5 .php5 And somehow tell php5 to use application/x-httpd-php5 -- Best regards, Jacob Friis Larsen www.webcom.dk | www.journster.com -- PHP

[PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-13 Thread Jacob Friis Larsen
igure --with-mysql=/usr/include/mysql --with-mysqli=/usr/bin/mysql_config The last gave me a lot of errors. Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot build ext/mysql together with ext/mysqli and apache2

2004-07-14 Thread Jacob Friis Larsen
I use: Apache 2.0.49 (Fedora Core 1 RPM) Php 5.0.0 MySQL 4.1.3-beta (MySQL RPM) Any ideas? Thanks, Jacob Georg Richter wrote: Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04: Hi! Could you show me your configure statement. I can't make it work. System Linux beethoven 2.6.5-7.95-default #1

Re: [PHP] Re: Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
r/include/mysql --with-mysqli=/usr/bin/mysql_config Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot build ext/mysql together with ext/mysqli and apache2

2004-07-14 Thread Jacob Friis Larsen
ere /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): In function `check_scramble': : multiple definition of `check_scramble' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): first defined here /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): In function `get_salt_from_password': : multiple definition of `get_salt_from_password' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): first defined here /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): In function `make_password_from_salt': : multiple definition of `make_password_from_salt' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): first defined here /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): In function `mysql_manager_init': : multiple definition of `mysql_manager_init' /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): first defined here /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x90): In function `mysql_manager_connect': collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 This works: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr/include/mysql This doesn't: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr/include/mysql --with-apxs2 I use: Apache 2.0.49 (Fedora Core 1 RPM) Php 5.0.0 MySQL 4.1.3-beta (MySQL RPM) Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --wit

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
tall MySQL-shared-compat*.rpm I have installed MySQL-shared-compat-4.1.3-0.i386.rpm, but I still get errors. thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] building php5.0 as an apache module, with mysqli functionality

2004-07-19 Thread Jacob Friis Larsen
/php.net/mysqli, you can not include two versions of mysql and mysqli client libraries. Someone made this work: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=bqcbqi%2416sr%241%40FreeBSD.csie.NCTU.edu.tw /Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] link with database

2008-03-11 Thread Sofia Jacob (CA)
Hi, I want to create a link that get the name and the link from the database. The problem is that I get the bullets created with but not the link, here is my code and the result: function display_categories($cat_array) { if (!is_array($cat_array)) { echo "No hay categorías a

[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 "

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

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

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

[PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
> > Does anyone know of a Php funtion that can do this: > > http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html > Hi there! > > http://se.php.net/manual/en/function.htmlentities.php > > ? htmlentities converts to named entitites. I want it to numeric entities. -- PHP General Mailing Lis

[PHP] Re: Convert all named entities into numeric character references

2006-03-14 Thread Jacob Friis Saxberg
Thanks, I could also use Tidy and make it do the convert. Jacob On 3/9/06, Robin Vickery <[EMAIL PROTECTED]> wrote: > On 06/03/06, Jacob Friis Saxberg <[EMAIL PROTECTED]> wrote: > > > > Does anyone know of a Php funtion that can do this: > > > > h

[PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
I have asked Php to log errors in a file but it doesn't. error_reporting = E_ALL display_errors = Off log_errors = On error_log = /var/log/php-errors.log Any idea what's wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Stephen Leaf <[EMAIL PROTECTED]> wrote: > On Wednesday 05 October 2005 08:16 am, Jacob Friis Saxberg wrote: > > I have asked Php to log errors in a file but it doesn't. > > > > error_reporting = E_ALL > > display_errors = Off > > log_errors

Re: [PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Skippy <[EMAIL PROTECTED]> wrote: > Quoting Jacob Friis Saxberg <[EMAIL PROTECTED]>: > > > I have asked Php to log errors in a file but it doesn't. > > > > error_reporting = E_ALL > > display_errors = Off > > log_errors = On >

[PHP] Re: Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Jacob Friis Saxberg <[EMAIL PROTECTED]> wrote: > I have asked Php to log errors in a file but it doesn't. > > error_reporting = E_ALL > display_errors = Off > log_errors = On > error_log = /var/log/php-errors.log > > Any idea what's wrong? S

[PHP] Php and Ruby

2005-10-23 Thread Jacob Friis Saxberg
Hi. How can I use Ruby with Php? My goal is to have (Independence of Presentation Logic(IoPL)). Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php and Ruby

2005-10-23 Thread Jacob Friis Saxberg
> How can I use Ruby with Php? I mean Rails. sorry :) > My goal is to have (Independence of Presentation Logic(IoPL)). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php, Rails and ajax

2005-10-24 Thread Jacob Friis Saxberg
Hello again. Is it possible to use Php, Rails and ajax via some open source system? How do you do it? The most important for me is to use Php and ajax. Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2