[PHP] data type conversion in mysql using php

2003-10-21 Thread Uma Shankari T.


Hello,
  
   Is it possible to update the float value of mysql to varchar field by
using php ??

Regards,
Uma

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



Re: [PHP] data type conversion in mysql using php

2003-10-21 Thread - Edwin -
Hello,

On Tue, 21 Oct 2003 11:45:30 +0530 (IST)
Uma Shankari T. [EMAIL PROTECTED] wrote:

 Hello,
   
Is it possible to update the float value of mysql to varchar
field by
 using php ??

'Not sure if I understood the question correctly but if you want to
change the column type of a float field to a varchar field then,
yes, it's possible--provided that you have the permission to do so.

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



Re: [PHP] data type conversion in mysql using php

2003-10-21 Thread Robert Cummings
On Tue, 2003-10-21 at 02:15, Uma Shankari T. wrote:
 
 
 Hello,
   
Is it possible to update the float value of mysql to varchar field by
 using php ??

You can issue an ALTER TABLE query via mysql_query().

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] cache control with javascript

2003-10-21 Thread - Edwin -
On Mon, 20 Oct 2003 14:44:50 -0400
Joshua Minnie [EMAIL PROTECTED] wrote:

 Does anybody know how I can make force a javascript file (written in
 PHP) to be cached if the user agent allows it?
 
 Here is the situation:
 I am creating a dropdown menu system that contains a customer list,
 loaded from a database.  This list is written to the javascript file
 for the menu. The menu can be quite large as the data grows.  What I
 would like to do, is force it to be cached (unless of course the
 user agent doesn't allow it) so that it doesn't have to make the
 call to generate the file each time.

What is the second it in the last sentence above? A browser wouldn't
make the call to generate the javascript file each time.

 I have searched through the php.net website and even through the
 HTTP/1.1 protocols.  I am continuing to look, but have not found a
 definite answer as to whether or not what I am trying to do is
 possible.

Just make sure that the javascript is on a separate file (i.e.
whatever.js) and that it's NOT being generated by your (php) script
each time. Then, call that file from inside your html/php page.

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



Re: Re[4]: [PHP] Re: Tom-Re: [PHP] session hijacking

2003-10-21 Thread - Edwin -
Hi,

On Tue, 21 Oct 2003 14:02:58 +1000
Tom Rogers [EMAIL PROTECTED] wrote:

 Hi,
 
 Tuesday, October 21, 2003, 1:40:20 PM, you wrote:
 
 OMH One other thing.. What's the difference in $$ for a site to be
 OMH https rather than http?? Cos you need  to get a verisign cert
 OMH or something?? Just asking..
 
 I use bulkregister.com and if you are a member the cost is $88.00
 per year Verisign used to be $450.00 per year not sure anymore.

Not as inexpensive but I think http://www.geotrust.com/ is a good
place to check...

 If the site is for your own members you can create and sign your own
 certificate and warn them to accept the cert when the browser pops
 up with unknown agency warning. Cost is only the time to figure out
 how the hell you sign your own certs :)

If you (general you) have compiled your own Apache, I'm sure you've
already gone through this... :)

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



Re: [PHP] Print mysql errors

2003-10-21 Thread Eugene Lee
On Mon, Oct 20, 2003 at 05:28:08PM -0500, Joseph Bannon wrote:
: 
: How do you print the error message sent back from MySQL?
: 
: $resultCC = mysql_query($queryCC) or die(???);

Stop using stupid Perl syntax.

$res = mysql_query($query);
if ($res === false)
{
# print error to stdout
#
echo mysql_errno() . :  . mysql_error(). \n;
}

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



Re: [PHP] gmdate problem

2003-10-21 Thread Eugene Lee
On Tue, Oct 21, 2003 at 12:44:38PM +0800, [EMAIL PROTECTED] wrote:
: 
: Having some problem with 'gmdate' here. However, the time doesn't
: match with the current time on the system. What could be the problem?
: Do I have to set any timezone or stuff like that?...Hope to get some
: help here. 
: 
: Tue, 21st Oct 2003, 04:25
: 
: ?php
: echo gmDate(D, dS M Y, H:i);
: ?

gmdate() returns the the GMT/UTC time (i.e. timezone 0).  Unless your
system's timezone is zero because it is in Greenwich, gmdate() does not
adjust its result to your local timezone and you will not get the answer
you expected.  What's wrong with date()?

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



Re: [PHP] gmdate problem

2003-10-21 Thread - Edwin -
Hi,

On Tue, 21 Oct 2003 12:44:38 +0800
[EMAIL PROTECTED] wrote:

 
 Hi all,  
Having some problem with 'gmdate' here. However, the time
doesn't match
 with the current time on the system. What could be the problem? Do I
 have to set any timezone or stuff like that?...Hope to get some help
 here. 

From the manual: (http://www.php.net/manual/en/function.gmdate.php)

[quote]
  Identical to the date() function except that the time returned is
  Greenwich Mean Time (GMT).
[/quote]

So, I guess, you have to make sure first that your server (system) is
located inside the GMT time zone :)

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



[PHP] Test Connection - fsockopen()

2003-10-21 Thread Jason Williard
I am trying to create a remote status page for my website.  So far, I 
have found the fsockopen() function and used the example code to create 
the following basic script:

?php
$fp = fsockopen (xxx.xxx.xxx.xxx, 80, $errno, $errstr, 30);
if (!$fp) {
echo Down\n;
}
else{
echo Up\n;
fclose ($fp);
}
?
While this works when the server is UP, I get the following error when 
it is down along with the 'Down' output:

Warning: fsockopen(): php_hostconnect: connect failed in 
//public_html/status/test.php on line 2

Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx:80 in 
//public_html/status/test.php on line 2
Down

Can anyone help me out here?

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


Re: [PHP] mailing labels from databases

2003-10-21 Thread - Edwin -
Hello,

On Mon, 20 Oct 2003 22:48:20 -0700
Dennis Gearon [EMAIL PROTECTED] wrote:

...[snip]...

 Is it possible to set postions of characters, lines, tables, etc in
 PDF via:
 pixels
 page percentages
 absolute distances
 using PHP?

  - http://www.php.net/manual/en/ref.pdf.php

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



Re: [PHP] Test Connection - fsockopen()

2003-10-21 Thread Tom Rogers
Hi,

Tuesday, October 21, 2003, 5:04:14 PM, you wrote:
JW I am trying to create a remote status page for my website.  So far, I 
JW have found the fsockopen() function and used the example code to create 
JW the following basic script:

JW ?php
JW $fp = fsockopen (xxx.xxx.xxx.xxx, 80, $errno, $errstr, 30);
JW if (!$fp) {
JW  echo Down\n;
JW }
JW else{
JW  echo Up\n;
JW  fclose ($fp);
JW }
?

JW While this works when the server is UP, I get the following error when 
JW it is down along with the 'Down' output:

JW Warning: fsockopen(): php_hostconnect: connect failed in 
JW //public_html/status/test.php on line 2

JW Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx:80 in 
JW //public_html/status/test.php on line 2
JW Down

JW Can anyone help me out here?

JW Thanks,
JW Jason Williard


change your call to   @fsockopen() which will tell it to ignore errors

-- 
regards,
Tom

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



Re: [PHP] Test Connection - fsockopen()

2003-10-21 Thread - Edwin -
On Tue, 21 Oct 2003 00:04:14 -0700
Jason Williard [EMAIL PROTECTED] wrote:

 I am trying to create a remote status page for my website.  So far,
 I have found the fsockopen() function and used the example code to
 create the following basic script:
 
 ?php
 $fp = fsockopen (xxx.xxx.xxx.xxx, 80, $errno, $errstr, 30);
 if (!$fp) {
  echo Down\n;
 }
 else{
  echo Up\n;
  fclose ($fp);
 }
 ?
 
 While this works when the server is UP, I get the following error
 when it is down along with the 'Down' output:
 
 Warning: fsockopen(): php_hostconnect: connect failed in 
 //public_html/status/test.php on line 2
 
 Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx:80 in 
 //public_html/status/test.php on line 2
 Down
 
 Can anyone help me out here?

Not sure what kind of help you're looking for but if you just want to
suppress errors, try this instead:

  $fp = @fsockopen(xxx.xxx.xxx.xxx, 80, $errno, $errstr, 30);

Or, adjust error_reporting level: http://www.php.net/error-reporting

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



[PHP] php_w32api.dll ... fatal error

2003-10-21 Thread jon
When trying to run the following script, it returns the following error
...Fatal error: Call to undefined function: w32api_register_function()
Does this w32api extension work?

// Define constants needed, taken from
// Visual Studio/Tools/Winapi/WIN32API.txt
define(MB_OK, 0);

// Load the extension in
dl(php_w32api.dll);

// Register the GetTickCount function from kernel32.dll
w32api_register_function(kernel32.dll,
  GetTickCount,
 long);

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



Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread Jason Wong
On Tuesday 21 October 2003 13:55, Binay wrote:

 How can I configure the session to get destroyed, if not being used from
 past 10 mins.

Sessions are destroyed automatically. You set the session life-time in php.ini 
with session.gc_maxlifetime.

If you want to force the issue, then you'll probably have to check the session 
files yourself (assuming you're using the default session handler), which 
means you'll have to check the filemtime() of each of the session files and 
delete those older than 10 minutes.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Vote anarchist.
*/

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



RE: [PHP] Test Connection - fsockopen()

2003-10-21 Thread Jason Williard
Thank you.  That worked perfectly.

Jason

-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2003 12:34 AM
To: Jason Williard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Test Connection - fsockopen()

Hi,

Tuesday, October 21, 2003, 5:04:14 PM, you wrote:
JW I am trying to create a remote status page for my website.  So far,
I 
JW have found the fsockopen() function and used the example code to
create 
JW the following basic script:

JW ?php
JW $fp = fsockopen (xxx.xxx.xxx.xxx, 80, $errno, $errstr, 30);
JW if (!$fp) {
JW  echo Down\n;
JW }
JW else{
JW  echo Up\n;
JW  fclose ($fp);
JW }
?

JW While this works when the server is UP, I get the following error
when 
JW it is down along with the 'Down' output:

JW Warning: fsockopen(): php_hostconnect: connect failed in 
JW //public_html/status/test.php on line 2

JW Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx:80 in 
JW //public_html/status/test.php on line 2
JW Down

JW Can anyone help me out here?

JW Thanks,
JW Jason Williard


change your call to   @fsockopen() which will tell it to ignore errors

-- 
regards,
Tom

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



Re: [PHP] mailing labels from databases

2003-10-21 Thread Marek Kilimajer


Dennis Gearon wrote:
I'm on digest, please CC me.

Is it possible to set postions of characters, lines, tables, etc in PDF 
via:
   pixels
no

   page percentages
yes

   absolute distances
yes

using PHP?

and www.fpdf.org

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


Re: [PHP] Launch Print Dialog Box with PHP?

2003-10-21 Thread [-^-!-%-

So you're to blame for him going after my head.

Well, at least who's doing the crowning :-)

-john


 Web Developement. Database. Hosting. Multimedia.

On Mon, 20 Oct 2003, John Nichel wrote:

 [-^-!-%- wrote:
  J Holmes,
 
  I don't know who, or what, crown you king of this list.

 I crowned him king.  I was tired of wearing that big heavy thing on my head.

 --
 By-Tor.com
 It's all about the Rush
 http://www.by-tor.com

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


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



[PHP] run PHP script in clean memory space

2003-10-21 Thread Honza Malik
Hi,

I want to give administrators of our CMS the possibility to use PHP commands
in HTML templates. Templates are parsed by our PHP script.

The problem is, that I don't want administrators to be able to list our
$GLOBALS (where is database password) or call our functions. Is there the
possibility to run administrator's PHP code (from our PHP) in clean
environment? Other solution?

   Thanks,
 Honza

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



[PHP] seems like magic_quotes_gpc is turning itsself on!

2003-10-21 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,

I have a strange problem with one of the sites i work on and provide
support for. I the following block of code that checks to see if
magic_quotes_gpc is enabled and if it is it dies with an error message:
if((integer)ini_get('magic_quotes_gpc')!=0){
~debug('Magic Quotes GPC is currently active. Please disable.');
}
The debug functoin just displays a sorry message on the browser and
emails the description and the serialized $GLOBALS variable back to me.
in the php.ini i have the following:

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
Now every so often say at most 1 in 100 hits a user will see the sorry
screen and i get a call back email and every time its the same issue
'Magic Quotes GPC is currently active. Please disable.'
Anybody have any ideas on where to look?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/lP+zzSfrYDJMXmERAsiiAJ47tIqPJAnleJ8IuWNqsiStD7lOwgCfcO2n
ooo0+PKIf5T96UoWcqIQVWc=
=hIFY
-END PGP SIGNATURE-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] The page cannot be displayed error

2003-10-21 Thread Sudheer Palaparambil
Hi,

 I am calling insert_user.php like this

form method=post name=form action=insert_user.php onsubmit=return 
verifyIt(this);

 This file and the index.php are kept in the same directory. But the 
browser returns

 The page cannot be displayed error

 Where should I keep the insert_user.php

 Please help

Thank you.

_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Search 
from 7 lakh Brides  Grooms.

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


Re: [PHP] run PHP script in clean memory space

2003-10-21 Thread Marek Kilimajer
The only way I can see is exec('php ...');

Honza Malik wrote:
Hi,

I want to give administrators of our CMS the possibility to use PHP commands
in HTML templates. Templates are parsed by our PHP script.
The problem is, that I don't want administrators to be able to list our
$GLOBALS (where is database password) or call our functions. Is there the
possibility to run administrator's PHP code (from our PHP) in clean
environment? Other solution?
   Thanks,
 Honza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] The page cannot be displayed error

2003-10-21 Thread Marek Kilimajer
Try it with another browser and not IE to get a more meaningfull error 
message.

Sudheer Palaparambil wrote:
Hi,

 I am calling insert_user.php like this

form method=post name=form action=insert_user.php 
onsubmit=return verifyIt(this);

 This file and the index.php are kept in the same directory. But the 
browser returns

 The page cannot be displayed error

 Where should I keep the insert_user.php

 Please help

Thank you.

_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 
Search from 7 lakh Brides  Grooms.

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


Re: [PHP] [cli] ^D

2003-10-21 Thread Decapode Azur
  Is there a way, for a cli script, to detect Ctrl_D or Ctrl_Z ?
[...]
 Take a look at pcntl functions, namely pcntl_signal.
 But this extension is not enabled by default.

Ok thanks a lot.

Will those functions be integrated in the next main release?
This question is just to know if I distribute such a php script,
will allways the users have to recompile PHP to use it?

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



Re: [PHP] The page cannot be displayed error

2003-10-21 Thread Sudheer Palaparambil
Hi,

 I tried Opera, it showed the following error.

 The page cannot be displayed
 The page you are looking for cannot be displayed because the page 
address is incorrect.

 Please try the following:
 If you typed the page address in the Address bar, check that it is 
entered correctly.

 Open the www.etooss.com home page and then look for links to the 
information you want.
 HTTP 405 - Resource not allowed
 Internet Information Services

 Technical Information (for support personnel)
 More information:
 Microsoft Support
Sudheer

From: Marek Kilimajer [EMAIL PROTECTED]
To: Sudheer Palaparambil [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] The page cannot be displayed error
Date: Tue, 21 Oct 2003 11:53:59 +0200
Try it with another browser and not IE to get a more meaningfull error 
message.

Sudheer Palaparambil wrote:
Hi,

 I am calling insert_user.php like this

form method=post name=form action=insert_user.php onsubmit=return 
verifyIt(this);

 This file and the index.php are kept in the same directory. But the 
browser returns

 The page cannot be displayed error

 Where should I keep the insert_user.php

 Please help

Thank you.

_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 
Search from 7 lakh Brides  Grooms.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


Re: [PHP] The page cannot be displayed error

2003-10-21 Thread Marek Kilimajer
Hi,

Please post your replies to the list. You will have a much higher chance 
to get help. For example I can't help you now because this seems to be 
configuration error with IIS server and I don't know nothing about IIS. 
Search the web for HTTP 405 - Resource not allowed, this page seems to 
have one possible answer: http://forums.devshed.com/archive/5/2002/4/4/34093

Sudheer Palaparambil wrote:
Hello

  I tried Opera, it showed

The page cannot be displayed
The page you are looking for cannot be displayed because the page 
address is incorrect.

Please try the following:
If you typed the page address in the Address bar, check that it is 
entered correctly.

Open the www.etooss.com home page and then look for links to the 
information you want.
HTTP 405 - Resource not allowed
Internet Information Services

Technical Information (for support personnel)
More information:
Microsoft Support
Please help

Thank you.

Sudheer




From: Marek Kilimajer [EMAIL PROTECTED]
To: Sudheer Palaparambil [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] The page cannot be displayed error
Date: Tue, 21 Oct 2003 11:53:59 +0200
Try it with another browser and not IE to get a more meaningfull error 
message.

Sudheer Palaparambil wrote:

Hi,

 I am calling insert_user.php like this

form method=post name=form action=insert_user.php 
onsubmit=return verifyIt(this);

 This file and the index.php are kept in the same directory. But the 
browser returns

 The page cannot be displayed error

 Where should I keep the insert_user.php

 Please help

Thank you.

_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 
Search from 7 lakh Brides  Grooms.


_
Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 
Search from 7 lakh Brides  Grooms.



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


Re: [PHP] The page cannot be displayed error

2003-10-21 Thread Marek Kilimajer
I am sorry, I did not mean to offend you. Your reply from the list was late.

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


Re: [PHP] Launch Print Dialog Box with PHP?

2003-10-21 Thread CPT John W. Holmes
From: [-^-!-%- [EMAIL PROTECTED]
 If you must answer, to satisfy
 you own urges, then a simple NO would suffice.

The answer is No, then. Try not to take things so personally; I'm not here
to get you

---John Holmes...

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



Re: [PHP] Read a file, extract and echo some information

2003-10-21 Thread PHP Webmaster

Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
PHP Webmaster mailto:[EMAIL PROTECTED]
on Monday, October 20, 2003 4:36 PM said:

 As you can see, the above code will not work as the $title variable
 has not been set yet. So, I need a way of opening up the home.php
 file, extracting the line containing the $title variable and putting
 that information inbetween the title/title tags.

In that case do it backwards:


index.php:

?php

$title = page title;


include header.php;

echo pWelcome to the home page of our website./p\n
.pBlah, blah and more blah!/p\n;

include footer.php;


?

header.php:

html
head
title?php echo $title; ?/title
/head
body


footer.php:

/body
/html


Hope this helps!!


Chris.

--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

The above would work OK, but in the index.php file, where I have:

?php
require(home.php);
?

The required file will be changing all the time, that's why I want to set
the title in the individual pages and get the main page to read that
information.

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



Re: [PHP] seems like magic_quotes_gpc is turning itsself on!

2003-10-21 Thread CPT John W. Holmes
From: William Bailey [EMAIL PROTECTED]

 I have a strange problem with one of the sites i work on and provide
 support for. I the following block of code that checks to see if
 magic_quotes_gpc is enabled and if it is it dies with an error message:

 if((integer)ini_get('magic_quotes_gpc')!=0){
 ~debug('Magic Quotes GPC is currently active. Please disable.');
 }

 The debug functoin just displays a sorry message on the browser and
 emails the description and the serialized $GLOBALS variable back to me.

 in the php.ini i have the following:

 ; Magic quotes for incoming GET/POST/Cookie data.
 magic_quotes_gpc = Off

 Now every so often say at most 1 in 100 hits a user will see the sorry
 screen and i get a call back email and every time its the same issue
 'Magic Quotes GPC is currently active. Please disable.'

Is it only for certain pages or random ones? Examing $GLOBALS doesn't give
any clues, I presume? Nothing strange in the query string, etc?

---John Holmes...

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



Re: [PHP] The page cannot be displayed error

2003-10-21 Thread CPT John W. Holmes
From: Sudheer Palaparambil [EMAIL PROTECTED]
   I am calling insert_user.php like this

 form method=post name=form action=insert_user.php onsubmit=return
 verifyIt(this);

   This file and the index.php are kept in the same directory. But the
 browser returns

   The page cannot be displayed error

   Where should I keep the insert_user.php

The files are in the right place. You may not be able to use POST, try GET
for your form method and see if that works.

---John Holmes...

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



Re: [PHP] data type conversion in mysql using php

2003-10-21 Thread CPT John W. Holmes
From: Uma Shankari T. [EMAIL PROTECTED]
Is it possible to update the float value of mysql to varchar field by
 using php ??

mysql_query('ALTER TABLE MyTable CHANGE COLUMN old_column_name
new_column_name VARCHAR(25)');

---John Holmes...

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



RE: [PHP] The page cannot be displayed error

2003-10-21 Thread Fernando Melo


Is there perhaps a redirect in the insert_user.php? If so, that could be the
problem.

-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] 
Sent: 21 October 2003 13:31
To: Sudheer Palaparambil; [EMAIL PROTECTED]
Subject: Re: [PHP] The page cannot be displayed error

From: Sudheer Palaparambil [EMAIL PROTECTED]
   I am calling insert_user.php like this

 form method=post name=form action=insert_user.php onsubmit=return
 verifyIt(this);

   This file and the index.php are kept in the same directory. But the
 browser returns

   The page cannot be displayed error

   Where should I keep the insert_user.php

The files are in the right place. You may not be able to use POST, try GET
for your form method and see if that works.

---John Holmes...

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

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



[PHP] php code

2003-10-21 Thread Uma Shankari T.

Hello,

  Actually i have created the field type as varchar..i am need to insert
some decimal values in that varchar field and use that values for
calculation...so it is possible to store the float value eventhough i
specified as varchar ?..and also i can use that values for calculation ??


Regards,
Uma

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



Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread CPT John W. Holmes
From: Binay [EMAIL PROTECTED]

 How can I configure the session to get destroyed,
 if not being used from past 10 mins.

If you're using the default session handler, the session files are cleaned
up after not being used for 1440 seconds (by default), and the session is
basically destroyed. You can adjust the session.gc_maxlifetime setting in
php.ini to adjust the time.

This time isn't exact, though. The cleanup process is based upon a
probability that is 1% by default. That means the process has a 1% chance of
being started when there is a request to your site. So the files may be
older than 1440 seconds and just waiting for the garbage collection process
to be initiated.

If you need it to be exactly 10 minutes of inactivity, the best method is to
just store the time of the last request as a session variable and do the
checking yourself upon each request. If the last request was more than 10
minutes ago, then handle it accordingly.

---John Holmes...

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



[PHP] Run PHP process on receipt of file

2003-10-21 Thread Jay Blanchard
This is more than likely OT, but I am hoping that someone has seen
something like this. I am in of need something that will monitor a
directory for file receipts and execute a PHP script on each file as it
is received. A small daemon of some sort. I am STFW I we 'speak', but
this group knows so much that

A little more in-depth...
We receive several hundred XML files each day that describe groups of
services. I want/need to process each of those XML files in 'real-time'
as they are received. For reasons too numerous to go into I cannot use a
frequently running CRON job for this. Each file comes in via an FTP
process started by the sender, I need to see the file when it is
complete and then process it via the PHP script. So, the daemon would
'see' the completion of the file's arrival and would then call the
appropriate PHP script.

Can anyone point me in the right direction?

TVMIA!

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



[PHP] [Newbie Guide] For the benefit of new members

2003-10-21 Thread Ma Siva Kumar
=
This message is for the benefit of new subscribers and those new to PHP.  
Those who  do not want to be bothered just filter out the [Newbie Guide] 
mails. Please feel free to add more points and send to the list.
==
1. If you have any queries/problems about PHP try http://www.php.net/manual/en 
first. You can download a copy and use it offline also. 

You can also try http://www.php.net/manual/faq.php to get answers to 
frequently answered questions about PHP (added by Christophe Chisogne).

2. Try http://www.google.com next. Try searching for php YOUR QUERY and you 
may be lucky to get an answer within the first 10 results.

3. Glancing through the list archive at 
http://marc.theaimsgroup.com/?l=php-general , you can find many of the 
common topics discussed repeatedly and can get your answer from those 
discussions. 

4. If you are stuck with a script and do not understand what is wrong, instead 
of posting the whole script, try doing some research yourself. One useful 
trick is to print the variable/sql query using print or echo command and 
check whether you get what you expected. 

After diagnosing the problem, send the details of your efforts (following 
steps 1, 2  3) and ask for help.

5. Provide a clear descriptive subject line. Avoid general subjects like 
Help!!, A Question etc.  Especially avoid blank subjects. 

6. When you want to start a new topic, open a new mail and enter the mailing 
list address [EMAIL PROTECTED] instead of replying to an existing 
thread and replacing the subject and body with your message.

7. PHP is a server side scripting language. Whatever processing PHP does takes 
place BEFORE the output reaches the client. Therefore, it is not possible to 
access the users'  computer related information (OS, screen size etc) using 
PHP. You need to go for JavaScript and ask the question in a JavaScript 
list.

8. It's always a good idea to post back to the list once you've solved
your problem. People usually add [SOLVED] to the subject line of their
email when posting solutions. By posting your solution you're helping
the next person with the same question. [contribued by Chris W Parker]

9. Ask smart questions http://catb.org/~esr/faqs/smart-questions.html
[contributed by Jay Blanchard)

10. One of the repeatedly discussed question in the list is Best PHP editor. 
Everyone has his/her favourite editor. You can get all the opinions by going 
through the list archives. If you want a list try this link : 
http://phpeditors.linuxbackup.co.uk/ (contributed by Christophe Chisogne).

Hope you have a good time programming with PHP.

Best regards,
-- 
Integrated Management Tools for leather industry
--
http://www.leatherlink.net

Ma Siva Kumar,
BSG LeatherLink (P) Ltd,
Chennai - 600106

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



RE: [PHP] php code

2003-10-21 Thread Jay Blanchard
[snip]
  Actually i have created the field type as varchar..i am need to insert
some decimal values in that varchar field and use that values for
calculation...so it is possible to store the float value eventhough i
specified as varchar ?..and also i can use that values for calculation
??
[/snip]

This is more of a SQL question, but the short answer (with PHP) is yes,
you can use 'values' stored in varchar fields for calculation in PHP.
You may have to retrieve the value from the DB and then cast it to your
liking. See http://www.php.net/settype (it may be set_type, I am working
on less than one cup of coffee this morning thus far.

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



[PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Tristan . Pretty
Hi all...
I have a form that captures data, before then showing a few download 
links...
However, If the user is in our office, I want to bypass the form...
so at the very top of my page, I've put this...
(details_captured is my variable I use on the form as a hidden field, to 
confirm that the form has been submitted)

if ($REMOTE_ADDR == '111.222.333.444') {
$_SESSION['details_captured'] == FALSE;
$_SESSION['details_captured'] == yes;
}

reset the session variable:
$_SESSION['details_captured'] == FALSE;

Re-asign it to yes:
$_SESSION['details_captured'] == yes;

I'm new to sessions, but to me, this should work.. yet it doesn't..?
(Naturally, I've used an easy to read IP for this example)

*
The information contained in this e-mail message is intended only for 
the personal and confidential use of the recipient(s) named above.  
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby 
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is 
strictly prohibited. If you have received this communication in error, 
please notify us immediately by e-mail, and delete the original message.
***



Re: [PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Jon Haworth
Hi Tris,

 reset the session variable:
 $_SESSION['details_captured'] == FALSE;

 Re-asign it to yes:
 $_SESSION['details_captured'] == yes;

You're using ==, which is the comparison operator - give it a go with just a
single = instead.

Cheers
Jon

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



[PHP] Re: php_w32api.dll ... fatal error

2003-10-21 Thread DvDmanDT
One of the notes tells you about how to use it... It is somewhat changed
from what the documentation says...

$api = new win32;

$api-definetype(MEMORYSTATUS {
long dwLength;
long dwMemoryLoad;
long dwTotalPhys;
long dwAvailPhys;
long dwTotalPageFile;
long dwAvailPageFile;
long dwTotalVirtual;
long dwAvailVirtual;
});
$api-registerfunction(long GlobalMemoryStatus (MEMORYSTATUS a) From
kernel32.dll);
$api-registerfunction(long memstat_phys (long a1,long a2) From
w32apitest.dll);
$api-registerfunction(long memstat_pf (long a1,long a2) From
w32apitest.dll);
$api-registerfunction(long cool (MEMORYSTATUS a1) From w32apitest.dll);
$a=$api-InitType(MEMORYSTATUS);
$api-GlobalMemoryStatus($a); // call a w32api function


-- 
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
Jon [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
 When trying to run the following script, it returns the following error
 ...Fatal error: Call to undefined function:
w32api_register_function()
 Does this w32api extension work?

 // Define constants needed, taken from
 // Visual Studio/Tools/Winapi/WIN32API.txt
 define(MB_OK, 0);

 // Load the extension in
 dl(php_w32api.dll);

 // Register the GetTickCount function from kernel32.dll
 w32api_register_function(kernel32.dll,
   GetTickCount,
  long);

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



Re: [PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Marek Kilimajer
$_SESSION['details_captured'] = yes;

single =, and there is no need to reset the session variable.

[EMAIL PROTECTED] wrote:
Hi all...
I have a form that captures data, before then showing a few download 
links...
However, If the user is in our office, I want to bypass the form...
so at the very top of my page, I've put this...
(details_captured is my variable I use on the form as a hidden field, to 
confirm that the form has been submitted)

if ($REMOTE_ADDR == '111.222.333.444') {
$_SESSION['details_captured'] == FALSE;
$_SESSION['details_captured'] == yes;
}
reset the session variable:
$_SESSION['details_captured'] == FALSE;
Re-asign it to yes:
$_SESSION['details_captured'] == yes;
I'm new to sessions, but to me, this should work.. yet it doesn't..?
(Naturally, I've used an easy to read IP for this example)
*
The information contained in this e-mail message is intended only for 
the personal and confidential use of the recipient(s) named above.  
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby 
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is 
strictly prohibited. If you have received this communication in error, 
please notify us immediately by e-mail, and delete the original message.
***


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


[PHP] ob_get_length() returns uncompressed buffer length (after ob_start('ob_gzhandler'))

2003-10-21 Thread daniel hahler
Hello PHP,

I found this small demonstration code on the net, that shows it really
good.

?php
ob_start('ob_gzhandler');

print aa; // 30 a's
print bb; // 30 b's
print aa; // 30 a's

header('Content-Length: '.ob_get_length());
ob_end_flush();
?

Call it with:
wget --header=Accept-Encoding: gzip --header=Connection: close -S 
http://localhost/test.php

on php-bugs I found that this is defined as bogus, as the
compression takes place after all output is collected.

But I did not find an answer, how to correct this.. - using
ob_implicit_flush(); did also not help.


-- 
shinE!
http://www.thequod.de ICQ#152282665
PGP 8.0 key: http://thequod.de/danielhahler.asc

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



Re: [PHP] seems like magic_quotes_gpc is turning itsself on!

2003-10-21 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It can be on any page.

The magic_quotes_gpc check takes place in a settings.php file which is
always the first thing included for every php page for this site. It has
a number of define statements and a few other includes and thats about
it. No database connections or anything else apart from class and
function declarations have taken place.
CPT John W. Holmes wrote:

| From: William Bailey [EMAIL PROTECTED]
|
|I have a strange problem with one of the sites i work on and provide
|support for. I the following block of code that checks to see if
|magic_quotes_gpc is enabled and if it is it dies with an error message:
|
|if((integer)ini_get('magic_quotes_gpc')!=0){
|~debug('Magic Quotes GPC is currently active. Please disable.');
|}
|
|The debug functoin just displays a sorry message on the browser and
|emails the description and the serialized $GLOBALS variable back to me.
|
|in the php.ini i have the following:
|
|; Magic quotes for incoming GET/POST/Cookie data.
|magic_quotes_gpc = Off
|
|Now every so often say at most 1 in 100 hits a user will see the sorry
|screen and i get a call back email and every time its the same issue
|'Magic Quotes GPC is currently active. Please disable.'
|
|
| Is it only for certain pages or random ones? Examing $GLOBALS doesn't give
| any clues, I presume? Nothing strange in the query string, etc?
|
| ---John Holmes...
|
|
- --
Regards,
William Bailey.
Pro-Net Internet Services Ltd.
http://www.pro-net.co.uk/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/lR68zSfrYDJMXmERArIOAKCW7GgGw1+tp6q+mNNEY3tBtA0hAACgx0mD
8YVju4wwttUPFJtBz+EBwJk=
=xVnS
-END PGP SIGNATURE-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread Binay
Thanks alo...
Is it possible to increase the probability which is by default 1% to 99 %
and make sure that session are destroyed after 10 mins by setting
session.gc_maxlifetime to 600.

Binay
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Binay [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 5:08 PM
Subject: Re: [PHP] Destroying session if not being used from past 10 mins.


 From: Binay [EMAIL PROTECTED]

  How can I configure the session to get destroyed,
  if not being used from past 10 mins.

 If you're using the default session handler, the session files are cleaned
 up after not being used for 1440 seconds (by default), and the session is
 basically destroyed. You can adjust the session.gc_maxlifetime setting in
 php.ini to adjust the time.

 This time isn't exact, though. The cleanup process is based upon a
 probability that is 1% by default. That means the process has a 1% chance
of
 being started when there is a request to your site. So the files may be
 older than 1440 seconds and just waiting for the garbage collection
process
 to be initiated.

 If you need it to be exactly 10 minutes of inactivity, the best method is
to
 just store the time of the last request as a session variable and do the
 checking yourself upon each request. If the last request was more than 10
 minutes ago, then handle it accordingly.

 ---John Holmes...

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



Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread CPT John W. Holmes
From: Binay [EMAIL PROTECTED]

 Is it possible to increase the probability which is by default 1% to 99 %
 and make sure that session are destroyed after 10 mins by setting
 session.gc_maxlifetime to 600.

I wouldn't recommend that, but you could. The setting to 600 is fine, but I
wouldn't adjust the probability.

Like I said, if you need a hard and fast 10 minute rule, then keep track of
the time yourself within your session.

$_SESSION['last_access'] = time();

If the session variable doesn't exist or it's been over 10 minutes (600
seconds) since the last access, then make them log in again or whatever.

---John Holmes...

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



[PHP] HTTP 405 - Resource not allowed error

2003-10-21 Thread Sudheer Palaparambil
Hi,

form method=post name=form action=insert_user.php onsubmit=return 
verifyIt(this);

  This file and the index.php are kept in the same directory. But the
  browser returns
 I tried  GET also, but not inserting the data to mysql db.

This is my insert_user.php

*-
html
body
?
$sFName = AddSlashes( $_POST['first_name'] );
$sLName = AddSlashes( $_POST['last_name'] );
$sEMail = AddSlashes( $_POST['e_mail'] );
mysql_connect( localhost, dbuser, dbpwd ) or die( Failure );
mysql_select_db( users );
$query = INSERT INTO users( fname, lname, email, comments )
 VALUES ( '$sFName', '$sLName', '$sEMail', '$sComments' );
$result = mysql_query( $query ) or die ( Unable to insert user.. );
mysql_close( users );
header( Location:index.php );
?
/body
/html
*
 Thank you.

Sudheer

_
He's the fastest Indian.He's Narain Karthikeyan. 
http://server1.msn.co.in/sp03/tataracing/index.asp Will he make it to F1?

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


Re: [PHP] HTTP 405 - Resource not allowed error

2003-10-21 Thread David Otton
On Tue, 21 Oct 2003 18:22:26 +0530, you wrote:

form method=post name=form action=insert_user.php onsubmit=return 
verifyIt(this);

   This file and the index.php are kept in the same directory. But the
   browser returns

405 is Method Not Allowed. My first guess would be that your web server
won't allow you to do POSTs to that resource.

If Apache, check httpd.conf or .htaccess within the directory. In any case,
not a PHP problem.

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



[PHP] Re: Using two XSLT stylesheets

2003-10-21 Thread rich
Aha!

I've worked out a (better?) way of doing:
?
parse_str($_SERVER['QUERY_STRING']);
$params = array(keywords = $keywords);

$library_xml_file = library.xml;
$search_xsl_file = simple-search.xsl;
$display_xsl_file = display-results.xsl;

$library_xml_string = join('', file($library_xml_file));
$search_xsl_string = join('', file($search_xsl_file));
$display_xsl_string = join('', file($display_xsl_file));

$arg_buffer = array(/xml = $library_xml_string, /xslt =
$search_xsl_string);

$xh = xslt_create();

$results_xml_string = xslt_process($xh, arg:/xml, arg:/xslt, NULL,
$arg_buffer, $params);
xslt_free($xh);

$arg_buffer = array(/xml = $results_xml_string, /xslt =
$display_xsl_string);

$xh = xslt_create();

$results_html_string = xslt_process($xh, arg:/xml, arg:/xslt, NULL,
$arg_buffer);
echo $results_html_string;
xslt_free($xh);
?

Thanks for all your suggestions!
-- 
Rich.
UEA/MUS::Record Library

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



Re: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
The it that you were asking about was the server.  The javascript file is
actually a PHP file that produces the JavaScript that I need.  I only have
one access to a database and a while loop to generate the code.  Here is the
code pieces:

[code]
// already connected to the db
$sql = SELECT * FROM Customers ORDER BY LastName ASC, FirstName ASC;
$result = mysql_query($sql) or die(mysql_error());

while($row = mysql_fetch_assoc($result)) {
// generate the javascript
}
[/code]

The customer database can get potentially large so that this file could take
a while to generate.  Currently there are only 300 records but I anticipate
many more.  Does anyone have any recommendations that might speed this up?

Josh

- Edwin - [EMAIL PROTECTED] wrote:
  Does anybody know how I can make force a javascript file (written in
  PHP) to be cached if the user agent allows it?
 
  Here is the situation:
  I am creating a dropdown menu system that contains a customer list,
  loaded from a database.  This list is written to the javascript file
  for the menu. The menu can be quite large as the data grows.  What I
  would like to do, is force it to be cached (unless of course the
  user agent doesn't allow it) so that it doesn't have to make the
  call to generate the file each time.

 What is the second it in the last sentence above? A browser wouldn't
 make the call to generate the javascript file each time.

  I have searched through the php.net website and even through the
  HTTP/1.1 protocols.  I am continuing to look, but have not found a
  definite answer as to whether or not what I am trying to do is
  possible.

 Just make sure that the javascript is on a separate file (i.e.
 whatever.js) and that it's NOT being generated by your (php) script
 each time. Then, call that file from inside your html/php page.

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



Re: [PHP] run PHP script in clean memory space

2003-10-21 Thread Eugene Lee
On Tue, Oct 21, 2003 at 02:48:09AM +0200, Honza Malik wrote:
: 
: I want to give administrators of our CMS the possibility to use PHP commands
: in HTML templates. Templates are parsed by our PHP script.
: 
: The problem is, that I don't want administrators to be able to list our
: $GLOBALS (where is database password) or call our functions. Is there the
: possibility to run administrator's PHP code (from our PHP) in clean
: environment? Other solution?

PHP doesn't really have the concept of a safe interpreter.  The next
best thing is to take a look at PHP's safe mode stuff and see what you
can tweek:

http://www.php.net/manual/en/features.safe-mode.php

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



[PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Hello Everyone--

I wanted to let you know about a new initiative that php|architect has 
launched: the Searchable PHP Mailing List Archive, which can be found at 
http://phparch.com/mailinglists.

This is a fully searchable archive of the PHP mailing lists with an 
attempt to build proper threading, keyword highlight, automatic quoted 
text indentation and a few other features.

It's still a bit experimental, and some features don't work as best as 
they could. However, it should be fairly functional, and the full-text 
search engine can be helpful if you're looking for fast answers to 
problems that are often asked on the mailing lists. It's there for 
everyone to try, and please feel free to drop me a note if you think 
something doesn't quite work the way it should or if you have ideas 
about possible enhancement. At the present time, one of the things we're 
working on is filtering the messages trough SpamAssassin and allowing 
for the possibility to exclude messages marked as spam from the search 
results.

We built our archive because we found it difficult to find a good search 
resource dedicated only to the PHP mailing lists. I hope it will help 
you, as well.

Cheers,

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


[PHP] Re: Read a file, extract and echo some information

2003-10-21 Thread rush
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Anyway, the following code is inside of home.php:
 As you can see, the above code will not work as the $title variable has
not
 been set yet. So, I need a way of opening up the home.php file, extracting
 the line containing the $title variable and putting that information
 inbetween the title/title tags.

I do not completely get why are you doing things the way you are doing and
what exactly you tra to accomplish, but I guess you could have home-head.php
that defines the varibale, and include that before you use title variable.

But it seems to me that in the longer run you could consider some php
template system to approach such problems.

rush
--
http://www.templatetamer.com/

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread CPT John W. Holmes
From: Marco Tabini [EMAIL PROTECTED]

 This is a fully searchable archive of the PHP mailing lists with an
 attempt to build proper threading, keyword highlight, automatic quoted
 text indentation and a few other features.

Everyone go check it out. The thread view and highlighting really make the
search results useful. You can never have to many archives; now if we can
just get people (new people) using them. ;)

Ma Siva Kumar,
Any chance you can add this to the [Newbie Guide] you regularly send out?

Thanks,

---John Holmes...

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Miles Thompson
V. nice.
All the more importnat ot NOT HIJAC threads.
Miles
At 10:07 AM 10/21/2003 -0400, Marco Tabini wrote:
Hello Everyone--

I wanted to let you know about a new initiative that php|architect has 
launched: the Searchable PHP Mailing List Archive, which can be found at 
http://phparch.com/mailinglists.

This is a fully searchable archive of the PHP mailing lists with an 
attempt to build proper threading, keyword highlight, automatic quoted 
text indentation and a few other features.

It's still a bit experimental, and some features don't work as best as 
they could. However, it should be fairly functional, and the full-text 
search engine can be helpful if you're looking for fast answers to 
problems that are often asked on the mailing lists. It's there for 
everyone to try, and please feel free to drop me a note if you think 
something doesn't quite work the way it should or if you have ideas about 
possible enhancement. At the present time, one of the things we're working 
on is filtering the messages trough SpamAssassin and allowing for the 
possibility to exclude messages marked as spam from the search results.

We built our archive because we found it difficult to find a good search 
resource dedicated only to the PHP mailing lists. I hope it will help you, 
as well.

Cheers,

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


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Curt Zirzow
* Thus wrote Marco Tabini ([EMAIL PROTECTED]):
 Hello Everyone--
 
 I wanted to let you know about a new initiative that php|architect has 
 launched: the Searchable PHP Mailing List Archive, which can be found at 
 http://phparch.com/mailinglists.
 
 This is a fully searchable archive of the PHP mailing lists with an 
 attempt to build proper threading, keyword highlight, automatic quoted 
 text indentation and a few other features.

sweet.  Mabey we could get my graphs attached in there somehow too ;)

 We built our archive because we found it difficult to find a good search 
 resource dedicated only to the PHP mailing lists. I hope it will help 
 you, as well.

I always have trouble searching for stuff with theaimsgroup archive
as well. 

 
 Cheers,

Thanks!!


Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
  http://zirzow.dyndns.org/html/mlists/

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



RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Dan Joseph
Hi,
 
  I wanted to let you know about a new initiative that php|architect has 
  launched: the Searchable PHP Mailing List Archive, which can be 
 found at 
  http://phparch.com/mailinglists.

3 words... YOU DONE GOOD!

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
I always have trouble searching for stuff with theaimsgroup archive
as well. 
I know what you mean. Google is a good alternative, but they still can't 
tell between the word PHP and the extension PHP, so that the results 
aren't always relevant...

Cheers,

Marco

--

php|architect - The Magazine for PHP Professionals
Try us free at http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 10:07:28 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

 Hello Everyone--
 
 I wanted to let you know about a new initiative that php|architect has 
 launched: the Searchable PHP Mailing List Archive, which can be found at 
 http://phparch.com/mailinglists.
 
 This is a fully searchable archive of the PHP mailing lists with an 
 attempt to build proper threading, keyword highlight, automatic quoted 
 text indentation and a few other features.
 
 It's still a bit experimental, and some features don't work as best as 
 they could. However, it should be fairly functional, and the full-text 
 search engine can be helpful if you're looking for fast answers to 
 problems that are often asked on the mailing lists. It's there for 
 everyone to try, and please feel free to drop me a note if you think 
 something doesn't quite work the way it should or if you have ideas 
 about possible enhancement. At the present time, one of the things we're 
 working on is filtering the messages trough SpamAssassin and allowing 
 for the possibility to exclude messages marked as spam from the search 
 results.
 
 We built our archive because we found it difficult to find a good search 
 resource dedicated only to the PHP mailing lists. I hope it will help 
 you, as well.
 
 Cheers,
 
 
 Marco Tabini
 php|architect

Nice work, if the list admin would add a link to this archive in the footer (or
the header) it would be even useful for new subscribers who don't know of its
existence.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Nice work, if the list admin would add a link to this archive in the footer (or
the header) it would be even useful for new subscribers who don't know of its
existence.
Well, one of my original ideas was to have a process that would monitor 
php.general for new messages and send back an e-mail to the list with 
possible answers based on the message's contents. I'm not sure that 
would be a good idea, though :-)

Cheers,

Marco

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


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 10:42:25 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

  
  Nice work, if the list admin would add a link to this archive in the footer
  (or the header) it would be even useful for new subscribers who don't know of
  its existence.
  
 
 Well, one of my original ideas was to have a process that would monitor 
 php.general for new messages and send back an e-mail to the list with 
 possible answers based on the message's contents. I'm not sure that 
 would be a good idea, though :-)

I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a
different service than a mailing list. Challenging?


 
 Cheers,
 
 
 Marco
 
 
 



Regards, Andu Novac

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



[PHP] similar_text

2003-10-21 Thread Diana Castillo
does any one have an example of a function to search a database for similar
names and display them if the user inputs a name that is not found?

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



Re: [PHP] similar_text

2003-10-21 Thread Duncan
Diana Castillo said:
 does any one have an example of a function to search a database for similar
 names and display them if the user inputs a name that is not found?

Define 'similar names'.

Is Nadia similar to Nadine?
Is Nathan similar to Nadine?

How long is a piece of string?

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



[PHP] search by keyword

2003-10-21 Thread Redmond Militante
hi all

i'm trying to add a 'search by keyword' text field to a search page.  the 'search by 
keyword' search field should allow users to enter a comma delimited string containing 
a list of keywords to search the database for.

on the search_results page, what happens is:
-i use explode() to break the comma-delimited string down into array elements, and 
count() to count the number of array elements
-then i use a for loop to cycle through the list of array elements and run a sql query 
to search through a table for any matches to a particular array element.  the for loop 
looks like

//for loop that cycles through elements in an array, and searching through a mys
ql table for matches
for($j=0; $j$count_elements; $j++)
{$sql.=and columnname like '%keywords[$j]%' or columnname2 like '%keywords[$j]'
 or columnname3 like '%keywords[$j]%'...';}

i think this is technically working, since it's not giving me any errors, however it 
basically slows down searches to the point of unusability.

i'm not entirely sure if my methodology in this case is the most efficient way to 
accomplish this particular task.  if anyone can give any pointers, i'd appreciate it.

thanks
redmond

-- 
FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003
10:30AM  up 7 days,  2:11, 5 users, load averages: 1.01, 1.02, 1.00
 
Speak softly and own a big, mean Doberman.
-- Dave Millman
 


pgp0.pgp
Description: PGP signature


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a
different service than a mailing list. Challenging?
What did you have in mind exactly? How is the FAQ served?

Marco

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


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread - Edwin -
Hi,

On 2003.10.21, at 23:42 Asia/Tokyo, Marco Tabini wrote:

Nice work, if the list admin would add a link to this archive in the 
footer (or
the header) it would be even useful for new subscribers who don't 
know of its
existence.
Well, one of my original ideas was to have a process that would 
monitor php.general for new messages and send back an e-mail to the 
list with possible answers based on the message's contents. I'm not 
sure that would be a good idea, though :-)
Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, 
but...

I wonder how you'd deal with new messages/posts/questions which:
1. Real people don't even understand, and
2. Real posters don't even understand what they're asking.
;)

- E -

PS
Nice work, btw!
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] cache control with javascript

2003-10-21 Thread - Edwin -
On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote:

The it that you were asking about was the server.  The javascript 
file is
actually a PHP file that produces the JavaScript that I need.  I only 
have
one access to a database and a while loop to generate the code.  Here 
is the
code pieces:
...[snipped_code]...

The customer database can get potentially large so that this file 
could take
a while to generate.  Currently there are only 300 records but I 
anticipate
many more.  Does anyone have any recommendations that might speed this 
up?
Hmm... I think you missed the point earlier.

Here's the basic idea. Create/generate a separate file (whatever.js) 
[1] and make sure that this file is ONLY *updated* when necessary (e.g. 
updated database)[2]. Call this file inside your HTML head tags. [3] 
This way, the whatever.js will be cached whenever possible.

- E -

[1] Check the file functions in the manual (if you're not familiar with 
it already).
(http://www.php.net/manual/en/ref.filesystem.php)
[2] Tip: Have a separate php script that generates the whatever.js.
Use/run this script ONLY after you made an update to your database.
[3] Something like this:
  head
script src=/path/to/whatever.js language=javascript 
type=text/javascript/script
  /head

__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] similar_text

2003-10-21 Thread David Otton
On Tue, 21 Oct 2003 17:42:17 +0200, you wrote:

does any one have an example of a function to search a database for similar
names and display them if the user inputs a name that is not found?

Are you looking for SOUNDEX, perhaps?

http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=SOUNDEX+algorithm

PHP and MySQL both have soundex functions. There are other sounds like
algorithms out there (eg Metaphone).

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini


- Edwin - wrote:
Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, 
but...

I wonder how you'd deal with new messages/posts/questions which:
1. Real people don't even understand, and
2. Real posters don't even understand what they're asking.
Well, that's, of course, a problem. In the best case scenario, the 
search engine will recognize the patterns and provide meaningful 
suggestions. In the worst case scenario, it won't return anything useful.

Still, it might be worth a try. The system could send only the top ten 
search results. The problem is that the results should be mailed to the 
list so that others could tell whether they satisfy the question, but 
I'm afraid that would become annoying.

The truth, however, is that there is a lot of repetition in the 
questions that are asked here and a simple search through the archives 
would answer many questions directly--keeping the list a bit cleaner and 
easier to follow, IMO.

;)

- E -

PS
Nice work, btw!
Thanks :-)

Cheers,

Marco

__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 11:48:18 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

  
  I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a
  different service than a mailing list. Challenging?
  
 
 What did you have in mind exactly? How is the FAQ served?

Considering the enourmos amount of RTFM-like answers (which BTW should be filtered
out from searches)I came to believe that most issues have already been explored
but lots of questions from new users are more vague or extended for a simple
search engine, so something like what you proposed sounds like it would satisfy
that need except that users would have to subscribe to such a service as opposed
to having dynamically generated answers based on the archive replied automatically
to posts which could be confuzing. As to the protocol it could be either email or
http or both. Not exactly a FAQ but a more extended search engine. 

 
 
 Marco
 
 
 



Regards, Andu Novac

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread bigdog

 - Edwin - wrote:

 Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all,
  but...

 I wonder how you'd deal with new messages/posts/questions which: 1.
 Real people don't even understand, and
 2. Real posters don't even understand what they're asking.


 Well, that's, of course, a problem. In the best case scenario, the
 search engine will recognize the patterns and provide meaningful
 suggestions. In the worst case scenario, it won't return anything
 useful.

 Still, it might be worth a try. The system could send only the top ten
 search results. The problem is that the results should be mailed to the
  list so that others could tell whether they satisfy the question, but
 I'm afraid that would become annoying.

 The truth, however, is that there is a lot of repetition in the
 questions that are asked here and a simple search through the archives
 would answer many questions directly--keeping the list a bit cleaner
 and  easier to follow, IMO.

However, the only issue with that is that many users do not search the
archives, faqs, or internet for the answers before posting to the list.
This always seems the case. Many users are unaware of the ethics around
mailing lists.  Sometimes it is a result of the lack of knowledge that a
user has in searching.  And sometimes, even for myself, a lack of will to
search for the answer.

--
Ray

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



Re: [PHP] search by keyword

2003-10-21 Thread Larry E . Ullman
on the search_results page, what happens is:
-i use explode() to break the comma-delimited string down into array 
elements, and count() to count the number of array elements
-then i use a for loop to cycle through the list of array elements and 
run a sql query to search through a table for any matches to a 
particular array element.  the for loop looks like

//for loop that cycles through elements in an array, and searching 
through a mys
ql table for matches
for($j=0; $j$count_elements; $j++)
{$sql.=and columnname like '%keywords[$j]%' or columnname2 like 
'%keywords[$j]'
 or columnname3 like '%keywords[$j]%'...';}

i think this is technically working, since it's not giving me any 
errors, however it basically slows down searches to the point of 
unusability.
If you are using MySQL, look into FULL TEXT searches. MySQL 4 also has 
a binary mode which is pretty good. Make sure you've indexed your 
columns as well.
Larry

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


RE: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
That really helped, I didn't think about generating the file that way.  I
have done other things like that, but sometimes it just helps when you get
another set of eyes on the project at hand.  Thanks for the refresher.

Josh

-Original Message-
From: - Edwin - [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 11:56 AM
To: Joshua Minnie
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] cache control with javascript



On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote:

 The it that you were asking about was the server.  The javascript
 file is
 actually a PHP file that produces the JavaScript that I need.  I only
 have
 one access to a database and a while loop to generate the code.  Here
 is the
 code pieces:

...[snipped_code]...

 The customer database can get potentially large so that this file
 could take
 a while to generate.  Currently there are only 300 records but I
 anticipate
 many more.  Does anyone have any recommendations that might speed this
 up?

Hmm... I think you missed the point earlier.

Here's the basic idea. Create/generate a separate file (whatever.js)
[1] and make sure that this file is ONLY *updated* when necessary (e.g.
updated database)[2]. Call this file inside your HTML head tags. [3]
This way, the whatever.js will be cached whenever possible.

- E -

[1] Check the file functions in the manual (if you're not familiar with
it already).
 (http://www.php.net/manual/en/ref.filesystem.php)
[2] Tip: Have a separate php script that generates the whatever.js.
 Use/run this script ONLY after you made an update to your database.
[3] Something like this:
   head
 script src=/path/to/whatever.js language=javascript
type=text/javascript/script
   /head

__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Wed, 22 Oct 2003 00:52:53 +0900
- Edwin - [EMAIL PROTECTED] wrote:

 Hi,
 
 On 2003.10.21, at 23:42 Asia/Tokyo, Marco Tabini wrote:
 
  Nice work, if the list admin would add a link to this archive in the 
  footer (or
  the header) it would be even useful for new subscribers who don't 
  know of its
  existence.
 
  Well, one of my original ideas was to have a process that would 
  monitor php.general for new messages and send back an e-mail to the 
  list with possible answers based on the message's contents. I'm not 
  sure that would be a good idea, though :-)
 
 Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, 
 but...
 
 I wonder how you'd deal with new messages/posts/questions which:
 1. Real people don't even understand, and
 2. Real posters don't even understand what they're asking.

I think that's exactly where it's needed. At least some posters would get a chance
to figure out their questions and others to have their annoyed ones justified ;-).

 
 ;)
 
 - E -
 
 PS
 Nice work, btw!
 
 __
 Do You Yahoo!?
 Yahoo! BB is Broadband by Yahoo!
 http://bb.yahoo.co.jp/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
Perhaps Marco can try an Ask Jeeves type of Web app. Is that the sort of
thing you are suggesting?

So, as another feature of this mailing list archive, there could be a place
where people can ask a question, and Ask Marco will try to come up with some
suggested posts to read. This would give people even fewer excuses to not check
the archives. :-)

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote:
 However, the only issue with that is that many users do not search the
 archives, faqs, or internet for the answers before posting to the list.
 This always seems the case. Many users are unaware of the ethics around
 mailing lists.

I think many users are also unaware of the archives. A lot of people who ask
questions on this list don't follow it for several days before doing so. They
have a problem, go to http://www.php.net/ hoping to find an answer, and stumble
across this list.

I'm not sure what the welcome message says, but that would be the place for a
newbie guide. This is the only way to be sure that users have at least had this
in front of their eyes at one point, even if they still choose to ignore it.

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini


Chris Shiflett wrote:
Perhaps Marco can try an Ask Jeeves type of Web app. Is that the sort of
thing you are suggesting?
So, as another feature of this mailing list archive, there could be a place
where people can ask a question, and Ask Marco will try to come up with some
suggested posts to read. This would give people even fewer excuses to not check
the archives. :-)
Well, to a certain degree our archives already work like this. For example:

