[PHP] dynamically adding rows to same form.

2001-04-27 Thread Rahul Bhide
Gurus , Problem : my php form has a 4 text field with one row . I want to put an "add another row" button at the end of the row such that clicking will bringup the previous row as well as add a new row below it for further input of data . let me know , thanks and regards, ~Rahul -- PHP Gener

Re: [PHP] undefined symbol: SSL_CTX_set_rsa_callback

2001-04-27 Thread Dean Hall
""j2n tech"" <[EMAIL PROTECTED]> wrote in message 9cd2bn$55m$[EMAIL PROTECTED]">news:9cd2bn$55m$[EMAIL PROTECTED]... > After compiling php404pl1 and Apache 1.3.12: > > [root@ conf]# ../bin/apachectl restart > ../bin/apachectl restart: httpd not running, trying to start > Syntax error on line 207 o

Re: [PHP] Where is php.ini located by default?

2001-04-27 Thread Martin Skjöldebrand
idban secandri wrote: > On Saturday 28 April 2001 00:37, you wrote: >> I've built php from a tarball. Now I need to specify a special include >> path in the php.ini file. But I can't find it. There is a php.in-dist in >> the build catalog but I can't find a production php.ini anywhere. >> The doc

Re: [PHP] Where is php.ini located by default?

2001-04-27 Thread Erica Douglass
If I'm not mistaken, the "locate" command uses a cache which is only updated every 24 hours or so. You can either recreate locate's cache by reading locate's man pages, or you can actually search the filesystem by using the following commands: cd / (go to the root directory) find . -name php.ini

RE: [PHP] count() problem :D

2001-04-27 Thread Joe Sheble \(Wizaerd\)
Alias the count() $query = "select count(fld_gender) s sumField from tbl_survey"; $result = mysql_query( $query, $dbConnection ); $aRow = mysql_fetch_array( $result ); print( $aRow["sumField"] ); Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL ht

RE: [PHP] Where is php.ini located by default?

2001-04-27 Thread PHPBeginner.com
true, true... m -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 2:23 PM To: PHPBeginner.com Cc: Martin Skjoldebrand; [EMAIL PROTECTED] Subject: Re: [PHP] Where is php.ini located by default? It's /usr/local/lib/php.ini Chris "PHPBeginner.

Re: [PHP] Where is php.ini located by default?

2001-04-27 Thread Chris Fry
It's /usr/local/lib/php.ini Chris "PHPBeginner.com" wrote: > /usr/lib/php > is the default configuration... if I am not worng... 'cause I have some > memory leaks recently :-) > > have you tried : > # locate php.ini > # locate php.ini-dist > > while on windows it should be located in WINNT dire

RE: [PHP] [NEWBIE] :P

2001-04-27 Thread PHPBeginner.com
Hi Owen, newbies are always welcome here (as long as you mention it). See, we developers, are often too bored answering the complicated questions. But if you ask something like: "what is the syntax for update" you'll get dozens of replies. don't try on mySQL lists, I noticed that they are kind o

RE: [PHP] Where is php.ini located by default?

2001-04-27 Thread PHPBeginner.com
/usr/lib/php is the default configuration... if I am not worng... 'cause I have some memory leaks recently :-) have you tried : # locate php.ini # locate php.ini-dist while on windows it should be located in WINNT directory (on NT/2K). It will ask YOU to move them there during the installation.

Re: [PHP] count() problem :D

2001-04-27 Thread Chris Adams
On 27 Apr 2001 19:50:04 -0700, Chris Schneck <[EMAIL PROTECTED]> wrote: >anywho, im having problems getting data out of the count() function i've >implemented, could anyone lend a hand? > >$query = "select count(fld_gender) from tbl_survey"; > >how exactly is it that you output dat

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Martin Skjöldebrand
[EMAIL PROTECTED] wrote: > On Fri, Apr 27, 2001 at 08:06:54PM +0200, Christian Reiniger wrote: >> On Friday 27 April 2001 15:15, Johan Holst Nielsen wrote: >> > > Hey everyone... >> > > >> > > I've been programming in perl for about 3 years now, i have installed >> > > php and have been working o

