[PHP] encoding problem when inserting into database

2006-04-28 Thread Zouari Fourat
Hello, Am having days trying to solve my problem : Using PostgreSQL database with server and client encoding set to utf8. I can enter any accentuated data on PHPPgAdmin interface and can see it stored like i entered it. The problem that when using a php script, it throw an error when trying to

[PHP] code obfuscating

2006-04-07 Thread Zouari Fourat
Hello, Am seeking for a solution to obfuscate php code on the server side, so if i decide to sell php closed source applications, i can encode the source code. Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Zouari Fourat
the best april joke i got :) On 4/2/06, tedd [EMAIL PROTECTED] wrote: At 4:20 PM -0500 4/1/06, Joe Wollard wrote: Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! You might not think that way if you had been developing in M$

[PHP] microsoft PHP ?

2006-04-01 Thread Zouari Fourat
I've just heard about Microsoft deal, the geant bought the Zend platform at 113 million US$. What will be the php future ? it's gonna switch to proprietary licence ? closed source ? or it was a Zend product deal ? (zend studio, platform ...) not affecting the php language in itself ? Does this

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Zouari Fourat
here's the link http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html On 4/1/06, Stut [EMAIL PROTECTED] wrote: Zouari Fourat wrote: I've just heard about Microsoft deal, the geant bought the Zend platform at 113 million US$. What will be the php future ? it's gonna

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Zouari Fourat
hope that :) On 4/1/06, Stut [EMAIL PROTECTED] wrote: Zouari Fourat wrote: here's the link http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html Seriously... consider the date. -Stut On 4/1/06, Stut [EMAIL PROTECTED] wrote: Zouari Fourat wrote: I've just heard

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Zouari Fourat
:) Gerry not that funny ;) I was affraid :o from the news On 4/1/06, Gerry Danen [EMAIL PROTECTED] wrote: Come on, you should have played along... ;-) Gerry On 4/1/06, Stut [EMAIL PROTECTED] wrote: Zouari Fourat wrote: here's the link http://phpro.org/articles/Microsoft-Purchases

Re: [PHP] seach engines that don't suck

