[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
On Mon, Nov 28, 2011 at 1:07 AM, Keith Davis wrote: > Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing > the Wincache issue for some time and also brought it up with the new MS > person assigned to it, but I had completely forgot to check sqlsrv and that

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-28 Thread Pierre Joye
e easier to debug. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XAdES in PHP

2008-01-14 Thread Pierre Pintaric
r response. -- Pierre PINTARIC SICTIAM Porte 15 Space Antipolis 3 2323, chemin Saint Bernard 06225 Vallauris Tel : 04 92 96 80 83 Fax : 04 92 96 92 96 http://www.sictiam.fr/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XAdES in PHP

2008-01-16 Thread Pierre Pintaric
Thanks for your responses I think I will start a project for PHP with the implementation of a library for signatures Of course, with XAdES, XMLDSig will be covered... Now I have to learn XAdES specifications, a splendid activity ;-) stay tuned... ;-) -- Pierre PINTARIC SICTIAM Porte 15

[PHP] Re: [PHP-DEV] PHP 5.3.0alpha1

2008-08-05 Thread Pierre Joye
gt; http://downloads.php.net/johannes/ > > So.. Apparently we will not get Windows builds of alpha1 as some of > the new extensions didn't build on Windows.. Is someone working on > fixing that problem for alpha2? Indeed, as you can notice yourself snaps are working. Cheer, -- P

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread Pierre Joye
some when they have began the move to VC9. VC9 Apache builds can be fetched from http://apachelounge.com, they are known to work very well. > and 2) Will there be PECL builds also? Yes, but directly in pecl.php.net package homepage. Cheers, -- Pierre http://blog.thepimp.net | http://www.lib

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread Pierre Joye
and 6.x). > http://windows.php.net/downloads.php is a huge improvement. Thank you very > much! You are welcome! Very nice to see that it is appreciated, the PHP Windows team has worked hard to get here :-) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-04 Thread Pierre Joye
also a commercial product being 100% compatible with mod_rewrite (http://www.micronovae.com/ModRewrite/ModRewrite.html). -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-04 Thread Pierre Joye
And do not forget that the x64 builds are highly experimental. I would not suggest to use them for anything else but testing. They are also incomplete as some libraries are not yet ported to x64 or other needs tweaks. Cheers. -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PH

[PHP] php extension problem

2004-10-25 Thread Pierre Ancelot
Hi ! I am having some trouble creating a php extension. as show in the documentation i did a ./ext_skel --extname=mymodule which created the directory mymodule i edited the config.m4 file to tune it to something very basic : PHP_ARG_WITH(mymodule, for mymodule support, [ --with-mymodule

Re: [PHP] php extension problem

2004-10-25 Thread Pierre Ancelot
fixed. i downloaded the source from php.net and it works now... the previous source i had came from apt system. maybe the source is patched ? if i'm not the only one to have had this problem, let me know, i'll mail the debian maintener thanks, On Monday 25 October 2004 19:19, Pier

Re: [PHP] not _that_ fixed....

2004-10-25 Thread Pierre Ancelot
06:47, Robert Cummings wrote: > On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote: > > in fact i got it in the ./configure --help : > > > > [EMAIL PROTECTED]:~/phpsource/php-4.3.9$ ./configure --help | grep -i spider > > --enable-spider Enable spider support >

[PHP] not _that_ fixed....

2004-10-25 Thread Pierre Ancelot
/spider/ -I/home/pierre/phpsource/php-4.3.9/ext/spider/ -DPHP_ATOM_INC -I/home/pierre/phpsource/php-4.3.9/include -I/home/pierre/phpsource/php-4.3.9/main -I/home/pierre/phpsource/php-4.3.9 -I/home/pierre/phpsource/php-4.3.9/Zend -I/home/pierre/phpsource/php-4.3.9/ext/xml/expat -I/home/pierre

Re: [PHP] Protecting Commercial PHP Scripts

2004-10-26 Thread Pierre Ancelot
i used turck mmcache you can googlize for it, it works very well, encrypts the code, store most used files in shared memory... in other words, it also opitimise... that's what i preconise On Tuesday 26 October 2004 13:44, Nick Wilson wrote: > Hello all, > > I was wondering if anyone might hav

Re: [PHP] not _that_ fixed....

2004-10-26 Thread Pierre Ancelot
no worries, i was in bed too :P trying, thanks :) On Tuesday 26 October 2004 14:01, Robert Cummings wrote: > On Tue, 2004-10-26 at 00:58, Pierre Ancelot wrote: > > humm, thank you, finaly someone that did something of that kind :) > > > > well, i want it as a dynamic e

Re: [PHP] not _that_ fixed....

2004-10-26 Thread Pierre Ancelot
: > > On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote: > > > in fact i got it in the ./configure --help : > > > > > > [EMAIL PROTECTED]:~/phpsource/php-4.3.9$ ./configure --help | grep -i > > > spider --enable-spider Enable spider support

Re: [PHP] not _that_ fixed....

2004-10-26 Thread Pierre Ancelot
very good question, why didn't it works the way it was described in the tut ? On Tuesday 26 October 2004 17:07, Robert Cummings wrote: > On Tue, 2004-10-26 at 10:14, Curt Zirzow wrote: > > * Thus wrote Robert Cummings: > > > On Tue, 2004-10-26 at 00:37, Pierre Ancelot w

Re: [PHP] not _that_ fixed....

2004-10-26 Thread Pierre Ancelot
ert Cummings: > > On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote: > > > in fact i got it in the ./configure --help : > > > > > > [EMAIL PROTECTED]:~/phpsource/php-4.3.9$ ./configure --help | grep -i > > > spider --enable-spider Enable spider suppo

Re: [PHP] PHP5 on IBM PowerPC; good combination?

2004-10-27 Thread Pierre Ancelot
yes, use debian: http://www.debian.org and study the apt system you'll get no problem. (php 5 is not in "sarge" which is what you should use but compiling php5 on it gives no problem.) and debian supports very well ppc... On Wednesday 27 October 2004 15:25, Aaron Gould wrote: > My company is

Re: [PHP] PHP5 on IBM PowerPC; good combination?

2004-10-27 Thread Pierre Ancelot
o get it to compile. > > -Brent > - Original Message - > From: "Pierre Ancelot" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 27, 2004 8:09 AM > Subject: Re: [PHP] PHP5 on IBM PowerPC; good combination? > > > ye

Re: [PHP] PHP_EOL on Darwin?

2004-11-01 Thread Pierre Ancelot
\n will set the appropriate. On Monday 01 November 2004 04:53, Greg Beaver wrote: > Hi all, > > What's the standard line ending for Darwin? is it still the same as old > Mac, which I think was just \r? Or does it use \n like unix? > > Greg -- PHP General Mailing List (http://www.php.net/) To

[PHP] Problem with make test

2003-01-06 Thread Pierre-Luc Soucy
t do I need to do to fix that? Thanks, Pierre-Luc Soucy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Editors

2003-01-07 Thread Pierre-Luc Soucy
Do you know any good equivalent with similar features for Linux? Thanks, Pierre-Luc Soucy > PHPEdit i use it personally www.phpedit.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with include PHP 4.3.0

2003-02-04 Thread Jean-Pierre Gallou
Hi, I have problems with relative paths and 4.3.0. Include() do not seem to work the same way in 4.3.0 and 4.2.1. Consider this test: test/ |- testinclude.php |- inc/ |- inc1.php |- inc2.php OK With PHP 4.2.1, works OK. With 4.3.0, I get: Failed opening '/inc/inc2.

[PHP] Re: Problem with include PHP 4.3.0

2003-02-04 Thread Jean-Pierre Gallou
Thank you for your reply. Goetz Lohmann wrote : Failed opening '/inc/inc2.php' Yes, I don't understand the reason of the leading slash in the error message. ... maybe try something like include('./inc/inc1.php'); ^^ same thing: Failed opening './inc/inc2.php' for inclusion -- PH

[PHP] Re: Problem with include PHP 4.3.0

2003-02-04 Thread Jean-Pierre Gallou
Goetz Lohmann wrote : wich means that "testinclude.php" includes "inc/inc1.php" and "inc/inc1.php" includes "inc/inc2.php" ? Right. I'm sorry, I didn't modify testinclude.php as you suggested, but inc1.php. With a modified testinclude.php: I get: Failed opening './inc/inc1.php' for inclus

[PHP] Re: Problem with include PHP 4.3.0

2003-02-05 Thread Jean-Pierre Gallou
Goetz Lohmann wrote : doc_root = /usr/local/www/htdocs than maybe leave this blank ! No. In my case it's absolutely senseless to define doc_root in php.ini since there are many virtual servers in httpd.conf, each with its own root. It's also the reason why I don't want Apache to get a workin

[PHP] Stream does not support seeking

2003-02-06 Thread Pierre-Luc Soucy
when people use URLs in the include function, but have no idea why, espcially since allow_url_fopen is on. Any suggestions? Thanks, Pierre-Luc Soucy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with include PHP 4.3.0 (Fixed)

2003-02-07 Thread Jean-Pierre Gallou
I wrote : I have problems with relative paths and 4.3.0. Include() do not seem to work the same way in 4.3.0 and 4.2.1. This is mostly due to a characteristic of Solaris and a minor change in the way PHP handles includes (I guess): 1) Before parsing a script, PHP sets the directory of this s

