[PHP] help regarding mysql

2001-07-26 Thread Balaji Ankem



Hi friend,
   i am unable to connect to mysql server 
today.
 
windows 98 machine. PHP 4.0.6 and Mysql 3.23.36
 
c:\mysql\bin> mysql -u balaji -p
password:*//pingpong
 
But i am able to connect through php. what is the 
wrong?
 
please  help out me.
 
Thanks in advance.
 
Regards
-Balaji

The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED] 




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


[PHP] session gc question

2001-07-26 Thread Greg Donald

Is is possible to set session.gc_probability manually on a per script
basis, similar to the way error reporting is capable of being set?

Thanks,

-- 
---
destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
internet addict, 3. lover of late 80's heavy metal music, 4. Activist
for the terminally un-elite; see also - cool guy, des, mr. php...

It's 4:00am, your web site is still up, why are you?
http://phplinks.org/ http://phptopsites.com/ http://destiney.com/
---



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




[PHP] best php editor

2001-07-26 Thread Daniel Goldin \(E-mail\)

Recently there's been a thread about what editor is best for PHP. I have
discovered a new (for me) fantastic editor for HTML, PHP and other scripting
languages. It is called HTML-kit! I absolutely love it and felt I had to
share that love with you all.

It is free. A little like Homesite, except better in my view. Certainly far
more feature-rich for PHP scripting.

Unless I'm missing some serious drawback, it's the best editor for web work
I've found!! Works on Windows. Wish they had a Linux version.

Best,

Daniel


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




Re: Re: [PHP] Re: Stripping HTML

2001-07-26 Thread Tobe Johnson

Du.  Why didn't I catch this from the docs?!  Way to much coffee  Thanks VERY 
much for your help.  Sorry to be a bother.

Tobe Johnson
Johnson & Associates, Inc.
http://www.johnsons.net
Free web based email and web sites

> -Original Message -
> From: 'Jon Yaggie' <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Fri, 27 Jul 2001 13:40:45 +0700
> Subject: Re: [PHP] Re: Stripping HTML
>
>hmm i think there is a function specificlly for html.  but i am not sure
>
>have you tried strip_tags()  it will remove html and php tags from a string
>. . .
>
>
>
>
>Thank You,
>
>Jon Yaggie
>www.design-monster.com
>
>And they were singing . . .
>
>'100 little bugs in the code
>100 bugs in the code
>fix one bug, compile it again
>101 little bugs in the code
>
>101 little bugs in the code . . .'
>
>And it continued until they reached 0
>
>
>- Original Message -
>From: 'Tobe Johnson' <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, July 27, 2001 2:37 AM
>Subject: [PHP] Re: Stripping HTML
>
>
>> I am trying to check a data element ($data - which may be up to a few
>paragraphs in length) which has html codes within the text.  I need to stri
>p
>out all the html coding.  Is there an fairly simple way to do this such as
>using the <  > signs as markers for checking and deleting the html data fro
>m
>the data element to be displayed?
>>
>> Tobe Johnson
>> Johnson & Associates, Inc.
>> http://www.johnsons.net
>> Free web based email and web sites
>>
>>
>> --
>> Brought to you by Johnson & Associates, Inc.
>> http://www.johnsons.net
>> Free web sites and web based email accounts
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


--
Brought to you by Johnson & Associates, Inc.
http://www.johnsons.net
Free web sites and web based email accounts


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




Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread elias

thanks David ;)
"David Robley" <[EMAIL PROTECTED]> wrote in message
0107261823110B.03813@www">news:0107261823110B.03813@www...
> On Thu, 26 Jul 2001 19:13, elias wrote:
> > Hi.
> >
> > Usually, Any AUTO_INCREMENT field in MySql table will have always an
> > incrementing value.
> > Now Suppose I emptied the table and then inserted one record, why not
> > this record LAST_INSERT_ID is not '1' or '0' and why it is the lastid+1
> > before I empty the table?
> >
> > Can't I reset that pointer w/ deleting the table and creating it again?
>
> This is the php list, not the mysql list :-)
>
> Again from the mysql manual (you should get a copy)
>
> If you delete the row containing the maximum value for an AUTO_INCREMENT
> column, the value will be reused with an ISAM, GEMINI or BDB table but
> not with a MyISAM or InnoDB table. If you delete all rows in the table
> with DELETE FROM table_name (without a WHERE) in AUTOCOMMIT mode, the
> sequence starts over for all table types.
>
> --
> David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
>
>You look like something the cat refused to drag in.



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




Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias

yes, sort of...
both have same number.

"Alexander Skwar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
So sprach »elias« am 2001-07-26 um 11:23:56 +0200 :
> first field is the primary key and is called 'id' and is an integer,
> and i want another field of type integer to be also autoincremented...

Pardon me - but what would be the use??   Both columns would contain the
same numbers, no?

Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 13 minutes



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




[PHP] how is it possible?

2001-07-26 Thread Balaji Ankem



Hi! dearest friends,
  
 i am able to connect to mysql server 
through php program and i am able to do operations on the database 
  like choosing particular database and inserting the 
data in to table ,deletion and modification and  all..
  
 
But from dos prompt i am able to connect to mysql 
server.
 
Can u give the reason and suggestion to me.
 
Mine is windows 98 machine. PHP 4.0.6 and Mysql 
3.23.36
 
Thanks in advance.
 
Regards
-Balaji

The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED] 




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


Re: [PHP] Re: Stripping HTML

2001-07-26 Thread Jon Yaggie

hmm i think there is a function specificlly for html.  but i am not sure

have you tried strip_tags()  it will remove html and php tags from a string
. . .




Thank You,

Jon Yaggie
www.design-monster.com

And they were singing . . .

'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code

101 little bugs in the code . . .'

And it continued until they reached 0


- Original Message -
From: "Tobe Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 2:37 AM
Subject: [PHP] Re: Stripping HTML


> I am trying to check a data element ($data - which may be up to a few
paragraphs in length) which has html codes within the text.  I need to strip
out all the html coding.  Is there an fairly simple way to do this such as
using the <  > signs as markers for checking and deleting the html data from
the data element to be displayed?
>
> Tobe Johnson
> Johnson & Associates, Inc.
> http://www.johnsons.net
> Free web based email and web sites
>
>
> --
> Brought to you by Johnson & Associates, Inc.
> http://www.johnsons.net
> Free web sites and web based email accounts
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


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




Re[2]: [PHP] IE -> View Source

2001-07-26 Thread Morten Winkler Jørgensen



>> Besides... do you REALLY have anything so mind bogglingly original in your
>> code that you have to
>> go to all these extremes to protect it?

MG> That's what I've never understood about people wanting to hide their source.
MG> HTML isn't rocket science. Any server side scripting won't be seen, and
MG> Javascript isn't all that difficult. I can't imagine any webpage that would
MG> truly have a reason to hide their source.

Unless, of cause the author in a weak moment put some sensitive
information in a hidden input field to get home free quickly (the
dark path) - not to point at anybody.

Kind regards,
Morten Winkler



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




RE: [PHP] File Upload Size Limits

2001-07-26 Thread Gunther E. Biernat

I once had the same problem in a similar environment, but I never worked on it to fix 
it because it was sufficient for the given purpose. Later, I moved the script 1:1 
(including php.ini) to a server running caudium as web server software and the problem 
was gone...

Huh?


>Did anyone have any thoughts on this?  I can upload an 8 MB file, but after
>that the upload fails.
>
>
>I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1.  I am trying
>to do a file upload from the users PC to my web server.  If I do a small
>file, the transfer goes fine.  If I do a large file (> 50 MB), the transfer
>fails saying either the file was not available for reading or my script just
>bombs out.  I need to be able to have people upload large files.  I have
>changed the setting in php.ini to upload_max_filesize = 100M.
>
>Do I also need to change the following entries in php.ini?
>   max_execution_time = 60
>   memory_limit = 8M
>
>Is this an apache limit?  I'm not sure what to do with this as I really need
>to be able to transfer large files.


mit freundlichen Gruessen / yours sincerely


Gunther E. Biernat
Web Application Engineer
__

RealNetworks GmbH   Tel.: +49-40-415204-24
Weidestraße 128 Fax.: +49-40-415204-11
22083 Hamburg   Mail: [EMAIL PROTECTED]
Germany URL : http://de.real.com
__



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




[PHP] Re: Stripping HTML

2001-07-26 Thread Tobe Johnson

I am trying to check a data element ($data - which may be up to a few paragraphs in 
length) which has html codes within the text.  I need to strip out all the html 
coding.  Is there an fairly simple way to do this such as using the <  > signs as 
markers for checking and deleting the html data from the data element to be displayed?

Tobe Johnson
Johnson & Associates, Inc.
http://www.johnsons.net
Free web based email and web sites


--
Brought to you by Johnson & Associates, Inc.
http://www.johnsons.net
Free web sites and web based email accounts


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




RE: [PHP] hosting

2001-07-26 Thread Tom Malone

