[PHP] PHP and Perl

2001-09-04 Thread Jarosław Jankowski
Hi, I have something like this in the script : Perl script is generating Excel file. My question is : How to do it in PHP (maybe javascript) that after sending data to this script first I will have window with something like " Wait, generating file" and when perl script is done another window wi

[PHP] refer to the same page AGAIN! Please...

2001-09-04 Thread Ardani Sarjito
Hi! I still have the same problem. How Do I write a string on the a page using input from the same page without deleting the previous written string. I'd like to use PHP_SELF. Is it possible? Thank you! Ardani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] refer to the same page AGAIN! Please...

2001-09-04 Thread Lawrence . Sheed
Create a file with the following. test.php open a browser and point at test.php Look at the http variables section. Now try adding some variables to it eg : open the browser, and open a url like the following: http://localhost/test.php?x=y&foo=bar Now look at the PHP Variables section. yo

Re: [PHP] refer to the same page AGAIN! Please...

2001-09-04 Thread David Robley
On Tue, 4 Sep 2001 10:33, Ardani Sarjito wrote: > Hi! > I still have the same problem. > > How Do I write a string on the a page using input from the same page > without deleting the previous written string. I'd like to use PHP_SELF. > Is it possible? > > > Thank you! > > Ardani I think you have

[PHP] Re: password why?

2001-09-04 Thread _lallous
I didn't look very well at your script, but it seems that you're calling mysql_numrows() instead of mysql_num_rows() "Gary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello Everybody, > I have a script that checks if the password and password confirm are t

[PHP] newby: forms problem

2001-09-04 Thread Nikola Veber
hi In order to process a form, do I need a cgi script and if not, how am I suposed to do that (how to pass a field value into a $variable, or there is another method)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] Re: refer to the same page AGAIN! Please...

2001-09-04 Thread _lallous
use hidden fields, // New Document {$messages[$i]}"; your text? // elias "Ardani Sarjito" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > I still have the same problem. > > How Do I write a string on the a page using input from the s

[PHP] Re: ob_start()

2001-09-04 Thread _lallous
Not really! There was a column on PHPBuilder.com, check it out. "Jeroen Olthof" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can I increase speed by using this to buffer output ? > > kind regards > Jeroen Olthof > > -- PHP General Mailing List (http://

[PHP] Re: hot Image on Image action

2001-09-04 Thread _lallous
you have to use image manipulation functions, first you have to create your final image with ImageCreate(,..,...finalwidth, finalheight) then open each small image independently and then use the ImageCopy() to copy and place from the small image to the bigger image... hope this helps, "Mike He

[PHP] tinyweb and PHP4

2001-09-04 Thread hue micheal
Has anyone tried this combination ? Does it work ? REgards Huem -- 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] tinyweb and PHP4

2001-09-04 Thread Rasmus Lerdorf
Since TinyWeb support CGI execution and provides a semi-standard set of cgi environment variables the CGI version of PHP should work just fine with it. You probably just need to associate .php with the php.exe executable and stick your PHP scripts in the /cgi-bin directory. It also supports ISAP

[PHP] Re: newby: forms problem

2001-09-04 Thread Daniel Masur
just post your form to a ph site, and the name describt in your tag will be the variable. is $wtf on the php page "Nikola Veber" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi > > In order to process a form, do I need a cgi script and if not, how a

[PHP] PHP through search engines

2001-09-04 Thread David Portass
I have a website mainpage in HTML, the rest of it is sort of dynamic from Actinic Catalog. I want to convert the main page to a PHP page for some functions but I am concerned that it might affect the way search engine spiders will see it. What I want to know is if i do change my page to a php pa

[PHP] Wierd for thingy, help!

2001-09-04 Thread Kyle Smith
Ok sorry for not looking into this one but is it possible for 1 page to have a variable (not input) and then post it to another page and in an input variable (text box) it will have the variable from the first page as its value. not im confused! -lk6- http://www.StupeedStudios.f2s.com Home

[PHP] Re: Wierd for thingy, help!

2001-09-04 Thread _lallous
page1.htm page2.php "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok sorry for not looking into this one but is it possible for 1 page to have a variable (not input) and then post it to another page and in an input variable (text box) it

Re: [PHP] tinyweb and PHP4

2001-09-04 Thread _lallous
Hmmisn't tinyweb the program that is written by same makers of The Bat (email client) ? Rasmus, I assume that Hue is trying to find the smallest web server that doesn't need installation process and stuff so maybe he can distribute his scripts on a CD! And that is just a nice idea that he ga