http://www.phparch.com/mailinglists/results.php?s=how+do+I+alternate+table+row+colours%3Fg=75

Returns the results for the question ho do I alternate table row 
colours?, and AFAICS the results returned are quite on target, so we're 
not too far from *that* goal.

The problem is that people don't know/use/want to be bothered with a Web 
interface, and use the mailing lists instead, so this service should IMO 
be somehow connected with the list proper.

Cheers,

Marco

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 09:16:27 -0700 (PDT)
Chris Shiflett [EMAIL PROTECTED] wrote:

 Perhaps Marco can try an Ask Jeeves type of Web app. Is that the sort of
 thing you are suggesting?
 
 So, as another feature of this mailing list archive, there could be a place
 where people can ask a question, and Ask Marco will try to come up with some
 suggested posts to read. This would give people even fewer excuses to not check
 the archives. :-)

They would do it without knowing  it. Remember, asking a question is an art in
itself and not everyone is an artist ;-).

 
 Chris
 
 =
 My Blog
  http://shiflett.org/
 HTTP Developer's Handbook
  http://httphandbook.org/
 RAMP Training Courses
  http://www.nyphp.org/ramp
 
 


-- 
Andu

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Robert Cummings
I think this is great but have one bit of hopefully constructive
criticism... the horizontal real estate is too small, or the font is too
large, I find the content wraps terribly :/

