Re: [PHP] Viral Marketing PHP (was Re: [PHP] Computer Science and PHP)

2002-01-28 Thread DL Neil
Hello Manuel, I have just re-read this, and am conscious that I am appearing to disagree with you, too frequently, yet in overview I am wanting to agree!? I am a consultant, and I am well used to playing devil's advocate, ie disagreeing with what is being said, in order to arrive at the best

[PHP] PHP env variables; please read...!

2002-01-28 Thread Prakash
Hi, I'm trying to execute a Webmin script where I can use php as scripting language... (It will be good to work with a language as php in a remote administration server, as root! potentially dangerous but good!) Now the STRANGE problem: (seems to be some env variables (maybe I'm wrong) when

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then phantom blurted Page 1 is a list of people's names (queried by State). Page 2 is each person's profile. When I hit the back button on Page 2 it tells me it has to requery the List on Page 1 (apparently not stored in the

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Edward van Bilderbeek - Bean IT
Hi, a possible solution is also to provide the backbutton href with the original variable values... print a href='bladibla.php?var1=val1var2=val2'back/a\n; Greets, Edward - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Edward van Bilderbeek - Bean IT blurted Hi, a possible solution is also to provide the backbutton href with the original variable values... I'm pretty sure he means the /browser/ back button though. - -- Nick Wilson Tel:

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Edward van Bilderbeek - Bean IT
the moment I hit the send button I realised it myself too :-) but this is a pretty good alternative... Edward - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 10:15 AM Subject: Re: [PHP] Back button to Query Pages

[PHP] 'relocate' errors on php module load? try changing the compiler.

2002-01-28 Thread Kervin Pierre
Hi, I sending this message because a few people have contacted me offline about a question I posted to the list a while back. It seems that on certain Sun Solaris systems, Apache and PHP compile fine but apache does *not* run. When Apache is started with the PHP module or any other module,

[PHP] Re: PHP in the University and Corporation

2002-01-28 Thread Dreamriver.com
Hello, I teach internet programming part-time and my findings are that the best language to learn for the web - for students - is php because it is more affordable and easier to learn for the students. The instruction the school provides does NOT include php. I added instruction in php as a

Re: [PHP] set_time_limit() in a loop

2002-01-28 Thread DL Neil
Matthew, There's some strange stuff going on here, and in the conversation. For information about set_time_limit() please read http://uk2.php.net/manual/en/function.set-time-limit.php. Despite the sense of what is written below, the manual says When called, set_time_limit() restarts the

[PHP] RE: [PHP-WIN] HELP! with PHP extension

2002-01-28 Thread Martin Lindhe
Hi all, Here is the situation. I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI. My PHP folder is C:\php Extension Folder is: C:\php\extension PHP.INI file: extention_dir = C:\php\extension\ Are you sure the foldername is extension? Just asking you to doublecheck since the

[PHP] Is there any Jabber Client in PHP

2002-01-28 Thread S.Murali Krishna
Hi all Is there any jabber client in PHP available ?. I have searched the net and got some information on how to write jabber client, but ( to learn ) i need an existing one if any. S.Murali Krishna [EMAIL PROTECTED] = We grow slow trying

[PHP] Sendmail

2002-01-28 Thread Uma Shankari T.
Hello, The system have to send mail automatically to the username stored in mysql table.I am having the details of usermailid,date.By using php script how do i go about with this Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Sendmail

2002-01-28 Thread Jeff Van Campen
The system have to send mail automatically to the username stored in mysql table.I am having the details of usermailid,date.By using php script how do i go about with this To send the mail, use the mail function: http://www.php.net/manual/en/function.mail.php -- PHP General Mailing List

[PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread DrouetL
Hi everybody I'm not sure it is the best place for my question. Until now we were using PHP connecting to an oracle database. We are looking to change for an opensource database for the new applications. Do you know where I can find a recent and objective study comparing both with PHP to

Re: [PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread Jeff Van Campen
Do you know where I can find a recent and objective study comparing both with PHP to connect to it. http://phpbuilder.com/columns/tim2705.php3 HTH -jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread Ben-Nes Michael
Don't use MySQL its way to primitive. Go for Postgresql. I worked with both of them with PHP and they both fast, stable and supported -- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-4-6991122 http://sites.canaan.co.il

[PHP] How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Ivan Carey
Hello, Thankyou for your reply. When a user clicks upon a delete link that deletes a record from a database, I would like to be able to give them the option to OK or Cancel this action. I have tried coding the browsers built in confirm box (I can bring up this) but am unable to combine it

Re: [PHP] Got a problem I cant figure out

2002-01-28 Thread Miles Thompson
A goog first step is to rename the page with a .phps extension and display it in the browser. The coloring of the text often gives you an idea where PHP got turned off or something critical was commented out. Miles Thompson At 09:55 PM 1/27/2002 -0700, Ben Turner wrote: Parse error: parse

[PHP] session id's and url rewriting.

2002-01-28 Thread Aric Caley
Is there any way to access the PHP4 session URL rewriter directly? Is there a way to override it and use a different function (say you wanted to make a rewriter for XML or something other than HTML)? Could anybody point me to a function that does what the rewriter does? Surely somebody's

Re: [PHP] get image from DB problem

2002-01-28 Thread freddy
I guess I must be lucky. Where I currently work we have been using ColdFusion and Oracle for all our database web development. After verifying with the SAs that we had compiled php support on our new instalation of Apache on Solaris I asked our CIO directly if it would be ok to look at

Re: [PHP] How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Jeff Van Campen
When a user clicks upon a delete link that deletes a record from a database, I would like to be able to give them the option to OK or Cancel this action. I have tried coding the browsers built in confirm box (I can bring up this) but am unable to combine it with php or a combination of php

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Floyd Baker
On Mon, 28 Jan 2002 15:20:05 +0800, you wrote: On Monday 28 January 2002 14:27, you wrote: Please keep discussion on the list! Sorry about that. I meant to.. //pull value from session file: $page_views = $_SESSION['page_views']; No need for this, in fact this is what is preventing it

Re: [PHP] Trying to remove bad charactors.

2002-01-28 Thread bvr
Special characters must be escaped with a backslash: $q = preg_replace(\!, , $q); or $q = preg_replace( preg_quote(!@#$%^*()), , $q); bvr. On Mon, 28 Jan 2002 11:24:30 +1300, Philip J. Newman wrote: I'm trying to replace !@#$%^*() with nothing how ever every thing that I try it takes out

[PHP] Mpeg

2002-01-28 Thread Edward van Bilderbeek - Bean IT
Hi, I've asked this question before, but no answer... so here it is again: does anyone now how I can get the dimensions (width, height) of an mpeg file? maybe via a unix command... (because in the PHP manual, I can't find anything about it, and I'm not that much of a unix-guru...)... thanks,

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Jason Wong
On Monday 28 January 2002 20:52, Floyd Baker wrote: On Mon, 28 Jan 2002 15:20:05 +0800, you wrote: On Monday 28 January 2002 14:27, you wrote: 2) session.save_path = c:/tmp, I don't use PHP on Windows, but looking at the other settings, paths for Windows systems are specified with a

[PHP] Syntax highlighting through Apache (Re: [PHP] Got a problem I cant figure out)

2002-01-28 Thread bvr
I just thought of this good tip: To show the highlighted php source without constanly renaming your scripts you can add the the following to your httpd.conf : Alias /src /your/document/root LocationMatch /src/* ForceType application/x-httpd-php-source /LocationMatch Now, for

Re: [PHP] Mpeg

2002-01-28 Thread Jon Farmer
I've asked this question before, but no answer... so here it is again: does anyone now how I can get the dimensions (width, height) of an mpeg file? maybe via a unix command... (because in the PHP manual, I can't find anything about it, and I'm not that much of a unix-guru...)...

[PHP] Re: Mysql / PostgreSQL with PHP

2002-01-28 Thread Michael Waples
[EMAIL PROTECTED] wrote: Hi everybody I'm not sure it is the best place for my question. Until now we were using PHP connecting to an oracle database. We are looking to change for an opensource database for the new applications. Do you know where I can find a recent and objective

[PHP] Re: How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Lerp
Hi Ivan, I've this a number of times. What I suggest is that you have two forms, each with a button on the page that receives the delete request. Both forms post to the processing page. The first button passes a value called dodelete and the second one passes another value say, dontdelete. On the

[PHP] Internet-Cafe package needed !!!

2002-01-28 Thread charles ariwodo
hello All, I was wondering if anyone can help me find or tell me where I a can find an Internet-cafe program for managing time and permision on the computers. I know there are lot of such programs for windows . But I will like to use RedHat Linux at my internet-cafe bussiness because it has

[PHP] Sending Form Arrays

2002-01-28 Thread Scott Saraniero
Hi, I have a form that has a section with multiple checkboxes. I would like to be able to send the checked boxes out as an array, and be able to retrieve the array in the next page (that the form variables go to.) I cannot find specific info on this anywhere. Can someone please point me in the

Re: [PHP] Sending Form Arrays

2002-01-28 Thread Edward van Bilderbeek - Bean IT
try something like this: input type=checkbox name=check[0] value='Y' check 1BR input type=checkbox name=check[1] value='Y' check 2BR input type=checkbox name=check[2] value='Y' check 3BR input type=checkbox name=check[3] value='Y' check 4BR input type=checkbox name=check[4] value='Y' check 5BR

RE: [PHP] Got a problem I cant figure out

2002-01-28 Thread Rick Emery
SHOW US YOUR CODE -Original Message- From: Ben Turner [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 27, 2002 10:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Got a problem I cant figure out Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line 47 I am receiving

[PHP] Re: Got a problem I cant figure out

2002-01-28 Thread Dan Koken
Could be that you have a open curly bracket somewhere. Here is a quick program I use to beautify and clean up my PHP code and point out any open brackets; HTH .. Dan ? /* - *\ ** Beauty: cleans up source PHP code and ** nest everything \*

Re: [PHP] PHP IDE

2002-01-28 Thread TD - Sales International Holland B.V.
On Saturday 26 January 2002 03:49, Zeev Suraski stuffed this into my mailbox: I use Activestate Komodo (www.activestate.com). It's not free though ($ 29,95 end-user/educational $ 299 commercial). However, it's not just PHP, it also has stuff for perl, C and several other languages. regards

Re: [PHP] Sending Form Arrays

2002-01-28 Thread Scott Saraniero
Thanks, I'll try this, but why is the value always 'Y'? From: [EMAIL PROTECTED] (Edward Van Bilderbeek - Bean It) Newsgroups: php.general Date: Mon, 28 Jan 2002 15:24:01 +0100 To: [EMAIL PROTECTED] Subject: Re: [PHP] Sending Form Arrays try something like this: input type=checkbox

[PHP] Re: Got a problem I cant figure out

2002-01-28 Thread Dan Koken
Could be that you have a open curly bracket somewhere. Here is a quick program I use to beautify and clean up my PHP code and to point out any open brackets; HTH .. Dan ? /* - *\ ** Beauty: cleans up source PHP code and ** nest everything \*

RE: [PHP] Sending Form Arrays

2002-01-28 Thread Matt Schroebel
What I do is: input type=checkbox name=check[] value=Box 1Box 1BR input type=checkbox name=check[] value=Box 2Box 2BR input type=checkbox name=check[] value=Box 3Box 3BR input type=checkbox name=check[] value=Box 4Box 4BR input type=checkbox name=check[] value=Box 5Box 5BR Then in the action

[PHP] Re: php vs asp

2002-01-28 Thread Michael Kimsal
Liz Lynch wrote: can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php Yes it can be used - no there are no real drawbacks other than that most documentation for ASP work assumes SQL Server or Access, so many tutorials

Re: [PHP] php vs asp

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted can someone tell me whether or not asp can be used with mysql and is there any drawbacks to using it as opposed to php erm are you looking for an unbiased opinion on a /php/ mailing list? If you're serious you

Re: [PHP] PHP IDE

2002-01-28 Thread DrouetL
You can use html-kit (www.chami.com) with the php plugin. Very simple editor with syntax highlighting. Free Or you can buy phped from www.nusphere.com more sophisticated. Laurent Drouet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Can PHTML pages cause spurious high counts?

2002-01-28 Thread Orrin Kerr
I've been searching the PHP website and FAQ and also the Analog web server analyzer website and their FAQ, but I haven't found an answer and was wondering if anyone else had seen ridiculously high request counts for their PHTML pages? I've tried a couple of the pages on my site and a single

RE: [PHP] Got a problem I cant figure out

2002-01-28 Thread JSheble
typically this means a missing semi-colon or a control structure that wasn't closed somewhere in the code... it won't tell you where, so you'll just have to check and double-check all the lines of code At 08:28 AM 1/28/2002 -0600, Rick Emery wrote: SHOW US YOUR CODE -Original

Re: [PHP] php vs asp

2002-01-28 Thread liz lynch
sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am not

Re: [PHP] How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Girish Nath
Hi If you have a delete link then try this : script language=javascript function confirmThis(url) { if (confirm(Are you sure you want to delete ?)) { window.location = url; } } /script Then you can generate the delete link dynamically with PHP eg : a

Re: [PHP] php vs asp

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then liz lynch blurted sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with

Re: [PHP] php vs asp

2002-01-28 Thread Jon Farmer
sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine is adament that asp will work just as well. i am

[PHP] strerror and PHP 4.1.1

2002-01-28 Thread R'twick Niceorgaw
Is strerror function removed from PHP 4.1.1 ? I'm getting an error like this after upgrading to PHP 4.1.1 from PHP 4.0.6. Fatal error: Call to undefined function: strerror() in /usr/nmademo/ctm/nma.php on line 79 This line was working fine on PHP 4.0.6. Any help is appreciated. Regards

Re: [PHP] mailing to 19000 users

2002-01-28 Thread Anas Mughal
I am soon to encounter the problem Mostafa is facing. Currently, I have written my custom code to mail to users subscribed to mailing lists on my site. (It is custom code using PHP, MySQL, Linux cron.) I was wondering if there is a mailing list system that could use MySQL to retreive the list of

Re: [PHP] mailing to 19000 users

2002-01-28 Thread Jason Wong
On Monday 28 January 2002 23:33, Anas Mughal wrote: I am soon to encounter the problem Mostafa is facing. Currently, I have written my custom code to mail to users subscribed to mailing lists on my site. (It is custom code using PHP, MySQL, Linux cron.) I was wondering if there is a mailing

Re: [PHP] Sending Form Arrays

2002-01-28 Thread Jason Wong
On Monday 28 January 2002 22:34, Scott Saraniero wrote: Thanks, I'll try this, but why is the value always 'Y'? It doesn't have to be 'Y', it can be anything you want, as long as it's not 0 (zero) or an empty string because they would be pretty hard to test for. try something like this:

Re: [PHP] php vs asp

2002-01-28 Thread Jason Wong
On Monday 28 January 2002 23:15, liz lynch wrote: sorry i should have explained myself abit better.i am a huge fan of php hence why i subscribe to this mailing list. its just that i need to settle an argument. my understanding is that php works better with mysql however a friend of mine

RE: [PHP] mailing to 19000 users

2002-01-28 Thread Daniel Reichenbach
If you use qmail, then ezmlm (www.ezmlm.org) might be a solution for you. It's capable of using MySQL to store the subscriber lists. Daniel I am soon to encounter the problem Mostafa is facing. Currently, I have written my custom code to mail to users subscribed to mailing lists on my site.

[PHP] Basic Password Protection.

2002-01-28 Thread Philip J. Newman
Can someone point me to a section in the manual where I can read about basic Authentication? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Need a little help

2002-01-28 Thread Brian V Bonini
I'm trying to redirect based on referring host and request. I have an .htaccess set up like this: RedirectMatch (.*)\.gif$ http://www.domain.com/_borders/test.php to redirect all requests for .gif's to a php script which then determines the referring host. $url=parse_url($HTTP_REFERER); if

Re: [PHP] php vs asp

2002-01-28 Thread Clint Tredway
With ASP the only cost is the OS. Clint -- Original Message -- From: Jason Wong [EMAIL PROTECTED] Date: Mon, 28 Jan 2002 23:45:57 +0800 On Monday 28 January 2002 23:15, liz lynch wrote: sorry i should have explained myself abit better.i am a huge

Re: [PHP] php vs asp

2002-01-28 Thread Jon Farmer
With ASP the only cost is the OS. Clint ASP = Cost of hardware + Cost of OS + Cost of 3rdParty components. PHP = Cost of hardware. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP -- -- PHP

Re: [PHP] Basic Password Protection.

2002-01-28 Thread Girish Nath
Hi Try : http://www.php.net/manual/en/features.http-auth.php Check the comments on the page for links to tutorials etc. Regards :) Girish -- www.girishnath.co.uk - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 3:49

Re: [PHP] php vs asp

2002-01-28 Thread TD - Sales International Holland B.V.
On Monday 28 January 2002 16:21, you wrote: I could be very very very wrong on this, but I think that if you want to access MySQL through ASP you need an ODBC in between it and I think that will slow things down. Far as I know PHP uses the MySQL libraries and that SHOULD (again, I'm NOT sure)

Re: [PHP] Need a little help

2002-01-28 Thread Girish Nath
Hi This should send different images to the referer based on what parse_url() returns: ?php $url=parse_url($HTTP_REFERER); if ($url[host] == domain.com) { $requestImage = images/domain_A.gif; } else { $requestImage = images/domain_B.gif; } header (Content-Type: image/gif); header

[PHP] enable dmalloc option for php 4.1.1

2002-01-28 Thread Ziying Sherwin
We tried to install php 4.1.1 on our Solaris 2.8 machine with gcc 2.95.2 and apache 1.3.22. We tried to enable as many configuration options as possible. It configured OK, but we encountered several error messages during compilation: We configured with option --enable-dmalloc and

[PHP] mixed datatype

2002-01-28 Thread charlesk
How do you make a function like bool session_register (mixed name [, mixed ...]) What does the function look like that it can take unlimited arguments? Charles Killmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] help sorting readdir values

2002-01-28 Thread dan radom
First I must state that I didn't write the code, and I'm not much of a programmer of any kind. I'm hoping someone can tell me how to sort the filenames and file sizes returned by readdir and filesize in the below code. Thanks in advance. dan ? function list_dir($dir) {

RE: [PHP] mixed datatype

2002-01-28 Thread Matt Schroebel
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list -Original Message- From: charlesk [mailto:[EMAIL PROTECTED]] What does the function look like that it can take unlimited arguments? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP]Upload file to system

2002-01-28 Thread sundogcurt
Is that a bad word? \ : [EMAIL PROTECTED] wrote: Did someone say hosting fees? - Original Message - From: sundogcurt [EMAIL PROTECTED] To: GENERAL PHP LIST [EMAIL PROTECTED] Sent: Monday, January 28, 2002 3:32 PM Subject: Re: [PHP]Upload file to system You could try contacting your

Re: [PHP] php vs asp

2002-01-28 Thread John Meyer
You can use ASP with Mysql, as long as you have myodbc installed on your machine. For me, ASP has been a bit slower, but you can still use it. - Original Message - From: liz lynch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 7:14 AM Subject: [PHP] php vs asp

[PHP] How to call method from another class

2002-01-28 Thread David Yee
If I have a PHP class (let's say it's called ClassA), how do I call a method from another class (ClassB) within ClassA? Thanks. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Human Resource managment system

2002-01-28 Thread M.E. Suliman
Hi Are there any PHP Projects that are developing a HR management system. We hope to create this and in future integrating with payroll and tax deductions etc. I will appreciate anyone who can advise where I can find info relating to this. Thanks Mohamed - Original Message - From:

RE: [PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread Chris Lott
Both work well with PHP. Later versions of PostgreSQL are quite fast (comparable to PHP). MySQL is still a little faster and there seems to be a much larger base of users and support. You can't go wrong with either one... if you need the features that PostgreSQL offers that MySQL currently lacks

RE: [PHP] strerror and PHP 4.1.1

2002-01-28 Thread Mark Roedel
-Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 9:30 AM To: PHP-General Subject: [PHP] strerror and PHP 4.1.1 Is strerror function removed from PHP 4.1.1 ? The manual at http://www.zend.com/manual/function.strerror.php says

Re: [PHP] mixed datatype

2002-01-28 Thread Jim Lucas [php]
? function MyFunc($item, $args=) { extract((isset($args)?$args:array())); return($item, $first_arg$second_arg$third_arg); } //call MyFunc() echo MyFunc(hi there, array( first_arg = my name ,

[PHP] RE: Building my site... again - somewhat OT

2002-01-28 Thread Andrew Chase
Hi Torkil, You may want to head over to Webmonkey and read their article about Search Engine optimization: http://hotwired.lycos.com/webmonkey/01/23/index1a.html A few key points that have proven very helpful with my personal web site: • A central crawler index with links to each page on my

[PHP] Multiple INI Files

2002-01-28 Thread charlesk
We host many sites with PHP. Is there any way to have each site use a different php.ini? Charles Killmer -- 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:

Re: [PHP] Human Resource managment system]

2002-01-28 Thread 911job
Hi. Look at http://www.911-job.com If it is like that you need, call me directly. Elena Koroleva M.E. Suliman wrote: Hi Are there any PHP Projects that are developing a HR management system. We hope to create this and in future integrating with payroll and tax deductions etc. I

Re: [PHP] Multiple INI Files

2002-01-28 Thread Jim Lucas [php]
what OS are you running them on? if it is linux with apache, you can override most of the php.ini settings in the httpd.conf file http://www.php.net/manual/en/configuration.php#AEN2200 this will show you how to override. it doesn't show it here, but this will also work in the virtual host

Re: [PHP] Multiple INI Files

2002-01-28 Thread David Otton
On Mon, 28 Jan 2002 12:10:02 -0600, you wrote: We host many sites with PHP. Is there any way to have each site use a different php.ini? You can put seperate PHP directives in Apache's .htaccess file for each site you host. djo -- PHP General Mailing List (http://www.php.net/) To

[PHP] if command

2002-01-28 Thread Eduardo Melo
Someone knows how to use the IF command ? I need two expressions as such as IF (exp1 AND exp2) ... thank's eduardo melo computer programmer _ MSN Photos is the easiest way to share and print your photos:

Re: [PHP] if command

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Eduardo Melo blurted Someone knows how to use the IF command ? Have you Read The Fine Manual Eduardo? Try www.php.net I'm not sure if there is a translation for your language though. - -- Nick Wilson Tel:+45 3325 0688 Fax:

[PHP] RE: Multiple INI Files

2002-01-28 Thread charlesk
Windows 2000 Server, PHP 4.1.0, IIS 5.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] Re: Human Resource managment system

2002-01-28 Thread LaserJetter
Not quite your thing, but I'm sticking the school's timetable on a server so that anyone can call up their lesson timetable and also find out teacher's timetables and whether or not classrooms are free. The only way I found I could do this was in MySQL and although I dont know of any projects, I

Re: [PHP] if command

2002-01-28 Thread Girish Nath
Hi http://www.php.net/manual/en/control-structures.php for example : if ($firstname == Eduardo $lastname == Melo) { print (I know you) } else { print (I don't know you); } Regards Girish -- www.girishnath.co.uk - Original Message - From: Eduardo Melo [EMAIL PROTECTED]

Re: [PHP] if command

2002-01-28 Thread Rouvas Stathis
Someone knows how to use the IF command ? I need two expressions as such as IF (exp1 AND exp2) ... name of poster deleted computer programmer ^ A computer programmer not knowing the IF command? Really, what computer do you program? -Stathis. PS: Sorry, I just can't

Re: [PHP] File uploading like hotmail

2002-01-28 Thread Girish Nath
Hi It's in the manual at : http://www.php.net/manual/en/features.file-upload.php Regards Girish -- www.girishnath.co.uk - Original Message - From: qartis [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 28, 2002 6:37 PM Subject: Re: [PHP] File

Re: [PHP] File uploading like hotmail

2002-01-28 Thread Girish Nath
Hi It's in the manual at : http://www.php.net/manual/en/features.file-upload.php Regards Girish -- www.girishnath.co.uk - Original Message - From: qartis [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 28, 2002 6:37 PM Subject: Re: [PHP] File

[PHP] Initializing Array

2002-01-28 Thread pong-TC
Hello All I would like to initialize the array $pos[17][7][3] to zero. Can i do like in C ie. $pos[17][7][3] = 0;? Or, will I have to do initialize every single element of array to zero by using loop? Thank you. Pong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] How to call method from another class

2002-01-28 Thread Sandeep Murphy
first create an instance of class B like this... $test = new classB(); Now, u can refer to any function or method of classB like this: $test-hello(); // where hello() is a method of classB.. cheers, sands -Original Message- From: David Yee [mailto:[EMAIL PROTECTED]] Sent:

[PHP] multiply-defined symbol error with php 4.1.1 on Solaris 2.8

2002-01-28 Thread Ziying Sherwin
We tried to build php 4.1.1 with as many options as possible on our Solaris 2.8 machine with gcc 2.95.2 and Apache 1.3.22. During the compilation, we had a problem with wddx extention which complains that header file expat.h is not in the expat 1.2 package that we installed for php. Thanks to

Re: [PHP] File uploading like hotmail

2002-01-28 Thread qartis
I think you might be looking for input type=file HTML form element. Duky Yuen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own

RE: [PHP] mailing to 19000 users

2002-01-28 Thread Mostafa Al-Mallawani
I found some nice mailing list managers at http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers / -Original Message- From: Anas Mughal [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 5:33 PM To: Mostafa Al-Mallawani; [EMAIL PROTECTED] Subject: Re: [PHP]

[PHP] Help with Logical 'OR'

2002-01-28 Thread jv
It seems that only the first condition is being evaluated. I know that if both of the following conditions are false then the second set of statements should get read, and that's what happens, but when I set $name to true and $text to false (true||false) then the first set gets read. Shouldn't

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Jeff Sheltren
With a logical OR statement, many languages will evaluate the first statement, and if the first condition is true, then it will not evaluate the second condition, because TRUE OR (anything) is TRUE. This saves the program from executing any more code than it has to. If the first condition

RE: [PHP] Need a little help

2002-01-28 Thread Brian V Bonini
hmmm, I think I see where your going but that either just puts out a lot of garbage on the screen: ¤X!lø`7–Y± Á\t1h^€(uT”3衇 J2¶’O\ԑG)ÂGìˆ Ì–•t鎖ä(òŠ¡¹!n3pPߚƒÔÓÄVœõ`\Z·Å„ô2‘Ԁ;Ur©e8òÞhS€‰0Ítˆ%;-‚X âÑ9›ºcI%„‚(CqxpR ¤Ô„4ûȶÔ%03. Ì`‰ÃåP† r ˜é™

Re: [PHP] How to call method from another class

2002-01-28 Thread David Yee
Got it- thanks Sandeep. David - Original Message - From: Sandeep Murphy [EMAIL PROTECTED] To: 'David Yee' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 28, 2002 11:12 AM Subject: RE: [PHP] How to call method from another class first create an instance of class B like

RE: [PHP] How to call method from another class

2002-01-28 Thread Joel Boonstra
first create an instance of class B like this... $test = new classB(); Now, u can refer to any function or method of classB like this: $test-hello(); // where hello() is a method of classB.. That's not what the original question was, though. David (I think, unless I got my nested replies

RE: [PHP] How to echo the /n, /r, etc... to the HTML display?

2002-01-28 Thread Matt Schroebel
Read the first user note at the bottom of this manual page: http://www.php.net/manual/en/function.htmlentities.php -Original Message- Subject: [PHP] How to echo the /n, /r, etc... to the HTML display? So, you see, if I use the PHP function, nl2br(), that took care of the cr and

RE: [PHP] mailing to 19000 users

2002-01-28 Thread Darren Gamble
Good day, I've already done this once with Perl and qmail, which was used against about 50,000 users. I'm sure it would not be much different with PHP. All I did was create a program to get the addresses from the DB, and then use what effectively is a wrapper script for qmail-inject (you would

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Sam Masiello
For sake of efficiency, many languages will do what is called Short Circuit in a situation like this. Let's look at a simple truth table for an OR using two conditions (T=true, F=false): T || T = T T || F = T F || T = T F || F = F In the first two cases, it is only necessary to evaluate the

Re: [PHP] Any Ideas

2002-01-28 Thread Jason G.
$str = ereg_replace('[-!@#$%^*()_+=-\';:/.,?]', '', $str); You may need to escape some of these characters with \ On the other hand, they are contained in a character class [] so you may not need to escape them. Note how the `-' is in the beginning. -Jason Garber IonZoft.com At 09:13 AM

[PHP] improve turning urls into links routine

2002-01-28 Thread Peter J. Schoenster
Hi, I did a quick search for something like this below but did not find it. Would you please criticize it. Thanks. function MakeUrls($data) { $words = explode( , $data); $new_data = ; while (list ($key,$row) = each ($words) ) { if (preg_match

[PHP] HTML lists PHP

2002-01-28 Thread Phil Schwarzmann
I keep getting parse error with this code: ($teams[] is a big array that I got by using mysql_fetch_array) $r = game; echo select name='game'; echo option value=game1$teams[$r.'1']/option; echo option value=game1$teams[$r.'16']/option; echo /select; Im trying to make a

  1   2   >