Speaking of hosting - i found this host when i was searching for hosts with
php support - i really like them now. For $10 a month I get 100mb of
storage, 4gb transfer, 10 subdomains, 100 pop3 emails accounts, more, plus
they support PHP4 w/ zend optimizer, MySQL, Perl 5.6.0, and a lot more.. (
they support Frontpage too, but i'm going to talk them out of it) =)

http://www.oc12host.com


Tom

-Original Message-
From: Aniceto Lopez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:43 AM
To: PHP list
Subject: [PHP] hosting


Nice one: http://100megswebhosting.com

- 100 MB of disk space
- 3 GB of bandwidth
- 10 subdomains
- 10 FTP accounts
- control panel
- cgi-bin
- built-in CGI scripts
- PHP 4
- FrontPage extensions
- mySQL
- 10 POP e-mail accounts
- unlimited e-mail forwarding
- unlimited autoresponders
- SSL capable
- shopping cart
- Real Audio/Video
- telnet/SSH
- password protected directories
- raw access logs
- full website statistics
- search engine submission

$10 per month, $55 for 6 months, $100 per year


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


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




Re: [PHP] How to get the current date and time in to the inputfield of a form with running time.

2001-07-26 Thread mike cullerton

> on 7/26/01 9:55 PM, Balaji Ankem at [EMAIL PROTECTED] wrote:
> 
> Hi, dear friends,
> How can i get the current date and time in the following input field.
> 
> 
> 
> DATE:  



> 
> STATUS:   
> 
> 
> 
> 
> Thanks in advance.
> 
> Regards
> -Balaji



 -- mike cullerton



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




[PHP] intalling php as cgi on redhat7

2001-07-26 Thread Richard Kurth

I can't belive I have to ask this but I can not get it to work
I am trying to get php as cgi installed on a RedHat7 box to be used
with Apache. I configured it with ./configure --with-mysql  did a make
and then a make install every thing whet just fine. I add
ScriptAlias /php/ "/usr/local/bin/php"
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps

to the httpd.conf file. and restarted Apache.

When I try to run a test file with a .php ext All it does is try to
download it. This should be simple but I can not figure it out.












Best regards,
 Richard  
mailto:[EMAIL PROTECTED]


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




[PHP] Get One Thousand Per Sale! $0 Down! No Bull!!!

2001-07-26 Thread 14674826

Dear [EMAIL PROTECTED],

Receive $1,000 COMMISSION on a $0 down SALE !!
 

DID YOU MAKE $5,000 LAST MONTH? IF NOT,
YOU NEED TO JOIN US TODAY!
 
  
  Market the hottest consumer savings package in 
  America today and earn up to $1,000 each and 
  every time someone joins for $0 DOWN!
 
  Imagine being plugged into a proven system
  that puts your entire business on auto-pilot and
  have you earning $3,000 every week!
 
  IT'S TRUE! You can be in business for $0 DOWN!
  And you can easily make $3,000 your very first week...
  and we'll show you how! Your business will literally
  explode overnight when you join our team and plug
  into our exclusive marketing system! 
 
 For more INFO send an e-mail to:  [EMAIL PROTECTED]
 with  in the subject line or JUST CLICK:
 mailto:[EMAIL PROTECTED]?subject=Showme_freedom!
 

  $0 DOWN !   
 
  100% FINANCING - 100% CASH MACHINE
 
  EVERYBODY IS A PROSPECT - 98% APPROVED
 
  EARN $1,000 ON EVERY A THROUGH F CREDIT SALE!
 
  EARN $1,000 ON EACH AND EVERY SALE TO INFINITY!
 
 
  We provide you with all the tools and the absolute 
  BEST marketing system available on the web, 
  all resources you will every need - even full tech support!. 
  The only thing you need to do is join our team and plug 
  into our proven system for success today!
 
  ~~~
 
For more INFO send an e-mail to:  [EMAIL PROTECTED]
with  in the subject line or JUST CLICK:
mailto:[EMAIL PROTECTED]?subject=Showme_freedom!
 
 
 
  Testimonies:
 
  This program is so easy, 'with your system I have
  made 13 sales first week'. That's $13000' this
  is the best program I've done and I've done them all!
 
  Richard S. Memphis, TN
 
 
  I did it all with my computer! People sign up like crazy!
  First I said, ok, I am financially totally down, I need to 
  give this one a try. But after two weeks I am already out of debt! 
  Oh god, I did not expect that! And I am not a sales person and I 
  did it! I am so excited, thank you Richard and Mary!
 
  Randy S. Los Angeles, CA
 
 
  I am SPEECHLESS! With your FREE leads, and FREE   
  unsecured Visa MC, I was able to advertise free
  & pay for faxes that got my phone ringing off the
  hook! I think I'll have 20 sales this month!!!
  I haven't even begun to download all the free
  software to make even more MONEY' Thanks guys
 
  Randy S. Detroit MI
 
 
  I was in my chiropractor's office when the secretary
  was about to throw out a fax that they had just received.
  The fax was similar to this email and caught my eye.
  I did exactly what it told me to do (a fax blast) and
  in my second day I made $6,000. No hard selling, no
  hustling my friends, just friendly people looking at
  a great opportunity and wanting in. Even if it took
  me a month to make an extra $5,000 I would have been
  happy, but $6,000 in my second day, wow! I'm excited.
 
  Dave W. Newport Beach, CA
 
 
 
  If you have been looking for something that is NOT MLM,
  is turnkey and very easy to do, then join us now,
  This is a truly explosive income opportunity! Sign up 3 people 
  & earn $3,000! Sign up 10 people & earn $10,000...how much 
  do you want? This is the easiest sale you will EVER make! GET 
  STARTED WITH INCREDIBLE $0 DOWN + START EARNING 
  $1,000  COMMISSIONS,  YOUR FIRST MONTH! 
  All sales wired into your checking account on a daily basis!
 
 
 
 
IMPORTANT:
 
To remove please click:
mailto:[EMAIL PROTECTED]?subject=remove
 
---
NOTE: This one-time message is in response to your online ad. You
are NOT on a mailing list and you will NOT receive any more messages.
Please send more details about your ad/offer.
 
 
This message is in full compliance with U.S. Federal 
requirements for commercial email under bill S.1618 
Title lll, Section 301, Paragraph (a)(2)(C) passed by 
the 105th U.S. Congress and cannot be considered SPAM 
since it includes a remove mechanism. 


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




Re: [PHP] naming conventions

2001-07-26 Thread Peter Houchin

It doesn't really matter as far as I know except you cannot have a space, and 
its not common practice to use numbers with table names. The only thing that 
really matters as far as I'm concerned is that I remember how I've named it be 
it firstname or first_name or FirstName as long as you know then it doesn't 
really matter


I am interested in how to best name fields in mysql - and any issues
that may arise.

For example look at these field names:
"First Name" - is there any problem with the space?
"firstname", "first_name" or "FirstName" - is there a preference here?

In short I want to know if more than personal preference is involved
in naming fields...

Regards,

Matthew Delmarter
Web Developer

AdplusOnline.com Ltd
www.adplusonline.com

Phone: 06 8357684
Cell: 025 2303630



--
Peter Houchin
Sun Rentals STR Manager
Phone: 03 9329 1455
Fax:   03 9329 6755
[EMAIL PROTECTED]
http://www.sun.com.au/rentals
=
 _  __   /\
/_/_/_\/  |_/  \
   /_/_/___  __  __   __  / \
   \_/_/_\  /_/ /_/ /_/  /_/  \   _ /
 ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/
 \_//_/_/ /_/_/_/ /_/ \/_/v
    
/_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   /_/_ _/_/ __  __   __  /_/   __ __
  /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\/_//_/_/_/
 /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
/_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/
=
Telephone : (03) 9329 1455  Facsimile : (03) 9329 6755
* We rent the dot in .COM!  **


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




Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread Saquib Farooq

> >  an easier way of doing this is to have a database of users with their
> > password in the table and when they log on simply mark them logged using
> > sum boolean variable. this will, cut down time.
> > good luck!.
> > and remeber  Have a nice day :)
> 
> And when would you uncheck the boolean value? In theory, when the
> session expires, but there's no event being triggered. Only solution would
> be to check for active sessions periodically, or something like this...
> Ideal solution would be for php to do it by itself when the session
> expires..

yes i totally agree with you, and i have posted questions about
this problem titled "knowing when a visitor leaves", the best best way is
to make the users click the "logout" button and if they dont, then we do
it the YAHOO! way or better said the deco!! way, to check if the session
is active or inactive. 

-- 
Saquib Farooq
@
Systems @ SDNPK 
Islamabad


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




[PHP] mod_perl + PHP, connect to MySQL -> segfault (signal 11)

2001-07-26 Thread ard


Heya folks.

A few months ago my Apache children were crashing when they attempted a
connect() to a MySQL database from mod_perl scripts, but only when PHP
was compiled into Apache.  There was no solution at the time, so we
ditched PHP.

Now we have a need for PHP once more, and I've moved to the latest
versions of everything (except MySQL, see below), and mod_perl scripts
that have been running happily for months are segfaulting once more.

So here we go again.

Apache 1.3.20 has PHP and mod_perl included statically:

Compiled-in modules:
  http_core.c
  mod_so.c
  mod_perl.c
  mod_php4.c


PHP 4.0.6 configured with:

./configure --with-mysql=/usr/local --with-gd=/usr/local \
--enable-force-cgi-redirect \
--with-apache=../apache_1.3.20 --with-png-dir=/usr \
--with-zlib-dir=/usr --with-jpeg-dir=/usr

("--with-*-dir=/usr" seem unnecessary, but PHP won't configure properly
without them)

Hopefully PHP is using the MySQL client library and not its own support,
as shown by:

# ldd /usr/local/apache/bin/httpd 
libdl.so.2 => /lib/libdl.so.2 (0x40017000)
>   libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x4001b000)
libz.so.1 => /usr/lib/libz.so.1 (0x40036000)
libgd.so.4 => /usr/local/lib/libgd.so.4 (0x40045000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40075000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4009c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x400bb000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400e9000)
libm.so.6 => /lib/libm.so.6 (0x400f7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40113000)
libdb.so.3 => /lib/libdb.so.3 (0x40128000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40161000)
libc.so.6 => /lib/libc.so.6 (0x40167000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

mod_perl-1.26

Both mysql 3.23.36 and 3.23.30gamma.


Many people have suffered this in the past, but I haven't seen a solution
yet.  Are the PHP and mod_perl camps playing tennis with this one, or
(please oh please) is there an easy solution?

Many thanks in advance -

-- 
_
Andrew Donkin  Waikato University, Hamilton,  New Zealand

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




[PHP] naming conventions

2001-07-26 Thread Matthew Delmarter

Hi guys,

I am interested in how to best name fields in mysql - and any issues
that may arise.

For example look at these field names:
"First Name" - is there any problem with the space?
"firstname", "first_name" or "FirstName" - is there a preference here?

In short I want to know if more than personal preference is involved
in naming fields...

Regards,

Matthew Delmarter
Web Developer

AdplusOnline.com Ltd
www.adplusonline.com

Phone: 06 8357684
Cell: 025 2303630


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




RE: [PHP] How to get the current date and time in to the input field of a form with running time.

2001-07-26 Thread Johnny Nguyen

You'll need javascript. Since you only hit the server once you can't
continuosly update the time from the server (php).  Search for a javascript,
there are plenty that can do this.

Regards,
Johnny Nguyen
  -Original Message-
  From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, July 26, 2001 8:56 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] How to get the current date and time in to the input field
of a form with running time.


  Hi, dear friends,
   How can i get the current date and time in the following input field.

  

DATE:  

  STATUS:   
 
  


  Thanks in advance.

  Regards
  -Balaji



[PHP] How to get the current date and time in to the input field of a form with running time.

2001-07-26 Thread Balaji Ankem



Hi, dear friends,
 How can i get the current date and 
time in the following input field.
 

  
DATE:  
    
STATUS:      

 
 
Thanks in advance.
 
Regards
-Balaji

The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED] 




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


Re: [PHP] Teen Hobos having sex? ..no.. but MAYBE

2001-07-26 Thread Thomas Deliduka

This is a classic case of someone not having formmail.pl from Matt's Script
archive locked down.

