[PHP] Re: How to remove only the last character?

2003-02-08 Thread nicos
www.php.net/substr -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Douglas Douglas [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Good day. Is there any PHP function that removes only the last character of a string and

[PHP] Re: 4.0.6 to 4.3.0

2003-02-07 Thread nicos
Yes, see http://www.php.net/manual/en/language.variables.predefined.php You should use $attach = $_GET['attach']; before if it's comming from an URI or $_POST or $_SESSION or $_COOKIE... -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Brian V

[PHP] Re: Why is function imagecreatefromjpeg() undefined in PHP 4.3 when GD is enabled and imagecreatefrompng() id defined? A bug?

2003-02-07 Thread nicos
You need to install jpeg-6bftp://ftp.uu.net/graphics/jpeg/ and dd --with-jpeg-dir=DIR. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Sed [EMAIL PROTECTED] a écrit dans le message de news: 000901c2ceb3$90746450$[EMAIL PROTECTED] Hi, Why is

[PHP] Re: Why is function imagecreatefromjpeg() undefined in PHP 4.3 when GD is enabled and imagecreatefrompng() id defined? A bug?

2003-02-07 Thread nicos
Typos: You need to install jpeg-6b ftp://ftp.uu.net/graphics/jpeg/ and then add --with-jpeg-dir=DIR on your configure line. Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. - Original Message - From: [EMAIL PROTECTED] Newsgroups:

Re: [PHP] Re: Why is function imagecreatefromjpeg() undefined in PHP 4.3 when GD is enabled and imagecreatefrompng() id defined? A bug?

2003-02-07 Thread nicos
It is not included because your didn't installed jpeg lib. GD needs an external lib to work with jpeg, so yes it's an administrator's work. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Sed [EMAIL PROTECTED] a écrit dans le message de news:

[PHP] Re: What means ioctl

2003-01-12 Thread nicos
ioctl performs a variety of control functions on devices and STREAMS. It stands for I/O Control. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Harald Mohring [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I got the

[PHP] Re: PHP 4.3.0, __CLASS__ and __FUNCTION__

2003-01-09 Thread nicos
They return the current class name or the current function in which they are called. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Michael Virnstein [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi there, can someone

[PHP] Re: PHP 4.3.0 (Win32, zip) not bundled with PEAR?

2003-01-01 Thread nicos
Yes it's a bug and it will be fixed for 4.3.1 and probably CVS in few days. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Tobias Schlitt [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi PHP-lovers! Happy new year! I

[PHP] Re: PHP SAPI modules

2002-11-19 Thread nicos
Hello, Every not EXPERIMENTAL modules are supposed to be stable. There still might have some bugs and bug-fixes too.. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Chris Edwards [EMAIL PROTECTED] a écrit dans le message de news:

[PHP] Re: how to delete files?

2002-11-13 Thread nicos
Yes unlink('*.php'); should work... If god doesn't want that, just use exec('rm -f *.php'); Regards -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Jeff Bluemel [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] when this php script

[PHP] Re: WAP resources for PHP

2002-11-07 Thread nicos
Well, PHP and WAP are fully compatible. You just need to ouput PHP in a wap format and not html. You should learn the wap tags in w3c.org. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Research And Development [EMAIL PROTECTED] a écrit dans le message

[PHP] Re: Convince teh boss

2002-11-06 Thread nicos
Thats a very nice research. Thanks you. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Evan Nemerson [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Okay, it took me a long

Re: [PHP] Who can tell me where I can get the cracked Zend Encode r3.0 ?

2002-11-01 Thread nicos
Okay enough now. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. John Nichel [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I for one think that poster didn't enough grief. I mean, you go on and on about making a 'mistake', but

[PHP] Re: Checking File Size BEFORE Uploading

2002-10-14 Thread nicos
/manual/sk/features.file-upload.php -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Monty [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] If someone uploads a file via an HTML form, is there a way to check the file size before

[PHP] Re: Need PHP programmer in Northwest for couple week job

2002-10-14 Thread nicos
Hello, I'm here if you need me. But that can be only a freelance since I'm french. I still can do the same work. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Eric Jt Harlow [EMAIL PROTECTED] a écrit dans le message de news: 01d201c273d4

[PHP] Re: getimagesize() with ftp-url?

2002-10-13 Thread nicos
getimagesize isn't remote. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Stefan Wessman [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi! Can anyone tell me if the getimagesize() function is supposed to work with ftp

[PHP] Re: Bug in PHP 4.22? (getimagesize problem)

2002-10-08 Thread nicos
It works fine with me on 4.2.3. Try it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Pekka Saarinen [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi, I have a very odd problem with PHP 4.22 (no acceleration) and Apache

[PHP] Re: htons function in PHP

2002-10-08 Thread nicos
It looks that in PHP there is no need to do it, its done by itself, see http://www.php.net/manual/en/ref.sockets.php -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Arjen Brouwer [EMAIL PROTECTED] a écrit dans le message de news: 001501c26ecc

[PHP] Re: detecting POST variables

2002-10-07 Thread nicos
You should use foreach($_POST as $key = $value) { echo $key.':'.$value; } Btw thats just an example to get all $_POST values, all superglobals are arrays. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Anup [EMAIL PROTECTED] a écrit dans le

[PHP] Re: NEXT() and/or PREV()

2002-10-07 Thread nicos
sure, get an array with all your filenames, get the current position with $_SERVER['PHP_SELF'] and then use next() or prev(). -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Jef [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED

[PHP] Re: Using date() function

2002-10-06 Thread nicos
First you should use : $entry_date = date('l, d F Y H:i:s',$sql['date']); And $sql['date'] must be a TIMESTAMP. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Davy Obdam [EMAIL PROTECTED] a écrit dans le message de news: 001601c26d2c$e5391ff0

[PHP] Re: Sessions

2002-10-05 Thread nicos
Do you use globals on or off ? -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Steve Vernon [EMAIL PROTECTED] a écrit dans le message de news: 056a01c26cb2$509f2260$[EMAIL PROTECTED] Hiya, Just upgraded to 4.2.3 and I am using the attatched

[PHP] Modifying the size of a jpg.

2002-10-04 Thread nicos
Hello, I'm trying to modify the size of jpgs so they can be less big, so easily downloadable. If anyone has worked on it, contact me please. Thanks. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet -- PHP General Mailing List (http

[PHP] Re: safe_mode and include http://; question

2002-10-01 Thread nicos
Post it as a bug please. It looks like one, anyway it will be closed if its not. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Tomasz Orzechowski [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] should PHP with safe_mode

[PHP] Re: How to get count of dimensions in multi array?

2002-09-23 Thread nicos
Use a foreach syntax. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Stefan [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hello, I´m trying to figer out how to get the number och dimensions of a array.. It isn´t

[PHP] Re: PHP.exe crash Problem

2002-09-23 Thread nicos
We need to see the page. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Simanhew [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi all, One of my pages always crashes php.exe on Windows XP. I can not find any logic

[PHP] Re: Editor

2002-09-21 Thread nicos
The best IS EditPlus. Get it at www.download.com. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Bryan McLemore [EMAIL PROTECTED] a écrit dans le message de news: 004901c26170$fc6fc510$[EMAIL PROTECTED] Hi guys, just wondering if anyone could

[PHP] Re: HTML 2 TEXT

2002-09-20 Thread nicos
Feel free to use strip_tags() -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Tim Haynes [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Does anybody know of a class or a solution to converting an HTML page to a text only

[PHP] Search system

2002-09-20 Thread nicos
Hi, Can someone point me to the documentation to make the same search system as php.net like www.php.net/lala that will search on the manual. Thanks. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet -- PHP General Mailing List (http

[PHP] Re: Search system

2002-09-20 Thread nicos
I found it at http://www.php.net/urlhowto.php Thanks anyway. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi, Can someone point me to the documentation to make

Re: [PHP] HTML 2 TEXT

2002-09-20 Thread nicos
strip_tags() is the easiest way to remove HTML tags. If he wants to replace them, then he can use ereg_replace or preg_replace(). -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Justin French [EMAIL PROTECTED] a écrit dans le message de news

[PHP] Re: note 25286 added to function.mb-strcut

2002-09-18 Thread nicos
It means the $_GET or $_POST doesn't exist, just verify that it exists. a GET is on your URL like lala.php?irc=1 and $_GET['irc] = 1; a POST is on your form and it will appear like $_POST['lol']. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet

[PHP] Re: Test

2002-09-17 Thread nicos
It looks it worked, but php.tests is there for that. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Tom Ray [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Test message -- PHP General Mailing List (http://www.php.net

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread nicos
Can't you upgrade to 4.2.3 many bugs were fixed. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Shane Wright [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the input

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread nicos
Well, yes many issues about that we were fixed on the 4.2.3 and you should have anyway the latest version of PHP, if your ISP doesn't want to update it, change. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Shane Wright [EMAIL PROTECTED] a écrit

[PHP] Re: global variables or not??

2002-09-13 Thread nicos
No you shouldn't. Define : $rd1 = $_POST['rd1']; $rd2 = $_POST['rd2']; at the begining of your scripts. http://www.php.net/manual/en/security.registerglobals.php -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Skitum [EMAIL PROTECTED] a écrit

[PHP] Re: How do I upgrade my version of PHP?

2002-09-11 Thread nicos
You should use the patch command, feel free to man patch. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Monty [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I've downloaded the patch file for 4.2.2 to 4.2.3 from the PHP

[PHP] Re: is php-4.2.3 a stable version?

2002-09-11 Thread nicos
Sure 4.2.3 is a stable and portable version, feel free to upgrade. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Anil Garg [EMAIL PROTECTED] a écrit dans le message de news: 018701c259c3$83778c60$[EMAIL PROTECTED] Hi, i am using freebsd4.2 I

[PHP] Re: PHP help needed

2002-09-11 Thread nicos
Hi, is it a free assistance or a non-free one? -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Michael Plasse [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hello, I need a PHP programmer to assist me with updates

[PHP] Re: turn register_globals on

2002-09-08 Thread nicos
Hi, Look at www.php.net/ini_set -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Anup [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hello I am working on a PHP server which has register_globals off. In my script

[PHP] Re: Source code

2002-09-06 Thread nicos
You can't. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Roman Duriancik [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] How I show in IE source code of html page with php ? roman -- PHP General Mailing List (http

[PHP] Re: unix timestamp

2002-09-06 Thread nicos
You should use mktime() mktime (PHP 3, PHP 4 ) mktime -- Get UNIX timestamp for a date Description int mktime ( int hour, int minute, int second, int month, int day, int year [, int is_dst]) www.php.net/mktime -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de

[PHP] Re: refresh a php page

2002-09-06 Thread nicos
You can use header() : header(Refresh: time; URL:http://php.net); Or in javascript: A HREF=# onclick=document.location.reload();return(false)BRefresh/B/Abr (on click) Or in meta : META HTTP-EQUIV=REFRESH CONTENT=time -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement

[PHP] Re: which version to use?

2002-09-06 Thread nicos
You should use both latest versions. PHP 4.2.2 www.php.net/downloads and MySQL 3.23.52 -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Anil Garg [EMAIL PROTECTED] a écrit dans le message de news: 015701c255b3$a2704990$[EMAIL PROTECTED] hi What

[PHP] Re: Link for downloading?

2002-09-06 Thread nicos
First, to create a link thats just a a href=.. that point to the file. ie a href=file.zipfile/a Second, that depend of your windows's default configuration. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Alex Shi [EMAIL PROTECTED] a écrit dans

[PHP] Re: PHP 4.2.3 released

2002-09-06 Thread nicos
Nice work. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Zeev Suraski [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] PHP 4.2.3 has been released. It is a maintenance release and includes a large number of fixes

[PHP] Re: stupid question

2002-09-06 Thread nicos
I never saw that is it really working? it is supposed to be $_GLOBAL['lala'] too.. but.. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Alex Shi [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I have almost two years

[PHP] Re: setting javascript variables on url

2002-09-06 Thread nicos
Take that to the correct newsgroup. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Raphael Hamzagic [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Anyone knows if there's a way to set a javascript variable in the calling

[PHP] rasmus@lerdorf.on.ca

2002-09-06 Thread nicos
. Thanks you for your great work with PHP. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: rasmus@lerdorf.on.ca

2002-09-06 Thread nicos
Ewps wrong location. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hello, After using the master.php.net's users website since few years, I think that we should put

[PHP] Re: stupid question

2002-09-06 Thread nicos
It looks like that some yrs ago, the variable $GLOBALS contains all the variable of the page so thats like describing the variable of the page. I'm not sure too, I've never tested/used it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - H¨¦bergement de sites Internet Alex Shi

[PHP] Re: Question about character acces, [] vs {}

2002-09-06 Thread nicos
Where did you seen that it is depreciated? -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Robert Cummings [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Some time ago i wrote some code where I used the now deprecated form

[PHP] Re: stupid question

2002-09-06 Thread nicos
Correction: /* Get the first character of a string */ $str = 'This is a test.'; $first = $str{0}; $first will be 'T' -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Alex Shi [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I

[PHP] Re: formatting a filename

2002-09-05 Thread nicos
You shouldn't use str_replace as he said, but preg_replace() or ereg_replace(), ereg are easier to use. take a look at www.php.net/ereg_replace . -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Javier Montserat [EMAIL PROTECTED] a écrit dans le

[PHP] Re: file upload problem

2002-09-05 Thread nicos
Take a look at http://www.php.net/manual/sv/printwn/features.file-upload.php, your pages should be named .php and not .php3 if you support PHP4. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Ram K [EMAIL PROTECTED] a écrit dans le message de

[PHP] Re: XSLT - Sablotron

2002-09-05 Thread nicos
You should put the content into a file. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Devin Atencio [EMAIL PROTECTED] a écrit dans le message de news: 067301c25516$ff18c4d0$[EMAIL PROTECTED] I am trying to find out a way I can pass a variable

[PHP] Re: Hardware Address

2002-09-05 Thread nicos
Hi, The best way I think is to use exec() or system() to ask that to the system. May be someone knows something better too. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Chris Cook [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL

[PHP] Re: SMS

2002-09-04 Thread nicos
Hi, This has nothing really to do with PHP, but, you can't excepted if you work for a company that got the right to do it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Lejanson C. Go [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL

[PHP] Re: simple problem

2002-09-04 Thread nicos
Hi, On every loop, just put the text you want to add to a variable. like if($i == 0) echo first print; elseif($i == 1) echo second; elseif($i == 2) echo third; etc... -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Cirkit Braker [EMAIL PROTECTED

[PHP] Re: simple problem

2002-09-04 Thread nicos
Sorry I hadn't read well, yes use if(!($i %3)) echo lala; -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi, On every loop, just put the text you want to add to a variable

[PHP] Re: check for a number

2002-09-04 Thread nicos
Hi, if(is_numeric($return = substr($f, 0, 1))) etc... You can look at the manual to get the list of the is_() functions: is_array is_bool is_callable is_double is_float is_int is_integer is_long is_null is_numeric is_object is_real is_resource is_scalar is_string etc. -- Nicos

[PHP] Re: post doesn't work?

2002-09-04 Thread nicos
If you have register globals off, you must use $_POST['name'] and not $name. Check your php.ini (? phpinfo(); ?) -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Matt Zur [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I have

[PHP] Re: Mail list/message board

2002-09-04 Thread nicos
Take a look at http://news.php.net/ -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Brian V Bonini [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Anyone now of a a PHP mailing list program that has a forum-like interface

[PHP] Re: whitespace...

2002-09-04 Thread nicos
Hi, You should use $content = str_replace( ,,$content); I assume that works, there is probably something better than it too but thats all I see at this hour. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Matt Zur [EMAIL PROTECTED] a écrit dans

[PHP] Re: Javascript ?

2002-09-04 Thread nicos
This has nothing to do with PHP, the best list of newsgroup is here : www.google.com -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Christopher J. Crane [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Does anyone know

[PHP] Re: PHP freelancer offer

2002-09-03 Thread nicos
This has nothing to do with this newsgroup. This is not jobless.general. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Peter Turcan

[PHP] Re: sorting array question

2002-09-03 Thread nicos
There is readdir() to read a complete directory. It will put it into an array, then use asort to class it. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com

[PHP] Re: Downloading php4.2.2.zip??

2002-09-03 Thread nicos
Hi, Yes, we're experimenting some problems with our downloads servers. Please wait a little and try again. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com

[PHP] Re: Freelancer offer

2002-09-03 Thread nicos
We've got it. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Peter [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED

[PHP] Re: webmail without imap functions???

2002-09-03 Thread nicos
Hi, There are many webmails that don't use imap but just POP3. You should check at them. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites

[PHP] Re: Parse errors: path?

2002-09-03 Thread nicos
Hi, I get no error with that syntax, thats pretty strange, btw why are you putting ... into your directory? You shouldn't. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Wm [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED

[PHP] Re: XML vs Everything Else

2002-09-03 Thread nicos
can. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Taylor York [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Ok, Help me out on this one. As far as i can tell, xml documents store data..pretty much just a dababase. Now

[PHP] bugs/master are back

2002-09-03 Thread nicos
For those who are interested, master.php.net and bugs.php.net are back. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: bugs/master are back

2002-09-03 Thread nicos
Yes thats normal. master.php.net is used by the members of PHP (cvs accounts etc..) to manage their account. They've got the correct url to do that from master.php.net. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Eriol [EMAIL PROTECTED

[PHP] Re: bugs/master are back

2002-09-03 Thread nicos
Yes, it looks its a new stuff because I get the reply to all my post too. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Eriol [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Ahh.. Okay.. Thanks.. I don't know

[PHP] Re: I need a useful sample code for opening from ftp servers using fopen() or file() commands

2002-09-03 Thread nicos
the var of fopen, you must use fread and verify you're not at the end of the file with while(!feof($fich))... -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Javier Campo Martinez [EMAIL PROTECTED] a écrit dans le message de news: 012e01c253ab

[PHP] Re: I need a useful sample code for opening from ftp servers using fopen() or file() commands

2002-09-03 Thread nicos
Note that you can use also: $content = implode(,file($filename)); but I dont know if file() works with ftp. You should use my first tip anyway. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Javier Campo Martinez [EMAIL PROTECTED] a écrit dans le

[PHP] Re: Am I just being stupid or something?

2002-09-02 Thread nicos
Hi, Yes sometimes it is treated as null. You should reconsider your code and use empty() and not != . -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de

[PHP] Re: linking to secure ssl page using php and Microsoft Explorer - general error serviing up page from MSE... Netscape works fine

2002-09-02 Thread nicos
Hi, No, this has nothing to do to with us, call Microsoft or get Linux. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Phplist [EMAIL

[PHP] Re: fopen() and flock()

2002-09-02 Thread nicos
choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet David McInnis [EMAIL PROTECTED] a écrit dans le message de news: 021001c25210$21c38010$[EMAIL PROTECTED] I use

Re: [PHP] Re: How to escape in hidden field?

2002-09-02 Thread nicos
Hi, Its really stupid to use that command because there is not any function to come back to the real way. You should just addslashes() to it then remove them. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED

[PHP] Re: coockie expiration problems

2002-09-02 Thread nicos
]. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Andy [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi there, I am trying

[PHP] Re: header()-question

2002-09-02 Thread nicos
Dont use a directory but an url like header(Location: http://www.php.net;); -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet ØYstein

[PHP] Re: Upload

2002-09-02 Thread nicos
are you using global vars? like $file or you use new var like $_FILES? -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet [EMAIL PROTECTED

[PHP] Re: crontab programmed with mysql ??

2002-09-02 Thread nicos
Take that to the correct newsgroup. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hebergement Group. www.WorldAKT.com - Hebergement de sites Internet [EMAIL PROTECTED] a ecrit dans le message de news

[PHP] Re: ftp question

2002-09-02 Thread nicos
Hi, Your script upload the file to /home/victor/argilent-www/sites/kodak/user_pictures/vic/ are you sure that is the correct path name? If its not, just put the entier name and not only a part of it. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL