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

[PHP] SESSION VARIABLES ACROSS DIFFERENT WINDOWS/TABS

2009-08-20 Thread Leon du Plessis
e many others, want to start a war. I am ok with things how 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: [P

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 m

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: 'Le

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
y Sheridan [mailto:a...@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

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
, 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
tab. It is not a huge issue, I 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 Mess

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
wondering. -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..

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
al Message- From: Nitebirdz [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 si

RE: [PHP] SESSIONS lost sometimes

2009-08-20 Thread Leon du Plessis
think PHP should allow clearing SESSION 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 Mes

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] 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 : > I have already tried with several count and

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 ...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

RE: [PHP] what to use instead of foreach

2009-04-13 Thread Leon du Plessis
he arrays, so it is up to you to decide which approach is going to be best: e.g. $my_titles = array("title1","title2"); $my_authors["title1"] = array("a someone, a notherone & Mr. X"); Then you can simply echo the array value: echo "$my_authors[&qu

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 ""; $b = 1; } } Or there are some different ways to approach this also like: for ($a =& current($my_array); $a; $a = next($my_array)) { //Format

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

2009-04-02 Thread Leon du Plessis
Another suggestion would be to use the tag as suggested by Richard, but rename the "name" value ie: You can then use your PHP variable $_POST["btid1"], $_POST["btid2"] or $_POST["btid3"], etc, to determine relevant actions. -Original Message- From: Angus Mann [mailto:angusm...@po

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] 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] 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 string

[PHP] hash_hmac: Encoding with two different results problem

2008-07-23 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', '030B6A05696E657400C54601C60001550187360603773500018707060373796E63000187340603687474703A2F2F772E73796E632E63

[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] 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_na

Re: [PHP] Regular expression question

2005-08-11 Thread Leon Vismer
y want to be able to change between two naming conventions. 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

[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, $str = "insert into userComment (userID, userName, userSurname) values (0, 'Leon', 'Vismer')"; $match = array( "/([a-z]+)(ID)/", "/([

Re: [PHP] html_entity_decode () for …, ’, etc.

2005-08-10 Thread Leon Vismer
return strtr($string, $trans); } $string = "…&"; 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 t

Re: [PHP] redirect based off server string

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

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: "; ?> htmlspecialchars() changes characters '&', '"', ''', '<', '>' into the HTML equivilant. And yup, you should do this for all *ML pages as long as the thing being printed is not part of the mark-up synta

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

2005-04-22 Thread Leon Poon
aster 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" Sent: Friday, April 22, 2005 11:45 AM Subject: Re: [PHP] Re: 1 web site

Re: [PHP] Forms on PHP

2005-01-11 Thread Leon Poon
een submitted' message. In order to prevent this from happening, you should do a header('Location: success-page.php') on a successful submit. This is so 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] 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: Sent: Tuesday, January 11, 2005 5:38 AM Subject: [PHP] sorting mysql results I have a list of rows in the database and i would l

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] 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 y

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 unsubs

[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 way

[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] 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] 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

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

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

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

2003-01-16 Thread Leon Mergen
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... Regar

[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 p

[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 s

[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

[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

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 par

[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 f

[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: [PHP-DEV] PHP Look Back 2002

2002-12-30 Thread Leon Atkinson
you're not dancing." (It may 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

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

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 y

[PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
make your own dynamically loadable 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

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

2002-09-27 Thread Leon Mergen
using $_POST, > $_SESSION, 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://ww

[PHP] Re: question about taking post to session

2002-09-21 Thread Leon Mergen
correct, you will want something like this: 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, visit: http://www.php.net/unsub.php

[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] Strange url include problem

2002-07-01 Thread Leon Mergen
perfectly... anyone knows 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
the most easy to explain... It's very easy for people having experience with Perl, since Perl works that way... I personally only use templates (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] Re: php-speed

2002-06-13 Thread Leon Mergen
and having a layout like this: Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Querying for MAX

2002-06-12 Thread Leon Mergen
select max(id) as amount from table "César aracena" <[EMAIL PROTECTED]> wrote in message 003301c21240$0cdcf790$89c405c8@gateway">news:003301c21240$0cdcf790$89c405c8@gateway... I'm sorry if this mensaje is posted twice. I sent it yesterdays, but then my ISP had problems with e-mail and I lost doze

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

2002-06-12 Thread Leon Mergen
will see that $unserialized['foo'] still exists! Can anyone explain me 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: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Leon Mergen
minutes... I do that for my mailing list which 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] Array questions...

2002-06-12 Thread Leon Mergen
the best (and quickest) way to add a key with a value to the end of this array? 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
"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? --

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

[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] 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

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 (ht

[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

[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 de

[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]] 发送时间

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 PROTE

re: [PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
t 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 lo

[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] 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] How to add a carriage return in the end when using implode?

2002-01-07 Thread Zhang, Leon (STHK/Zh)
,$data[$a]);<<<<<--or here?.    $a++;    }while($afclose($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 a

[PHP] php4 startup error

2002-01-07 Thread Zhang, Leon (STHK/Zh)
application/x-httpd-php "/php" AddType application/x-httpd-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 PROTE

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 s

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

[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]

[PHP] Regular expression question

2001-11-09 Thread Leon Mergen
("([^0-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.ph

[PHP] MySQL4

2001-10-25 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] Regex problem

2001-10-25 Thread Leon Mergen
he space part... 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] HTML in XML???

2001-07-18 Thread Leon
special php xml newsgroup?? 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]

[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">

Re: [PHP] Site Searchable function

2001-04-20 Thread ~~~LeoN~
e server it gave: 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?

[PHP] No character set?

2001-04-06 Thread Leon Mergen
itialize character set 7 (path: default) in ./missiles.php on line 5 [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

[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 Techni

[PHP] strange error

2001-01-12 Thread Leon Mergen, BlazeNetwork
Warning: REG_EPAREN in /home/coolguest/html/db/functions.php3 on line 13 What does this mean? The statement that is located there, is: $string = eregi_replace(">:(","