Re: [PHP] Where is php.ini located by default?

2001-04-27 Thread idban secandri
On Saturday 28 April 2001 00:37, you wrote: > I've built php from a tarball. Now I need to specify a special include path > in the php.ini file. But I can't find it. There is a php.in-dist in the > build catalog but I can't find a production php.ini anywhere. > The docs says that it should be in t

[PHP] Where is php.ini located by default?

2001-04-27 Thread Martin Skjöldebrand
I've built php from a tarball. Now I need to specify a special include path in the php.ini file. But I can't find it. There is a php.in-dist in the build catalog but I can't find a production php.ini anywhere. The docs says that it should be in the install catalogue (which is where?, /usr/local

[PHP] tester needed for phpMyMultiBackup

2001-04-27 Thread idban secandri
Just releasing phpMyMultiBackup; a php scripts that can backup MySQL database(s) from many server(s) i need more tester, scripts can d/l from http://phpklik.dhs.org/phpmymultibackup/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: [PHP] phpwebsite

2001-04-27 Thread Brian Clark
Hi Manesh, @ 12:07:05 AM on 4/28/2001, Manesh wrote: > I got this from a site, and how do i set up the mail fetures? Got what from a site? Which mail features? -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.

[PHP] phpwebsite

2001-04-27 Thread Manesh
I got this from a site, and how do i set up the mail fetures? -- 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] Database

2001-04-27 Thread Manesh
How do i make table, just a simple one called sympoll_auth -- 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] count() problem :D

2001-04-27 Thread Chris Schneck
hey all, this is my first message to this group, im gonna print it out :) anywho, im having problems getting data out of the count() function i've implemented, could anyone lend a hand? $query = "select count(fld_gender) from tbl_survey"; how exactly is it that you output data r

[PHP] Find and Replace script: Content Stripper; recursive subdirectories; ereg_replace, preg_replace

2001-04-27 Thread Erica Douglass
I have created a content stripper file that I am releasing to this newsgroup as freeware. The file takes a .html file that looks like this: _ HEADER _ CONTENT _ FOOTER _ and strips out the header and footer according to certain del

Re: [PHP] include whole directories?

2001-04-27 Thread Erica Douglass
Sure. Use an array, as suggested in the example on the include manual page, but put all files in a specific directory in that array. To do that, use code like the following: # load files into array # assign $directory to your variable, or replace $directory in the below line with the directory yo

RE: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-27 Thread Valter Santos
Of course you can run both win95 and linux in the same machine! You can install linux on your F: drive and run a OS loader such Lilo at startup (lilo is installed with your linux distribution)! Go ahead... install Linux!!! BTW, there is a Apache version for Windows! ..

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Chris Anderson
A good book for a beginner is "The PHP 4 Bible" Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message - From: "Alex Pia

[PHP] undefined symbol: SSL_CTX_set_rsa_callback

2001-04-27 Thread j2n tech
After compiling php404pl1 and Apache 1.3.12: [root@ conf]# ../bin/apachectl restart ../bin/apachectl restart: httpd not running, trying to start Syntax error on line 207 of /var/www/conf/httpd.conf: Cannot load /var/www/libexec/libphp4.so into server: /var/www/libexec/libphp4.so: undefined symbol

[PHP] include whole directories?

2001-04-27 Thread andrew
Is there any way to include whole directories? I have my function declarations in many small, easily maintainable files, but it's a pain to include/require them all individually...I would like to just split them into directories by common purpose, e.g functions/auth functions/content function

Re: [PHP] Strange Question - Please Read This

2001-04-27 Thread Zak Greant
Set the auto_append_file or auto_prepend_file in the php.ini file. See http://www.php.net/manual/en/configuration.php for more details --zak - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 11:50 AM Subject: [PHP]

[PHP] [NEWBIE] :P

2001-04-27 Thread Dddogbruce \(@home.com\)
Hi. I'm writing a new script, but I need some help.. I won't post here because it's just too much. I'm looking for someone who is dedicated and patient in helping a 13 year old with SQL and connecting/recieving, inserting and updating databases. I have ideas, I have some basic knowledge of PHP

