[PHP] subscript my mail-id for php

2001-02-28 Thread B Satish , Gurgaon
can you subscribe my mail-id for Php general mailing lists satish -- 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] Double Click

2001-02-28 Thread Ovidiu EFTIMIE
Use something like this script language="JavaScript" var submitcount=0; function checkSubmit(s) if (submitcount == 0) { submitcount++; s.value = " Sending... "; return true; } else { alert("This form has already been submitted. Thanks!");

[PHP] subscribe my mail-id for php mailing lists

2001-02-28 Thread B Satish , Gurgaon
can you subscribe my mail-id for php general mailing lists satish -- 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] LDAP Listing

2001-02-28 Thread Fredrik Wahlberg
This is a small test I wrote a couple of days ago that does just that. Hope it works for you. /Fredrik ?php $ldapserver = "orchide.habeebee.com"; $basedn = "dc=habeebee, dc=com"; $dir =ldap_connect($ldapserver);// Connect to server if ($dir) { ldap_bind($dir);

[PHP] what is wrong with this sniplet?

2001-02-28 Thread Jacky
people, I tried to write out email using sniplet below, the email will write out the hyper link so that reciever can click on the link to go to the page. What happen is that the reciever recieve the actual link instead of the hyper link I made, so I wonder what did I do wrong. I have mad sure

[PHP] curl functions problems

2001-02-28 Thread Dezider Góra
Hi, I have problem when using curl function to redirect to page. I use it when I need to check for valid informations on the and because there are passwords, I don't want to send it via GET in url. So I use curl to redirect to the originating page. The script's name is saveplacer.php. I use this

RE: [PHP] Exception Handling in php

2001-02-28 Thread Ovidiu EFTIMIE
I think that would be nice to have a try-catch to better control of the code. Ovidiu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 9:09 PM To: kevin1; [EMAIL PROTECTED] Subject: Re: [PHP] Exception Handling in php

RE: [PHP] ++$i and $i++ whatz the difference?

2001-02-28 Thread ..s.c.o.t.t..
one is post-increment, and one is pre-increment: POST-increment ($i++) $i = 1; print $i++; print "\n" print $i; prints : 1 2 becuase $i is printed out and *then* it is incremented, so the next print statement prints out the incremented value, not the print $i++; statement PRE-increment (++$i)

[PHP] Caller's __LINE__