I found it very interesting that while Matt's Script Archive is setup to
block you from using someone else's form as a referer to yours to prevent
the use of your script from another server, he simply allows you through if
you have no referer at all. And that's how someone used our server several
times about 6 months ago. If you format a perfect querystring and simply hit
enter on the browser, you can successfully send many people e-mail through
formmail.pl if it's not modified to block 'no referer' references.

On 7/26/2001 8:29 PM this was written:

> Below is the result of your feedback form.  It was submitted by
> ([EMAIL PROTECTED]) on Thursday, July 26, 2001 at 20:29:47
> ---
> 
> : Join for free Today.
> Free Memberships. No Credit Cards Needed.
> HUGE Celebrity selection from Jennifer Lopez to Britney Spears.
> Also Specializing Streaming Video, Live sex shows for every desire!
> This isn't one of those crummy scams where you have touse a credit card!
> Take a look and you'll see.
> http://coverme1.devil.ru";>Enter Here
> 
> 
> 
> 
> You recived this email because you subscribed to a mailing list. If you would
> like to be removed from this mailing list please  href="mailto:[EMAIL PROTECTED]";>Click Here!
> 
> ---
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Thomas Deliduka
IT Manager
 -
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/



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




Re: [PHP] parser outside of web tree. whats the trick?

2001-07-26 Thread Darren Henderson


On Fri, 27 Jul 2001, Brian White wrote:

> What this sounds like to me is that as well as having a PHP binary, that
> PHP is installed as a module in your web server.

Thanks for the response. 

It is installed as module and as a stand alone outside the web tree at least
on the AIX and Freebsd sessions I mention, I can't speak to the mentions
I've seen regarding this problem and HP/UX.

> For whatever reason ( more than likely, the file extension ) the web server
> is NOT executing it as a CGI itself, but passing it to the PHP module to
> deal with. That is just treating the #! line as text and passing it
> out to the browser.

An interesting thought but I don't believe that can be it, the scripts have
the .cgi extension and that is configured in Apache correctly (and works
fine for anything other then php scripts). Module based usaged relys on .php
and that is configured correctly (and works correctly).

I wonder if the command line version and the module version actually require
independent php.ini files? I wouldn't have thought so but its certainly
somehting to look at.

I did find that I had in fact made a mistake in some of the details below,
the #! lines are in fact showing up after header lines (when telneting in I
had neglect to use HTTP/1.0 on the get line, giving that results in the
headers being displayed).

>From my search through the bug db it appears this problem has been discussed
before but apparently no solution decided upon but one has been looked
at. Essentially the parser isn't skipping the #! line as it should. I had
hoped that someone had found a work around.

I need to do a few more experiments with the apache config to see if I can
get it to work outside the doc tree using a handler config for, say, .php4
files, this would negate the need for the #! line, unfortunately it means 
you introduce some complexity (all be it minor) if you want to use a
script as both a command line utility and a web based one. I suspect that
may be doable but wouldn't be my prefered direction.

> You need to figure out what is going on and pick one way to do it.

Certainly need to figure out what is going on but it is common practice to
have php installed in two ways (ie module/cgi or module/outside of doc
tree). Actually suprised the install doesn't provide for that as its
required if you want to be able to do some suid or wrapper stuff with php
yet use the module for normal styff. As far as I know there is no way to get
module based php to execute with anything other then the id of the httpd
process.

> 
> Brian
> 
> At 22:41 25/07/2001 -0400, Darren Henderson wrote:
> 
> >If I have php installed as an executable outside the web tree I can't seem
> >to get php scripts, called as a cgi, to work correctly. When run from the
> >command line this script
> >
> >-
> >#!/usr/local/bin/php
> >
> >-
> >
> >Produces
> >
> >-
> >X-Powered-By: PHP/4.0.4pl1
> >Content-type: text/html
> >
> >hello world
> >-
> >
> >Just as expected. However, when called from a browser it ends up getting
> >
> >-
> >#!/usr/local/bin/php
> >hello world
> >-
> >
> >when we view the source with a browser. If we telnet to port 80 and do a get
> >for the url in question we find that the above is all that we get, no
> >headers of any kind.
> >
> >If we add a -q the #! line we get the behavior we expect from the command
> >line, the headers are supresed, but the browser ends up getting "No input
> >file specified." sans headers or any html tags.
> >
> >Why am I seeing this behavior? I would expect the script the produce the
> >exact same output whether it is called via the command line or as a cgi
> >outside the web tree. I had thought that perhaps it was a system dependent
> >bug, however, I am seeing this same behavior on several machines, AIX 4.2
> >running 4.06, FreeBSD 4.3 running 4.0.4.pl1, and I've found similar reports
> >in the bug db for HP/UX etc.
> >
> >So... this leads me to believe I must be missing something somewhere
> >anyone have any thoughts?
> >
> >How do I supress the printing of the #! line? It has to be in col 1 row 1,
> >if it wasn't for that I could manually enter the headers at least and
> >continue on my way, Where did the headers go? if I use the -q option to
> >purposely turn off headers, I could provide my own, but if I have that
> >option it tells me that there is no input file specified if its not invoked
> >from the command line.
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> -
> Brian White
> Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
> Phone: +612-93197901
> Web:   http://www.steptwo.com.au/
> Email: [EMAIL PROTECTED]
> 





Re: [PHP] asp to php

2001-07-26 Thread mike cullerton

on 7/26/01 9:52 AM, kaab kaoutar at [EMAIL PROTECTED] wrote:
> 
> Does anyone of u has alreday tried successfully converting asp file to php
> file ?
> Is it worth doing so or restarting from scratch?
> Thanks

i've only tried this once, but i'd do it again. you will definitely have to
edit the code it produces, but you'll find patterns and you can search and
replace some. it's a great way to get some of your typing done if nothing
else.

 -- mike cullerton


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




Re: [PHP] Using Variable Variables...

2001-07-26 Thread mike cullerton

on 7/26/01 6:46 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

> $_VARIABLE_ = "chkContact".$i;
> $_VAR_ = $$_VARIABLE_;
> 
> How do I make this work when $chkContact is a global variable?  This
> returns an empty value because it does not see that $chkContact is a
> global variable...
> 
maybe try

global $_VARIABLE_, $$_VARIABLE_;

 -- mike cullerton



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




Re: [PHP] Session variable listing

2001-07-26 Thread mike cullerton

on 7/26/01 2:33 PM, Cole Tuininga at [EMAIL PROTECTED] wrote:

> Is there a way to easily list the variables that are registered within
> a session?

while (list($key, $val) = each($HTTP_SESSION_VARS)) {
  do_something();
}

 -- mike cullerton



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




Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread mike cullerton

on 7/26/01 11:06 AM, deco at [EMAIL PROTECTED] wrote:

>> an easier way of doing this is to have a database of users with their
>> password in the table and when they log on simply mark them logged using
>> sum boolean variable. this will, cut down time.
>> good luck!.
>> and remeber  Have a nice day :)
> 
> And when would you uncheck the boolean value? In theory, when the
> session expires, but there's no event being triggered. Only solution would
> be to check for active sessions periodically, or something like this...
> Ideal solution would be for php to do it by itself when the session
> expires..
> 
instead of a boolean you could use a timestamp and update it each time a
page is loaded. then a cron job could come by periodically and delete
sessions older than some specified time.

 -- mike cullerton



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




Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Brad Hubbard

On Fri, 27 Jul 2001 07:15, Tom Malone wrote:
> Doesn't Google use PHP?
>
> Tom

GoEureka (AltaVista in Australia) do.

www.goeureka.com.au/super.php

Cheers,
Brad

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




[PHP] running a function after a form submit

2001-07-26 Thread Richard Kurth

 Is there a way to run a function when a form is submitted this is an
 example below this form is being feed buy the form above and when the
 customer verifies the data that has input he submits it again I what
 to fire a function when he submits the second time






First Name



Last Name



Address




document.write ("");







  show the info for customer to varafy
First Name  
Last Name  
Address    

https://www.paypal.com/cgi-bin/webscr"; METHOD="POST">
INPUT TYPE="hidden" NAME="last_name" VALUE="">





 

[PHP] Re: error trapping


TRY / CATCH is not implemented for PHP. (yet. Next major version up probably)
I suggest to make custom error handler and use trigger error for now.

--
Yasuo Ohgaki

"Phil Spitler" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am wondering the best way to handle error trapping with PHP.  I am
> farmiliar with languages, ColdFusion being one, that you can use TRY and
> CATCH statements.  Any info would be appreciated.
>
> THANKS!
>
> -
> Phil Spitler [Vice President]
> Web Hut Design, Inc.
> c 704-451-1324
> mailto:[EMAIL PROTECTED]
>


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




[PHP] Re: Session variable listing


Use $HTTP_SESSION_VARS.
You are better to use $HTTP_*_VARS anyway.

--
Yasuo Ohgaki


"Cole Tuininga" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I took a look through the archives and couldn't find any reference
> to this.
>
> Is there a way to easily list the variables that are registered within
> a session?
>
> Thanks in advance.
>
> --
> "Maybe I'll be able to get a job when I graduate..."
>  -Linus Torvalds
>
> Cole Tuininga
> Network Admin
> Code Energy, Inc
> [EMAIL PROTECTED]
> (603) 766-2208
> PGP Key ID: 0x43E5755D
>


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




[PHP] Re: Global Variable Variables...


Read "References explained" section in PHP Manual.
You'll see why it does not work as you expected.

--
Yasuo Ohgaki


"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a class that contains a form, when the form is submitted it
> posts back to the class.  The class is included inside of another file,
> so all of the form variables need to be declared as global in order to
> access their values.
>
> On the form are several check boxes (number undetermined until the
> script is run) and the only way I know to access these values is using
> the "variable variables" feature of PHP, as follows:
>
> $A = "chkContact".$I;
> $B = $$A;
>
> This would work just fine if $chkContact## was not a global variable
> (ie..not wrapped inside of a class).  How can I use variable variables
> on a global variable?


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




[PHP] Re: allow_call_time_pass_reference


Take a look at php.ini-dist in source distribution.

--
Yasuo Ohgaki


"Andreas )" <[EMAIL PROTECTED]> wrote in message
000a01c1160d$640a3120$8d0a@devel01">news:000a01c1160d$640a3120$8d0a@devel01...
someone got a documentation for this ?


andreas




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




Re: [PHP] IE -> View Source


on 7/26/01 12:32 AM, Steve Haemelinck at [EMAIL PROTECTED] wrote:

> Some sites are able to disable the source view in ie. How do you do that?

don't forget the ol' telnet to port 80 and type GET trick

telnet domain.com 80
Connected to domain.com.
Escape character is '^]'.

GET

http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>


Untitled




Connection closed by foreign host.


 -- mike cullerton



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