[PHP] PHP OpenSSL question

2003-03-04 Thread Pierre-Luc Soucy
et_write (when communicating with a server) but the server disconnects me when I attempt to read its output with socket_read: Warning: socket_read() unable to read from socket [54]: Connection reset by peer Any idea why? To what I understand, I might need to do a SSL handshake first? How can that be

[PHP] Re: just wondering

2003-07-11 Thread Baroiller Pierre-Emmanuel
hmm... and... what would you do with a clear screen function on a web page with php ? I can't see how it could work.. :) PHP is server side, so you can't clear the user screen like with C or other language ... Regards, P.E. Baroiller "Artoo" <[EMAIL PROTECTED]> a écrit dans le message de news:

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Baroiller Pierre-Emmanuel
Hi, try with adding this : $header = "Content-Type: text/html; charset=\"iso-8859-1\"\nContent-Transfer-Encoding: 8bit\n\n"; If it don't work, try to build multipart email ... Regards, P.E. Baroiller "Tim Thorburn" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi, > > I

[PHP] Re: How to store a file into MSSQL?

2003-07-15 Thread Baroiller Pierre-Emmanuel
How is defined your temp_test table ? PHP don't truncate content... you only need to define a binary blob field and store data into it.. regard, P.E. Baroiller "Javier" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi everybody, I've trying to store a into a MSSQL Server

