[PHP] Re: mysql error

2001-07-15 Thread Leon
Maybe you run out of diskspace?? Greets, Leon Elias wrote: Table is full? did you try searching MySql.com for Table is full error message? Andreas ) [EMAIL PROTECTED] wrote in message 000c01c10b81$c765aa60$8d0a@devel01">news:000c01c10b81$c765aa60$8d0a@devel01... hi a

[PHP] HTML in XML???

2001-07-18 Thread Leon
?? thanks, Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Site Searchable function

2001-04-20 Thread ~~~LeoN~
e: Warning: fopen("http://my.domain/file_name.htm","r") - A socket must be already connected. in ...etc on line 304 where it worked ok with 'filesystem open' (On my home window localhost, it worked though). Suggestions, how to go around this problem? Leon. -- PHP

[PHP] Excel Table download it

2003-11-24 Thread leon
hi~ I want generate an excel table download it as a file (not view in IE), what HTML mimetype should i use? leon [EMAIL PROTECTED] 2003-11-24 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I fake a FORM submission with POST Mothed from PHP

2003-12-08 Thread leon
Hi , guys How can I POST a submit to a webserver and get the response content in PHP script? And if it must use CURL how can i add this module? i configure PHP without --with-curl ,:( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array into database

2002-06-11 Thread Leon Mergen
Hello, I would like to know wether it's possible to put an array into a database? If not, what is the best way to archieve something like that? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array into database

2002-06-11 Thread Leon Mergen
So this would handle 2-demensional arrays too? So, if I have $array = ( foo = bar, wom = bat ); it would work? And darn, that I didn't come up with this (I'm familliar with Java, and they use Serializable) ... Stuart Dallas [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Array into database

2002-06-12 Thread Leon Mergen
Stuart Dallas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... As far as I know, serialize will handle multi-dimensional arrays. If I were you I would suck it and see. And how should I store a serialized variable in my database? As String or as Blob? -- PHP

[PHP] Array questions...

2002-06-12 Thread Leon Mergen
, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Leon Mergen
is over 30,000 people large... If you don't have the time to build something like that, there's always the BCC option ;) Hope this helps you. Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unset($array[value]) does not work?

2002-06-12 Thread Leon Mergen
what I'm doing wrong? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
tml head title?=$title;?/title body ? code(); ? /body /html Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
lates (I even wrote a caching template engine) , so that would be the last step in layout I think ;) Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strange url include problem

2002-07-01 Thread Leon Mergen
(include_path='.:/php/includes:/usr/share/php') in /home/virtual/site6/fst/var/www/html/search/reply.php on line 64 This certainly makes me wonder, since that page loads perfectly in my browser, and http://www.google.com/ works perfectly... anyone knows what I'm doing wrong? Thanks in advance, Leon

[PHP] Compiling PHP

2002-07-06 Thread Leon Mergen
this is a bit too much ... I want to know if anyone else knows another less expensive option to do this. Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Debugger

2002-05-10 Thread Jose Leon
Hello: I have been browsing the web for a good solution to debug php code, I have found several ones, but none of them meet my requeriments. I create a development tool for PHP (QaDRAM Studio) and I want to be able to debug php code with it, my question here is: Why PHP 4 has no built-in

[PHP] Re: Debugger

2002-05-10 Thread Jose Leon
php -l will let you know where your syntax errors are. What? Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Debugger

2002-05-11 Thread Jose Leon
Hello: He said php -l will let you know where your syntax errors are. And what this has to do with my question? I was asking for a debugger, not for an error report. I want a mechanism to debug php programs step by step, watch variables and so on. Regards. -- PHP General Mailing List

Re: [PHP] Re: Debugger

2002-05-11 Thread Jose Leon
Hello: I think the OP has already looked at it, and wanted something better :) Yes, that's right, but I'm not saying dbg isn't good, I just said is too much complicated (AFAIK): -Must have a listener running -Use COM to interface with it -User installation too hard: Change php.ini to load

[PHP] Re: question about taking post to session

2002-09-21 Thread Leon Mergen
? $var = $_POST[var]; session_start(); session_register(var); ? And now, in all the scripts on your site, when you execute the session_start() function, $_SESSION[var] contains the original contents of $_POST[var] . Grtz, Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] Re: $_SESSION[] and register_globals=on

2002-09-27 Thread Leon Mergen
ION, etc? No, if everything is setup correctly both will work now. Otherwise, a lot of websites would have many many problems with the transition phase between register_globals = on and register_globals = off. Grtz, Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] Regex problem

2001-10-25 Thread Leon Mergen
... The regex: ereg(^\*,$variable) does work, but that doesn't include spaces at the start... How can I extend this one so that it doesn't matter if there are a lot of spaces at the begin? Thanks in advance, Leon Mergen

[PHP] MySQL4

2001-10-26 Thread Leon Mergen
Hello, Just curious, before I get into the heat, but did anyone who already has installed MySQL 4 had any problems compiling PHP? Thanks in advance, Leon Mergen

[PHP] Regular expression question

2001-11-09 Thread Leon Mergen
-9]$num::), $string); But that doesn't seem to work... The other option, the start of a line or a : also didn't work: eregi(([^|:]$sess_id::), $string); Anyone can help me with this? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Safe mode?

2001-03-02 Thread Leon Mergen
How can I turn off safe_mode using php.ini with php4.0.3pl1? All this doesn't work: safe_mode="off" safe_mode=off safe_mode="0" safe_mode=0 safe_mode="Off" safe_mode=Off Anyone has an idea? Leon Mergen [EMAIL PROTECTED] President of Technical O

[PHP] No character set?

2001-04-06 Thread Leon Mergen
: default) in b./missiles.php/b on line b5/bbr [root@blazebox cron]# Anyone has any idea what is causing this problem, and if/how I can fix it? Thanks in advance, _ Leon Mergen [EMAIL PROTECTED] President of Operations BlazeBox, Inc. ICQ: 55677353

Re: [PHP] ampersands in href's

