[PHP] PHP_SELF NEW.....?????

2001-09-04 Thread Ardani Sarjito
hi! I have tried to undersatand the usage of PHP_SELF but I still don't get it. Could anybody please explain it in simple palin English to this poor slow guy who has just learn PHP? Thank you so much for reviewing this email. I'm just tring to make a game which require this function but luck

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

2001-09-04 Thread David Robley
On Tue, 4 Sep 2001 08:58, Ardani Sarjito wrote: hi! I have tried to undersatand the usage of PHP_SELF but I still don't get it. Could anybody please explain it in simple palin English to this poor slow guy who has just learn PHP? Thank you so much for reviewing this email. I'm just

[PHP] How to replicate a table in Mysql?

2001-09-04 Thread Balaji Ankem
Hi friend, I want to replicate the table which is existed in database of Mysql. Thanks in advance. Regards -Balaji - Information transmitted by this E-MAIL is proprietary

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-04 Thread Ardani Sarjito
Thanks for your quick reply. my next question is: how does it work when I use PHP_SELF to send a value of a variable to the same page? Thanks! Ardani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-04 Thread Jason Murray
my next question is: how does it work when I use PHP_SELF to send a value of a variable to the same page? You use it to point your FORM there. FORM ACTION='?echo $PHP_SELF?' INPUT TYPE=HIDDEN NAME='name' VALUE='?echo $value?' INPUT TYPE=SUBMIT VALUE='Go' /FORM Now, if the file this form is

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

2001-09-04 Thread Ardani Sarjito
Hi again! Thank you for those who have reply my email. Actually I'm trying to make a hangman game for my students. I have seen one game written using PHP_SELF but I can't understand who it works. So, with the PHP_self (in my hangman game) I probably can send the value of my variable to the

[PHP] PHP and Perl

2001-09-04 Thread Jarosaw Jankowski
Hi, I have something like this in the script : ? header("Content-Type: application/force-download"); header("Content-Disposition:filename=$clientname.xls"); set_time_limit(180); passthru("d:\\perl\\bin\\perl.exe test2.pl $var \"$query\" \"$query1\""); exit; ? Perl script is generating Excel

[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 ?phpinfo();? 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=yfoo=bar Now look at the PHP Variables

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 the wrong

[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 the

[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,

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

2001-09-04 Thread _lallous
use hidden fields, // html head titleNew Document /title /head body ? if (isset($msg)) $messages[] = $msg;? ? if (isset($messages)) { ? hr ? for ($i=0;$icount($messages);$i++) echo b{$messages[$i]}/bbr; hr ? } ? form action=?=$PHP_SELF? method=post your text? input type=text name=msg ? if

[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

[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

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

[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 input tag will be the variable. input type=pass name=wtf 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

[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

[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

[PHP] Re: Wierd for thingy, help!

2001-09-04 Thread _lallous
page1.htm html body onload=document.forms[0].submit(); form action=page2.php method=post input type=hidden value=kyle name=who /form /body /html page2.php ? echo Hello $who!\n; ? Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok sorry for not

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

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:43

[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: 115852509 MSN:

[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: * RzE: [mailto:[EMAIL

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 I

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

2001-09-04 Thread * RzE:
Original message 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

[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 the

[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 a -

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

2001-09-04 Thread * RzE:
There is at: www.w3c.org but everyone (read big enterprises) is not following the recommendations |:-( /Original message Reply 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

[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!! ?php $addresses = [EMAIL PROTECTED]; $subject = Cam Application; $line = \r\n $message = $name.

Re: [PHP] Another script doesnt work!

2001-09-04 Thread * RzE:
Original message 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

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 you

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

[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

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

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

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 VirtualHost foo php_admin_value disable_functions strlen /VirtualHost -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[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

[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

[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

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 2000

[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 and

[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 user -ppwd -d database -t table 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

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

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 can

[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] 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

[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:

[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

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=$recordbr; And the record variable is blank/missing. Did you get this

[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

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

[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

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

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:

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 be

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

[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. Directory /dir/dir/dir php3_engine on

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 rest of your command here HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -Original Message- From: Tony Frasketi

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 used

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

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

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

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: mysqldump

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)

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

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

[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

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') as

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

[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

[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 PROTECTED]

[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/)

[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 FORM action=util/questionmailer.php method=post The questionmailer code is as below. I have only changed the email addy

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]br; $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:

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

[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

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

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 manipulate

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

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

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 looking

[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

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 addressa href=\%22mailto:[EMAIL PROTECTED]\%22;pthe forum administrator/a); Try escaping your quotes surrounding your mailto href. hth Happy programming! Chris Mulcahy

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 do this with a

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($result));

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,

  1   2   >