[PHP] Global Variables -> Local Scope


How can I read in all of the global variables and give them local 
scope?  PLEASE HELP ME.

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




Re: [PHP] problem while reading on sockets ...


On Thu, 26 Jul 2001 23:43, Arnauld Dravet - smurfie wrote:
> Hello,
>
> simple question:
>
> $sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30);
> while(!feof($sock)) echo fgets($sock,4096);
> fclose($sock);
>
> why does the while() makes an infinite loop, like if FEOF was never
> found ? what is the character used to tell if there's an EOF or not ?
> could my problem come from the server i'm connecting to which to not
> send a "legit" string ?
>
> thanks
>
> Arnauld Dravet
> [EMAIL PROTECTED]

Not having done this, but wouldn't you need to send a GET to the server 
to have it return something? At least that seems to be what the example 
in the manual does.

$fp = fsockopen ("www.php.net", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)\n";
} else {
fputs ($fp, "GET / HTTP/1.0\r\n\r\n");
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
}


-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Cause of crash: Inadvertent contact with the ground.

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




RE: [PHP] Processing file...


Yes actually, I figured it out.  I was trying to parse the buffer as well
but managed to figure it out tonight :)  Just took a lot of debugging ;)

Jeff

> -Original Message-
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 9:31 PM
> To: Jeff Lewis; [EMAIL PROTECTED]
> Subject: Re: [PHP] Processing file...
>
>
> On Fri, 27 Jul 2001 06:25, Jeff Lewis wrote:
> > I managed to process a directory of files but for some reason I am
> > having trouble figuring out this :/
> >
> > I am going through a directory opening all dat files.  Now it is
> > working properly but I need to grab the data from it.  I need to grab
> > each line as indicated below.
> >
> > Here is the code I was using to open the file
> >
> > $file="/home/saveraps/public_html/cgi-bin/Members/".$entry;
> >
> > //Open current roster file
> > $fd = fopen ($file,'r');
> >
> > while (!feof ($fd)) {
> >  $buffer = fgets($fd, 4096);
> >  $member = trim(substr($buffer,0,50));
> >  echo "File: ".$entry."";
> >  }   //end file open - !eof
> >
> > fclose ($fd);
> >
> > And here is the structure of these files.  For each line I need to grab
> > it and keep it associated with the members dat file.  Each dat file
> > contains this info (hyrum.dat)
> >
> > admin
> > admin
> > [EMAIL PROTECTED]
> > Homepage Title
> > http://yabb.xnull.com
> > Signature
> > 3
> > Administrator
> > 571803
> > HyrumAIM
> > HyrumYIM
> > Male
> > I Love YaBB 1 Gold!!!
> > bobafett.gif
> > 01/01/01 at 01:01:01
> > Kitchener
> > 07/14/1975
> > 4
> > 2
> >
> > How can I grab all of these for each dat file I open up?
> >
> > Jeff
>
> Use file to pass the lines of the file into an array?
>
> --
> David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
>
>Daddy, what does FORMATTING DRIVE C: mean?
>
>


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




Re: [PHP] Processing file...


On Fri, 27 Jul 2001 06:25, Jeff Lewis wrote:
> I managed to process a directory of files but for some reason I am
> having trouble figuring out this :/
>
> I am going through a directory opening all dat files.  Now it is
> working properly but I need to grab the data from it.  I need to grab
> each line as indicated below.
>
> Here is the code I was using to open the file
>
> $file="/home/saveraps/public_html/cgi-bin/Members/".$entry;
>
> //Open current roster file
> $fd = fopen ($file,'r');
>
> while (!feof ($fd)) {
>  $buffer = fgets($fd, 4096);
>  $member = trim(substr($buffer,0,50));
>  echo "File: ".$entry."";
>  }   //end file open - !eof
>
> fclose ($fd);
>
> And here is the structure of these files.  For each line I need to grab
> it and keep it associated with the members dat file.  Each dat file
> contains this info (hyrum.dat)
>
> admin
> admin
> [EMAIL PROTECTED]
> Homepage Title
> http://yabb.xnull.com
> Signature
> 3
> Administrator
> 571803
> HyrumAIM
> HyrumYIM
> Male
> I Love YaBB 1 Gold!!!
> bobafett.gif
> 01/01/01 at 01:01:01
> Kitchener
> 07/14/1975
> 4
> 2
>
> How can I grab all of these for each dat file I open up?
>
> Jeff

Use file to pass the lines of the file into an array?

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Daddy, what does FORMATTING DRIVE C: mean?

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




[PHP] Global Variable Variables...


I have a class that contains a form, when the form is submitted it 
posts back to the class.  The class is included inside of another file, 
so all of the form variables need to be declared as global in order to 
access their values.

On the form are several check boxes (number undetermined until the 
script is run) and the only way I know to access these values is using 
the "variable variables" feature of PHP, as follows:

$A = "chkContact".$I;
$B = $$A;

This would work just fine if $chkContact## was not a global variable 
(ie..not wrapped inside of a class).  How can I use variable variables 
on a global variable?

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




Re: [PHP] Big difference?


On Fri, 27 Jul 2001 09:28, Kyle Smith wrote:
> how do i make it check if it was successfully printed?
>
>
> -legokiller666-
> http://www.StupeedStudios.f2s.com
> New address new site
>
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
> - Original Message -
> From: "Schill, Johannes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 2:28 PM
> Subject: Re: [PHP] Big difference?
>
> > Hello Kyle,
> >
> > The difference between echo and print is that print returns a boolean
>
> value,
>
> > so you can check if "blah blah" was successfully printed.
> >
> > more info about this:
> > www.php.net/print
> > www.php.net/echo
> >
> > Best regards,
> > Johannes Schill
> >
> > - Original Message -
> > From: "Kyle Smith" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 26, 2001 7:15 AM
> > Subject: [PHP] Big difference?
> >
> >
> > What is the difference between using
> >  > print "blah blah"
> > ?>
> >
> > and
> >  > echo "blah blah"
> > ?>

Check the return value from the function?

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   I hit the CTRL key but I'm still not in control!

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




[PHP] Using Variable Variables...


$_VARIABLE_ = "chkContact".$i;
$_VAR_ = $$_VARIABLE_;  

How do I make this work when $chkContact is a global variable?  This 
returns an empty value because it does not see that $chkContact is a 
global variable...

Thankz in advance for your help!!


-- 

[ Swift eNetwork ] Matrix
http://matrix.swifte.net/

--

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




Re: [PHP] Query String Name ?


In PHP, if you set the input fields to be array names then all the results 
get put in an
array:

So: test.php?name[]=joe&name[]=bob

would create an array("joe", "bob" ) in PHP.

If you really can't set it in the form you could access the QUERY_STRING 
environment
variable and parse it directly.

At 11:14 26/07/2001 +0100, A wrote:
>Hi there,
>
>is there any way to access two variables in a query string that have the 
>same name e.g
>
>test.php?name=joe&name=bob
>
>Is there any way to extract both values of name without changing the way 
>the query string is created?
>
>
>Thanks,
>Abe

-
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


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




Re: [PHP] parser outside of web tree. whats the trick?


What this sounds like to me is that as well as having a PHP binary, that
PHP is installed as a module in your web server.

For whatever reason ( more than likely, the file extension ) the web server
is NOT executing it as a CGI itself, but passing it to the PHP module to
deal with. That is just treating the #! line as text and passing it
out to the browser.

You need to figure out what is going on and pick one way to do it.

Brian

At 22:41 25/07/2001 -0400, Darren Henderson wrote:

>If I have php installed as an executable outside the web tree I can't seem
>to get php scripts, called as a cgi, to work correctly. When run from the
>command line this script
>
>-
>#!/usr/local/bin/php
>
>-
>
>Produces
>
>-
>X-Powered-By: PHP/4.0.4pl1
>Content-type: text/html
>
>hello world
>-
>
>Just as expected. However, when called from a browser it ends up getting
>
>-
>#!/usr/local/bin/php
>hello world
>-
>
>when we view the source with a browser. If we telnet to port 80 and do a get
>for the url in question we find that the above is all that we get, no
>headers of any kind.
>
>If we add a -q the #! line we get the behavior we expect from the command
>line, the headers are supresed, but the browser ends up getting "No input
>file specified." sans headers or any html tags.
>
>Why am I seeing this behavior? I would expect the script the produce the
>exact same output whether it is called via the command line or as a cgi
>outside the web tree. I had thought that perhaps it was a system dependent
>bug, however, I am seeing this same behavior on several machines, AIX 4.2
>running 4.06, FreeBSD 4.3 running 4.0.4.pl1, and I've found similar reports
>in the bug db for HP/UX etc.
>
>So... this leads me to believe I must be missing something somewhere
>anyone have any thoughts?
>
>How do I supress the printing of the #! line? It has to be in col 1 row 1,
>if it wasn't for that I could manually enter the headers at least and
>continue on my way, Where did the headers go? if I use the -q option to
>purposely turn off headers, I could provide my own, but if I have that
>option it tells me that there is no input file specified if its not invoked
>from the command line.
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

-
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


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




Re: [PHP] Newbie Help (CLASS WAR!)



I use classes a lot and don't have this problem. This is because
the names of the class ( and thus the constructor name ) tends to be a noun
and otherfunctions tend to be verbs, so I am don't have this kind of clash.

I am VERY glad that PHP has classes and I use them alot.

However 



My biggest bug-bear with classes in PHP is the lack of a "super" operator
There are times when I would really like to be able to do:

class A
{
 function DoStuff()
 {
.
 }
}

class B extends A
{
 function DoStuff()
 {
.
$super->DoStuff(); // Calls the function in A
 }
}

A "super" operator could allow a fixed name constructor ( like the 
"__new__" in Python )
and the parent constructor could be called using "super", which would 
eliminate
Matthew's problem.




At 08:47 26/07/2001 +0800, Matthew Schubert wrote:
>I was reading through the PHP manual and got to the section on constructors.
>
>
>
>class A {
>   function A() {
> echo "I am the constructor of A.\n";
>   }
>
>   function B() {
> echo "I am a regular function named B in class A.\n";
> echo "I am not a constructor in A.\n";
>   }
>}
>
>class B extends A {
>   function C() {
> echo "I am a regular function.\n";
>   }
>}
>
>// This will call B() as a constructor.
>$b = new B;
>
>
>
>
>In PHP 3, the function B() in class A will suddenly become a constructor in
>class B, although it was never intended to be. The rule in PHP 3 is: 'A
>constructor is a function of the same name as the class.'. PHP 3 does not
>care if the function is being defined in class B, or if it has been
>inherited.
>
>This is fixed in PHP 4 by modifying the rule to: 'A constructor is a
>function of the same name as the class it is being defined in.'. Thus in PHP
>4, the class B would have no constructor function of its own and the
>constructor of the base class would have been called, printing 'I am the
>constructor of A.'.
>
>
>It says that when a new class B was made, that the class B would have no
>constructor, because the function B() was in the base class. Instead the
>class B was supposed to derive it's constructor from class A and output 'I
>am the constructor of A.'
>
>When I tried this script, this did not happen and the Function B() was
>called as the constructor of class B, even though the function was in the
>base class...can anyone help to clear up this matter?
>thanx
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