2005-02-28 Thread Zouari Fourat
I wrote all search code to split words on commas and then builds SQL using LIKE statements (i know, i know it's bad but i was a newbie when i wrote it). What is the professional way so ? On Sun, 27 Feb 2005 17:04:31 +0300, Burhan Khalid [EMAIL PROTECTED] wrote: Colin Olkowski wrote: Hi

[PHP] regular expressions ?

2005-01-27 Thread Zouari Fourat
Hello, I need to verify if $x is between 1 and 20 and i need to do that with regular expressions ? anyone can help me outta there ? thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regular expressions ?

2005-01-27 Thread Zouari Fourat
if (preg_match(/[2-19]/,$x)) echo It is!; doesnt work ! this is working fine : if (eregi(^-?([1-3])+$,$x) echo x is 1 or 2 or 3; On Thu, 27 Jan 2005 08:42:19 -0700, Leif Gregory [EMAIL PROTECTED] wrote: Hello Zouari, Thursday, January 27, 2005, 7:33:04 AM, you wrote: Z I need to

Re: [PHP] regular expressions ?

2005-01-27 Thread Zouari Fourat
this is working fine : if (eregi(^-?([1-3])+$,$x) echo x is 1 or 2 or 3; i forgot to say that doesnt work with 1-20 :( how to do it ? On Thu, 27 Jan 2005 16:53:55 +0100, Zouari Fourat [EMAIL PROTECTED] wrote: if (preg_match(/[2-19]/,$x)) echo It is!; doesnt work ! this is working

Re: [PHP] regular expressions ?

2005-01-27 Thread Zouari Fourat
to Marek Kilimajer : $i='5.'; if (($i=1) ($i=20) ($i==(int)$i)) echo 'yes'; // yes :'( On Thu, 27 Jan 2005 16:52:20 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: Zouari Fourat wrote: here's the problem : my user MUST input only digits between 1 and 20

Re: [PHP] regular expressions ?

2005-01-27 Thread Zouari Fourat
reposting but my problem seems to persist :( sorry. On Thu, 27 Jan 2005 16:28:37 +, Robin Vickery [EMAIL PROTECTED] wrote: On Thu, 27 Jan 2005 16:56:05 +0100, Zouari Fourat [EMAIL PROTECTED] wrote: this is working fine : if (eregi(^-?([1-3])+$,$x) echo x is 1 or 2 or 3; i forgot to say

[PHP] mssql and paging

2005-01-26 Thread Zouari Fourat
Hello Is there anybody who succed in doing per/page listing from a MS SQL Server db. knowing that mssql doesnt support LIMIT like mysql and it uses TOP. i didnt find an optimized way to make a per/page script. Here's what am doing know : to replace a MySQL SELECT FROM LIMIT $x,$y i did

[PHP] LIMIT with MSSQL

2005-01-26 Thread Zouari Fourat
Hello Is there anybody who succed in doing per/page listing from a MS SQL Server db. knowing that mssql doesnt support LIMIT like mysql and it uses TOP. i didnt find an optimized way to make a per/page script. Here's what am doing know : to replace a MySQL SELECT FROM LIMIT $x,$y i did

Re: [PHP] Re: Persistent PHP web application?

2005-01-18 Thread Zouari Fourat
can u explain a bit more : The answer would be Application-Scope vars wish we had it in PHP On Tue, 18 Jan 2005 02:42:46 +0400, M Saleh EG [EMAIL PROTECTED] wrote: The answer would be Application-Scope vars wish we had it in PHP M.Saleh.E.G 97150-4779817 -- PHP General Mailing

Re: [PHP] can you solve this problem with regex ?

2005-01-17 Thread Zouari Fourat
i found that this was better : list($ar[0], $ar[1]) = preg_split('/[^0-9]/', $string); On Mon, 17 Jan 2005 11:27:38 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote: Zouari Fourat wrote: Hello ! My user can input values like this : 15.2 10-5 10 0 0x5 005 00 to be clear, i

[PHP] can you solve this problem with regex ?

2005-01-17 Thread Zouari Fourat
Hello ! My user can input values like this : 15.2 10-5 10 0 0x5 005 00 to be clear, i must extract two values from each line, each value is between 1 and 20 and seaparated with a non numeric caracter, so with lines 1,2,3 and 4 i will get : Array([0]=15, [1]=2); Array([0]=10, [1]=5);

Re: [PHP] Re: Persistent PHP web application?

2005-01-16 Thread Zouari Fourat
there're some difference On Sat, 15 Jan 2005 10:06:58 +0100, Zouari Fourat [EMAIL PROTECTED] wrote: what about using $_SESSION arrays ? On Fri, 14 Jan 2005 19:28:24 -0500, Al [EMAIL PROTECTED] wrote: George Schlossnagle addresses exactly your requirement in his book Advanced

Re: [PHP] Re: Persistent PHP web application?

2005-01-15 Thread Zouari Fourat
what about using $_SESSION arrays ? On Fri, 14 Jan 2005 19:28:24 -0500, Al [EMAIL PROTECTED] wrote: George Schlossnagle addresses exactly your requirement in his book Advanced PHP Programming. Josh Whiting wrote: Dear list, My web application (an online classifieds server) requires

Re: [PHP] php editor

2005-01-14 Thread Zouari Fourat
I used PHPedit 0.6, PHPDesigner 2005, PHPed and Zend on windows. and vi, eclipse and zend on linux. Here's what i prefer : if u'r looking for a free editor try eclipse/linux or PHPDesigner 2005/windows and if u can afford the licence try the Zend, am using it by now and it's magic ! plus it runs

[PHP] Begining CVS

2005-01-13 Thread Zouari Fourat
Hello ! CVS becomes more and more necessary when we develop big projects and developing in a team... I were learning how to use CVS, but some problems (that maybe i think it's critical) like cvs dont recognize deleted/added directories/files let me think about to learn a better version of cvs

Re: [PHP] URL-funtion - returnvalue into variable...?

2005-01-12 Thread Zouari Fourat
u can try fopen On Wed, 12 Jan 2005 09:40:26 +0100, Wiberg [EMAIL PROTECTED] wrote: Hi there! I'm a total newbie at connecting to diffrent servers, and b2b and such stuff , so I guess this is a simple question for you guys... Another company wants me to access their productinfo thorugh

[PHP] php dot net auto complete search engine

2005-01-12 Thread Zouari Fourat
Hello last days i've seen on php dot net site that the search engine has impleted a new autocomplete option that was disabled soon. anyone know why did they disable it ? is there any disadvantage with that ? i'm interested in the autocomplete option with inputs, i used it with pear :

Re: [PHP] php dot net auto complete search engine

2005-01-12 Thread Zouari Fourat
if it was js, where's the code ? i didnt find it in the source of google.com and i havent notated any frame/iframe On Wed, 12 Jan 2005 11:22:26 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Zouari Fourat wrote: Hello last days i've seen on php dot net site that the search engine has

Re: [PHP] php style guides

2005-01-12 Thread Zouari Fourat
try http://pear.php.net/manual/en/standards.php On Wed, 12 Jan 2005 23:34:59 +1030, Tim Burgan [EMAIL PROTECTED] wrote: Hi everyone, What 'rules' do you follow about styling/formatting your PHP code? Do you follow a guide that is available online? I generally have my own preference for

[PHP] SQL Server log file

2005-01-12 Thread Zouari Fourat
Hello am new to ms sql server and using it for a while, i where searching where to find sql queries log file ? some one have an idea about it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php