2005-06-04 Thread Leon Poon
The simplest way to make sure everything work well regardless of what the values are: ? $url = somepage.php?var1=.urlencode($var1).var2=.urlencode($var2); echo a href=\.htmlspecialchars($url).\; ? htmlspecialchars() changes characters '', '', ''', '', '' into the HTML equivilant. And yup, you

Re: [PHP] redirect based off server string

2005-08-10 Thread Leon Vismer
If you are using apache you can use the redirect module VirtualHost 152.1.45.10 Servername www.ces.ncsu.edu ServerAlias * Redirect permanent / http://www.nc4h.org/ /VirtualHost -- Leon On Wednesday 10 August 2005 16:52, Robert Sossomon wrote: Anyone have a script or know of a way to check

Re: [PHP] html_entity_decode () for hellip;, rsquo;, etc.

2005-08-10 Thread Leon Vismer
); } $string = hellip;amp;; echo htmldecode($string) .\n; Note: obviously hex e2 80 a6 make up the hellip chars. Hope this helps Cheers -- Leon On Wednesday 10 August 2005 20:55, Marco wrote: I tried using html_entity_decode () but why won't these characters decode: rsquo; ndash; hellip

[PHP] Regular expression question

2005-08-11 Thread Leon Vismer
Hi I would like to convert from one naming convention within a sql statement to another. I have the following, code $str = insert into userComment (userID, userName, userSurname) values (0, 'Leon', 'Vismer'); $match = array( /([a-z]+)(ID)/, /([a-z]+)([A-Z])/ ); $replace = array( \$1_id

Re: [PHP] Regular expression question

2005-08-11 Thread Leon Vismer
. Example: userID becomes user_id clientID becomes client_id tableName becomes table_name anotherTableName becomes another_table_name etc. Thanks -- Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular expression question

2005-08-11 Thread Leon Vismer
Hi Robin Many thanks for this, how would one extend this to support the following: $str = insert into userComment (userID, userName, userSurname) values (0, 'Leon', 'mcDonald'); one does not want $str = insert into user_comment (user_id, user_name, user_surname) values (0, 'Leon', 'mc_donald

[PHP] SOAP and php

2005-09-12 Thread Leon Vismer
Hi What would be the best option for PHP and SOAP support. Many thanks -- Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Leon Poon
though. Or you can just host the SQL server at the master. All queries goes to the master. Hope this helps! -Leon - Original Message - From: Drewcore [EMAIL PROTECTED] To: php php-general@lists.php.net Sent: Friday, April 22, 2005 11:45 AM Subject: Re: [PHP] Re: 1 web site, 3 servers

[PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
module in PHP? Thanks in advance. Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
Hey! That worked! Thanks Rasmus! Grtz, Leon Mergen Rasmus Lerdorf [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Just run phpize in your directory and then do a ./configure make If your config.m4 was correct you should now have a modules/foo.so

Re: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread Leon Mergen
John W. Holmes [EMAIL PROTECTED] schreef in bericht 000401c2ac54$142032c0$7c02a8c0@coconut">news:000401c2ac54$142032c0$7c02a8c0@coconut... Kind of begs the question of why can't you just select what you need with the proper query, instead of loading everything into an array... Yeah, just add

[PHP] Re: [PHP-DEV] PHP Look Back 2002

2002-12-30 Thread Leon Atkinson
help to imagine this said with a yiddish accent). Damn me if this doesn't describe the PHP community. Thanks for reminding us to keep our sense of humor, Derick. ;) Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: ImageCreateFromPNG

2003-01-03 Thread Leon Mergen
You haven't compiled PHP with png support. Roy Van Arem [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ImageCreateFromPNG does not work ... I use php4.3 on win2000 and ImageCreateFromPNG give an error... undefined function... how is that possible... can

[PHP] Re: include/require vs performance

2003-01-03 Thread Leon Mergen
Radek Zajkowski [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED]... Is there, was there ever issue around including a lot files via include(). I am running things on a local server so it's hard to gauge. I think that the only source that could cause any problems with too many files

Re: [PHP] Re: include/require vs performance

2003-01-03 Thread Leon Mergen
Stephan Seidt [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I guess that PHP will close file 1 before it opens file 2 and so on.. For example : include 'foo'; include 'bar'; When bar is being opened foo is already closed. Hmmm, i think the parser is

[PHP] Re: PHP vs. ASP

2003-01-04 Thread Leon Mergen
Anthony Rodriguez [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How does PHP differs from ASP? search google on php vs asp ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Text editors

2003-01-07 Thread Leon Mergen
www.editplus.com Karl James [EMAIL PROTECTED] wrote in message 007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f">news:007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f... Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And

[PHP] Re: difference between shared and /usr/bin/mysql

2003-01-15 Thread Leon Mergen
Gamin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ./configure --with-mysql=shared ./configure --with-mysql=/usr/bin/mysql What are the advantages/disadvatages of using either. Somebody correct me if I'm wrong, but from what I know is that when using shared

[PHP] Re: All Request to the same script

2003-01-15 Thread Leon Mergen
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . Is it possible to send all incoming requests to the same script within PHP? In other words: How can I get http://mysite/script.php to point to the same script as http://mysite/anotherscript.php ? And is it

[PHP] Re: Ever complained about lousy PHP programmers?

2003-01-16 Thread Leon Mergen
ut other than that, I couldn't find anything very wrong about it... only that I personally prefer to call a print() statement for everything, and don't use PHP as an embedded language but just as a normal programming language... But that's just me :P Hope this helps you a little bit... Regard

Re: [PHP] How know how many sessions are active?

2003-01-19 Thread Leon Mergen
To help even more, if you're on a dedicated, this shell command will provide you the amount of sessions active: ls -l /tmp/sess* | wc -l HTH Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you're on a dedicated server (no other sites on the

Re: [PHP] Input field array ends up as Array string

2003-01-21 Thread Leon Mergen
Rick Emery [EMAIL PROTECTED] wrote in message 024801c2c15b$1a770e70$0500a8c0@honeybee">news:024801c2c15b$1a770e70$0500a8c0@honeybee... show us code Learn how to quote. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Close on exit

2003-12-21 Thread David Leon
How can I stop php.exe closing after it performs a task? I am using Windows XP Pro. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing array as subject to preg_replace has odd behaviour with limit

2004-04-05 Thread Leon Derczynski
Hi everybody, I'm sure this has been mentioned hundreds of times before, but why is preg_replace apparently ignoreing my limit when I pass it an array of text to work on (with just one string each for pattern and replacement)? Is it only obeying per element of the subject? If so, is there a

Re: [PHP] PHP form POST question

2005-01-09 Thread Leon Poon
When you access /foo, the server will redirect the client to /foo/ (because it is a directory). At the redirected page, the post data will not be sent again by the browser thus there are no _POST values. Try using action=/foo/. That may work. - Original Message - From: James (IFMS)

Re: [PHP] sorting mysql results

2005-01-10 Thread Leon Poon
Sort when querying from database: SELECT name, type FROM some_table ORDER BY type ASC, name ASC - Original Message - From: Sebastian [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, January 11, 2005 5:38 AM Subject: [PHP] sorting mysql results I have a list of rows in the

Re: [PHP] Forms on PHP

2005-01-11 Thread Leon Poon
that at the redirected page, the user would not have resent data even if he press the Reload button. Hope this helps -Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Web Mail

2004-07-05 Thread Jose Leon
Hello, Does anyone know a good PHP-based (free if possible) web mail other than UebiMiau that they would recommend? Why not Squirrel Mail? http://www.squirrelmail.org Regards. -- qadram :: software development http://www.qadram.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP Web Mail

2004-07-05 Thread Jose Leon
Hello, On Mon, 5 Jul 2004 12:33:38 +0100, I.A. Gray [EMAIL PROTECTED] wrote: Thanks- looked at Squirrel Mail. Looks really good, however we use POP3- I don't think Squirrel Mail uses POP3 does it? SquirrelMail is a web interface to an IMAP mail server, you can set up fetch mail to retrieve your

[PHP] How to read/write form/into certain place in a text file

2002-01-06 Thread Zhang, Leon (STHK/Zh)
if another one will open and write the same file? Thank you in advance. Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

re: [PHP] How to read/write form/into certain place in a text file

2002-01-06 Thread Zhang, Leon (STHK/Zh)
Does anybody know this? Please give me some advice,any help will be appreciated. -ԭʼÓʼþ-·¢¼þÈË: Zhang, Leon (STHK/Zh) [mailto:[EMAIL PROTECTED]]·¢ËÍʱ¼ä: 07 January, 2002 9:56ÊÕ¼þÈË: [EMAIL PROTECTED]Ö÷Ìâ: [PHP] How to read/write form/into certain place in a text file

re: [PHP] How to read/write form/into certain place in a text file

2002-01-06 Thread Zhang, Leon (STHK/Zh)
Thank you ,Jimmy . -ԭʼÓʼþ- ·¢¼þÈË: Jimmy [mailto:[EMAIL PROTECTED]] ·¢ËÍʱ¼ä: 07 January, 2002 12:13 ÊÕ¼þÈË: [EMAIL PROTECTED] Ö÷Ìâ: Re: [PHP] How to read/write form/into certain place in a text file Hi Leon, For example,read form letter 5 to 10 in line 4 ,and after some

[PHP] php4 startup error

2002-01-07 Thread Zhang, Leon (STHK/Zh)
pd-php .php .php3 Can anyone give me a hand on this ? Thank you in advance. Leon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] How to add a carriage return in the end when using implode?

2002-01-07 Thread Zhang, Leon (STHK/Zh)
count($data));fclose($fp); however if one line of the $datab has been implode with $subdata ,there will not be a 'return' in the final text file , this line just is joined with the next line ,what should I do here to add the $data as a single line? Thanks Leon -- PHP General Mailing List

re: [PHP] How to add a carriage return in the end when using implode?

2002-01-08 Thread Zhang, Leon (STHK/Zh)
Yes,I have just worked out ,thank you Jason. -原始邮件- 发件人: Jason Wong [mailto:[EMAIL PROTECTED]] 发送时间: 08 January, 2002 16:46 收件人: [EMAIL PROTECTED] 主题: Re: [PHP] How to add a carriage return in the end when using implode? On Tuesday 08 January 2002 14:18, Zhang, Leon (STHK/Zh) wrote

[PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
Hi, In php ,we can easily get the ip address of a connected computer ,but I always see on the web that there are some pages can tell you where you are from,so there must be a complete table show the relation of the ip address and country or region ,where can I find this . Thanks . Leon

re: [PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
the host name ?Anything missed here? Regards Leon -ԭʼÓʼþ- ·¢¼þÈË: Andrew Brampton [mailto:[EMAIL PROTECTED]] ·¢ËÍʱ¼ä: 09 January, 2002 9:46 ÊÕ¼þÈË: Zhang, Leon (STHK/Zh) ³­ËÍ: [EMAIL PROTECTED] Ö÷Ìâ: Re: [PHP] IP address from which country No such table, the best you can do is look

re: [PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
Thank you Jason ,I will check the Digital Envoy to get more information ,have you got the website address of it? -ԭʼÓʼþ- ·¢¼þÈË: Jason Murray [mailto:[EMAIL PROTECTED]] ·¢ËÍʱ¼ä: 09 January, 2002 10:06 ÊÕ¼þÈË: 'Zhang, Leon (STHK/Zh)'; [EMAIL PROTECTED] ³­ËÍ: [EMAIL PROTECTED] Ö÷Ìâ

[PHP] weird fopen problem

2002-01-10 Thread Zhang, Leon (STHK/Zh)
Hi Jon, Can you tell me how you solve this at last,I met the same problem in my php script.,I am really new to Linux and Apache.Where and how to set the permission to ensure that all common users can write this file? Regards Leon -原始邮件- 发件人: Jon Farmer [mailto:[EMAIL PROTECTED]] 发送时间

[PHP] hash_hmac: Encoding with two different results problem

2008-07-24 Thread Leon du Plessis
hi, I hope this is the right group for this type of problem: I am using hash_hmac to provide me with a sha1 encoded hash string. The problem is as follows: $hash = hash_hmac('sha1',

RE: [PHP] Adding encryption to passwords

2008-09-19 Thread Leon du Plessis
You can try the MySQL built in functions. Ie encode(str, key) insert into test (password) values (encode(mypass,some key)); You can then use the decode() functions in your matching queries. You also need to consider security of your php code, as the key to decode will be in the query strings.

RE: [PHP] Little regex help please...

2008-10-13 Thread Leon du Plessis
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: 13 October 2008 07:09 PM To: Eric Butera; Boyd, Todd M. Cc: php php Subject: Re: [PHP] Little regex help please... Hey Todd, Eric, Thanks for replying. I don't believe you need both the / and the # for delimiters in your

RE: [PHP] print a to z

2009-01-15 Thread Leon du Plessis
I used that notation before, and it did not work 100%. Adapt as follows: for ($i = 'a'; $i = 'z'; $i++) if ($i == aa) break; else echo $i; -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 16 January 2009 07:55 AM To: php-general@lists.php.net Subject:

RE: [PHP] Button id's - firefox and IE different ?

2009-04-02 Thread Leon du Plessis
Another suggestion would be to use the Input tag as suggested by Richard, but rename the name value ie: input type=submit name=btid1 value=Delete / input type=submit name=btid2 value=Delete / input type=submit name=btid3 value=Delete / You can then use your PHP variable $_POST[btid1],

RE: [PHP] what to use instead of foreach

2009-04-12 Thread Leon du Plessis
You may try something basic like: $b = 1; foreach ($my_array as $a) { echo $a ; //Send new line to browser if ($b++ == 3) { echo br; $b = 1; } } Or there are some different ways to approach this also like: for ($a = current($my_array); $a; $a = next($my_array)) { //Format 1

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
the array value: echo $my_authors[title1] . br; Hope it is enough info for to work on for now!! Have fun! Leon -Original Message- From: PJ [mailto:af.gour...@videotron.ca] Sent: 13 April 2009 04:33 PM To: Leon du Plessis Cc: php-general@lists.php.net Subject: Re: [PHP] what to use instead

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
Hi PJ, You may want to remove the , before the br...That was a slight oversight on my partsorry.'bout that...I will leave you to do the fixing, but I am sure you get the general idea. Best wishes..Leon -Original Message- From: Leon du Plessis [mailto:l...@dsgnit.com] Sent: 13

RE: [PHP] what to use instead of foreach

2009-04-14 Thread Leon du Plessis
. Best wishes Leon -Original Message- From: Jan G.B. [mailto:ro0ot.w...@googlemail.com] Sent: 14 April 2009 05:45 PM To: PJ Cc: Leon du Plessis; php-general@lists.php.net Subject: Re: [PHP] what to use instead of foreach 2009/4/13 PJ af.gour...@videotron.ca: I have already tried

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
Since we are on the subject: I have the following similar problem: When testing page on internet explorer, I find that one tab's variables can affect another tab's variables. Thus when having the same web-site open and using SESSION variables but for different users, Internet explorer can become

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
variables from other sessions. -Original Message- From: Arno Kuhl [mailto:ak...@telkomsa.net] Sent: 20 August 2009 10:03 AM To: 'Leon du Plessis'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes -Original Message- From: Leon du Plessis [mailto:l

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
[mailto:nitebi...@sacredchaos.com] Sent: 20 August 2009 10:40 AM To: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes On Thu, Aug 20, 2009 at 09:44:02AM +0200, Leon du Plessis wrote: Since we are on the subject: I have the following similar problem: When testing page

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
. -Original Message- From: Peter Ford [mailto:p...@justcroft.com] Sent: 20 August 2009 10:47 AM To: php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes Leon du Plessis wrote: It's not an issue, it's a feature. Thanks Arno...but it is a pain also. If I work with user

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
was just wondering if someone else had the same annoying condition. I am happy with the responses and the functionality somewhere on a wish-list. Now Back to Angelo's SESSION problem which sounded like it could be related. Greetings! Leon -Original Message- From: Leon du Plessis [mailto:l

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
it, and NOT by clicking login or some other link from an existing page. Yes, I know..that creates other scenarios, so is happy to not meddle with the way browsers work. It is just a limitation I will live with and can get by with it. Regards Leon -Original Message- From: Ashley Sheridan

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
...@ashleysheridan.co.uk] Sent: 20 August 2009 12:05 PM To: Leon du Plessis Cc: 'Nitebirdz'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes On Thu, 2009-08-20 at 12:04 +0200, Leon du Plessis wrote: Thanks Ashley, I just want to iterate again that when a new page is opened by another

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
Hi Angelo, No need to be nasty and touchy. If you have done trouble to read I have closed the discussion in a prior listing and referred back to your original thread. thanks -Original Message- From: Angelo Zanetti [mailto:ang...@zlogic.co.za] Sent: 20 August 2009 01:21 PM To: 'Leon du

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
No problem! Thx -Original Message- From: Angelo Zanetti [mailto:ang...@zlogic.co.za] Sent: 20 August 2009 02:35 PM To: 'Leon du Plessis'; php-general@lists.php.net Subject: RE: [PHP] SESSIONS lost sometimes Hi Leon, No harm intended :) Just thought that people were missing my post now

[PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-20 Thread Leon du Plessis
they are. We can put this thing to rest. -Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: 20 August 2009 02:25 PM To: Leon du Plessis Cc: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] SESSIONS lost sometimes Leon, Sessions are used on a per

RE: [PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-21 Thread Leon du Plessis
Hi Jamie. Thanks. Good info. I knew something changed somewhere. This works like a charm in IE8..never saw the New Session option under file...me bad !! Greetings. -Original Message- From: Jaime Bozza [mailto:jbo...@mindsites.com] Sent: 20 August 2009 09:49 PM To: Leon du Plessis