Cheers,
Rob.

On Tue, 2003-10-21 at 10:07, Marco Tabini wrote:
 Hello Everyone--
 
 I wanted to let you know about a new initiative that php|architect has 
 launched: the Searchable PHP Mailing List Archive, which can be found at 
 http://phparch.com/mailinglists.
 
 This is a fully searchable archive of the PHP mailing lists with an 
 attempt to build proper threading, keyword highlight, automatic quoted 
 text indentation and a few other features.
 
 It's still a bit experimental, and some features don't work as best as 
 they could. However, it should be fairly functional, and the full-text 
 search engine can be helpful if you're looking for fast answers to 
 problems that are often asked on the mailing lists. It's there for 
 everyone to try, and please feel free to drop me a note if you think 
 something doesn't quite work the way it should or if you have ideas 
 about possible enhancement. At the present time, one of the things we're 
 working on is filtering the messages trough SpamAssassin and allowing 
 for the possibility to exclude messages marked as spam from the search 
 results.
 
 We built our archive because we found it difficult to find a good search 
 resource dedicated only to the PHP mailing lists. I hope it will help 
 you, as well.
 
 Cheers,
 
 
 Marco Tabini
 php|architect
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini


Robert Cummings wrote:
I think this is great but have one bit of hopefully constructive
criticism... the horizontal real estate is too small, or the font is too
large, I find the content wraps terribly :/
Cheers,
Rob.
Hi Rob--

