php-general Digest 24 Jun 2007 22:04:59 -0000 Issue 4867

2007-06-24 Thread php-general-digest-help
php-general Digest 24 Jun 2007 22:04:59 - Issue 4867 Topics (messages 257722 through 257735): Re: Strange Fatal Error Possibly Memory 257722 by: ecc Re: foreach() using current() strange beahvior 257723 by: Julien Pauli PHP not posting 257724 by: Pieter du Toit

[PHP] Hi. I need your help here

2007-06-24 Thread J S
Hi. I came across your contact info at php.zend.com and was hoping you could help me out with this question. I recently installed Rubberwall10, a free software that protects from hotlinking and although I managed to installed the software correctly at my site, I came across the fact that when

[PHP] Setting Different Temp Directory for Different Application Users

2007-06-24 Thread zareef
Hi All, I want to set different temp directory to every users of my application. Is it possible. TEMP_DIR is only configurable at system level, so I can do it only in PHP.INI or in apache as PHP_VALUE. Any Idea how this can be achieved using combination of things? Thanks in Advance.

Re: [PHP] Hi. I need your help here

2007-06-24 Thread Alan Milnes
Here are a couple of links that will help you:- http://uk2.php.net/trim http://www.catb.org/~esr/faqs/smart-questions.html Alan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file_get_contents crash, if file is bigger than memory_limit

2007-06-24 Thread ecc
I really dont know, if this is the right board for this... but i think, i have to write it down. Please throw an error, if file_get_contents cant read a file because memory_limit overflow! I´ve programmed a tool parsing checksums from large files. Because i have to manage header-offsets, i have

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-24 Thread ecc
Maybe this is an error/exception in the exception handeler... :-) Sometimes we had this error in these cases! -- View this message in context: http://www.nabble.com/Strange-Fatal-Error-Possibly-Memory-tf3960349.html#a11273616 Sent from the PHP - General mailing list archive at Nabble.com. --

Re: [PHP] foreach() using current() strange beahvior

2007-06-24 Thread Julien Pauli
Don't worry I know how variable work internaly into Zend Engine ( for those who want more info, Derick Rethan's got a good pdf file explaining that process here : http://derickrethans.nl/files/phparch-php-variables-article.pdf , Derick, if you here us, feel free to come in that conversation ;-) )