Re: [PHP] Re: Wierd for thingy, help!

2001-09-04 Thread Kyle Smith
would that work without a submit button? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "_lallous" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 4

[PHP] Re: MDB

2001-09-04 Thread _lallous
Sure you can! throught ODBC, check PHP Builder or try posting in php.windows "Rogerio Coelho - Equipeweb - Compuland Isp" <[EMAIL PROTECTED]> wrote in message 3B9365E0.14551.4D1141@localhost">news:3B9365E0.14551.4D1141@localhost... Hi, Folks! Can I read from an mdb database direct

Re: [PHP] Re: Wierd for thingy, help!

2001-09-04 Thread _lallous
Yes, actually the example I posted doesn't have a submit button, "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > would that work without a submit button? > > > -lk6- > http://www.StupeedStudios.f2s.com > Home of the burning lego man! > > ICQ: 11585

[PHP] Text area's width in NS

2001-09-04 Thread Niklas Lampén
This helped me out (at least made my site look nicer :), but is there a way set text area's width like this? Doesn't seem to work with same code. IE however works great. Why the hell there can not be just ONE standard?!? Niklas -Original Message- From: * R&zE: [mailto:[EMAIL PROTECTED]

Re: [PHP] PHP_SELF NEW.....?????Continue2

2001-09-04 Thread David Otton
On Mon, 3 Sep 2001 17:15:25 -0700, you wrote: >So, with the PHP_self (in my hangman game) I probably can send the value of >my variable to the same page. now my next question is: > >How do i maintain the content of the page which is build based on the value >passed from the previous submision? Do

Re: [PHP] Text area's width in NS

2001-09-04 Thread
From: Niklas Lampén <[EMAIL PROTECTED]> Date: Tue, Sep 04, 2001 at 02:39:03PM +0300 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] Text area's width in NS > This helped me out (at least made my site look nicer :), but is there a way > set text area's width like this? Doesn't seem to work with sa

[PHP] iODBC support (--with-iodbc[=DIR])

2001-09-04 Thread Kraa de Simon
Hi, I'd like to configure the iODBC support (--with-iodbc[=DIR]) On http://www.iodbc.org I can choose between 'iODBC Driver Manager' and 'OpenLink iODBC SDK binaries'. When I choose 'iODBC Driver Manager' I see the following options: - iODBC Driver Manager & Administrator SOURCE Release V3.0.5

[PHP] calculating the average of arrays

2001-09-04 Thread Bart Verbeek
Hello, I want to calculate an average from the following variables/arrays a - $f[$index][f_d1_perc] with $f[$index][f_d1_weight] b - $f[$index][f_d2_perc] with $f[$index][f_d2_weight] c - $f[$index][f_d3_perc] with $f[$index][f_d3_weight] d - $f[$index][f_d4_perc] with $f[$index][f_d4_weight] e

Fwd: [PHP] Text area's width in NS

2001-09-04 Thread Michael Cronström
> >From: Niklas Lampén <[EMAIL PROTECTED]> > >Doesn't seem to work with same code. IE >however works great. > >Why the hell there can not be just ONE standard?!? There is at: www.w3c.org but everyone (read big enterprises) is not following the recommendations |:-( If everyone tried to remember

[PHP] Re: calculating the average of arrays