True. Alas, it has to fit in our design, so one of the possibilities 
we're experimenting with is using either floating frames for the 
threading, or reducing the font size--the problem with the latter being 
that we *do* want people to be able to read the messages ;-)

Thanks for the suggestion!

Cheers,

Marco

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


RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris W. Parker
Marco Tabini mailto:[EMAIL PROTECTED]
on Tuesday, October 21, 2003 9:56 AM said:

 True. Alas, it has to fit in our design, so one of the possibilities
 we're experimenting with is using either floating frames for the
 threading, or reducing the font size--the problem with the latter
 being that we *do* want people to be able to read the messages ;-)

What you definitely need to do is move the threading from the left hand
side to a place that doesn't constrict the width of the message.
Sooo like you've suggested, the frame idea would probably work
great. It could even be a div set to overflow when the content is too
long placed at the top of the email.


Chris.

--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marek Kilimajer
Marco Tabini wrote:
True. Alas, it has to fit in our design, so one of the possibilities 
we're experimenting with is using either floating frames for the 
threading, or reducing the font size--the problem with the latter being 
that we *do* want people to be able to read the messages ;-)

Thanks for the suggestion!

Cheers,

Marco

My suggestion would be to use iframe for the message. It would load much 
faster then.

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


RE: [PHP] Read a file, extract and echo some information