[PHP] Re: value not passed

2003-07-15 Thread Baroiller Pierre-Emmanuel
did you put a before in your script ? What I see in your script is : addDivName is a text input field, without value.. so, if you click on you link, is $addDivName wasn't set before, the content is... empty! :) I can't help you more with your tiny sample :( Regards, P.E. Baroiller "Joaco" <[EM

[PHP] Re: Problem with Apache Web Server config file and PHP working together Please help!!

2003-07-15 Thread Baroiller Pierre-Emmanuel
Have you loaded php module into apache ? Have you defined .php files into your httpd.conf ? Try with easyphp on windows... I can't help you more... I hate windows! :D Regards, P.E Baroiller "Karen Santmyer" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > HI: > > I in

[PHP] Re: PHP & MS Exchange Server problem

2003-07-16 Thread Baroiller Pierre-Emmanuel
Hi... are your sure your Exchanger server has imap enabled and port 143 is open ? If you've got the message "connection refused", it can be : - not imap server is running - your login/password couple is wrong or - you can't connect to the port 143... regards, P.E. Baroiller "Charles Vos" <[EMAI

[PHP] Re: include statement giving me hives! - help

2003-07-16 Thread Baroiller Pierre-Emmanuel
Hi, when you call your script, is $point defined somewhere ? if $point is empty, you'll get an empty string for $links_include and include $links_include will not work. Regards, P.E. Baroiller "Dougd" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > I am new to all this, bu

[PHP] Re: really no way to get byte size of variable?

2003-07-16 Thread Baroiller Pierre-Emmanuel
Hi, did you try count($value) and strlen($value) ? count($value) will give size of an array, and strlen($value) size of a string ... Regards, P.E. Baroiller "Petre Agenbag" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi List > Just want to make sure: > > Is there no w

[PHP] Re: outputting a carriage return

2003-07-17 Thread Baroiller Pierre-Emmanuel
Hi, take a look at thedoc... there is a function called nl2br() to convert \n to for html display. regards, P.E. Baroiller "Bob pilly" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi all > Can someone tell me why if i echo a line like this: > > > echo "this is a \n n

[PHP] Re: fwrite not working in php3

2003-07-17 Thread Baroiller Pierre-Emmanuel
does your file test.inc exists, and... have you perms to write in this directory ? <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > hi there i have a little problem writing files on a php3 server this code > worked yesterday but isnt > > $handle = fopen("/www_tools/apache/ht

[PHP] Re: Access Text Field Max Size

2003-07-17 Thread Baroiller Pierre-Emmanuel
Hi, PHP has nothing to do with this , use javascript to limit user entry into your textarea field.. I'll find many sample over the net. Regards, P.E. Baroiller "Johnny Martinez" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi all, > I'm using an Access db as the backend

[PHP] Re: cookies in asp

2003-07-24 Thread Baroiller Pierre-Emmanuel
If it's a real cookie, you can get it with php into the cookie vars.. If it's an asp session, forget it... "Carlos Castillo" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] HI, I have the following problem, i have a website with php and asp files, in one asp fil

[PHP] Re: Permission Denied (in FTP)

2003-07-25 Thread Baroiller Pierre-Emmanuel
Hi, Doest your ftp account have sufficient access rights for deleting theses files ? Is your apache user is "nobody" , the chmod will not work ( take a look at your error log file), so, only nobody or root will able to remove these entries.. Regards, P.E. Baroiller "Stephen" <[EMAIL PROTECTED]>

Re: [PHP] Trouble getting $HTTP_RAW_POST_DATA

2003-08-01 Thread Baroiller Pierre-Emmanuel
Hi, $HTTP_RAW_POST_DATA is an array... with echo you'll only get "array".. To get something into $HTTP_RAW_POST_DATA, you need to "submit" your form before... Your script will only display something if you post the form before. Regards, P.E. Baroiller "John W. Holmes" <[EMAIL PROTECTED]> a écr

[PHP] Re: Help with parse error

2003-08-20 Thread Baroiller Pierre-Emmanuel
Hi, it's a common error... I think you have an unclosed string before in your script... example : $data='the data; $sDate = date('Y-m-d',time()); this code will produce an error on ligne with $sDate only becose the line with $data is unclosed ( missing the last ' ).. Take a look at your e

[PHP] Re: If else.. display no picture..

2003-04-05 Thread BAROILLER Pierre-Emmanuel
May be this line is wrong : Echo Geen informatie beschikbaar; may be use this instead... echo 'Geen informatie beschikbaar'; no? :) regards. <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi, > > I'm trying to do the following.. When $stadpict is filled in it mu

[PHP] Decrypting data with GnuPG

2003-05-29 Thread Pierre-Luc Soucy
prompt, but that doesn't seem to be the case - the command does not create the output.txt file when ran by the PHP program (which is running as a CGI under my user BTW) while it works when ran from the shell. Any idea why? Thanks! Pierre-Luc Soucy -- PHP General Mailing List (http://

Re: [PHP] Decrypting data with GnuPG

2003-05-29 Thread Pierre-Luc Soucy
Hi, Does that mean that there is no way to achieve this with PHP and that I should rather use the --passphrase-fd argument? Thanks, Pierre-Luc Evan Nemerson wrote: GnuPG doesn't use stdin to read the password, which is where you're sending it. It uses a more low-level interface (che

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Pierre-Luc Soucy
nd so the passphrase should normally be read from stdin (according to the docs), but it still does not work. Any idea? I am unfortunately not familiar with C code, so I can difficultly find solutions to my problems by reading the GnuPG source. Thanks! Pierre-Luc Evan Nemerson wrote: GnuPG doesn&

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Pierre-Luc Soucy
to/homedir/.gpgkeys/temp/testtext.asc"; $passphrase = 'MY_PASSPHRASE'."\n"; $fp = popen($command, 'w+'); fputs($fp, $passphrase); fputs($fp, $passphrase); pclose($fp); print "Done"; exit; ?> Regards, Pierre-Luc Evan Nemerson wrote: Are you append

[PHP] Re: Decrypting data with GnuPG

2003-06-01 Thread Pierre-Luc Soucy
Just for the record, adding the --batch argument to the GnuPG command solved the problem. Regards, Pierre-Luc Pierre-Luc Soucy wrote: Hi, I would like to decrypt data encoded with GnuPG without including the private key passphrase in the command to prevent people from viewing it with &qu

[PHP] Best method to detect Apache, IIS, or CLI?

2003-06-05 Thread Jean-Pierre Arneodo
!= '-' for ever - $argv, $argc not found (in my apache install) - constant STDIN, STDOUT, STDERR not exist, but they can be defined by someone else * But I don't know between Apache and IIS. Thanks Jean-Pierre

[PHP] Re: mysql - get actual row

2003-06-10 Thread BAROILLER Pierre-Emmanuel
Hy, try with mysql_insert_id() [ if you've set the first field as "index" in your table ]. Regards. "Harry.De" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi, > if i insert into a mysql table a row e.g. >mysql_query("INSERT into TEST (testfield) VALUES ('This i

[PHP] Re: can't call htpasswd using PHP

2003-06-10 Thread BAROILLER Pierre-Emmanuel
Does you php or apache process have perms to do this? "Billy" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Dear all, > > i can't call the "htpasswd" command after i used RedHat 8 ( which i can do > so in Red Hat 7.2) > > do u have any idea/ suggestion? > > thx a lot > H

[PHP] Re: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-10 Thread BAROILLER Pierre-Emmanuel
Hi... You've made a bad query and there is no result... mysql_fetch_row($result) => if no data found, you've got an error... "Marcelo Luiz De Laia" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > What this message means? > > What it is the error? > > Warning: mysql_fetch_r

[PHP] PhpMyAdmin and PHP4.2.* Too many I/Os

2002-09-10 Thread Jean-Pierre Arneodo
works perfectly with PHP 4.1.2 but with 4.2.* one http request took more than 10 seconds and the linux box performed a lot of disk I/Os. PHP MySQL extension seems to be changed since v4.2.0 Where is the problem? I want to move to 4.2.3 :( Jean-Pierre

[PHP] foreach, side effect or good behaviour?

2002-09-23 Thread Jean-Pierre Arneodo
Hi, $a=1; $b=&$a; foreach(array(2,3) as $b); echo "a=$a"; // Print a=3 Is it the behaviour expected in a foreach loop? JP ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --

[PHP] test

2002-10-15 Thread BAROILLER Pierre-Emmanuel
only to see if i can post messages -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File upload and php... not a beginner question...

2002-10-15 Thread Baroiller Pierre-Emmanuel
Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It's a slow method for multiple files & huge files transfert. I'm currently working on a big photo album tool, and I want to provide user the ab

[PHP] file upload and php (Not a begginer question!)

2002-10-15 Thread Baroiller Pierre-Emmanuel
Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It's a slow method for multiple files & huge files transfert. I'm currently working on a big photo album tool, and I want to provide user the ab

[PHP] Re: Creating a voting system.

2002-10-16 Thread Baroiller Pierre-Emmanuel
take a look on php website, there is a lot of scripts for this : http://www.hotscripts.com & others. Regards. P.E. "Thomas Goeminne" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hello, > > I am making a page where people can vote for their favourite image. People > c

[PHP] Re: class variable shared by all objects

2002-10-16 Thread BAROILLER Pierre-Emmanuel
You can use this function : get_object_vars to retreive vars from a class.. Here is the example from phpdoc : x = $x; $this->y = $y; } function setName($name) { $this->name = $name; } function ReadPoint() { return array("x" -> $this->x,

[PHP] Re: Best way to store Votes for Survey app

2002-10-27 Thread BAROILLER Pierre-Emmanuel
Hi, Your solution is a good way (I use the same system for user contributions vote).. The size of the DB is not a problem... You can add an history table if you work month by month. Like this, your 'voting' table will only have current month value, and the history table will get results for each m

[PHP] You to prevent site hacking by 'pirates' ?

2002-10-27 Thread BAROILLER Pierre-Emmanuel
Hi everyone.. I would know what did you think of my method to prevent 'piracy'.. I do like this : - A Session is made for each user In the session, put 2 value : a flag "userlogged" and the userId - In a cookie, I put the session Id and an unique crypted value. When user go on private parts o

Re: [PHP] You to prevent site hacking by 'pirates' ?

2002-10-27 Thread BAROILLER Pierre-Emmanuel
I work with double cookie to add a "security"... If the user try to change de sessionId, I check with the current sessionId stored into my own cookie.. But.. It may not to be usefull... :) The cookie is basically a crypted copy of the session content (with a different encryption method). I'm lookin

[PHP] Re: What is this??

2002-10-27 Thread BAROILLER Pierre-Emmanuel
You only have a difference into your insert query like this : insert into table (x,y,z) values(x,y) .. "Miguel BráS" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi guys, > > I was doing a script to insert data on a table, and the following message > appeared me when

[PHP] find html links..

2002-10-29 Thread Baroiller Pierre-Emmanuel
Hi... I'm looking for a preg_match regular expression to find all href tags into a text field... can someone help me?? I've tried a lot of regexp but... nothing work correctly... I can't get all matching href ( such as or < a href="xx"> , ... ) any idea? cheers.. P.E -- PHP General Mailing

[PHP] Need help...

2002-10-29 Thread BAROILLER Pierre-Emmanuel
Hi everyone... I've got a little problem : I've got an html template, with javasript functions and stylesheets in many places... This html template is made via a big big template handler i've done... All seems to work... But, now, I would like to clean this html page to procude a 'readable' page

[PHP] Re: Need help...

2002-10-30 Thread Baroiller Pierre-Emmanuel
ace($eregstr,"",$str); $styles=implode("\n",$matches[0]); $eregstr="/]*>(.*)<\/head[^>]*>/si"; $str=preg_replace($eregstr,"\\1".$styles."",$str); And, actually, it works fine.. Any other solution ? ( faster...??) &qu

[PHP] Re: Need help...

2002-10-31 Thread BAROILLER Pierre-Emmanuel
the mailing list, do this for me please ! "Baroiller Pierre-Emmanuel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi everyone... > > I've got a little problem : > > I've got an html template, with javasript functions and style

[PHP] Re: strange echo() effect

2002-10-31 Thread BAROILLER Pierre-Emmanuel
You've forgotten the "" in your echo... html_header() and html_footer() put html in the right place in your page but, like you haven't close your tag, the footer dans be everywhere in your page (depends on the web browser you're using).. Regards, P.E. Baroiller I have a small piece of code which

[PHP] $a=1.2; // $a is rounded to 1 Why?

2002-11-05 Thread Jean-Pierre Arneodo
ed to upgrade to 4.2.3 without success some weeks ago. Jean-Pierre ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Convert GIF to JPG with or without GD

2002-11-07 Thread BAROILLER Pierre-Emmanuel
Hi all, does anyone know a way to convert a gif file to jpg ? I've made a photo album and, want to resize pictures to create thumbnails.. GD allow resizing jpeg files, but not gif files... So... how can I create a jpeg file from the gif source ? (may be with an external software...) ??? Cheers P

Re: [PHP] Convert GIF to JPG with or without GD

2002-11-07 Thread BAROILLER Pierre-Emmanuel
thanks for all! :) I'll take a look at this product. P.E. Baroiller "Krzysztof Dziekiewicz" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > does anyone know a way to convert a gif file to jpg ? > > I've made a photo album and, want to resize pictures to create thumbnai

[PHP] regular expression and exact word search...

2002-11-07 Thread BAROILLER Pierre-Emmanuel
Hi! does someone know how to find an exact word in a content with html tags ? I'm using a regexp like this : $searchRegEx = "'\b".$word_search."\b'msi"; to get boundary word results, but... if the searched word is like 'word or word. or anything else, the regular expression doesn't work.. if I

Re: [PHP] regular expression and exact word search...

2002-11-07 Thread BAROILLER Pierre-Emmanuel
I can't get all entry where words is in... ".: B I G D O G :." <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Which functions are you using to do the regex stuff... > > That might help...also check out... > > > > On Thu, 2002-11

Re: [PHP] Convert GIF to JPG with or without GD

2002-11-08 Thread BAROILLER Pierre-Emmanuel
Yes... I've tried Image Magic , it's good for my work :) Now, I can resize/resample/reformat any kind of picture... thanks for all! :) "Krzysztof Dziekiewicz" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > The GD library bundled with PHP 4.3 can read gif images (but

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread BAROILLER Pierre-Emmanuel
Hi, how did you make for html form to upload files ? you need to add an encryption like this to post files... If you make a simple post form, you'll never get the posted files! :) File uploading works with php3 & php4 and it's very easy to implement. cheers. P.E. Baroiller "@ Darwin" <[EMA

[PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread BAROILLER Pierre-Emmanuel
array_diff check value, not keys.. "Nick Eby" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > example: > $arr1 = array("color" => "red", "flavor" => "cherry"); > $arr2 = array("color" => "cherry", "flavor" => "red"); > print_r(array_diff($arr1, $arr2)); > > those 2 arrays

[PHP] Re: big include

2002-11-08 Thread BAROILLER Pierre-Emmanuel
If you have a lot of code to process, it may be longer but, if it's a class include, it's very fast to load .. I've got classes about 60Kb, and the average for processing a page (from loading to the html output) is less than 5ms... "Khalid El-Kary" <[EMAIL PROTECTED]> a écrit dans le message de ne

[PHP] Re: how can I unsubscribe from this

2002-11-08 Thread BAROILLER Pierre-Emmanuel
go to php.net and unsubsbribe this mailing list :) "Joe Reichmuth" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: registering object in session - Object to string notice error?

2002-11-08 Thread BAROILLER Pierre-Emmanuel
To this : session_register('somevar') and it'll work.. if your're using PHP4, you can also do this : $_SESSIONS['somevar']=$somevar Regards, P.E. Baroiller "Paul" <[EMAIL PROTECTED]> a écrit dans le message de news: 002601c28743$42bebbf0$[EMAIL PROTECTED] > > I have a simple object/class: > > Cla

php-general@lists.php.net

2002-11-09 Thread BAROILLER Pierre-Emmanuel
Hi ! Could you write it in english please ? "Rich" <[EMAIL PROTECTED]> a ecrit dans le message de news: [EMAIL PROTECTED] > PHP$B=i?4 $B$*CN7C$rGR > $BNc$($P!"(Bhttp://www.mydomain.com$B$G%;%C%7%g%s$r3+;O$7!"$=$N8e!"(B > https://www.mydomain.com/regist.htm$B$X0\F0$7$?$H$-$K!"%;%C%7%g%s$O7

[PHP] Re: Rotating Ads

2002-11-09 Thread BAROILLER Pierre-Emmanuel
The fastest way to do this is very simple : store the last Id of your banner , get another from your SQL table (with rand) and display it (repeat if the Id is the same).. And, in your html page, add a refresh=xx to refresh the ad page. Regards, P.E. Baroiller "Stephen" <[EMAIL PROTECTED]> a écrit

[PHP] Re: How to know files in a directory

2002-11-09 Thread BAROILLER Pierre-Emmanuel
use opendir() , and readdir().. you'll get a var like $file, then check is_file($file) to see if it's a file :) (take a look at the php doc.) "Mohd_q" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] I wonder if there is a way to get the files names in a given directory.

[PHP] Re: [PHP-DB] OSCON: anybody interested in my Oracle talk?

2002-06-26 Thread Pierre-Alain Joye
Hello, I m sure I will not be in OSCON, but if there is a possibily for you to go to International PHP Conf, you will make certainly a very good session there, not lost your job and certainly see me ;)). International PHP Conference 2002 call for papers : http://www.phpconference.de/2002/kt/i

Re: [PHP] Re: [PHP-DB] blob versus file

2002-07-01 Thread Pierre-Alain Joye
On Mon, 1 Jul 2002 09:35:37 -0700 "Lazor, Ed" <[EMAIL PROTECTED]> wrote: > There are benefits to this making the performance hit worthwhile in some > instances. Sure, the exceptions rules :). I am not sure about your answer. The article where you pointed me does not go against what we said, a

Re: [PHP] Re: [PHP-DB] blob versus file

2002-07-01 Thread Pierre-Alain Joye
On Mon, 1 Jul 2002 11:24:31 -0700 "Lazor, Ed" <[EMAIL PROTECTED]> wrote: > Aren't you saying that storing files on the local file system is generally > faster than using database blobs? In most cases I meet (mysql, pgsql and oracle), the filesystem methods were faster on Linux and Solaris syst

[PHP] Re: [PHP-DB] blob versus file

2002-07-01 Thread Pierre-Alain Joye
On Mon, 1 Jul 2002 14:17:53 +0200 "andy" <[EMAIL PROTECTED]> wrote: > Hi there, > > I am wondering if anybody has experiance in saving images to blob in mysql. > > I do save images with 1 K and 4 KB to blob fields while I used to save them > to file. It seams to me that this is much slower acce

[PHP] Re: [PHP-DB] blob versus file

2002-07-02 Thread Pierre-Alain Joye
On Tue, 2 Jul 2002 05:45:40 +0200 "Andy" <[EMAIL PROTECTED]> wrote: > is the increase of the network traffic noticable? The query is pretty small > just text. Do u really think this might increase the traffic? Try to heavely charge a DB with images inside it. Do the same without DB, that depends

[PHP] Re: Sotre image created by GD in db

2003-08-30 Thread Baroiller Pierre-Emmanuel
Hi, you can do something like this : $imgdata = addslashes(imagejpeg($imnew)); // For JPG file. $query="INSERT INTO your_table (data) value ('$imgdata')"; $result = @mysql_query($query); I haven't try but it may work... Regards. P.E. Baroiller "Mohammadreza Hassanrezaeian" <[EMAIL PROTECTE

[PHP] Re: Multiple image buttons

2003-09-10 Thread Baroiller Pierre-Emmanuel
Hi, I don't understand what you really want to do... what do you mean by "image button" ? an or ?? On my opinion, you don't need php to check what button is pressed... All this can be done with a simple javascript function ... or with tag. After this, send a value to your phpscript like "presse

[PHP] Re: Help understanding code...

2003-09-26 Thread Baroiller Pierre-Emmanuel
Hi, It's a "C Like Syntax" (condition)?true:false; is like : if (condition) true else false regards. P.E. Baroiller "Jeff McKeon" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] I've just picked up a more advanced book on PHP and it has a lot of example code in it. I und

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
Hello, this is a function I use on my site, you can problably find your answer, py // = // This function returns the difference between a dates // and the current date. // arg1: separator // arg2: startdate date dd mm // return number of d

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
/", "05/03/2001") ; > > to test the function. but it doest seem to work :( > any help ? > > btw i believe it must be 24*60*60 inorder to 24*24*60 :) > > ""Pierre-Yves Lemaire"" <[EMAIL PROTECTED]> wrote in message > 01c301c0a7e0$17f8

Re: [PHP] DB Abstraction

2001-03-11 Thread Pierre-Yves Lemaire
Hello, For the most popular one, it is include in the phplib package: http://phplib.netuse.de/download/index.php3 Or for just the mysql database class, I like this one: MySQL_class at: http://phpclasses.upperdesign.com/ (login required) py - Original Message - From: Jordan Elver <[EM

Re: [PHP] Best way to pass SQL TEXT field via a link

2001-03-11 Thread Pierre-Yves Lemaire
Yes it would be a lot better to just passed the id in the url. py - Original Message - From: Fates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 5:12 PM Subject: [PHP] Best way to pass SQL TEXT field via a link > I'm trying to update an existing record based

Re: [PHP] date

2001-03-11 Thread Pierre-Yves Lemaire
Hello, This works when you have a separator of some sort, a space would work too. The tricky part is that mktime works with mm dd yy format. $start = "2001-01-01"; $end = "2001-03-12"; $start = explode( "-", $start ); $start = mktime( 0, 0, 0, $start[1], $start[2], $start[0] ); $end = explode(

[PHP] Variable dynamique

2001-03-11 Thread Pierre-Yves Lemaire
I receive 2 variables, $var and $num I need to make a variable out of these two like this $var2 where $num = 2 or $var3 where $num = 3 How can I do that ? __ Pierre-Yves Lemaire 514.729.8100

[PHP] Flash call erase my session

2001-03-11 Thread Pierre-Yves Lemaire
? __ Pierre-Yves Lemaire 514.729.8100

<    1   2   3   >