-
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


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




[PHP] Re: progress dbi?


What does this have to do with my question about system dates? Did you post
as a reply to me by accident?

"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm thinking of writing some web aps to interface with a progress database
> created with Association Plus. I'm wondering if anyone has done this and
if
> it was hard. I'm not certain how to go about understanding this whole ODBC
> thing ...
>
> Susan
>
> --
> [EMAIL PROTECTED]
> http://futurebird.diaryland.com
>
>



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




Re: [PHP] assigning a part of the name of a variable with another variable before php replaces it with the value



To answer your question:

$postfld = $HTTP_POST_VARS[$fname[$i]];

should work. BTW, I just use something like:

if ($client) { // or in your case: if (${$fname[$i]})
// code to be evaluated if $client exists and is not 0, not null/void/nil, and is
not an empty string
}

J

Matthew DeChant wrote:

> Specifically,
>
> If I have 3 HTTP_POST_VARS:
>
> HTTP_POST_VARS["client"] = test1
> HTTP_POST_VARS["directory"]= test2
> HTTP_POST_VARS["password"] =
>
> and I don't know the names of the vars ahead of time, how would I run a
> check to see if they exist and then get the specific POST_VARS's value. This
> is what I've got so far:
>
> $squery = "select * from $db where ";
> $qh = fw_query("select * from $db");
> $fields = odbc_num_fields($qh);
> for ($i=1;$i<=$fields;$i++) {
>   # assign $fname the possible field names in the database
> (client,directory,password)
> $fname[$i] = odbc_field_name($qh,$i);
>   # assign $postfld the variable name, ie. $HTTP_POST_VARS["client"]
> $postfld = $HTTP_POST_VARS["($fname[$i])"];
>   # check that it exists and is not blank
> if (isset($postfld) AND ($postfld != "")) {
> $value[$i] = $postfld;
> $squery.= "$fname[$i] like $value[$i] AND ";
> }
> }
> # pop last AND
> $squery= substr($squery, 0,-5);
>
> so how do you make this work:  $postfld = $HTTP_POST_VARS["($fname[$i])"];
>
> thanks,
>
> -m
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


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




Re: [PHP] HTML table problem (solvable with PHP?)


On 26 Jul 01, at 11:41, Seb Frost wrote:

> Now my problem is this.  Depending on the amount of content in the main
> cell, the "fixed" size cells on the left expand.  This is SO annoying!  I
> managed to fix it by setting the height of the bottom left hand "filler"
> cell to be like 10,000 pixels but that's hardly right and means my copyright
> info and stuff at the page bottom is miles out of sight.

Nest your tables.  Basically, you create a 'wrapper' table with two 
columns set to the width that you want for your navigation and content.  
Then, inside the cells for each of the two columns you create another 
table to hold your actual navigation and content.

CYA, Dave


---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au  mailto:[EMAIL PROTECTED]
---

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




[PHP] Re: Why is XML parser so slow?


"Verebes Gabor" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> I am writing an XML parser.
> It is working fine, but so slowly.
> I use PHP 3.0.16, is it too old?

One thing i sure: PHP4 is much faster than PHP3.
Why is it that you still uses PHP3?

--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk

"Developers are being asked to do more with less, do it faster, and make it
fit with the existing systems and databases." - IDC



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




[PHP] Why is XML parser so slow?


Hi!
I am writing an XML parser.
It is working fine, but so slowly.
I use PHP 3.0.16, is it too old?
I'd like to parse many small XML string.
Can my problem be, that I creat the xml_parser evrey time?

I don't thik it is normal to wait 3 sec for parsing some (less than 20)
small XML strings.
(a few line each)

Thanks:
Gabor





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




[PHP] RE: Query String Name ?


  
  Hi!

  I think, that you could solve this problem by parsing the querystring
at own...
  Try out this code:

name= $vname;
$qs_args[$c++]->value = $vval;
}


//This is only for demonstrational purposes, output is list
//of all variable names and values parsed from query string 
foreach ($qs_args as $qa) echo $qa->name." =
".$qa->value."\n";
?>

  Then, you'll have in $qs_args array structure, which contains the
  variable names and values of all parsed query string vars.
  
  Good luck,
  
  m.:-/

+--[e-m@il:[EMAIL PROTECTED]]---[whois:
MH18067-RIPE]-+
|"We are not retreating, we are advancing in another direction."
|
+--[Miroslav Hudak, http://maniax.host.sk]--[- mX
-]-+  

> -Original Message-
> From: A [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, July 26, 2001 12:15 PM
> To: PHP General List
> Subject: Query String Name ?
> 
> 
> Hi there,
> 
> is there any way to access two variables in a query string 
> that have the same name e.g
> 
> test.php?name=joe&name=bob
> 
> Is there any way to extract both values of name without 
> changing the way the query string is created?
> 
> 
> Thanks,
> Abe
> 



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




[PHP] Can mysql_fetch_*() work on the resultpointer only?


Hi -

Can mysql_fetch_*() work on the resultpointer that mysql_query() returns,
only, or does the rows have to be in the database when fetching?
I know that mysql_query() finds the specified data, but I'm not totally sure
in my theori about that mysql_query() is taking the data-result out so that
we're not depending on the database anymore.

--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk

"Developers are being asked to do more with less, do it faster, and make it
fit with the existing systems and databases." - IDC



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




[PHP] error with exec ?!


Hi!

I had a php page which uses exec function to run an exe : addgroup.

The exe addgroup create a folder on the server.

The code :
...
$command="C:/WebEdu/PHP/PHPTest2/addgroup.exe test1";
exec($command, $list, $ret);
...

My problem is that when I run the php page, it returns me :

$list = "Error 5"
$ret = 1

Why?

I wait for your advices!

Thanks!

Melanie



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




RE: [PHP] hosting


This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).

http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm

Sincerely

  berber

Visit http://www.weberdev.com Today!!! 
To see where PHP might take you tomorrow.


-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 5:25 PM
To: Jon Yaggie; [EMAIL PROTECTED]
Subject: Re: [PHP] hosting


I personally use www.phpwebhosting.com and they are "OK". I don't think
I
would put anything mission critical on their servers. Why do I say this?
I
usually spend all day long with an SSH session open, running VI to edit
my
site... several times throughout the day, my session will freeze... if I
try
and view my webpage during this moment, I can't get to it, so I have to
assume that their machines freeze for 20-30 seconds several times a day.
My
SSH session usually terminates during this time as well..  it's very
frustrating, but for my personal site, at $9.95 a month for unlimited
bandwidth/space/pop accounts, I will put up with it, until I can find a
better host with comparable features, and comparable price.


- Original Message -
From: "Jon Yaggie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 8:08 AM
Subject: [PHP] hosting


I am aware this is a bit off topic but i need advice.  i have a client
that
wants to set up hosting.  we need to get him a control panel for
administrative use.  We have search open source stuff and there is one
PHP
that is alpha.  We have no problem paying for it if we could find one.
PHP
would be nice so we could easily integrate it in the rest of the site.
Any
one able to point me in the right direction?

Thank You,

Jon Yaggie
www.design-monster.com

And they were singing . . .

'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code

101 little bugs in the code . . .'

And it continued until they reached 0





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


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




RE: [PHP] can't get gd working at all


Glad your host got that straightened out - for future reference, an easy way
to look at the server's PHP config is to make a page using phpinfo -



It will show you whether GD (and other extensions) are installed, as well as
the image format(s) supported and whether or not Freetype support is
included.

-Andy

> -Original Message-
> From: Matt Greer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 11:46 AM
> To: php-gen
> Subject: Re: [PHP] can't get gd working at all
>
>
> Ah ha, my host was wrong. gd is not installed on the server I'm on, but
> they're moving me over to one that has it.
>
> Sorry everyone, but I didn't know enough about any of this to be able to
> verify what they told me.
>
> Thanks for all the help.
>
> Matt
>
>


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




[PHP] Utilizing info from 2 tables in the database


Lets say I have created 2 tables :

create table comments {contents}
userid
username
comment
datetime
user
ip
primary key
key

table users {contents}
userid
username
 and many more.. :)

--

if I want to get that to work togther to add comments to users would I have
something like this..