Re: [PHP] line break part2

2001-04-27 Thread Dddogbruce \(@home.com\)
$string = nl2br($string) This will change a new line into ; but make sure HTMLspecialchars aren't in the same part. -- 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,

[PHP] Why is this?

2001-04-27 Thread Manesh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: -- 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 a

[PHP] Strange Question - Please Read This

2001-04-27 Thread Chris Anderson
Does anyone know how to place code into every file accessed on my server? Kindof like how geocities and countless other hosts manage to add their banners? Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Admini

Re: [PHP] online site builder

2001-04-27 Thread Godd
Well I am working on just such a project now. Mine is a bit more complex than just the simple page. I am working on actually building a site that allows you to build a dynamic site. So you will be able to make tables in a database and use these tables to build query and tables and all sorts of thi

php-general Digest 27 Apr 2001 22:42:18 -0000 Issue 653

2001-04-27 Thread php-general-digest-help
php-general Digest 27 Apr 2001 22:42:18 - Issue 653 Topics (messages 50591 through 50703): Re: Problem with the HTTP_REFERER 50591 by: Geir Eivind Mork 50599 by: Rosen 50600 by: Simon Ould please help! 50592 by: kaab kaoutar Re: What's wrong with Apache + p

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Alex Piaz
Hi All! One of the best books on PHP that I ever read is "Web Application Development with PHP 4.0" from New Riders. It is an advanced book, not recomend it for beginners, but the medium/advanced skill programmer will love it. THat's my 10 reais (brazillian money):-) []'s Alex Piaz Webma

Re: SV: [PHP] PHP Book?

2001-04-27 Thread eschmid+sic
On Sat, Apr 28, 2001 at 12:01:22AM +0200, Christian Reiniger wrote: > On Friday 27 April 2001 22:53, [EMAIL PROTECTED] wrote: > > > > > Try "Core PHP Programmning", it's have a lot of good stuff! > > > > > > That book is definitely the wrong choice for someone with 3 years > > > perl experience (

Re: [PHP] Is PHP code software?

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 22:29, Kath wrote: > Food for thought: Is PHP code software? Sure. Software is... "instructions that tell a computer what to do. Software comprises the entire set of programs, procedures, and routines associated with the operation of a computer system. The term was coin

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 22:53, [EMAIL PROTECTED] wrote: > > > Try "Core PHP Programmning", it's have a lot of good stuff! > > > > That book is definitely the wrong choice for someone with 3 years > > perl experience (perhaps unless there's a second edition). The copy > > I unfortunately bought i