2003-10-21 Thread Chris W. Parker
PHP Webmaster mailto:[EMAIL PROTECTED]
on Tuesday, October 21, 2003 4:17 AM said:

 The required file will be changing all the time, that's why I want
 to set the title in the individual pages and get the main page to
 read that information.

in that case let me revise my original code.


ORIGINAL:

 ?php
 
 $title = page title;
 
 
 include header.php;
 
 echo pWelcome to the home page of our website./p\n
 .pBlah, blah and more blah!/p\n;
 
 include footer.php;
 
 ?

NEW AND IMPROVED:

?php

include main.php;

include header.php;

echo Main_PHP();

include footer.php;

?


main.php:

?php

$page_title = the page!;

function Main_PHP
{
$output = pWelcome to the home page of our website./p\n;
$output .= pBlah, blah and more blah!/p\n;

return $output;
}

?

Instead of assigning everything to a variable and returning it you could
echo ; everything, OR I think you can turn on output buffering and
then capture the buffer and then return that.


I should also mention that I used to do what you originally presented
when I wrote ASP. It was real easy with ASP because there is a
function called Sub. It's not really a function in that it performs a
task, but it was more like defining an include without including an
entire file.

I also ran into a few problems with that method because it prevented me
from designing the infrastructure of the site in the way I wanted to. I
don't remember any specifics about that though. ;)

