[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
insert the same data entered over PHPPgAdmin, i can enter the data if u
utf8_encode it but i'll see the stored data as converted one, 'à' will be
written as 'agrave' and so ...
how PHPPgAdmin is doing to store this kind of data-strings ?
thanks


[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$
 QuickBASIC for the Mac. One day M$ just said Nope, the line isn't
 making the money we want, so we're dropping it. There were a lot of
 developers who were left hanging -- I wouldn't want to be there again.

 If at all possible, I choose any alternative over what M$ provides.

 tedd
 --
 
 http://sperling.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 mean that all efforts done in open source by thousands of
people around the world to get a web scripting language at a high
entreprise level is now bought by Micrsoft ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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 mean that all efforts done in open source by thousands of
  people around the world to get a web scripting language at a high
  entreprise level is now bought by Micrsoft ?

 Where did you hear this? Have you considered the date? Have you
 considered how unlikely it is? Have you ever sought professional help?

 -Stut


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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 mean that all efforts done in open source by thousands of
  people around the world to get a web scripting language at a high
  entreprise level is now bought by Micrsoft ?
  Where did you hear this? Have you considered the date? Have you
  considered how unlikely it is? Have you ever sought professional help?
 
  -Stut
 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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-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 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 mean that all efforts done in open source by thousands of
   people around the world to get a web scripting language at a high
   entreprise level is now bought by Micrsoft ?
   Where did you hear this? Have you considered the date? Have you
   considered how unlikely it is? Have you ever sought professional help?
  
   -Stut
 
 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 All,
 
  So I've been using my own php to search my site
  (http://hiptingle.spydigital.com) and for a while it was fine...But recently
  I put in a logging system just to see what people were searching for and
  realized they aren't finding what they're seeking.  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).
 
 [ snip ]
 
  Or if there's something totally fly that I don't know about do tell.
 
 http://www.mnogosearch.com -- its fly enough for www.mysql.com, so I
 guess your site would be just fine.
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 verify if $x is between 1 and 20 and i need to do that
 Z with regular expressions ?
 
 If you *need* to do it with regexp, try this:
 
 
 
 if (preg_match(/[2-19]/,$x))
   echo It is!;
 
 
 
 If 1 and 20 are values you want to verify too, change 2-19 to 1-20.
 
 --
 Leif (TB lists moderator and fellow end user).
 
 Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
 Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
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
 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 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 verify if $x is between 1 and 20 and i need to do that
  Z with regular expressions ?
 
  If you *need* to do it with regexp, try this:
 
  
 
  if (preg_match(/[2-19]/,$x))
echo It is!;
 
  
 
  If 1 and 20 are values you want to verify too, change 2-19 to 1-20.
 
  --
  Leif (TB lists moderator and fellow end user).
 
  Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
  Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
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
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
  doing a is_numeric and some comparaison can be bypassed by inputing :
 
  .5
  or
  0.5
  or
  5.1
  or
  0.3
  or
  .01
  ...
  ...
 
  so i thought that the smartest way is to use regex
 
 
 if( $i = 1  $i = 20  $i == (int)$i) ...


-- 
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
Robin : 
$i='2';
if (preg_match('/^(20|1[0-9]|1-9])$/', $i)) {
echo 'yes';
}else
echo 'no';


stdout: no

Marek :
$i='02';
if (($i=1)  ($i=20)  (eregi('^[0-9]+$', $i)))
echo 'yes';


stdout: yes

i hate 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 that doesnt work with 1-20 :(
  how to do it ?
 
 You're far better off doing it arithmetically as someone already said,
 however  if you absolutely *have* to use a regexp then this is how you
 go about it:
 
 You need to match these possible variations:
 1. the number '20'
 2. the number '1' followed by any digit between 0 and 9.
 3. any digit between 1 and 9.
 
 the pattern for the first one is easy. it's just a fixed string: 20
 the pattern for the second is only slightly harder: 1[0-9]
 the pattern for the third is: [1-9]
 
 You want to match any of them, so you join them together with an
 alternation operator, the '|' symbol to get: 20|1[0-9]|[1-9]
 
 This will match any string that contains the numbers 1-20, such as
 '200'. To make sure it only matches exactly the numbers you're
 interested in, you have to anchor the start and finish ending up
 with this:
 
 if (preg_match('/^(20|1[0-9]|1-9])$/', $candidate)) {
// $candidate is a decimal integer between 1 and 20 inclusive with
 no leading zeros.
 }
 
  -robin
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 this with MSSQL :


:1  $query = SELECT FROM ; //Without limit
:2  $ligne = fetch_assoc(query_bd($query));
:3  $temp = Array();
:4  for ($i=$debut;$i($x+$y);$i++) {
:5  if (isset($ligne[$i]))
:6  $temp[] = $ligne[$i];
:7  }
:8  $ligne = $temp;

am loosing time between lines 4 to 7 when i have a big big array :(

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 this with MSSQL :

:1  $query = SELECT FROM ; //Without limit
:2  $ligne = fetch_assoc(query_bd($query));
:3  $temp = Array();
:4  for ($i=$debut;$i($x+$y);$i++) {
:5  if (isset($ligne[$i]))
:6  $temp[] = $ligne[$i];
:7  }
:8  $ligne = $temp;

am loosing time between lines 4 to 7 when i have a big big array :(

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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);
  Array([0]=10, [1]=0);
  Array([0]=0, [1]=5);
 
  and for other lines i will label them as erronus entries...
 
  how can i do it intelligently :)
 
 
 yes.
 
 if(!preg_match('/^([0-9]+)[^0-9]+([0-9]+)$/', $input, $m)) {
  $m = 'error';
 }
 
 print_r($m);


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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);
Array([0]=10, [1]=0);
Array([0]=0, [1]=5);

and for other lines i will label them as erronus entries...

how can i do it intelligently :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2005-01-16 Thread Zouari Fourat
but u dont need to reinitialise your variables every time the script
loads, u need just to init them once and u get what you want wherever
you want in your files


On Sun, 16 Jan 2005 11:38:48 +0800, Xuefer Tinys [EMAIL PROTECTED] wrote:
 $_SESSION is same as it use serialize/unserialize, alghough 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 PHP
   Programming.
  
   Josh Whiting wrote:
Dear list,
   
My web application (an online classifieds server) requires a set of
fairly large global arrays which contain vital information that most all
the page scripts rely upon for information such as the category list,
which fields belong to each category, and so on. Additionally, there are
a large number of function definitions (more than 13,000 lines of code
in all just for these global definitions).
   
These global arrays and functions never change between requests.
However, the PHP engine destroys and recreates them every time. After
having spent some serious time doing benchmarking (using Apache Bench),
I have found that this code takes at least 7ms to parse per request on
my dual Xeon 2.4ghz server (Zend Accelerator in use*). This seriously
cuts into my server's peak capacity, reducing it by more than half.
   
My question is: is there a way to define a global set of variables and
functions ONCE per Apache process, allowing each incoming hit to run a
handler function that runs within a persistent namespace? OR, is it
possible to create some form of shared variable and function namespace
that each script can tap?
   
AFAIK, mod_python, mod_perl, Java, etc. all allow you to create a
persistent, long-running application with hooks/handlers for individual
Apache requests. I'm surprised I haven't found a similar solution for
PHP.
   
In fact, according to my work in the past few days, if an application
has a large set of global functions and variable definitions, mod_python
FAR exceeds the performance of mod_php, even though Python code runs
significantly slower than PHP code (because in mod_python you can put
all these definitions in a module that is loaded only once per Apache
process).
   
The most promising prospect I've come across is FastCGI, which for Perl
and other languages, allows you to run a while loop that sits and
receives incoming requests (e.g. while(FCGI::accept() = 0) {..}).
However, the PHP/FastCGI modality seems to basically compare to mod_php:
every request still creates and destroys the entire application
(although the PHP interpreter itself does persist).
   
Essentially I want to go beyond a persistent PHP *interpreter* (mod_php,
PHP/FastCGI) and create a persistent PHP *application*... any
suggestions?
   
Thanks in advance for any help!
Regards,
J. Whiting
   
* - Please note that I am using the Zend Accelerator (on Redhat
Enterprise with Apache 1.3) to cache the intermediate compiled PHP code.
My benchmarks (7ms+) are after the dramatic speedup provided by the
accelerator. I wouldn't even bother benchmarking this without the
compiler cache, but it is clear that a compiler cache does not prevent
PHP from still having to run the (ableit precompiled) array and function
definition code itself.
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 a set of
  fairly large global arrays which contain vital information that most all
  the page scripts rely upon for information such as the category list,
  which fields belong to each category, and so on. Additionally, there are
  a large number of function definitions (more than 13,000 lines of code
  in all just for these global definitions).
 
  These global arrays and functions never change between requests.
  However, the PHP engine destroys and recreates them every time. After
  having spent some serious time doing benchmarking (using Apache Bench),
  I have found that this code takes at least 7ms to parse per request on
  my dual Xeon 2.4ghz server (Zend Accelerator in use*). This seriously
  cuts into my server's peak capacity, reducing it by more than half.
 
  My question is: is there a way to define a global set of variables and
  functions ONCE per Apache process, allowing each incoming hit to run a
  handler function that runs within a persistent namespace? OR, is it
  possible to create some form of shared variable and function namespace
  that each script can tap?
 
  AFAIK, mod_python, mod_perl, Java, etc. all allow you to create a
  persistent, long-running application with hooks/handlers for individual
  Apache requests. I'm surprised I haven't found a similar solution for
  PHP.
 
  In fact, according to my work in the past few days, if an application
  has a large set of global functions and variable definitions, mod_python
  FAR exceeds the performance of mod_php, even though Python code runs
  significantly slower than PHP code (because in mod_python you can put
  all these definitions in a module that is loaded only once per Apache
  process).
 
  The most promising prospect I've come across is FastCGI, which for Perl
  and other languages, allows you to run a while loop that sits and
  receives incoming requests (e.g. while(FCGI::accept() = 0) {..}).
  However, the PHP/FastCGI modality seems to basically compare to mod_php:
  every request still creates and destroys the entire application
  (although the PHP interpreter itself does persist).
 
  Essentially I want to go beyond a persistent PHP *interpreter* (mod_php,
  PHP/FastCGI) and create a persistent PHP *application*... any
  suggestions?
 
  Thanks in advance for any help!
  Regards,
  J. Whiting
 
  * - Please note that I am using the Zend Accelerator (on Redhat
  Enterprise with Apache 1.3) to cache the intermediate compiled PHP code.
  My benchmarks (7ms+) are after the dramatic speedup provided by the
  accelerator. I wouldn't even bother benchmarking this without the
  compiler cache, but it is clear that a compiler cache does not prevent
  PHP from still having to run the (ableit precompiled) array and function
  definition code itself.
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 on windows/linux !


On Thu, 13 Jan 2005 18:29:30 -0500, GH [EMAIL PROTECTED] wrote:
 On linux I use thee KDE IDE program...
 
 
 On Thu, 13 Jan 2005 14:02:17 -0600, Greg Donald [EMAIL PROTECTED] wrote:
  On Thu, 13 Jan 2005 18:02:12 +0200, William Stokes [EMAIL PROTECTED] 
  wrote:
   I'm quite new with writing php code. I was considering of using some kind 
   of
   php editor program to help with the syntax. Know any goog ones?
 
  vim.org
  editplus.com
 
  Both support PHP syntax highlighting.
 
  --
  Greg Donald
  Zend Certified Engineer
  http://destiney.com/
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 (must be open
source) so i've choosen subversion.
i would like to know from you (experimented with both CVS and
subversion) wich is better and wich is more portable and wich is the
better expérience to acqueer...
thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 URL, something
 like this:
 https://www.anothercompany.com/returnValueOfProductID=1043
 
 If I access this site, the value of product that has ID 1043 will be
 returned.
 How do I get this returnvalue into a variable?
 
 /G
 @varupiraten.se
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 2005-01-10
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 : HTML_QuickForm but wasnt enough good like what i saw on php.net
and what u can see on http://www.google.com/webhp?complete=1
anyone know how to do that ? wich technologie is used over it ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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
  impleted a new autocomplete option that was disabled soon.
  anyone know why did they disable it ? is there any disadvantage with that ?
 
 AFAIK it was a major resource hit.
 The complete source of the php.net site is available; and you can view
 the CVS history via a web iterface:
 
 http://cvs.php.net/phpweb/
 
 I would suggest searching that for the code.
 
 
  i'm interested in the autocomplete option with inputs, i used it with
  pear : HTML_QuickForm but wasnt enough good like what i saw on php.net
  and what u can see on http://www.google.com/webhp?complete=1
  anyone know how to do that ? wich technologie is used over it ?
 
 
 javascript.
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 formatting like
 
 if ( condition )
 {
 statements;
 }
 
 for all conditional statements and loops, as opposed to
 
 if (condition) {
 statements;
 }
 
 But what I'm really wanting to get everyones thoughts about is in regard
 to combining PHP with HTML.
 
 I used to do:
 
 ?php
echo blah;
?h1test/h1?php
echo blah;
 ?
 
 but just tried
 
 ?php
echo 'blah';
echo 'h1test/h1';
echo 'blah';
 ?
 
 which I find it's much easier to read to code.
 
 What do other people do and for what reason? What are the
 advantages/disadvantages to doing it certain ways?
 
 Thanks for your time.
 
 Tim
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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