2001-02-28 Thread elias
Hello. I want to make a small function that sends a debug message: function debuginfo($msg) { echo"bthe message is $msg, at line" . __LINE__ . " /bbr"; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number? in this case 'x' ?

Re: [PHP] Caller's __LINE__

2001-02-28 Thread CC Zona
In article 97ifmk$p85$[EMAIL PROTECTED], [EMAIL PROTECTED] ("elias") wrote: function debuginfo($msg) { echo"bthe message is $msg, at line" . __LINE__ . " /bbr"; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number?

RE: [PHP] what is wrong with this sniplet?

2001-02-28 Thread Alvin Tan
Hi Jacky, The problem is a HTML one. Use "http://" followed by the address in your a href tag. Regards, @lvin -Original Message- From: Jacky [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 5:40 AM To: [EMAIL PROTECTED] Subject: [PHP] what is wrong with this sniplet? people,

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread [EMAIL PROTECTED]
Sorry, It was the mistyping. i actually put http:// in the a href. I just forgot to type it in the mail. So what else could it be? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Alvin Tan [EMAIL PROTECTED]

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread [EMAIL PROTECTED]
I am not sure but I think may be it is because whatever the mail() write out in the body part will be recognised as text message, so even if we try to make it to write out the HTML syntax, it won't work. It could be real stupid to make such a notice but I can't think of anything else. Can you?

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread Simon Garner
From: Jacky [mailto:[EMAIL PROTECTED]] people, I tried to write out email using sniplet below, the email will write out the hyper link so that reciever can click on the link to go to the page. What happen is that the reciever recieve the actual link instead of the hyper link I

[PHP] Getting form name

2001-02-28 Thread Matt Williams
Hi Is there a way I can get the name of the form that has been posted? Looking at the form vars I don't see a name var or such in there. TIA M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Caller's __LINE__

2001-02-28 Thread Neil Kimber
Better still - use the set_error_handler() to define an error handler that will output your debug statement and create your dbug message using trigger_error(). Your registered error_handler will automatically receive line number, file name and some other useful parameters. -Original

Re: [PHP] Getting form name

2001-02-28 Thread Simon Garner
From: "Matt Williams" [EMAIL PROTECTED] Hi Is there a way I can get the name of the form that has been posted? Looking at the form vars I don't see a name var or such in there. TIA M@ The NAME attribute of the FORM element is intended for scripting purposes only. But you should be

Re: [PHP] Another question about using shmop!

2001-02-28 Thread Christian Reiniger
On Wednesday 28 February 2001 00:15, you wrote: Does it provide a faster performance, if I use these rather than store things in mysql DB, I know this might be stupid, but I have to make sure this. I belive shared memory is *much* faster than MySQL. Well, I'd say it depends. For only a

RE: [PHP] Getting form name

2001-02-28 Thread Matt Williams
Thanks Simon. You would have though as it there they would make it part of the form. thanks again. 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:

Re: [PHP] File downloading?

2001-02-28 Thread Christian Reiniger
On Wednesday 28 February 2001 01:06, you wrote: Great, thanks. I looked at the file(), but it sounded like is was just for local file use. oops, should've been include(). Sorry :) include () is surely wrong for that. fpassthru (as someone else mentioned), file() and (my personal

[PHP] multiple databases

2001-02-28 Thread Michael Hall
I'd like to run this past anyone who'd care to comment before I get too far down the track I'm considering taking with a PHP web portal site. Is it a wise idea to have a PHP web application running on multiple databases? Everything I've done to date has run off one database, no matter how large

Re: [PHP] Move a file from dir to another or delete file..?

2001-02-28 Thread Christian Reiniger
On Wednesday 28 February 2001 06:51, you wrote: Well I would like to move a file from one directoy to another using php and a web browser. I could just find a function to move an uploaded file but not a normal file which is allready there in some directory. look at the filesystem

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread Christian Reiniger
On Wednesday 28 February 2001 22:40, you wrote: people, I tried to write out email using sniplet below, the email will write out the hyper link so that reciever can click on the link to go to the page. What happen is that the reciever recieve the actual link instead of the hyper link I made,

Re: [PHP] multiple databases

2001-02-28 Thread Simon Garner
From: "Michael Hall" [EMAIL PROTECTED] I'd like to run this past anyone who'd care to comment before I get too far down the track I'm considering taking with a PHP web portal site. Is it a wise idea to have a PHP web application running on multiple databases? Everything I've done to date

Re: [PHP] multiple databases

2001-02-28 Thread Michael Hall
Do you mean 10 different database servers, or 10 databases on the one server? 10 databases on the one server. As far as I know, separate databases on the one server give the same performance as separate tables in one database. Music to my ears. With separate database servers you will

Re: [PHP] multiple databases

2001-02-28 Thread Simon Garner
From: "Michael Hall" [EMAIL PROTECTED] Do you mean 10 different database servers, or 10 databases on the one server? 10 databases on the one server. As far as I know, separate databases on the one server give the same performance as separate tables in one database. Music to my

Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Daniel Tryba
On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 ? //line 1 $excel_handle = new

Re: [PHP] what is wrong with this sniplet?

2001-02-28 Thread Yasuo Ohgaki
You don't need to write a href=. for outlook , if you put space before and after URL unless you want to send HTML mail. Outlook thinks it's a URL if you write correct URL and many other UMA treats URL or Email address as link. i.e. www.php.net is not correct URL, my outlook express thinks

[PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Aviv Revach
Hey! I've just joined this mailing-list, therefore, first of all, I would like to say hello to everybody. Now, regarding the issue.. As some of you might know, handling with Hebrew websites is rather difficult. Hebrew words often come-out in reversed order (i.e. 'lmth' instead of 'html').

[PHP] optimal way of counting votes in online poll

2001-02-28 Thread Vikram Vaswani
Hi all! I have a question as to the optimal method of counting and storing votes in an online poll. Once a user answers the poll by clicking on one of three options, I am performing a query on a table which holds values for each option. Currently I - query the table to get the current count -

[PHP] found a bug with File Uploads..

2001-02-28 Thread Dhaval Desai
Hi! I think I just found a bug in php. I try to upload a file of size 37.0 K and you know what happens.,, The browser takes its own time..and the stupid thing doesnot upload the file. If I upload a file of size 2k then it uploads.. I have specified the file size in the form as : FORM

Re: [PHP] optimal way of counting votes in online poll

2001-02-28 Thread Simon Garner
From: "Vikram Vaswani" [EMAIL PROTECTED] Hi all! I have a question as to the optimal method of counting and storing votes in an online poll. Once a user answers the poll by clicking on one of three options, I am performing a query on a table which holds values for each option. Currently I

Re: [PHP] multiple databases

2001-02-28 Thread Christian Reiniger
On Wednesday 28 February 2001 09:42, you wrote: Is it a wise idea to have a PHP web application running on multiple databases? Everything I've done to date has run off one database, no If you get *really much* traffic, it's wise to split things up to 2 or 3 databases (each on a dedicated

[PHP] RE: while loop and modulus?

2001-02-28 Thread Tim Ward
you don't need to, but if you really want to ... echo "table border=\"0\"\n"; echo "tr\n"; $photocount = 0; while($row = mysql_fetch_array($result)) { $smallpic = $row['smallpic']; echo "td$smallpic/td\n"; if (($photocount % 3) == 2) { echo

[PHP] illegal string index

2001-02-28 Thread E. Uytterhoeven
Hi, I made a site that uses the following code: $id = base64_decode($go);// decoding ID $DataBaseNaam = "teller";// name of DB include('connect.inc.php3');// connection to DB $query = "select * from

Re: [PHP] Members area

2001-02-28 Thread Miles Thompson
Brandon, The tutorials are there - look for them. They collectively describe all that you want to do vis-a-vis database manipulation. Miles At 06:58 PM 2/27/01 -0800, you wrote: Yea i cant find a good Tut, ok... i have a members directory with the inside that folder is status, goodies,

[PHP] RE: Move a file from dir to another or delete file..?

2001-02-28 Thread Tim Ward
-Original Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]] Sent: 28 February 2001 05:51 To: [EMAIL PROTECTED] Subject: Move a file from dir to another or delete file..? Hi! Well I would like to move a file from one directoy to another using php and a web browser. I

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Boaz Yahav
Hi Aviv Let me give you a small tip about Hebrew on the net. The proper Hebrew code which was adopted by the Israeli Institute of Standards is the Logical standard. This standard is automatically supported by IE 4.x and 5.x and also by Netscape 6.x. The percentage of not IE4.x or 5.x users in

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Aviv Revach
Hey! Thank you for the quick reply. I do have some questions regarding your answer. From what I know and have seen so far, there are more than just 3% Internet users in Israel which use Netscape 4.x (I use it myself...). Are you sure that I should just ignore these people, and just use

[PHP] webmin like tools in php

2001-02-28 Thread Mitchell Hagerty
are there tools like webmin (web based admin tools) in php? http://www.webmin.com/webmin/ tks mitch -- 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:

[PHP] PHP and iPlanet on Solaris

2001-02-28 Thread Montgomery-Recht, Evan
I got the latest snapshot of php to compile on solaris (4.0.4pl1 wouldn't). Anyways I edited the mime.types and obj.conf as described in the installation instructions, but right now it's trying to download the test.php file I created instead of processing. Is there anything not in the

[PHP] Problems with PHP4 CGI binary

2001-02-28 Thread Philip Reynolds
Hi, I'm having problems with the PHP CGI binary (version 4.0.4pl1). The bug is basically the bug reported here: http://bugs.php.net/bugs.php?id=8506 It's exactly the same problem, replicated, now we need the CGI binary version working, not only does this look very unprofessional on the sites,

Re: [PHP] POST Referral

2001-02-28 Thread Matt
getenv('REQUEST_METHOD'); .matt - Original Message - From: "Boget, Chris" [EMAIL PROTECTED] To: "Php (E-mail)" [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 2:49 PM Subject: [PHP] POST Referral Is it possible, in PHP, for a page to determine if it was accessed via a form's

[PHP] A small Q

2001-02-28 Thread Harshdeep S Jawanda
Hi, Does the extension of files that are require()-d or include()-d in PHP have to be ".inc"? Can it be ".php"? All examples seem to show this extension as ".inc". Could there be any problems if the extension is kept ".php"? -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List

[PHP] formating output

2001-02-28 Thread george
I am developing a site which will have a web based admin panel, just now you can alter the scrolling headlines through the panel. But I want to be able to let the user modify, delete and create new headline, this isnt proble but i dong know how to format the output. What i want is for it

Re: [PHP] A small Q

2001-02-28 Thread Clayton Dukes
It can bee .poopoo if you want it to be :-) - Original Message - From: "Harshdeep S Jawanda" [EMAIL PROTECTED] To: "PHP General" [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 10:04 AM Subject: [PHP] A small Q Hi, Does the extension of files that are require()-d or

Re: [PHP] Caller's __LINE__

2001-02-28 Thread Christian Dechery
Pass __LINE__ to the function as one of its arguments: function debuginfo($msg, __LINE__) { echo"bthe message is $msg, at line" . __LINE__ . " /bbr"; } that won't work since __LINE__ returns the exact line where it's used... so it will always show the line of the function

Re: [PHP] A small Q

2001-02-28 Thread Philip Reynolds
Harshdeep S Jawanda's [[EMAIL PROTECTED]] 20 lines of wisdom included: :Hi, : :Does the extension of files that are require()-d or include()-d in PHP :have to be ".inc"? Can it be ".php"? : :All examples seem to show this extension as ".inc". Could there be any :problems if the extension is kept

[PHP] interpolating functions into here-docs

2001-02-28 Thread kevin1
How would this be done? -- 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] A small Q

2001-02-28 Thread Robert Vetter
Harshdeep S Jawanda wrote: Hi, Does the extension of files that are require()-d or include()-d in PHP have to be ".inc"? Can it be ".php"? All examples seem to show this extension as ".inc". Could there be any problems if the extension is kept ".php"? I don't know what examples you

[PHP] PHP and printing

2001-02-28 Thread fano
Hello php-general, Hi, I'm working with php4 and mysql on a suse 6.3 I made a program for an ISP that creates accounts, clients, payments, invoices. Everymonth they need to print like a quote (a list of every non paid thing) its ok, I could do that, I mean in the screen... Is it possible

[PHP-CVS] cvs: php4 /sapi/apache2filter README apache_config.c config.m4 php_apache.h sapi_apache2.c

2001-02-28 Thread Sascha Schumann
sas Wed Feb 28 06:03:58 2001 EDT Modified files: /php4/sapi/apache2filterREADME apache_config.c config.m4 php_apache.h sapi_apache2.c Log: Make the module compile again with the latest httpd-2.0 cvs. Index:

[PHP] include_once

2001-02-28 Thread Hardy Merrill
Redhat 6.1 Linux PHP 4.0.4pl1 Apache 1.3.14 Anyone using "include_once"? I'm executing a PHP script "A.php" by referring to it in my Netscape browser URL - script A.php does an include_once of "B.php" - B.php contains a database connect function that does a connect to an Oracle database. I

[PHP-CVS] cvs: php4 /sapi/apache2filter apache_config.c sapi_apache2.c

2001-02-28 Thread Sascha Schumann
sas Wed Feb 28 06:11:35 2001 EDT Modified files: /php4/sapi/apache2filterapache_config.c sapi_apache2.c Log: Now it actually loads, but it segfaults upon a request. Index: php4/sapi/apache2filter/apache_config.c diff -u

[PHP] Retrieving Version numbers.

2001-02-28 Thread ACNS-ONLINE Webmaster
Hey all, New to the list. The only reason I joined was because searching the = archive is a joke. Try to search for something using more than one word = and you get it all. hehe. Anyway, I tryed a search and didn't find anything on this so here goes. I need to retrieve the version number

[PHP-CVS] cvs: php4 /sapi/apache2filter README sapi_apache2.c

2001-02-28 Thread Sascha Schumann
sas Wed Feb 28 06:19:16 2001 EDT Modified files: /php4/sapi/apache2filterREADME sapi_apache2.c Log: httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces and the header filter still seems to be broken. Will try later. Index:

[PHP] PHP / mySQL Problem

2001-02-28 Thread Michael Gorner
Hello, First a bit of background, I'm running apache 1.3.12, php 4.03 and MySQL 3.23.22 under the Windows platform. My problem is simply that when I write stuff to database tables full stops are represented as copyright symbols when I view the data again. This is probably me just being stupid -

Re: [PHP] PHP and printing

2001-02-28 Thread Michael Meinl
Hi, I'm working with php4 and mysql on a suse 6.3 I made a program for an ISP that creates accounts, clients, payments, invoices. Everymonth they need to print like a quote (a list of every non paid thing) its ok, I could do that, I mean in the screen... Is it possible to print it in

Re: [PHP] mySQL table joins are slow, need rebuild?

2001-02-28 Thread Steve Segarra
It also seems you have a semicolon in your query, mysql_query() specifically states not to have on at the end of your queries, so I am guessing this may be a factor... Steve Joe Stump wrote: You need to remember a few things when it comes to joins: the joined fields must be the EXACT same

[PHP] How to disable some functions?

2001-02-28 Thread Batonik
Hi, I've heard that it is possible, for security reasons, to disable such functions like phpinfo(). How can I do this? Greets, Batonik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] include_once

2001-02-28 Thread Hardy Merrill
Solved - I was changing a copy of the code that the webserver was NOT looking at. "include_once" works fine. Appologies. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com Hardy Merrill [[EMAIL PROTECTED]] wrote: Redhat 6.1 Linux PHP 4.0.4pl1 Apache 1.3.14

Re: [PHP] PHP and SVG

2001-02-28 Thread Phil Driscoll
Even though the WC3 hasn't fully finalized the spec for SVG, it's still a viable option for doing some dynamic graphics work using the Adobe plugin. Has anybody been messing around with generating dynamic SVG code with PHP? I haven't done so yet but it's certainly on my 'to do' list. We do a

[PHP] redefine constants

2001-02-28 Thread Christian Dechery
why can't I redefine __LINE__? like define(LN,__LINE__); it's a rather big constant to put in code to generate my error messages, I was thinking more of L, or LN... but if I redefine it, it assumes the value of de redefine() line of code... so it's not really redefining a constant it's only

Re: [PHP] Retrieving Version numbers.

2001-02-28 Thread Batonik
On Wed, 28 Feb 2001, ACNS-ONLINE Webmaster wrote: I need to retrieve the version number from differant programs. example: = "perl -v", or "sendmail -bt -d0", etc.. The problem is that (for example perl) the program returns a bunch of BS = that isn't needed. Does anyone know of a way to

[PHP] user_error() default error type

2001-02-28 Thread Christian Dechery
Can't I change the default value for error type in user_error or trigger_error? I wanted to echo an error everytime a query failed because of syntax errors so I'd to something like: $q="select * from bogustable"; mysql_query($q) or trigger_error(mysql_error()." in ".$q,E_USER_ERROR);

RE: [PHP] redefine constants

2001-02-28 Thread Neil Kimber
define() gives you a literal copy of the value of the second parameter. In this case your second parameter is __LINE__. The value of __LINE__ represents the current line number of the define statement. Once defined the value assigned remains constant, irrespective of whether or not __LINE__

[PHP] Test. Please, ignore!

2001-02-28 Thread Alex Puritche
php-general, Test. Please, ignore! -- Regards, Alex mailto:[EMAIL PROTECTED] May all your Internet Dreams come true! http://www.intellinetusa.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Pluralize a word for searching a database

2001-02-28 Thread Robert V. Zwink
Has anyone every written a function in php to pluralize an english word, particularly when searching a database? function pluralize($word){ return array of pluralized words; } Any help would be appreciated. Seems like their might be a nice regex waiting to handle this? Thanks! Robert Zwink

[PHP] iPlanet issue...

2001-02-28 Thread Montgomery-Recht, Evan
I just noticed a problem with iPlanet... Appearently once I got php working, then I tried geting things working on multiple virtual domains. So this is what happens. Using the standard test.php ?php phpinfo(); ?. The script works from the root directory of each virtual domain. What doesn't

Re: [PHP] How to disable some functions?

2001-02-28 Thread Philip Reynolds
Batonik's [[EMAIL PROTECTED]] 15 lines of wisdom included: :Hi, : : I've heard that it is possible, for security reasons, to disable :such functions like phpinfo(). How can I do this? You can edit the sources... PHP4: $PHP_BASE_DIR/ext/standard/basic_functions.c You're looking for a

Re: [PHP] redefine constants

2001-02-28 Thread Chris Lee
consants must be scalar, they can not be references. http://php.net/manual/en/function.define.php what your looking for is this. ?php define(LN, __LINE__); ? this is invalid syntax though, I dont know how to answer your question though, sorry :( -- Chris Lee

[PHP] Manuel Lemos's PHP POP3 class

2001-02-28 Thread Adrian Murphy
anyone using this class: whats a good way to extact the address of who sent the mail and stick it in a variable,in order to reply? -- 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

Re: [PHP] formating output

2001-02-28 Thread Chris Lee
some code snipits would help, but lets see what we can do. I like arrays, they work for me, there are lots of ways todo things, arrays will help. echo "b{$headline[0]}/ba href='{$newslink[0]}'Latest news/a blah blahbr \n"; echo "b{$headline[1]}/ba href='{$newslink[1]}'Latest news/a blah

[PHP-CVS] cvs: php4 /ext/midgard attachment.c

2001-02-28 Thread David Guerizec
davidg Wed Feb 28 07:50:06 2001 EDT Modified files: /php4/ext/midgard attachment.c Log: function reference: attachments Index: php4/ext/midgard/attachment.c diff -u php4/ext/midgard/attachment.c:1.6 php4/ext/midgard/attachment.c:1.7 ---

Re: [PHP] illegal string index

2001-02-28 Thread Chris Lee
I usually put '' around my indexs if they are not numeric, sometimes I dont have to sometimes I do, so I allways do. $ip[$t] = $waarden['ip']; another note is check if there are any NULL entries in the 'ip' field in your db. if a field is NULL then php does not create that index. and you

Re: [PHP] found a bug with File Uploads..

2001-02-28 Thread Chris Lee
try droping the max_file_size entry, does it help? I run on linux and my file uploads work from all browsers but opera. input type=hidden name='MAX_FILE_SIZE' value='10' is a silly thing php has added, the only purpose I could ever see for this is to prevent people from uploading 3G

Re: [PHP] Caller's __LINE__

2001-02-28 Thread Joao Prado Maia
On Wed, 28 Feb 2001, Christian Dechery wrote: Pass __LINE__ to the function as one of its arguments: function debuginfo($msg, __LINE__) { echo"bthe message is $msg, at line" . __LINE__ . " /bbr"; } that won't work since __LINE__ returns the exact line where it's used... so

Re: [PHP] function not working?

2001-02-28 Thread Chris Lee
your function function display_contents($table,$session) { $count = 0; $result = mysql_query( "SELECT * FROM $table WHERE session = '$session'"); while($row = mysql_fetch_array($result)) { $result_inv = mysql_query( "SELECT * FROM retailseafood WHERE pid = '{$row['items']}'

[PHP] putenv() question.

2001-02-28 Thread Carter Comunale
Hi, I am wondering about putenv(). I would like to set an environment variable in php and then have that variable available to a Perl script. I am doing something like this. The php file: ? $myName = "carter"; putenv("A_NAME=$myName"); ? Then in the Perl script: #!/usr/bin/perl print

[PHP] second select how???

2001-02-28 Thread Miguel Loureiro
Hello all, I have a dynamic select box, according information in database, but I want to restrict a second select box with the choice made in the first select box, but my problem is that I only know the value of the first one after submit form. It is possible to know a choice of a select box

Re: [PHP] re:mod_dav and dreamweaver 4.0

2001-02-28 Thread Michael A. Peters
Not DreamWeaver specifically- but to make sure the problem is DreamWeaver and not something else, try connecting with a different webDAV client. I can personally vouch for Goliath under Mac OS and DAVExplorer under x86 Linux (DAVExplorer requires you have the JRE installed- and that java is in

Re: [PHP] PHP single user??

2001-02-28 Thread Chris Lee
sounds like a db prodblem, vs php. could be wrong. check your config file. for the max users. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] "Todd Cary" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] second select how???

2001-02-28 Thread Jason Jacobs
Mmhmm...onChange() event...it's javascript. Go to webmonkey.com and search for it. They have a cute little tutorial about how to do that. Good luck. Jason - Original Message - From: Miguel Loureiro [EMAIL PROTECTED] To: php-gen [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001

Re: [PHP] found a bug with File Uploads..

2001-02-28 Thread TTT
Hi , in fact it doesn't do much ( at least on the couple browser I tested it) : whatever you put as a limit the file will upload ... this is a p.. in the a... because if you do the check on the server it can only be done when the upload is complete : pretty unfair to tell the user that he has no

Re: [PHP] PHP and iPlanet on Solaris

2001-02-28 Thread Kelly Corkill
Sounds like the server doesn't have or recognize the mime type, ala on apache in srm.conf: application/x-httpd-php3 phtml php3 php I'm not familiar with iPlanet but on apache I would check the mime type definition, apache httpd.conf and make sure to restart the server to reload. On Wed, 28 Feb

[PHP] exchange data between javascript php!

2001-02-28 Thread kaab kaoutar
Hi! i want to when i click on a button, i execute some php syntax ! i also want to give a php variable to a javascript function Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP

[PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Jackson, Michael
Hello everyone... I've been developing a PHP app here for a while now, and I have been encountering some most frustrating situations in which something will work in IE but not Netscape. Some of this seems to be IE's allowances for sloppy coding... :) But here's a new one. I have a

php-general Digest 28 Feb 2001 17:54:33 -0000 Issue 539

2001-02-28 Thread php-general-digest-help
php-general Digest 28 Feb 2001 17:54:33 - Issue 539 Topics (messages 41953 through 42047): Move a file from dir to another or delete file..? 41953 by: Dhaval Desai 41954 by: Simon Garner 41957 by: Yasuo Ohgaki 41982 by: Christian Reiniger 41997 by:

Re: [PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Batonik
On Wed, 28 Feb 2001, Jackson, Michael wrote: I.E. I enter a value, hit OK. Then I press the back button. Then I enter a DIFFERENT value, and hit OK. The SAME value is passed to the PHP script! I'm using the post method, and I haven't found a way to shake this yet! This is afflicting

[PHP] sitemap script

2001-02-28 Thread Ali
Does anybody know of a sitemap script written in php? I appreciate any hint. Ali -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] How to insert time and date into mysql?

2001-02-28 Thread Zenith
How can I insert time and date into mysql table, if the table i have to insert has a field of type time, and a field of type date. Then how can I insert it in PHP, if I use time() function?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
try freshmeat.org http://freshmeat.net/projects/phpsitemapper/ hope it helps :) tim - Original Message - From: "Ali" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 1:16 PM Subject: [PHP] sitemap script Does anybody know of a sitemap script written in

[PHP] Need an array parser

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]=

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
ahh my mistake .net, you know what i mean :) tim.. - Original Message - From: "Tim O'Callaghan" [EMAIL PROTECTED] To: "Ali" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 1:19 PM Subject: Re: [PHP] sitemap script try freshmeat.org

[PHP] Need an array parser(CONT)

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]=

Re: [PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Ernest E Vogelsinger
At 18:57 28.02.2001, Jackson, Michael said: [snip] Hello everyone... I've been developing a PHP app here for a while now, and I have been encountering some most frustrating situations in which something will work in IE but not Netscape. Some of

Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread richard merit
I don't think you can since the plural form of English words can vary, woman, women, families, family, foot, feet, church, churches, sheep, sheep, road, roads... ? rm --- "Robert V. Zwink" [EMAIL PROTECTED] wrote: Has anyone every written a function in php to pluralize an english word,

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Ernest E Vogelsinger
At 21:33 28.02.2001, Dallas K. said: [snip] I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city]

[PHP] Developer certifications

2001-02-28 Thread Chris Adams
Does anyone know of a company which is offering or planning to offer PHP developer certifications? Arguments against certification programs aside[1], there are a lot of companies which prefer certified developers, even to the point of assuming a project done in ASP will be better than the same

RE: [PHP] Developer certifications

2001-02-28 Thread swinkle
Brainbench, www.brainbench.com offers many online certifications, including one in PHP. = Original Message From [EMAIL PROTECTED] (Chris Adams) = Does anyone know of a company which is offering or planning to offer PHP developer certifications? Arguments against certification programs

  1   2   >