Chris.

p.s. Please take note of my sig. Version 0.80 is the best.

--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread subs
Marco Tabini wrote:
 The problem is that the results should be mailed to the
 list so that others could tell whether they satisfy the question, but
 I'm afraid that would become annoying.

Perhaps a sister list could be setup to receive these messages.  This
would prevent the annoyance while still providing a central location for
those interested to view responses.  A bit of mail server wizardry (if
you'd even call it that) can ensure that messages are delivered to all
those participating in the thread.

Edward Dudlik
Those who say it cannot be done
should not interfere with the person doing it.

wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU



- Original Message -
From: Marco Tabini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, 21 October, 2003 11:59
Subject: Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives




- Edwin - wrote:

 Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all,
 but...

 I wonder how you'd deal with new messages/posts/questions which:
 1. Real people don't even understand, and
 2. Real posters don't even understand what they're asking.


Well, that's, of course, a problem. In the best case scenario, the
search engine will recognize the patterns and provide meaningful
suggestions. In the worst case scenario, it won't return anything useful.

Still, it might be worth a try. The system could send only the top ten
search results. The problem is that the results should be mailed to the
list so that others could tell whether they satisfy the question, but
I'm afraid that would become annoying.

The truth, however, is that there is a lot of repetition in the
questions that are asked here and a simple search through the archives
would answer many questions directly--keeping the list a bit cleaner and
easier to follow, IMO.

 ;)

 - E -

 PS
 Nice work, btw!

Thanks :-)

Cheers,