--
$user=$DB_site->query_first("SELECT *,FROM username,
   FROM user
   LEFT JOIN comments ON
comments.userid=user.userid
   WHERE user.userid=$userid");
--

that above code is slapped toghther.. can anyone shed some light on this..



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




Re: [PHP] Example high-profile PHP sites


Doesn't Google use PHP?

Tom

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




RE: [PHP] mp3 file read


Allows you to read and write id3 tags. which is what you're looking for.

http://www.hotscripts.com/Detailed/7219.html

-Original Message-
From: Brian Weisenthal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mp3 file read


anyone know of any classes or functions or anything to read data from an mp3
file on the server, ie. song length, artist, album...etc. ?


thanks
brian



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



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




RE: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......


Or try http://www.hotscripts.com/PHP/Scripts_and_Programs/

Jerry Lake   
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com


-Original Message-
From: Nathan Cook [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Sorry To Repeat Repeat Repeat Repeat Re...


Just check out px.sklar.com.

Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 10:14 PM
Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re...


Could you people please send me any scripts you have made which are not too
complecated but are quite useful without the use of mySQL?
To restore my faith in PHP


Thanks in advance
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





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



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




[PHP] mp3 file read


anyone know of any classes or functions or anything to read data from an mp3
file on the server, ie. song length, artist, album...etc. ?


thanks
brian



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




[PHP] Processing file...


I managed to process a directory of files but for some reason I am having
trouble figuring out this :/

I am going through a directory opening all dat files.  Now it is working
properly but I need to grab the data from it.  I need to grab each line as
indicated below.

Here is the code I was using to open the file

$file="/home/saveraps/public_html/cgi-bin/Members/".$entry;

//Open current roster file
$fd = fopen ($file,'r');

while (!feof ($fd)) {
 $buffer = fgets($fd, 4096);
 $member = trim(substr($buffer,0,50));
 echo "File: ".$entry."";
 }   //end file open - !eof

fclose ($fd);

And here is the structure of these files.  For each line I need to grab it
and keep it associated with the members dat file.  Each dat file contains
this info (hyrum.dat)

admin
admin
[EMAIL PROTECTED]
Homepage Title
http://yabb.xnull.com
Signature
3
Administrator
571803
HyrumAIM
HyrumYIM
Male
I Love YaBB 1 Gold!!!
bobafett.gif
01/01/01 at 01:01:01
Kitchener
07/14/1975
4
2

How can I grab all of these for each dat file I open up?

Jeff


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




RE: [PHP] assigning a part of the name of a variable with anothe



On 26-Jul-2001 Matthew DeChant wrote:
> Specifically,
> 
> If I have 3 HTTP_POST_VARS:
> 
> HTTP_POST_VARS["client"] = test1
> HTTP_POST_VARS["directory"]= test2
> HTTP_POST_VARS["password"] =
> 
> 
> and I don't know the names of the vars ahead of time, how would I run a
> check to see if they exist and then get the specific POST_VARS's value. This
> is what I've got so far:
> 
> 
> $squery = "select * from $db where ";
> $qh = fw_query("select * from $db");
> $fields = odbc_num_fields($qh);
> for ($i=1;$i<=$fields;$i++) {
> # assign $fname the possible field names in the database
> (client,directory,password)
>   $fname[$i] = odbc_field_name($qh,$i);
> # assign $postfld the variable name, ie.
$HTTP_POST_VARS["client"]
>   $postfld = $HTTP_POST_VARS["($fname[$i])"];
> # check that it exists and is not blank
> if (isset($postfld) AND ($postfld != "")) {
>   $value[$i] = $postfld;
>   $squery.= "$fname[$i] like $value[$i] AND ";
> }
> }
> # pop last AND
> $squery= substr($squery, 0,-5);
> 
> so how do you make this work:  $postfld = $HTTP_POST_VARS["($fname[$i])"];
> 
> thanks,
> 

while (list ($fld, $val) = each($HTTP_POST_VARS)) {
 .. do what ever ...

}

Note: It's a insecure practice to build a data query like this.
  You might want to do some kind of validation.

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

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




[PHP] $12 Investment...$10,000 Return!!!


THIS IS THE SUPER FAST ONE!

While you're waiting for the others to work,  this little gem will put $10,00 in 
your pockett in as little as two weeks!!..I guarantee it!!  Your only cost is a 
couple hours of your time and $10 or $20.  That's it.

  THE GIFTING CLUB  (please take two min. to read this)

If you want to make several thousand dollars really quick, then please 
take two minutes to read and understand the program I am sharing with 
you.  No this is not what you think.  You do not have to send $5 to five 
people to buy a report, receipt, or get their mailing list.  Nor will you need 
to invest more money later to get things going.

  THIS IS THE FASTEST EASIEST PROGRAM YOU"VE EVER SEEN

Complete this in a couple hours and you'll never forget the day you 
received it.  If you are doing other programs, by all means stay with them.  
The more the merrier...please read on.

First, there are only three levels, not four, five or even nine like some other 
programs.  This three level program is much more realistic and much, 
much faster because it is so easy.  The response to this program is VERY 
HIGH and VERY FAST!!  You receive your money in a couple weeks, not 
a couple months.  

TRUE STORY:  Cindy Allen ran this summation four times last year.  The 
first time she received $3,000 in two weeks and $7,000 the next three 
weeks.   When this program is continued, as it should be,  EVERYONE 
PROFITS!!   Don't be afraid to gift a stranger.  There's an old saying that 
gifts will come back to you ten fold.

THE DETAILS:  You only need to mail out 20 copies, not 200 or more like 
other programs.  Mail them to friends, relatives,  poeple who send you their 
programs,  people who you know will continue the process.  Even if you're 
now in another program, stay with it by all means, but do yourself a favor, 
do this one as well!!  It is very simple and takes a very small ( $10 to $20 ) 
investment.  This will be big before the others even trickle in.  Just give 
ONE person $5.  That's it!!  Follow the simple instructions and in a couple 
weeks you'll have $10,000 because most people will respond to the low 
investment high speed and huge profit potential.  So lets's help each other 
by keeping it going!!

1. On a blank piece of paper write your name, address, and email address 
LEGIBLY and wrap it around a FIVE dollar bill.  Send it to the FIRST 
person on the list below ( #1 ).  ONLY THAT PERSON ON THE LIST 
GETS YOUR NAME AND A $5 BILL!!

2.  Retype the list, REMOVE the FIRST NAME ( #1 ) from the list.  Move 
the other two names up and add your name in the ( #3 ) position.

3.  If you're using snail mail, make however many copies you're sending 
out, ( at least 20 ) and send them out today!!!  If you're using email, make 
your initial mailing now and save it.  Every time you recieve an opportunity 
letter, mail them this.  

There is no more to do.  When your name reaches the first position,  it will 
be your turn to collect all your gifts.  

Can you do it??  Of course you can.  Get creative.  Each time you recieve 
a "Get Rich Quick" or "MLM" offer in the mail or your email, respond with 
THIS LETTER.  Your name will climb to the #1 position at dizzying rates.  
Some of you may want to purchase mailing lists or send out hundreds or 
even thousands of letters.  That's great.  The sky really is the limit with this 
unique GIFTING CLUB.

ACT FAST AND GET PAID FAST!  Honesty and Integrity make this plan 
work.  Send $5 to the first name only.  Remove that name and move the 
other two up one position.  Add your name to position ( #3 ).  Copy names 
and addresses EXACTLY. 

#1. Daniel Weaver,  P.O. Box 7, Clarksburg, MO 65025

#2. S. Denyer, P.O. Box 406, Triangle, VA 22172

#3. Bayberry Store, 114 S. Main #305, Fond du Lac, WI 54935

This is a one time mailing so no need to remove.  If you wish we will 
remove your name from our data base.  Type remove in the subject line 
and email  [EMAIL PROTECTED] .

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




[PHP] Session variable listing



I took a look through the archives and couldn't find any reference 
to this.

Is there a way to easily list the variables that are registered within 
a session?

Thanks in advance.

-- 
"Maybe I'll be able to get a job when I graduate..."
 -Linus Torvalds

Cole Tuininga
Network Admin
Code Energy, Inc
[EMAIL PROTECTED]
(603) 766-2208
PGP Key ID: 0x43E5755D


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




Re: [PHP] Dynamically generate variable names?


You want to use variable variables.  You may have to play with this to get
it to work exactly, but
I would add a hidden field
echo "";

That way $named = {The name of your checkbox}

Then to access your checkbox just use ${$named}

for example

 if ( ${$named} == 1)
{
  echo "foo";
}

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com

- Original Message -
From: Ian Marlier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 2:55 PM
Subject: [PHP] Dynamically generate variable names?


> (please reply to me as well as the list, as I'm not subscribed)
>
> I'm trying to generate variable names dynamically, based on
> information read from a MySQL database.  When a user creates an
> account, they're asked to choose from a list of groups to which they
> belong (by clicking checkboxes in an HTML form).  This list is
> generated in real-time from the database.  Each group's checkbox is
> given a name based on their group id number, which works fine.
>
> (The code looks like this, ai_info[0] is the group ID number:
> while ($ai_info = mysql_fetch_array ($academic_interest_result)){
> if ($ai_counter==0)
> {
> echo "";
> echo "";
> echo "";
> echo "";
> echo "";
> echo $ai_info[1];
> echo "";
> $ai_counter = 1;
> }
> else
> {
> echo "";
> echo "";
> echo "";
> echo "";
> echo $ai_info[1];
> echo "";
> $ai_counter = 0;
> }
> }
> )
>
>
> So that part is cool.
>
> The question comes when the form of which these are part is
> submitted.  A seperate page processes the results.  I need it to
> access the database, generate a list of the group id's (using the
> same fetch_array syntax), create a variable name, and then check if
> that variable is == 1.
>
> Does that make sense?
>
> So if, on the first page, someone submits the form with group id 293
> checked, a variable $293==1 is passed to the data processing page.
> WHat I need to do is generate the variable $293 on the second page
> (from the string "$" and the database value "293") so that I can use
> it in an if statement.
>
> Any thoughts?
>
> Okay, I hope that made sense
>
> - Ian
>
>
>
> --
>
> [EMAIL PROTECTED]
> 773 667 2550
>
> Eventually all things merge into one, and a river runs through it.
> The river was cut by the world's great flood and runs over rocks from
> the basement of time.  On some of the rocks are timeless raindrops.
> Under the rocks are the words, and some of the words are theirs.
>
> I am haunted by waters.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


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




Re: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......


Just check out px.sklar.com.

Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 10:14 PM
Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re...


Could you people please send me any scripts you have made which are not too
complecated but are quite useful without the use of mySQL?
To restore my faith in PHP


Thanks in advance
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





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




[PHP] Tell me what you think


Sorry if this seems to be spamming but to anyone who is interested could you please go 
to my site (stated below) and when you have finished browsing click on the leave a 
comment part on the main page and tell me what you think


Thanks people
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





RE: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......


And what pray tell would you like these scripts to do? I've written
thousands of PHP scripts. What do you want? Be more specific and I'm sure
you'll get a great response.

-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 9:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re...


Could you people please send me any scripts you have made which are not too
complecated but are quite useful without the use of mySQL?
To restore my faith in PHP


Thanks in advance
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




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




[PHP] Sorry To Repeat Repeat Repeat Repeat Re.......


Could you people please send me any scripts you have made which are not too 
complecated but are quite useful without the use of mySQL?
To restore my faith in PHP


Thanks in advance
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





[PHP] Re: Big difference?


Hi!

I am new to the list, so I will present myself before
talking about the differente between echo and print.

I am a PhD student in Computer Science at the University
of Sao Paulo state, Sao Carlos city, Brazil. I use PHP in
a system that manages online courses.

About the big difference: reading the manual errata of
the echo function (available at
http://www.php.net/manual/en/function.echo.php), I found
a note from [EMAIL PROTECTED] that mentions another WWW document. This 
document explains the difference:
http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40

Kind regards,

Willie D. Leiva


_
Seja avisado de novas mensagens do Hotmail e use o comunique-se com seus 
amigos com o MSN Messenger em http://messenger.msn.com.br


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




[PHP] Dynamically generate variable names?


(please reply to me as well as the list, as I'm not subscribed)

I'm trying to generate variable names dynamically, based on 
information read from a MySQL database.  When a user creates an 
account, they're asked to choose from a list of groups to which they 
belong (by clicking checkboxes in an HTML form).  This list is 
generated in real-time from the database.  Each group's checkbox is 
given a name based on their group id number, which works fine.

(The code looks like this, ai_info[0] is the group ID number:
while ($ai_info = mysql_fetch_array ($academic_interest_result)){
if ($ai_counter==0)
{
echo "";
echo "";
echo "";
echo "";
echo "";
echo $ai_info[1];
echo "";
$ai_counter = 1;
}
else
{
echo "";
echo "";
echo "";
echo "";
echo $ai_info[1];
echo "";
$ai_counter = 0;
}
}
)


So that part is cool.

The question comes when the form of which these are part is 
submitted.  A seperate page processes the results.  I need it to 
access the database, generate a list of the group id's (using the 
same fetch_array syntax), create a variable name, and then check if 
that variable is == 1.

Does that make sense?

So if, on the first page, someone submits the form with group id 293 
checked, a variable $293==1 is passed to the data processing page. 
WHat I need to do is generate the variable $293 on the second page 
(from the string "$" and the database value "293") so that I can use 
it in an if statement.

Any thoughts?

Okay, I hope that made sense

- Ian



-- 

[EMAIL PROTECTED]
773 667 2550

Eventually all things merge into one, and a river runs through it. 
The river was cut by the world's great flood and runs over rocks from 
the basement of time.  On some of the rocks are timeless raindrops. 
Under the rocks are the words, and some of the words are theirs.

I am haunted by waters.

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




Re: [PHP] substr question...


RE: [PHP] substr question...I suppose that $tmpmember=substr($entry, 0,-4); will do 
the same? :)

Jeff
  - Original Message - 
  From: Boget, Chris 
  To: 'Jeff Lewis' ; [EMAIL PROTECTED] 
  Sent: Thursday, July 26, 2001 3:54 PM
  Subject: RE: [PHP] substr question...


  > I am trying to receive file names but can't quite figure out 
  > the proper substr to do it: 
  > jeff.dat 
  > jeffrey.dat 
  > chris.dat 
  > tom.dat 
  > I want to receive the name to the left of the .dat 

  $fileName = eregi_replace( "\.dat", "", $fullFileName ); 

  Chris 




[PHP] allow_call_time_pass_reference


someone got a documentation for this ?


andreas




RE: [PHP] substr question...


> I am trying to receive file names but can't quite figure out 
> the proper substr to do it:
> jeff.dat
> jeffrey.dat
> chris.dat
> tom.dat
> I want to receive the name to the left of the .dat

$fileName = eregi_replace( "\.dat", "", $fullFileName );

Chris



Re: [PHP] substr question...


try

$filename=explode(".", names);
echo $filename[0]

Jeff Lewis wrote:

> I am trying to receive file names but can't quite figure out the proper substr to do 
>it:
> 
> jeff.dat
> jeffrey.dat
> chris.dat
> tom.dat
> 
> I want to receive the name to the left of the .dat
> 
> Jeff
> 


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




[PHP] substr question...


I am trying to receive file names but can't quite figure out the proper substr to do 
it:

jeff.dat
jeffrey.dat
chris.dat
tom.dat

I want to receive the name to the left of the .dat

Jeff



[PHP] assigning a part of the name of a variable with another variable before php replaces it with the value


Specifically,

If I have 3 HTTP_POST_VARS:

HTTP_POST_VARS["client"] = test1
HTTP_POST_VARS["directory"]= test2
HTTP_POST_VARS["password"] =


and I don't know the names of the vars ahead of time, how would I run a
check to see if they exist and then get the specific POST_VARS's value. This
is what I've got so far:


$squery = "select * from $db where ";
$qh = fw_query("select * from $db");
$fields = odbc_num_fields($qh);
for ($i=1;$i<=$fields;$i++) {
  # assign $fname the possible field names in the database
(client,directory,password)
$fname[$i] = odbc_field_name($qh,$i);
  # assign $postfld the variable name, ie. $HTTP_POST_VARS["client"]
$postfld = $HTTP_POST_VARS["($fname[$i])"];
  # check that it exists and is not blank
if (isset($postfld) AND ($postfld != "")) {
$value[$i] = $postfld;
$squery.= "$fname[$i] like $value[$i] AND ";
}
}
# pop last AND
$squery= substr($squery, 0,-5);

so how do you make this work:  $postfld = $HTTP_POST_VARS["($fname[$i])"];

thanks,

-m


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




Re: [PHP] Example high-profile PHP sites


Capital One (www.capitalone.com) is using some PHP...



Re: [PHP] Open window2 (javascript), enter info in a form, then close window2 and refresh window1. help.


I am not sure if I am following you exactly, but I beleive you should be
able to accomplish this using JavaScript.  From the new window you
can reference the original window using the opener object.  To
reload the original document from the new window, for example, you
would use:

opener.location.reload()

You can reference the entire DOM of the original window from the new window.
Just put opener where you would normally put window  =P

Let me know if this helps.

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com

- Original Message -
From: Matthew DeChant <[EMAIL PROTECTED]>
To: 'PHP list' <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 11:46 AM
Subject: [PHP] Open window2 (javascript), enter info in a form, then close
window2 and refresh window1. help.


> I've gotten this far:
>
> URL to open an advanced search window(window2) from window1:
>
> 
window.open('db_viewMD.php?dsn=$dsn&db=$db&lm=$lm&advsrch=true','advsrch','h
> eight=$vsize,width=310,scrollbars=$bln,resizeable=yes');
> newWindow.focus()\")>Advanced Search
>
>
> Enter text in a form (snippet from form, close window if cancel is
clicked,
> redirect window1 to new url, close window):
>
> print "";
> print "field1\n";
> print "\n";
> print " onclick=window.opener.location='db_viewMD.php?';self.close()>\n";
> print "\n";
>
> Now the problem is that redirecting window1 isn't really helpful because
the
> form variables don't get loaded to window1 unless they are part of the URL
> (ie. dbview_md.php?field1=textentered1&field2=textentered2) but they can't
> be part of the URL because you don't know the text entered in the form
until
> it submits the form.)
>
> Is there a way to just refresh window1 after changing the PHP variable
> (HTTP_SERVER_VARS["argv"]??) that holds the arguments for window1?
>
> -m



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




Re: [PHP] Example high-profile PHP sites


Let's not forget

http://www.foxjet.com

and

http://www.onlychildclub.com

(My Work and Personal Domains... both using a combination of HTML, PHP, and
MySQL)

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com

- Original Message -
From: Unni <[EMAIL PROTECTED]>
To: Chad Day <[EMAIL PROTECTED]>
Cc: Maurice Rickard <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 11:59 AM
Subject: Re: [PHP] Example high-profile PHP sites


> If every one is giving their website about mine
> http://www.malayalamovies.com
>
>
> Chad Day wrote:
>
> > How about my site..  http://www.bangable.com
> >
> > Might not be the kind of site you want to put on your list, but we do
get a
> > lot of traffic.. 4 million page views a month.   All PHP/mysql.
> >
> > Chad
> >
> > -Original Message-
> > From: Maurice Rickard [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 26, 2001 12:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Example high-profile PHP sites
> >
> >
> > For a number of reasons, I need to offer a client a list of big,
> > impressive-sounding, high-profile sites using PHP.  I went looking
> > for the list on PHP.net, and the closest I could find is
> > http://pt2.php.net/sites.php  which, as you'll see, is suffering from
> > a fatal error.
> >
> > I did find a list at http://php.datalogica.com/sites.php which, while
> > helpful,  seems a bit dated.  Does anyone have some favorite examples
> > that aren't on this list?
> >
> > I've been preparing other arguments as well, but the "all the cool
> > people are doing it" examples will help.
> >
> > Thanks!
> > --
> > Maurice Rickard
> > http://mauricerickard.com/
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


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




[PHP] Re: Example high-profile PHP sites


At 10:40 AM -0700 7/26/01, Philip Hallstrom wrote:
>>  I'd probably suggest using more of a "What PHP can do" tactic rather than
>>  "Who's using PHP".  I'm sorry, but the latter tactic seems like a jumping
>>  on the bandwagon approach.
>
>Yeah, but if you're trying to convince a pointy haired boss, this is the
>route you have to take.  It's sad, but it's true.

The person in question isn't the PHB type, but I'm not sure how many 
layers may have to be traversed in the chain of command.  Given that, 
as information is repeated, nuances of argument drop out, I figure 
that the names may remain.  And there's the old business saw that 
nobody was ever fired for doing whatever everybody else was doing.

-- 
Maurice Rickard
http://mauricerickard.com/

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




RE: [PHP] File Upload Size Limits


Did anyone have any thoughts on this?  I can upload an 8 MB file, but after
that the upload fails.

-Original Message-
From: Michael Conley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 7:41 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] File Upload Size Limits


I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1.  I am trying
to do a file upload from the users PC to my web server.  If I do a small
file, the transfer goes fine.  If I do a large file (> 50 MB), the transfer
fails saying either the file was not available for reading or my script just
bombs out.  I need to be able to have people upload large files.  I have
changed the setting in php.ini to upload_max_filesize = 100M.  

Do I also need to change the following entries in php.ini?
max_execution_time = 60
memory_limit = 8M

Is this an apache limit?  I'm not sure what to do with this as I really need
to be able to transfer large files.


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

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




[PHP] error trapping


I am wondering the best way to handle error trapping with PHP.  I am
farmiliar with languages, ColdFusion being one, that you can use TRY and
CATCH statements.  Any info would be appreciated.

THANKS!

-
Phil Spitler [Vice President]
Web Hut Design, Inc.
c 704-451-1324
mailto:[EMAIL PROTECTED]


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




Re: [PHP] Example high-profile PHP sites


  It is a great strategy if you have such client.

  I know of Amazon.com is using in some parts, processes on the background,
and also Epinions.com. I believe their (epinions) template system is based
on php.

  If you wish, the 3rd largest brazilian 'portal', www.ig.com.br, also uses
it. It gets millions of pageviews daily.

--

  Julio Nobrega.

2B||!BB - That's the question.

"Maurice Rickard" <[EMAIL PROTECTED]> wrote in message
news:p05001914b785ffb082a7@[192.168.1.102]...
> While I do appreciate people's contributions, let me frame the
> discussion a little.  The person I need to convince is an
> administrator of an organization within North America, and he's never
> heard of PHP.  The response I'm hoping to provoke in him is something
> like this:  "You mean _ is using this PHP thing?  Wow!  They
> know what they're doing, so we'd better use it, too!"
>
> Does this help frame things?  Thanks for the suggestions!
>
> -Maurice
>
> At 10:59 AM -0600 7/26/01, Unni wrote:
> >If every one is giving their website about mine
> >http://www.malayalamovies.com
> --
> Maurice Rickard
> http://mauricerickard.com/





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




Re: [PHP] Example high-profile PHP sites


Well here's a couple:

http://www.10tv.com/
http://www.evergreenmidwest.com/

They may not fit the requirement though, they're not high-profile and
perhaps not impressive-sounding.

On 7/26/2001 1:16 PM this was written:

> For a number of reasons, I need to offer a client a list of big,
> impressive-sounding, high-profile sites using PHP.  I went looking
> for the list on PHP.net, and the closest I could find is
> http://pt2.php.net/sites.php  which, as you'll see, is suffering from
> a fatal error.

-- 

Thomas Deliduka
IT Manager
 -
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/



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




[PHP] Re: Example high-profile PHP sites


> I'd probably suggest using more of a "What PHP can do" tactic rather than
> "Who's using PHP".  I'm sorry, but the latter tactic seems like a jumping
> on the bandwagon approach.

Yeah, but if you're trying to convince a pointy haired boss, this is the
route you have to take.  It's sad, but it's true.


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




Re: [PHP] Example high-profile PHP sites


So sprach »Maurice Rickard« am 2001-07-26 um 13:31:36 -0400 :
> a few marquee names wouldn't hurt matters.  But yeah, functionality 
> (which is why I'm using it in the first place) should trump 
> popularity.

Yep, I also like that sweet dream :)

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 20 minutes

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




Re: [PHP] Example high-profile PHP sites


Maurice Rickard wrote:
> 
> While I do appreciate people's contributions, let me frame the
> discussion a little.  The person I need to convince is an
> administrator of an organization within North America, and he's never
> heard of PHP.  The response I'm hoping to provoke in him is something
> like this:  "You mean _ is using this PHP thing?  Wow!  They
> know what they're doing, so we'd better use it, too!"
> 
> Does this help frame things?  Thanks for the suggestions!
> 

It would seem to me that you should not be trying to sell him on PHP.
Does he really care? Does he know enough to be impressed? What
comparisons would this guy have? Is he technically savvy enough to
really understand?

I would think that the most important thing here is what does he want
his website to do? Is there a reason to use PHP? Does he need dynamic
content with a database on the backend?

I am sure that you thought of these questions, but just my $.02.

Mike

> -Maurice
> 
> At 10:59 AM -0600 7/26/01, Unni wrote:
> >If every one is giving their website about mine
> >http://www.malayalamovies.com
> --
> Maurice Rickard
> http://mauricerickard.com/
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

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




Re: [PHP] Example high-profile PHP sites


So sprach »Jack Dempsey« am 2001-07-26 um 13:16:52 -0400 :
> they're doing some cool stuff integrating the website with a windows app

OT: And Linux client.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 17 minutes

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




Re: [PHP] Example high-profile PHP sites


So sprach »Maurice Rickard« am 2001-07-26 um 12:35:55 -0400 :
> For a number of reasons, I need to offer a client a list of big, 
> impressive-sounding, high-profile sites using PHP.  I went looking 

In the latest (?) Zend Newsletter, there was a list.  IIRC, it contained
Lufthansa some US Navy (?) site and others.

So, have a look at the newsletters.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 15 minutes

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




Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?


So sprach »elias« am 2001-07-26 um 11:43:36 +0200 :
> Can't I reset that pointer w/ deleting the table and creating it again?

Yep, DELETE FROM Table instead of dropping it.

Or did you mean w/o?

ALTER TABLE Table auto_increment=234;

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 14 minutes

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




Re: [PHP] Example high-profile PHP sites


Good point.  I'm working on that data as well, but I thought getting 
a few marquee names wouldn't hurt matters.  But yeah, functionality 
(which is why I'm using it in the first place) should trump 
popularity.

-Maurice

At 11:23 AM -0700 7/26/01, John Meyer wrote:
>
>I'd probably suggest using more of a "What PHP can do" tactic rather 
>than "Who's using PHP".  I'm sorry, but the latter tactic seems like 
>a jumping on the bandwagon approach.
>
>
>John Meyer
>[EMAIL PROTECTED]
>Programmer
>
>
>If we didn't have Microsoft, we'd have to blame ourselves for all of 
>our programs crashing

-- 
Maurice Rickard
http://mauricerickard.com/

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




Re: [PHP] I want to AUTO_INCREMENT fields


So sprach »elias« am 2001-07-26 um 11:23:56 +0200 :
> first field is the primary key and is called 'id' and is an integer,
> and i want another field of type integer to be also autoincremented...

Pardon me - but what would be the use??   Both columns would contain the
same numbers, no?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 13 minutes

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




Re: [PHP] IE -> View Source


So sprach »Dennis Gearon« am 2001-07-26 um 08:17:28 -0700 :
> Please try to read any of the browser printed text in this URL(I can't do it in
> NS):
> http://rwchat.com/DigiLink1/index.html

wget http://sfdsadf  and I can read it.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 days 18 hours 12 minutes

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




RE: [PHP] Example high-profile PHP sites


www.insight.com is a publicly traded fortune 1000 company. The site is 50%
php now and will be launching its new site this week that will move it up to
90% php. a demo will be available today.

-Original Message-
From: Maurice Rickard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 10:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites


While I do appreciate people's contributions, let me frame the 
discussion a little.  The person I need to convince is an 
administrator of an organization within North America, and he's never 
heard of PHP.  The response I'm hoping to provoke in him is something 
like this:  "You mean _ is using this PHP thing?  Wow!  They 
know what they're doing, so we'd better use it, too!"

Does this help frame things?  Thanks for the suggestions!

-Maurice

At 10:59 AM -0600 7/26/01, Unni wrote:
>If every one is giving their website about mine
>http://www.malayalamovies.com
-- 
Maurice Rickard
http://mauricerickard.com/

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



Re: [PHP] Example high-profile PHP sites


At 01:14 PM 7/26/2001 -0400, Maurice Rickard wrote:
>While I do appreciate people's contributions, let me frame the discussion 
>a little.  The person I need to convince is an administrator of an 
>organization within North America, and he's never heard of PHP.  The 
>response I'm hoping to provoke in him is something like this:  "You mean 
>_ is using this PHP thing?  Wow!  They know what they're doing, so 
>we'd better use it, too!"
>
>Does this help frame things?  Thanks for the suggestions!
>
>-Maurice

I'd probably suggest using more of a "What PHP can do" tactic rather than 
"Who's using PHP".  I'm sorry, but the latter tactic seems like a jumping 
on the bandwagon approach.


John Meyer
[EMAIL PROTECTED]
Programmer


If we didn't have Microsoft, we'd have to blame ourselves for all of our 
programs crashing


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




RE: [PHP] Example high-profile PHP sites


Not to pimp my own site, but Amdmb.com ( http://www.amdmb.com/ ) uses MySQL
and PHP for everything.  We get about 5 million pages a month.

Ryan Shrout

-Original Message-
From: Unni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 12:59 PM
To: Chad Day
Cc: Maurice Rickard; [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites


If every one is giving their website about mine
http://www.malayalamovies.com


Chad Day wrote:

> How about my site..  http://www.bangable.com
> 
> Might not be the kind of site you want to put on your list, but we do get
a
> lot of traffic.. 4 million page views a month.   All PHP/mysql.
> 
> Chad
> 
> -Original Message-
> From: Maurice Rickard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Example high-profile PHP sites
> 
> 
> For a number of reasons, I need to offer a client a list of big,
> impressive-sounding, high-profile sites using PHP.  I went looking
> for the list on PHP.net, and the closest I could find is
> http://pt2.php.net/sites.php  which, as you'll see, is suffering from
> a fatal error.
> 
> I did find a list at http://php.datalogica.com/sites.php which, while
> helpful,  seems a bit dated.  Does anyone have some favorite examples
> that aren't on this list?
> 
> I've been preparing other arguments as well, but the "all the cool
> people are doing it" examples will help.
> 
> Thanks!
> --
> Maurice Rickard
> http://mauricerickard.com/
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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

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




RE: [PHP] Example high-profile PHP sites


www.capitalone.com well known credit card company
www.audiogalaxy.com <-- I wonder about the coders there (no offense if
anyone on this list...just that the site is frequently down), but
they're doing some cool stuff integrating the website with a windows app
for downloading music...

-jack

-Original Message-
From: Unni [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 26, 2001 12:59 PM
To: Chad Day
Cc: Maurice Rickard; [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites

If every one is giving their website about mine
http://www.malayalamovies.com


Chad Day wrote:

> How about my site..  http://www.bangable.com
> 
> Might not be the kind of site you want to put on your list, but we do
get a
> lot of traffic.. 4 million page views a month.   All PHP/mysql.
> 
> Chad
> 
> -Original Message-
> From: Maurice Rickard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Example high-profile PHP sites
> 
> 
> For a number of reasons, I need to offer a client a list of big,
> impressive-sounding, high-profile sites using PHP.  I went looking
> for the list on PHP.net, and the closest I could find is
> http://pt2.php.net/sites.php  which, as you'll see, is suffering from
> a fatal error.
> 
> I did find a list at http://php.datalogica.com/sites.php which, while
> helpful,  seems a bit dated.  Does anyone have some favorite examples
> that aren't on this list?
> 
> I've been preparing other arguments as well, but the "all the cool
> people are doing it" examples will help.
> 
> Thanks!
> --
> Maurice Rickard
> http://mauricerickard.com/
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> 
> 
> 


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


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




Re: [PHP] Example high-profile PHP sites


While I do appreciate people's contributions, let me frame the 
discussion a little.  The person I need to convince is an 
administrator of an organization within North America, and he's never 
heard of PHP.  The response I'm hoping to provoke in him is something 
like this:  "You mean _ is using this PHP thing?  Wow!  They 
know what they're doing, so we'd better use it, too!"

Does this help frame things?  Thanks for the suggestions!

-Maurice

At 10:59 AM -0600 7/26/01, Unni wrote:
>If every one is giving their website about mine
>http://www.malayalamovies.com
-- 
Maurice Rickard
http://mauricerickard.com/

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




[PHP]


Hi everybody,
please I have a question about HTML tag input - .
Can I use the atributte "value", e.g. if I have a tag , I can use the atributte "value" to assign the implied
value. Is this possible by "input type=file"?

And what about ACCEPT atributte - what values can I use?

Thank you very much.
Regards, PETER.



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




Re: [PHP] Session - to restrict same user from two logins


>  an easier way of doing this is to have a database of users with their
> password in the table and when they log on simply mark them logged using
> sum boolean variable. this will, cut down time.
> good luck!.
> and remeber  Have a nice day :)

And when would you uncheck the boolean value? In theory, when the
session expires, but there's no event being triggered. Only solution would
be to check for active sessions periodically, or something like this...
Ideal solution would be for php to do it by itself when the session
expires..



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




  1   2   >