2001-09-04 Thread _lallous
you can use this: if (isset($f[$index][f_d1_weight]) && !empty($f[$index][f_d1_weight])) { // process item here } "Bart Verbeek" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I want to calculate an average from the following variables/arrays > >

Re: Fwd: [PHP] Text area's width in NS

2001-09-04 Thread
> There is at: www.w3c.org but everyone (read big enterprises) is not > following the recommendations |:-( Yep... so actually your answer is: "No you can't." The fact that there is a standard telling that something could be done really doesn't mean very much when, what you call 'big enterpri

[PHP] Another script doesnt work!

2001-09-04 Thread Kyle Smith
And this time its not because of a dot, someone please help! Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/dannys/sendform.php on line 22 line 22 is $message = blah!! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAI

Re: [PHP] Another script doesnt work!

2001-09-04 Thread
From: Kyle Smith <[EMAIL PROTECTED]> Date: Tue, Sep 04, 2001 at 01:18:42PM -0700 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] Another script doesnt work! > And this time its not because of a dot, someone please help! > > Parse error: parse error in >/web/sites/197/lk6/www.stupeedstudios.f2s.

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-04 Thread Michael Kimsal
I don't think "we" need "spies" - the ASP stuff is pretty out in the open as to where they're going. Visit www.ibuyspy.com to get some tutorials on how to use ASP+ in a commerce environment. There's some neat things, but most of it seems overkill, and some of the neat things still seem to lock

RE: [PHP] Another script doesnt work!

2001-09-04 Thread Niklas Lampén
If line 22 is '$message = blah!!' it should be '$message = "blah!!";' or then you're missing a ';' from the end of previous line. Niklas -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: 4. syyskuuta 2001 23:19 To: [EMAIL PROTECTED] Subject: [PHP] Another script doe

[PHP] Using php Dreamweaver and CVS

2001-09-04 Thread Robert V. Zwink
While developing PHP applications at my company our designers use Macromedia's Dreamweaver for html design, once they have a site designed they insert tags recognized by php's FastTemplate. Then I can create php pages utililizing php and FastTemplate to process the page. As our projects have gro

RE: [PHP] iODBC support (--with-iodbc[=DIR])

2001-09-04 Thread Andrew Hill
Simon, The HOWTO on www.iodbc.org walks through the steps with links to specific file downloads. As far as what libc version you need, do the following on your RedHat box: rpm -qa |grep libc the latest version number that shows up is what you need compatibility for. Best regards, Andrew Hill D

RE: [PHP] PHP with Access?

2001-09-04 Thread Andrew Hill
Jeff, No, Access will not run on Linux. Either export the mdb to MySQL format (there is a utility to do this on the MySQL site) or connect from Linux to Windows using ODBC - check the iODBC HowTO at www.iodbc.org for steps to compile PHP --with-iodbc. The reason that ODBC isn't working on Windo

Re: [PHP] Disbale function in certain virtual host

2001-09-04 Thread Nicolas Ross
And you can see at : http://etudiant.multim.org/test/test.php that I disabled phpinfo() in the virtual host, but I can still execute the function > > > php_admin_value disable_functions strlen > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

[PHP] mysql query . need help!!!!!

2001-09-04 Thread lizlynch
i have two tables here, i want to insert the customername from the Username table and insert it into the Classification table. is the below query correct cause i can't seem to get it to work. $query = "INSERT INTO Classification (Customername) (SELECT Customername) FROM Username WHERE Use

[PHP] again system, exec and passthru.

2001-09-04 Thread Thorsten Wandersmann
I read a lot of it in this group, but not a real solution. I think, that most of the problems is the same that I have. I'm using SuSE7.2, apache 1.3.19, php 4.0.4pl1. Webserver is up and runnig and normally all works fine, without $SUBJECT. OK, tried the three functions using " and ' as well,

[PHP] PHP Stress Testing.

2001-09-04 Thread Andy Woolley
Guys, Has anyone ever tested PHP, MySQL on Apache to see just how well it will work when put under serious pressure. Seems that people all over the world are saying how PHP doesnt cut it when pushed to the limit, question is what is the limit? Anyone interested in setting up a stress test, to t

Re: [PHP] Another script doesnt work!

2001-09-04 Thread Tim
You're missing a ";" on the line above the error. - Tim On Tue, 2001-09-04 at 16:18, Kyle Smith wrote: > And this time its not because of a dot, someone please help! > > Parse error: parse error in >/web/sites/197/lk6/www.stupeedstudios.f2s.com/dannys/sendform.php on line 22 > > line 22 is $m

[PHP] Re: mysql query . need help!!!!!

2001-09-04 Thread _lallous
Nope, MySql doesn't allow select within select... try making two seperate queries... "Lizlynch" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i have two tables here, i want to insert the customername from the Username table and insert it into the Classification

[PHP] PHP on Solaris / Linux with MSSQL Server 7.0 or 2000 on Win2K

2001-09-04 Thread Boaz Yahav
Hi I'm currently using PHP 4 on Solaris on a front end server with MySQL on Solaris as a db server. Since I'm having weird problems with MySQL (3.23.41) on very active tables (a 700,000 records table with lots or reads and writes) . I want to work with MSSQL Server 2000 instead of MySQL, does an

Re: [PHP] PHP on Solaris / Linux with MSSQL Server 7.0 or 2000 on Win2K

2001-09-04 Thread Michael Kimsal
Boaz Yahav wrote: >Hi > >I'm currently using PHP 4 on Solaris on a front end server with MySQL on >Solaris as a db server. >Since I'm having weird problems with MySQL (3.23.41) on very active >tables (a 700,000 records table with lots >or reads and writes) . > >I want to work with MSSQL Server

[PHP] Load testing

2001-09-04 Thread Andrew Brampton
Hi, I'm looking for a app that I can run across my network that will load test my webserver & pages... Something like a program that will open 100 pages at once and tell me the response times or error occuring etc... Does anyone know of such a app? Thanks Andrew

Re: [PHP] PHP on Solaris / Linux with MSSQL Server 7.0 or 2000 onWin2K

2001-09-04 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Boaz Yahav wrote: > I'm currently using PHP 4 on Solaris on a front end server with MySQL on > Solaris as a db server. ... > I want to work with MSSQL Server 2000 instead of MySQL, does anyone have > experience with working with such > a combination? PHP4 on Solaris as front an

[PHP] Re: mysql query . need help!!!!!

2001-09-04 Thread sagar
You cant use a select statement withoug using a table name. check out this $query = "insert into classification(customername) (select customername from username where username='$username')"; i cant answer ur second question, since i dont the structure of your table /sagar original message

Re: [PHP] How to replicate a table in Mysql?

2001-09-04 Thread sagar
Do u want to get the table data for backup ? then try mysqldump -u -p -d -t> somefile.txt; check out once the manual for mysqldump syntax /sagar - Original Message - From: Balaji Ankem <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 12:13 AM Subject:

RE: [PHP] Load testing

2001-09-04 Thread Jon Haworth
If you run Apache you might want to look into the ab program, it's in the apache/bin directory IIRC. HTH Jon -Original Message- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: 04 September 2001 16:48 To: [EMAIL PROTECTED] Subject: [PHP] Load testing Hi, I'm looking for a app t

Re: [PHP] Re: mysql query . need help!!!!!

2001-09-04 Thread Jon Farmer
>You cant use a select statement withoug using a table name. >check out this >$query = "insert into classification(customername) (select customername from username >where username='$username')"; Incorrect in mySQL you can do mysql> select 3+5; returns 8 plus a whole lot of other functions that

[PHP] 'Undefined Variable' help...

2001-09-04 Thread Uchendu Nwachukwu
OK, I have a problem calling a function using default variables. In 'gallery.inc': - function gallery ($filename, $first = 1, $tablewidth = 4, $total = 20) { echo "Filename: $filename, First image: $first, Table Width: $tablewidth, Total: $total"; } ---

[PHP] Bug or My Error

2001-09-04 Thread Malcolm Clark
Although I have a solution to my script, I would rest at ease if someone could confirm that I have erred and perhaps if I had read some particular part of the manual I'd never have had the problem. http://www.php.net/bugs.php?id=13055&edit=2 rgds Mal -- PHP General Mailing List (http://www.p

[PHP] isset

2001-09-04 Thread Jeremy Morano
Hi , Is there anyway of hiding the name of the website in the isset "Enter Network Password" window? if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] Question about mail()