Marco


 __
 Do You Yahoo!?
 Yahoo! BB is Broadband by Yahoo!
 http://bb.yahoo.co.jp/


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

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread bigdog
 Robert Cummings wrote:
 I think this is great but have one bit of hopefully constructive
 criticism... the horizontal real estate is too small, or the font is
 too large, I find the content wraps terribly :/

 Cheers,
 Rob.


 Hi Rob--

 True. Alas, it has to fit in our design, so one of the possibilities
 we're experimenting with is using either floating frames for the
 threading, or reducing the font size--the problem with the latter being
  that we *do* want people to be able to read the messages ;-)

the user also has the ability to change the fonts.

--
Ray

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Interesting thoughts... who would handle the separate list, though?

Marco

[EMAIL PROTECTED] wrote:
Marco Tabini wrote:

The problem is that the results should be mailed to the
list so that others could tell whether they satisfy the question, but
I'm afraid that would become annoying.


Perhaps a sister list could be setup to receive these messages.  This
would prevent the annoyance while still providing a central location for
those interested to view responses.  A bit of mail server wizardry (if
you'd even call it that) can ensure that messages are delivered to all
those participating in the thread.
Edward Dudlik
Those who say it cannot be done
should not interfere with the person doing it.
wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU



- Original Message -
From: Marco Tabini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, 21 October, 2003 11:59
Subject: Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives


- Edwin - wrote:

Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all,
but...
I wonder how you'd deal with new messages/posts/questions which:
1. Real people don't even understand, and
2. Real posters don't even understand what they're asking.


Well, that's, of course, a problem. In the best case scenario, the
search engine will recognize the patterns and provide meaningful
suggestions. In the worst case scenario, it won't return anything useful.
Still, it might be worth a try. The system could send only the top ten
search results. The problem is that the results should be mailed to the
list so that others could tell whether they satisfy the question, but
I'm afraid that would become annoying.
The truth, however, is that there is a lot of repetition in the
questions that are asked here and a simple search through the archives
would answer many questions directly--keeping the list a bit cleaner and
easier to follow, IMO.

;)

- E -

PS
Nice work, btw!


Thanks :-)

Cheers,

Marco


__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/


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


Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
 My suggestion would be to use iframe for the message. It would load
 much faster then.

How would that make it load much faster? Surely not because it requires an
additional HTTP transaction, increasing the load. I'm curious to know what you
mean.

The thread view needs to be moved, perhaps to that blank spot to the right of
the orange line. That spot probably isn't intended to be blank, since I notice
there are ads and such way down at the bottom, but that's how it renders in
Galeon (Gecko).

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



[PHP] Using cookies

2003-10-21 Thread John Taylor-Johnston
Can someone recommend a good URL on cookies and security issues please?
I can program them, but am told I'm putting others at risk, forcing people to use 
cookies on my site.

--
John Taylor-Johnston
-
Université de Sherbrooke:
http://compcanlit.ca/

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



Re: [PHP] date counting/subtracting MySQL and PHP

2003-10-21 Thread Jason Wong
On Wednesday 22 October 2003 04:32, Paul Nowosielski wrote:

 I need to get mysql or php to subtract the current date from
 $date_posted(time stamp) and return the number of days(the item has been
 posted) as a sum.

Use the MySQL function TO_DAYS(). Not sure what you mean by as a sum.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Children aren't happy without something to ignore,
And that's what parents were created for.
-- Ogden Nash
*/

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



[PHP] Run exe file: Yes it is possible.

2003-10-21 Thread Gabriel Peugnet
It depends on the server configuration.
Tipicaly, the cgi-bin folder is used tu run scripts AND exe files.
You have to put the exe file in cgi-bin and chek if this folder have
permission tu run it. If not:  give it.
There are some sites that use exe instead of scripts to show pages. It gives
more security but dificulty on manteining the program.

Regards,
Gabriel.


Deependra B. Tandukar [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
 Dear all,

 Is there anyway that I can put .exe file on the web, and allow visitors
 only to run it, not download it.

 Regards,
 DT

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



RE: [PHP] Using cookies

2003-10-21 Thread Chris W. Parker
John Taylor-Johnston mailto:[EMAIL PROTECTED]
on Tuesday, October 21, 2003 11:40 AM said:

 Can someone recommend a good URL on cookies and security issues
 please? I can program them, but am told I'm putting others at risk,
 forcing people to use cookies on my site. 

I guess it depends on what you're storing in the cookie. What are you
storing right now? Maybe there's an alternative?


--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

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



Re: [PHP] Using cookies

2003-10-21 Thread Curt Zirzow
* Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]):
 Can someone recommend a good URL on cookies and security issues please?
 I can program them, but am told I'm putting others at risk, forcing people to use 
 cookies on my site.
 

Being online is a risk, or even crossing the street is a risk (I
almost got hit by a car yesterday.)  Any specific type of risk you
have in mind?

googling for 'cookie secuirty' yields some general information.


Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
  http://zirzow.dyndns.org/html/mlists/

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



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marek Kilimajer
Chris Shiflett wrote:
--- Marek Kilimajer [EMAIL PROTECTED] wrote:

My suggestion would be to use iframe for the message. It would load
much faster then.


How would that make it load much faster? Surely not because it requires an
additional HTTP transaction, increasing the load. I'm curious to know what you
mean.
The thread view needs to be moved, perhaps to that blank spot to the right of
the orange line. That spot probably isn't intended to be blank, since I notice
there are ads and such way down at the bottom, but that's how it renders in
Galeon (Gecko).
Chris
Yes, you are right. I forgot that the thread view changes too. However 
DHTML could solve this ;)

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


Re: [PHP] Using cookies

2003-10-21 Thread John Taylor-Johnston
Nothing much. Been receiving flack about forcing people into cookies. Much 
misunderstood info about cookies. I need an URL to pass on for extra reading, as 
rebuttal.

Chris W. Parker wrote:

 John Taylor-Johnston mailto:[EMAIL PROTECTED]
 on Tuesday, October 21, 2003 11:40 AM said:

  Can someone recommend a good URL on cookies and security issues
  please? I can program them, but am told I'm putting others at risk,
  forcing people to use cookies on my site.

 I guess it depends on what you're storing in the cookie. What are you
 storing right now? Maybe there's an alternative?

 --
 Don't like reformatting your Outlook replies? Now there's relief!
 http://home.in.tum.de/~jain/software/outlook-quotefix/

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



RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Jonathan Villa
Cool, this means that don't have to keep a directory of every post in
this mailing list or the php-db mailing list in order to search through.

-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2003 1:00 PM
To: Marek Kilimajer; Marco Tabini
Cc: PHP-General
Subject: Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

--- Marek Kilimajer [EMAIL PROTECTED] wrote:
 My suggestion would be to use iframe for the message. It would load
 much faster then.

How would that make it load much faster? Surely not because it requires
an
additional HTTP transaction, increasing the load. I'm curious to know
what you
mean.

The thread view needs to be moved, perhaps to that blank spot to the
right of
the orange line. That spot probably isn't intended to be blank, since I
notice
there are ads and such way down at the bottom, but that's how it renders
in
Galeon (Gecko).

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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

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



RE: [PHP] Using cookies

2003-10-21 Thread Joseph Bannon

It's your site isn't it? -lol

J



-Original Message-
Nothing much. Been receiving flack about forcing people into cookies.
Much misunderstood info about cookies. I need an URL to pass on for
extra reading, as rebuttal.

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



Re: [PHP] Using cookies

2003-10-21 Thread Marco Tabini
We use a standard disclaimer:

2. Use of Cookies
Like many websites, we use cookies to maintain certain information about 
you while you are visiting our website. However, we do not share the 
contents of our cookies with any third party, under any circumstances. 
Should we allow a third party to provide advertisement through our 
website or through our magazine, please be advised that we are not 
responsible for their use of cookies, and that we do not normally have 
access to the information that they store in their cookies.

That has kept our users at bay, but we admittedly cater to a technical 
audience...

Cheers,

Marco

John Taylor-Johnston wrote:
Can someone recommend a good URL on cookies and security issues please?
I can program them, but am told I'm putting others at risk, forcing people to use 
cookies on my site.
--
John Taylor-Johnston
-
Université de Sherbrooke:
http://compcanlit.ca/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- John Taylor-Johnston [EMAIL PROTECTED] wrote:
 Can someone recommend a good URL on cookies and security issues
 please? I can program them, but am told I'm putting others at risk,
 forcing people to use cookies on my site.

I have a free chapter about cookies from HTTP Developer's Handbook on my site,
and it gives some information on security and privacy concerns:

http://shiflett.org/books/http-developers-handbook/chapters/11

Hope that helps.

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



RE: [PHP] Session hijacking

2003-10-21 Thread Joseph Bannon
 i setup my sessions to be transparent, can it still be hacked ?


What is a transparent session?

J.

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



RE: [PHP] Session hijacking

2003-10-21 Thread Robert Cummings
On Tue, 2003-10-21 at 15:36, Joseph Bannon wrote:
  i setup my sessions to be transparent, can it still be hacked ?
 
 
 What is a transparent session?

I don't know if it's the same for the original poster (whoever that is,
since they were cropped :) For me it's when I bind a session variable to
an object such that the session variable is referenced using $this-foo.
The developer doesn't have to care about the whole session issue.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



[PHP] php framework

2003-10-21 Thread Lai, Kenny
just wanted a general idea on what kind of PHP framework everyone is using..
i've heard of pear, and interjinn.. is there a preference or distinct
advantage that a particular framework has in comparison to one another?

thanks in advance,
kenny

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



  1   2   >