Re: [PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
ok i got getmypid() Extending the same concept, is it possible for ANOTHER script to check whether this script has completed execution or is still running? N "John Donagher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > One solution would be to have the s

RE: [PHP] How to chop off a char off end?

2001-04-27 Thread Matthew DeChant
$x = "yourtexthere."; $x = substr($x, 0, -1); $x will then equal = "yourtexthere" -m -Original Message- From: Dexter [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 6:45 PM To: [EMAIL PROTECTED] Subject: [PHP] How to chop off a char off end? Using Perl , I usually say $stri

Re: SV: [PHP] PHP Book?

2001-04-27 Thread eschmid+sic
On Fri, Apr 27, 2001 at 08:06:54PM +0200, Christian Reiniger wrote: > On Friday 27 April 2001 15:15, Johan Holst Nielsen wrote: > > > Hey everyone... > > > > > > I've been programming in perl for about 3 years now, i have installed > > > php and have been working on it for about three weeks. I sta

Re: [PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
sounds like a good idea. how to I get the process id? "John Donagher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > One solution would be to have the script write it's process ID in some .pid > file. Since a process ID is per instance of the script, this sh

[PHP] How to chop off a char off end?

2001-04-27 Thread Dexter
Using Perl , I usually say $string=~s /,$//; to chop off a particualr char on end. How do you do this using PHP. Thanks, Dexter

Re: [PHP] Is PHP code software?

2001-04-27 Thread Kath
What makes something done for free (Say Linux or something infinitely smaller, the forums I am writing) not software? Isn't freeware a form of software? - Kath - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Kath" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Frida

Re: [PHP] Is PHP code software?

2001-04-27 Thread Chris Anderson
If it is being sold for profit it is. Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message - From: "Kath" <[EMAIL PRO

Re: [PHP] exclusive execution

2001-04-27 Thread John Donagher
One solution would be to have the script write it's process ID in some .pid file. Since a process ID is per instance of the script, this should provide you with the functionality you're looking for. John On Fri, 27 Apr 2001, Nikhil Goyal wrote: > I need to set up a script such that only one in

[PHP] Is PHP code software?

2001-04-27 Thread Kath
Food for thought: Is PHP code software? - Kath

[PHP] Win Apache/PHP config triping up virtual directory

2001-04-27 Thread Mike Gifford
Hello, I have been working to develop the Back-end CMS on Sourceforge: https://sourceforge.net/projects/back-end/ I'm running into a bit of a difficulty though folks trying to run the code in a windows environment. To get around the problem with search engines tripping over the ?'s the

[PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
I need to set up a script such that only one instance of it is running at a time i.e. in case the script is already executing, it will not be started again. My problem is on a script taking a long time to execute (like it should) - I find that for some reason the script stops somewhere in the mid

Re: [PHP] HELP!! Mail and attachments

2001-04-27 Thread Tym Rehm
I have to send the file. I need the recipient to fill out the form. - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Tym Rehm" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 10:16 AM Subject: Re: [PHP] HELP!! Mail and attachments > I would reco

Re: [PHP] HELP!! Mail and attachments

2001-04-27 Thread Chris Anderson
I would recommend that you send a link instead of the actual doc file. Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message ---

RE: [PHP] MP3

2001-04-27 Thread PHPBeginner.com
I've seen some on hotscripts.com, sourceforge.net (more chances) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Rafael Faria [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 2

[PHP] MP3

2001-04-27 Thread Rafael Faria
Have some way to make a script to get the info of mp3 file? like ID3 tag? --- [ r a f a e l f a r i a] _ [EMAIL PROTECTED] WebMaster Universo Online - http://www.uol.com.br Phone # +55 11 3038-8665 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] php4 on RedHat 7.1

2001-04-27 Thread j2n tech
""Peter H. Lemieux"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Take a look at /var/log/httpd/error_log. Is there an entry for the very > first time the server was run (before you installed PHP 4.04pl)? Does > it list PHP/4.0 as installed? The initial e

[PHP] crypting a database

2001-04-27 Thread Augusto Cesar Castoldi
Hi, Anyone have some function to crypt and text then decrypt? regards, Augusto Cesar Castoldi -- 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 PRO

Re: [PHP] PHP4, .php3 files and Apache

2001-04-27 Thread Kath
Thank you! I wasn't doing the "application/x-httpd-php" part right! Thanks! - Kath - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Kath" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 2:37 PM Subject: Re: [PHP] PHP4, .php3 files and Apach

Re: [PHP] Syntax for select statement

2001-04-27 Thread Philip Olson
also note that if magic_quotes_gpc setting (in php.ini) is on, these quotes will automagically be escaped. phpinfo() will tell you your setting, as will get_magic_quotes_gpc(). http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc run around the manual for more information. re

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
no, I knew that, my problem was generating functions with dynamic names. I solved it with a simple eval(), see my last post below; Thanks, Yasuo, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Origina

Re: [PHP] PHP4, .php3 files and Apache

2001-04-27 Thread Philip Olson
do something similar to : AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp regards, philip On Fri, 27 Apr 2001, Kath wrote: > I run a Debian 2.2 server with Apache (from stable) and PHP4 (from > stable). > > I downloaded phpChat in order to setup a chat center on the w

Re: [PHP] Variable (naming them) Functions.

2001-04-27 Thread Philip Olson
for point of reference regarding this thread : http://www.php.net/manual/en/functions.variable-functions.php regards, philip On Sat, 28 Apr 2001, Yasuo Ohgaki wrote: > Variable functions? > > foo () { > echo 'this is foo'; > } > > bar () { > echo 'this is bar'; > } > > $var = $HTT

Re: [PHP] line break part2

2001-04-27 Thread Philip Olson
Have a look at file() : http://www.php.net/manual/en/function.file.php $lines = file('log_test.txt'); echo $lines[4]; // prints line #5 regards, philip On Fri, 27 Apr 2001, Gary wrote: > Thanks for everyone's help on the original question. Now that I have > gotten the line breaks in

[PHP] PHP4, .php3 files and Apache

2001-04-27 Thread Kath
I run a Debian 2.2 server with Apache (from stable) and PHP4 (from stable). I downloaded phpChat in order to setup a chat center on the website. However, the files are named .php3. At first I thought I could be cute and just rename the files to .php, as .php is what we name our files on our

Re: [PHP] PHP Book?

2001-04-27 Thread Kath
I agree 100% with Professional PHP Programming. It was my first book. Also "php fast and easy web development" by Julie Meloni. - Kath - Original Message - From: "Angerer, Chad" <[EMAIL PROTECTED]> To: "'Hamed Nik'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001

Re: [PHP] Variable (naming them) Functions.

2001-04-27 Thread Yasuo Ohgaki
Variable functions? http://localhost/some_script.php?fname=foo prints "this is foo"; http://localhost/some_script.php?fname=bar print "this is bar" Regards, -- Yasuo Ohgaki "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message DC017B079D81D411998C009027B7112A015ED16A@EXC-TYO-01">news:DC01

Re: [PHP] php4 on RedHat 7.1

2001-04-27 Thread Peter H. Lemieux
Take a look at /var/log/httpd/error_log. Is there an entry for the very first time the server was run (before you installed PHP 4.04pl)? Does it list PHP/4.0 as installed? The initial entry in my error_log from the "Wolverine" beta of 7.1 shows: [Fri Apr 27 12:36:13 2001] [notice] Apache/1.3.1

RE: [PHP] line break part2

2001-04-27 Thread PHPBeginner.com
just do $content_str = implode("\n", $content); at the end of the file. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Saturday, April

RE: [PHP] Variable (naming them) Functions. DONE! DONE! DONE!

2001-04-27 Thread PHPBeginner.com
Guys, I think LORD just looked down here in Tokyo, seen me still typing at 3.15am of Friday night, smoking the third pack of that nasty Marlboros, having no dinner, with no even a cup coffee remained... and sent to the list that GENIUS of Jason Murray who solved my problem. I know, Jason, you di

Re: [PHP] Syntax for select statement

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 17:56, Don Pro wrote: > $queryID = mysql_query("SELECT Country, Agent FROM Ports > WHERE Portname = '$portname'"); > > My question is, if the variable $portname has the ' character within > in, will this cause an error in my select s

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 15:15, Johan Holst Nielsen wrote: > > Hey everyone... > > > > I've been programming in perl for about 3 years now, i have installed > > php and have been working on it for about three weeks. I started by > Try "Core PHP Programmning", it's have a lot of good stuff! That b

[PHP] sending content-type header after session_start()

2001-04-27 Thread matt . wong
Hello, please correct me if I'm wrong, but it seems that in PHP 4, after calling session_start(), you are stuck with serving an HTML page. What if you want to call session_start(), but you want to send headers after the session has started? for example, I'd like to deliver a downloadable file,

[PHP] line break part2

2001-04-27 Thread Gary
Thanks for everyone's help on the original question. Now that I have gotten the line breaks in a file, How do I get the file out with the breaks? Also, does anyone know of a good tutorial on file formatting. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

RE: [PHP] rounding up

2001-04-27 Thread Joseph Bannon
What is the best seamless way to upgrade/update PHP? Joseph -- 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] Storing php-code in mysqlDB

2001-04-27 Thread PHPBeginner.com
YOU ARE GENIUS! I don't think Jason you have read my previous posts here, but your answer to Oliver might be able to solve my problem. still have some BIG doubts on it, but it gave me an idea of a try. Thanks, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMA

Re: [PHP] explode won't explode

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 14:15, Tom Beidler wrote: > I have the following code that doesn't seem to "explode." I'm trying to > make a field that looks like 21,23,25,27 or small,medium,large,x-large > into a pulldown menu with the individual item broken out. > > if (($size != "") && ($size != "n/a")

Re: [PHP] Variable (naming them) Functions.

2001-04-27 Thread Christian Reiniger
On Friday 27 April 2001 17:08, PHPBeginner.com wrote: > no classes CAN'T solve my problem: > > it is an abstraction layer. called as func_hello(); I want, inside > func_hello() {} declare a new function based on what happened before > func_hello() was called. In other words: I of course though abo

RE: [PHP] A lot of records

2001-04-27 Thread PHPBeginner.com
search for a such class on the web. tip: don't select everything, LIMIT your search with LIMIT 100, 20 to select the records from 100 to 120. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Mess

RE: [PHP] Storing php-code in mysqlDB

2001-04-27 Thread Jason Murray
> I try to store phpcode in a mysql-database, to have them ready, when > they´ll be needed > When I request these, it seems that they will not be parsed. > Any suggestion? Eval() it. http://www.php.net/manual/en/function.eval.php Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbour

Re: [PHP] nesting php

2001-04-27 Thread Jason Brooke
> Hello everyone! > > I am trying to pass a variable in a url and can't seem to do it. The problem is, the url is already being determined by a php "if" statement. So, when I get to the part where I try to append the url I get parse errors. What I would ideally like to do is generate the url usin

[PHP] Storing php-code in mysqlDB

2001-04-27 Thread heinisch
Hi folks, I try to store phpcode in a mysql-database, to have them ready, when they´ll be needed When I request these, it seems that they will not be parsed. Any suggestion? some code: // the result comes from an object function while ($obj -> Fetchinto(&$row)) // as long as there are results {

[PHP] nesting php

2001-04-27 Thread Brendan Caulfield
Hello everyone! I am trying to pass a variable in a url and can't seem to do it. The problem is, the url is already being determined by a php "if" statement. So, when I get to the part where I try to append the url I get parse errors. What I would ideally like to do is generate the url using

[PHP] Grand Opening

2001-04-27 Thread Merchandise WholeSale
First off I would like to Thank You for taking time to read this letter. Second of all your e-mail address was pulled from an on-line source, if this was unsolicited from an unclean source we're very sorry, but you will not receive any other e-mails from us. This is the only & last me

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread Johnson, Kirk
It lets you choose the variable name which you use when referencing the function, but the actual function name is set by PHP (as lambda_1, lambda_2, etc.) "; ?> Kirk > -Original Message- > From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 10:27 AM > To: Jo

[PHP] A lot of records

2001-04-27 Thread mfourny
Hi, After a querry on a dBase I get to much result to insert them in one page, so I have to count them in blocks of, let say 20 records; I used the count() function to get the number of records in result, but I don't figure what to do after... Regards and thanks for your help Marc -- PHP Gene

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
create_function seems not letting you choosing it's name. am I right, or there's a way to say: create_function($name.$to.be, args, args, args)? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Origina

[PHP] xslt_set_scheme_handler()

2001-04-27 Thread Heino H. Gehlsen
Would somebody be so kind and tell us how to use the xslt_set_scheme_handler() function ? Heino H. Gehlsen

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread Johnson, Kirk
Did you see create_function()? Not sure if this is what you are after, but http://www.php.net/manual/en/function.create-function.php Kirk > -Original Message- > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] > Subject: [PHP] Variable (naming them) Functions. > > Hello everyone: > > I

[PHP] Syntax for select statement

2001-04-27 Thread Don Pro
Hi, I've written PHP routines to work on MySQL and so far so good. However, I have one question. I have a select routine that has the following syntax (which works fine thus far): $queryID = mysql_query("SELECT Country, Agent FROM Ports WHERE Portname =

RE: [PHP] PHP Book?

2001-04-27 Thread Simon Ould
"PHP Developers Cookbook", by Sterling Hughes I like it: as the name might suggest, it is packed with real-World examples. I also bought "Beginning PHP Programming" (Wrox press). Mistake. Big mistake. It is aimed at people who are *completely* new to programming. The review that I read of it didn

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Boget, Chris
> have you checked your PHP.INI file? > it sais there what links to rewrite. This is what is in my .ini. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" ; added 3/2/01 Am I missing something here that I should have? I don't see anything in the docs about the above

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread PHPBeginner.com
well, in your situation I would go into php-general archives right away. I think (not that I remember, but...) that this was a topic here before. try to search there. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.c

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Johnson, Kirk
Thanks, Maxim, I hadn't seen the url_rewriter.tags entry in php.ini before. A search of the PHP manual only returns one unhelpful reference, tho. Any idea where to find some documentation on this? TIA Kirk > -Original Message- > From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] > > have

RE: [PHP] mysql table speed

2001-04-27 Thread Jason Murray
> i've got a mysql table with about 150.000 record. > i'm getting data out of this table to generate statistic overviews > > it seems that this is a problem, cause it takes a long time > to generate these overviews > > q: how can i speed up this table cause 150.000 records > is not that

[PHP] mysql table speed

2001-04-27 Thread Bas Jochems
i've got a mysql table with about 150.000 record. i'm getting data out of this table to generate statistic overviews it seems that this is a problem, cause it takes a long time to generate these overviews q: how can i speed up this table cause 150.000 records is not that much i suppose?

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread PHPBeginner.com
have you checked your PHP.INI file? it sais there what links to rewrite. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Saturda

RE: [PHP] PHP Book?

2001-04-27 Thread Boaz Yahav
You can check for PHP / MySQL books at : PHP: http://www.weberdev.com/index.php3?GoTo=ShowShoppingItems.php3%3FMasterCateg ory%3D156%26SubCategory%3D106%26SubCategoryName%3DPHP%26MainCategoryName%3DB ooks MySQL: == http://www.weberdev.com/index.php3?GoTo=ShowShoppingItems.php3%3FMasterC

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Boget, Chris
> Here is what I see in my FORM with --enable-trans-sid: > > VALUE="cbf75d263416e77d773b1772f6e1be89"> > PHP is adding the HIDDEN field with the session id. For some > reason, it also appends it to the SRC attribute of the image submit > button, but doesn't add it in the ACTION url. I'm not g

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Johnson, Kirk
Here is what I see in my FORM with --enable-trans-sid: PHP is adding the HIDDEN field with the session id. For some reason, it also appends it to the SRC attribute of the image submit button, but doesn't add it in the ACTION url. Kirk > -Original Message- > Its my understandin

Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread Jimmy Lantz
Yes, thank you you're right this is exactly what it was, I used Dreamweaver on a mac to edit the files, but now if I encounter parse error I convert them with BBEdit. Thank you. Jimmy Lantz >I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get >parse errors on line 1 unless I

Re: [PHP] PHP Book?

2001-04-27 Thread Randal Pitt
I used 'Professional PHP Programming' by WROX Press first, but to learn more about what PHP can do and the best way to do it, I recommend 'Web Application Development with PHP4', you can get both from Amazon. Randal. "Hamed Nik" wrote in message <9cbr3a$mkc$[EMAIL PROTECTED]>... >Hey everyone..

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
no classes CAN'T solve my problem: it is an abstraction layer. called as func_hello(); I want, inside func_hello() {} declare a new function based on what happened before func_hello() was called. In other words: I of course though about classes, and there is in fact a work around, but I need to k

Re: [PHP] network error

2001-04-27 Thread claudia
Hi, maybe now someone can help me. While i get a "network error" message from netscape i get no message from ie. It´s like i make a reload on my page and not that i am sending a lot of data over with my form. While testing with ie i figured out that the problem, why ie displays nothing is, becaus

Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread John Platte
I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get parse errors on line 1 unless I remember to set line breaks to Unix \n (rather than Mac and Windows line endings, which use different characters). You may be running into a similar problem. Jimmy Lantz wrote: > Hi, I have a

Re: [PHP] Build problems

2001-04-27 Thread Yasuo Ohgaki
The cause of this error is complier cannot find kernel related headers. Download kernel source (2.2 not 2.4), and untar under /usr/src/linux. (or get/install kernel source/header RPM for 6.2) Regards, -- Yasuo Ohgaki "Curtis Maurand" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

  1   2   >