2001-09-04 Thread Alex Shi
Hi, I have a question regarding to mail() function: Does mail() function use sendmail, or just use a mail program of php? If it uses a mail program other than sendmail, how can configure it to work correctly? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] Directory Listing and File Reading errors

2001-09-04 Thread skater
I'm recursivley reading and editing every .htm and .html file in a 500 page website and upgrading it to contain linked CSS, Javascript includes and PHP includes. i can't use a pre_pend file as there's more than one website on the server, and the changes are embedded in the document rather than jus

RE: [PHP] http get vars missing?? track vars enabled - HELP

2001-09-04 Thread Johnson, Kirk
> I'm about ready to go insane over this one. I have the following link. > > http://www.wayneswoodworks.net/test/samples.php3?&key=1 > > When I get into samples.php3 I do: > > $record = $HTTP_GET_VARS["key"]; > > echo "record=$record"; > > And the record variable is blank/missing. Did you ge

[PHP] urgent. need posix-style regexp expert

2001-09-04 Thread alvarez
what is the correct POSIX-regexp to match a range of characters between two parantheses, while ensuring that it is the largest match possible? need fast reply. thanks. Running against (foo (bar (baaz) quux( fred woody) wang)) it should return foo (bar (baaz) quux( fred woody) wang)

[PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hello listers I'm trying to implement a mySQL database dump via PHP4 on a unix system as follows... -- $result = exec("mysqldump -umyname --password=mypassword tablename >db.dump",$xarray,$status); echo "status[$stat

Re: [PHP] PHP Stress Testing.

2001-09-04 Thread Michael Kimsal
Goalposts change. The zdnet eweek article from last november showed PHP being *THE* fastest between JSP, ASP, CF and PHP. PHP was 47 pages/second. ASP was 43, CF was 25 or 26, and JSP was 13. The benchmark was a ecommerce store - each system had functionally equivalent code, and ran on the sa

[PHP] authenticate

2001-09-04 Thread Jeremy Morano
Hi, Is there anyway that I can hide my website name in the authenticate window? if ( ! $auth ) { header( 'WWW-Authenticate: Basic realm="Private"); header( 'HTTP/1.0 401 Unauthorized' ); echo 'Authorization Required.'; exit; } -- PHP General Mailing List (http://www.php.

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
I would say that you have a permission problem with where PHP is trying to write the file to. Try outputting the file to /tmp/db.dump and see if you have the same problem. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -Original Messag

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread sagar
Did u mention the database name from where the table has to be picked up. check out the manual for correct syntax. /sagar - Original Message - From: Tony Frasketi <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 11:25 PM Subject: [PHP] Newbie Question: mysql

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi Sagar My goof in the email composition! 'tablename' should have been 'dbname'. So yes, the database name is specified and I am attempting to dump the entire database with all tables. Thanks for point out my error. sagar wrote: > > Did u mention the database name from where the table has to b

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi Sam Thanks for the reply. I had the permission set for 777 so that should allow access to the directory for writing from PHP, should it not? Also I tried specifying >/tmp/db.dump in the command and had the tmp directory permission also set for 777 but still get same results. The file get writt

[PHP] Re: The future of PHP -- accessory libraries

2001-09-04 Thread Geoff Caplan
Hi folks Here is my ISPs comments on the advice from Rasmus: Rasmus wrote: >> >> Well, I tend to prefer compile from source as well. I guess they simply >> don't realize that you can compile most of the extensions as shared >> libraries and configure what should be loaded at runtime in the php.

[PHP] Engine Question

2001-09-04 Thread PHP List
Hi, I am trying to update my server to php4. Everything seemd to compile fine. httpd -l shows mod_php4.c in the list. I used to use these entries in my httpd.conf to specifically turn php on in certain dirs instead of default on for everyting. php3_engine on But I cannot find a combo that

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
Have you tried putting in the fully qualified pathname to the mysqldump executable? /usr/somepath/mysqldump HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -Original Message- From: Tony Frasketi [mailto:[EMAIL PROTECTED]] Sent: T

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi sagar The $xarray,$status parameters are part of the PHP exec command not the embedded mysqldump command. $result = exec("mysqldump -umyname --password=mypassword databsename >db.dump",$xarray,$status); Thanks, Tony sagar wrote: > > did u got it or not ? > recently i u

Re: [PHP] 'Undefined Variable' help...

2001-09-04 Thread Philip Olson
Hi Uchendu! Yes, this is very possible! Here are a few things that come to mind. There are of course many ways to do this : To check the existance of a variable, consider isset() as it checks for the existance of a variable : if (isset($HTTP_GET_VARS['images'])) Maybe set some default val

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi Sam No I haven't tried this since I'm on a virtual server and don't know where mysqldump is located. I tried doing a phpinfo() to see if I could get the mysqldump location from there but I didn't see it in the mysql section of the phpinfo listing. Do you know of a unix shell command I could use

Re: [PHP] Engine Question

2001-09-04 Thread Steve Edberg
PHP4's configuration syntax has changed; see http://www.php.net/manual/en/configuration.php Try using the line php_flag engine on -steve At 11:35 AM -0700 9/4/01, PHP List wrote: >Hi, >I am trying to update my server to php4. Everything seemd to compile fine. >httpd -l shows

Re: [PHP] Making gd Extensions

2001-09-04 Thread Dennis Moore
The problem I had was with the compilation of the gd program. I installed an RPM version of gd from Redhat and recompiled. It worked like a charm on RedHat v7.0. I am still working on the tarball version of gd. The documentation says to play around the order of some of the settings in the make

RE: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Sam Masiello
You could do: "which mysqldump" (without the quotes, of course :) ). This is provided that mysqldump is in your path (if you can enter just "mysqldump" from the command line, then it is). HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] ---

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Jason Bell
the unix command to see where an executable is, is which. Example: "which mysqldump" - Original Message - From: "Tony Frasketi" <[EMAIL PROTECTED]> To: "Sam Masiello" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2001 11:53 AM Subject: Re: [PHP] Newbie Question:

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Alexander Skwar
So sprach »Tony Frasketi« am 2001-09-04 um 13:53:10 -0500 : > section of the phpinfo listing. Do you know of a unix shell command I > could use to get the location of mysqldump? which mysqldump this should tell you. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote

RE: [PHP] PHP and Perl

2001-09-04 Thread Valter Santos
try use redirections. e.g, call your php script that redirects to your pl script with all required parameters that redirects for a resulting php script... arrrgg but i think the better way is to convert everthing to PHP or Perl Cheers Valter Sa

Re: [PHP] PHP Stress Testing.

2001-09-04 Thread Andy Woolley
Thanks Michael, What I'm after is how well PHP can handle load, I know it's quick, I've tested it and I have to say that the results are somewhat interesting. But, what I can't test properly is how it handles hundreds, even thousands of simultaneous connections. I know that the above is probabl

[PHP] In Need of...

2001-09-04 Thread chicago23f
Hello, This message is being sent to you because you either sent / or requested this information from me. We are offering a full or part-time position using our program. You can work at home. I do require that you have a computer and are familar with internet/email functions. As to the salar

Re: [PHP] FULLTEXT search sorting results

2001-09-04 Thread BRACK
Actually it doesn't matter '&&' or 'and' they are equal but I found a solution - I just took away conditions and put this instead $relev = "$title_search+$descr_search+$act_search"; $result = mysql_query("SELECT skits.*,category.*,match (skits.title,skits.descr,skits.skits) against ('$relev')

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi Sam Thanks to suggestions from jason, Alexander, and yourself I tried the unix which command and found that mysqldump was located at... /usr/bin/ directory And I changed my exec command to include this directory but alas, the results were the same. Is it possible that the mysqldump comman

[PHP] adding functions to a class

2001-09-04 Thread Jeroen Olthof
hi, picture I have a class with some variable holding the information of this class. Now there are some functions to manipulate the vars. well, you nou what classes are about. but now I want to add functions that are located in a different php file. but this functions need to use the the var of t

[PHP] option block

2001-09-04 Thread Jeremy Morano
Hello everyone, I'm having a problem with my option block... I'm trying to pass the value of uid to the next page. I always get the last uid value in table user. How can I change this so I get to pass the value of the user's choice? $sql = "SELECT user.uid, user.first_name, user.last_name

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Jason Bell
Have you tried storing the mysqldump output to a string and then using PHP to open a file, dump the string into the file, and then close the file? Might work that way... - Original Message - From: "Tony Frasketi" <[EMAIL PROTECTED]> To: "Sam Masiello" <[EMAIL PROTECTED]> Cc: <[EMAIL PROT

[PHP] system() vs exec()

2001-09-04 Thread Zhu George-CZZ010
The system() call will flush the headers to the client while exec() won't, but exec() won't wait until the system call is over. Is there a way to make a system call, and wait until it ends, but don't send the headers to the client? Thanks. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Newbie ?: form mailer not working

2001-09-04 Thread Michelle Marcicki
Hi all... Having problems with some php3 to php4 stuff.. the site has a form that has been setup to ask questions outside our discussion forums. The form.html contains The questionmailer code is as below. I have only changed the email addy and the file extension from .php3 to .php on the

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Tony Frasketi
Hi Jason No, but I have taken the output from $xarray ... -- $result = exec("mysqldump -umyname --password=mypassword tablename >db.dump",$xarray,$status); echo "status[$status]"; $count = count($xarray);

RE: [PHP] adding functions to a class

2001-09-04 Thread Boget, Chris
> the require(morefunctions.php); will ofcource not work but > bassicly this is what I want. en all the functions added should > be able to use VAR1 VAR2 VAR3 (and the other functions that > are allready in the class) > is there a why to do this ?? Yes, there is. Go here: http://www.php.net

RE: [PHP] Making gd Extensions

2001-09-04 Thread Chris Mulcahy
Dennis: Unfortunately, no, I have not had any luck or even any responses to my email. I have officially given up on PHP and have banned it from any system I administer due to problems such as this. Once you get past the mod_perl compiling with Apache, all is well with Perl and extending it is e

[PHP] Re: Another script doesnt work!

2001-09-04 Thread J Smith
Just out of curiosity, are you going to be posting every time you have a syntax error? As for this error, it's likely a combination of: 1. not having either single or double quotation marks around the string literal; or 2. If that line isn't the last line in a php block, it needs a semi-colon

RE: [PHP] Making gd Extensions

2001-09-04 Thread Matthew Loff
Banning PHP from your system just because GD won't compile with it seems a bit drastic... You have to realize that the PHP developers don't really have anything to do with GD, pdflib, etc... they have added support for them into the PHP language, but an issue with one of these external libraries

Re: [PHP] adding functions to a class

2001-09-04 Thread Sean C. McCarthy
Hi, What you are looking for is the OOP class extension. Look for "extends". Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jeroen Olthof wrote: > > hi, > > picture I have a class with some variable holding the information of this > class. Now there are some functions to mani

Re: [PHP] Re: problem with ereg() and ereg_replace()

2001-09-04 Thread Alex Shi
Yes, you are right, when add backslashes it works. But I really don't understand why ereg()/ereg_replace behaves differently on different servers... Alex - Original Message - From: "CC Zona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 01, 2001 11:59 PM Subject:

Re: [PHP] Engine Question

2001-09-04 Thread PHP List
Thanks, The manual doesn't really make it clear though, all it says is: This sets the value of the specified variable. php_flag name on|off And then it later it says: engine boolean This directive is really only useful in the Apache module version of PHP. It is used by sites that would like to

RE: [PHP] Making gd Extensions

2001-09-04 Thread Rasmus Lerdorf
That's quite a rational response... The most common problem people have when building GD support is that they download their own version of GD, but leave the system version of GD and PHP picks up the system header files instead of the desired ones and things get confused. Building PHP with GD on

RE: [PHP] Making gd Extensions

2001-09-04 Thread Chris Mulcahy
I'm sorry, I didn't intend to sound like I was slamming PHP. I'm just unable to use it in good conscience on the systems I'm administering due to the issues such as getting the graphics library (gd) and other libraries to work with it. I know that the PHP developers have no control over this, Ze

Re: [PHP] adding functions to a class

2001-09-04 Thread Jeroen Olthof
how stupid of me, ofcourse extends does the trick, thanks ! but one little question, somehow classname::function() works but parent::function() doesn't seem to work ??? "Sean C. McCarthy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > What you are lo

[PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Egan
In perl I can say something like: ($var1, $var2) = $sqh->fetchrow_array() to assign column values to more than one variable at a time. So I tried similar syntax with PHP: ($var1, $var2) = mysql_fetch_row($sqh); but could not seem to work it out. I know you can do this with a tempor

RE: [PHP] Newbie ?: form mailer not working

2001-09-04 Thread Chris Mulcahy
Michelle: This line seems to be a problem. print("If the problem persists you can mail your question directly to mailto:[EMAIL PROTECTED]\%22";>the forum administrator"); Try escaping your quotes surrounding your mailto href. hth Happy programming! Chris Mulcahy > -Original Message-

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Rasmus Lerdorf
> In perl I can say something like: > >($var1, $var2) = $sqh->fetchrow_array() > > > to assign column values to more than one variable at a time. So I > tried similar syntax with PHP: > > > ($var1, $var2) = mysql_fetch_row($sqh); > > > but could not seem to work it out. > > I know you can

RE: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Alfredeen, Johan
You can use a while loop. Ie: (where $row is the result of a sql query) if ($row = mysql_fetch_array($result)) { do { $var1 = $row["column1"]; $var2 = $row["column2"]; $var2 = $row["column3"]; } while ($row = mysql_fetch_array($resu

RE: [PHP] option block

2001-09-04 Thread Chris Mulcahy
Jeremy: Have you tried echoing your $sql variable to ensure it has in it what you expect? In other words, does $PHP_AUTH_USER have the value you need it to have? hth Happy programming! Chris Mulcahy > -Original Message- > From: Jeremy Morano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday,

[PHP] remote scripting objects

2001-09-04 Thread MailingLists
I don't know if it's IIS or ASP that handles this, but there's a beast called a remote scripting object. It combines JavaScript and ASP to call a remote script on your server without having to submit your browser or load a new page. SO I can add a value to a form field and in the onchange eve

  1   2   >