Re: [PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
Nothing major here is the code: ? if ($_POST['name']) { echo name posted; } ? html head title/title /head body form action=1.php method=post Name:input type=text name=name input type=submit value=submit /form /body /html Stut [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
Hi I installed PHP5 on iis and i can see hello world and phpinfo. When i right click the webpage and view source, i can see the php code, and the form does not want to post the form details. Will appreciate any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP not posting

2007-06-24 Thread Stut
Pieter du Toit wrote: I installed PHP5 on iis and i can see hello world and phpinfo. When i right click the webpage and view source, i can see the php code, and the form does not want to post the form details. Will appreciate any help. My amazing psychic abilities tell me that... ...you

Re: [PHP] PHP not posting

2007-06-24 Thread Pieter du Toit
But why is the php code showing just like my code at the top when i right click the webpage and view source, i suspect this must be a php.ini setting or sonmething Tijnema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/24/07, Pieter du Toit [EMAIL PROTECTED] wrote: Nothing

Re: [PHP] PHP not posting

2007-06-24 Thread Tijnema
On 6/24/07, Pieter du Toit [EMAIL PROTECTED] wrote: Nothing major here is the code: ? ^^ Do you have short tags enabled?, try ?php if ($_POST['name']) { Not the right way to check, you should use: if(isset($_POST['name']) { echo name posted; } ? html code If that still doesn't

Re: [PHP] PHP not posting

2007-06-24 Thread Mark Kelly
On Sunday 24 June 2007 13:54, Pieter du Toit wrote: Hi I installed PHP5 on iis and i can see hello world and phpinfo. When i right click the webpage and view source, i can see the php code, and the form does not want to post the form details. Will appreciate any help. I'm not really

[PHP] PHP, mbstring, UTF-8 and indexing strings

2007-06-24 Thread delsvr
Just a simple question (with a simple answer, hopefully): how can I access character x of a utf-8 encoded string? i.e. how would I get this to work: for($x=0; $x strlen($utf8); $x++) echo character {$x}: . $utf8{$x}; Keep in mind that I have strlen overloaded by mbstring, and this is

Re: [PHP] PHP not posting

2007-06-24 Thread Tijnema
On 6/24/07, Pieter du Toit [EMAIL PROTECTED] wrote: In the php.ini? Yes, short tags can be enabled in php.ini, and ?php is in your script ;) Tijnema ps. Please don't top-post pps. When you reply to this list, add the PHP list in your Cc field. Some mail clients have an Reply to all button

Re: [PHP] PHP not posting

2007-06-24 Thread Tijnema
On 6/24/07, Pieter du Toit [EMAIL PROTECTED] wrote: But why is the php code showing just like my code at the top when i right click the webpage and view source, i suspect this must be a php.ini setting or sonmething Yes, it might be. That's why I asked you if you had short tags enabled or not,

[PHP] UI toolkit

2007-06-24 Thread Darren Whitlen
I'm really looking into using PHP as an all-round scripting language. I'm looking for a native looking UI toolkit, which takes PHP-GTK out the question. I've seen wxWidgets but I can't find any bindings for PHP, unless anybody knows of any that I can't find? Or, if anybody knows of any

Re: [PHP] file_get_contents crash, if file is bigger than memory_limit

2007-06-24 Thread Jochem Maas
ecc wrote: I really dont know, if this is the right board for this... but i think, i have to write it down. if your looking to post a feature request then there is no list for that - the bug database would be the place to do it ... but please don't bother the devs with your feature request - it

[PHP] Display paragraphs from a mysql db

2007-06-24 Thread nitrox .
hi all, I have a news section on a website that im coding that isnt displaying properly. Every paragraph in each news post is being displayed as one big paragraph. how can i display my paragraphs in proper form? The field the news story is stored in is set as longtext. here is a link to

[PHP] Re: file_get_contents crash, if file is bigger than memory_limit

2007-06-24 Thread Jochem Maas
it's difficult to read. why? don't top post. oh and please post to the list. [EMAIL PROTECTED] wrote: 1. I dont know, if this is an feature request well you're the only one who might. given that your own comment in the example below states while loop reading the data! (This works!) I

Re: [PHP] PHP, mbstring, UTF-8 and indexing strings

2007-06-24 Thread Jochem Maas
delsvr wrote: Just a simple question (with a simple answer, hopefully): how can I access character x of a utf-8 encoded string? i.e. how would I get this to work: for($x=0; $x strlen($utf8); $x++) echo character {$x}: . $utf8{$x}; Keep in mind that I have strlen overloaded by mbstring,

Re: [PHP] Display paragraphs from a mysql db

2007-06-24 Thread Ray
On Sunday 24 June 2007 4:03 pm, nitrox . wrote: hi all, I have a news section on a website that im coding that isnt displaying properly. Every paragraph in each news post is being displayed as one big paragraph. how can i display my paragraphs in proper form? The field the news story is

Re: [PHP] Display paragraphs from a mysql db

2007-06-24 Thread Miles Thompson
On 6/24/07, nitrox . [EMAIL PROTECTED] wrote: hi all, I have a news section on a website that im coding that isnt displaying properly. Every paragraph in each news post is being displayed as one big paragraph. how can i display my paragraphs in proper form? The field the news story is stored

[PHP] onphp

2007-06-24 Thread Nathan Nobbe
all, has anyone used the onphp http://onphp.org/index.en.html framework? if so what do you think of it? thanks, -nathan

Re: [PHP] PHP, mbstring, UTF-8 and indexing strings

2007-06-24 Thread delsvr
This works great. Thanks. Jochem Maas wrote: delsvr wrote: Just a simple question (with a simple answer, hopefully): how can I access character x of a utf-8 encoded string? i.e. how would I get this to work: for($x=0; $x strlen($utf8); $x++) echo character {$x}: . $utf8{$x};

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
Alexander, sorry to see nobody has replied to your post, im sure you worked very hard on the cache system and are eager for feedback.. so to me it looks like youve introduced a somewhat new style of caching here (though im sure there are other such approaches); for instance i know of 2 main

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Robert Cummings
On Sun, 2007-06-24 at 23:55 -0400, Nathan Nobbe wrote: Alexander, sorry to see nobody has replied to your post, im sure you worked very hard on the cache system and are eager for feedback.. so to me it looks like youve introduced a somewhat new style of caching here (though im sure there

Re: [PHP] UI toolkit

2007-06-24 Thread Nathan Nobbe
Darren, I recently discovered php5 bindings to qt4 http://www.php-qt.org although qt is currently leveraged by kde primarily it has been converted to a cmake build system instead of a make build system which supposedly will enable cross platform capabilities. kde apps will be running on

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
On 6/25/07, Robert Cummings [EMAIL PROTECTED] wrote: I presume you mean bytecode caching for #1. yes As for application variables... the lack of application level variables is a design choice to make it easier to scale your application horizontally. This is usually referred to as the shared

[PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread jamal taweel
Hi, I have a problem when installing PHP 5 .2.3 with oracle 10.2.0, where as I do the following: · ./configure --prefix=/usr/local/php5 --with-apxs2=/opt/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-gd --enable-soap

Re: [PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread Chris
jamal taweel wrote: Hi, I have a problem when installing PHP 5 .2.3 with oracle 10.2.0, where as I do the following: · ./configure --prefix=/usr/local/php5 --with-apxs2=/opt/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-gd

Re: [PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread jamal taweel
The error was after i restarted the apache, a generated error was issued as the following (it will be fixed if i configure the php without OCI8): httpd: Syntax error on line 54 of /opt/apache2/conf/httpd.conf: Cannot load /opt/apache2/modules/libphp5.so into server:

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Robert Cummings
On Mon, 2007-06-25 at 00:49 -0400, Nathan Nobbe wrote: On 6/25/07, Robert Cummings [EMAIL PROTECTED] wrote: I presume you mean bytecode caching for #1. yes As for application variables... the lack of application level variables is a design choice to make it easier to scale your

Re: [PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread Chris
snip incredibly blinding html code Turn OFF HTML in your mail program! - Original Message From: Chris [EMAIL PROTECTED] To: jamal taweel [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, June 25, 2007 7:11:34 AM Subject: Re: [PHP] undefined symbol:oci8_module_entry jamal