[PHP] Suse Apache

2001-08-29 Thread Keith
would like to build/compile php as a dso ! Linux version is Suse 7.2 apache is version 1.3.19 already compiled with mod.so.c but I don't seem to have an apache/bin and I can't find apxs which should be there ??? Is this a Suse problem or what ?? do I have to de-install apache and re-install a

[PHP] Re: How do I read the first n lines from a file?

2001-08-29 Thread _lallous
Fast and dirty: function readnlines($filename, $count) { return array_slice(file($filename), 0, $count); } //elias Tauntz [EMAIL PROTECTED] wrote in message 003801c12fb2$685b90c0$0f00a8c0@tauntz">news:003801c12fb2$685b90c0$0f00a8c0@tauntz... hi ! I have a simmple question :).. Lets say

[PHP] Re: haX0Ring exercise :)

2001-08-29 Thread _lallous
You have to write your own function for this. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I want a function or macro to return executable code yielding syntax preprocessing of binary trees. Because the Macro Processor seems to be somewhat messy I though a

[PHP] Re: mailto function to attach a photo

2001-08-29 Thread _lallous
Mail+Attach issue has been answered lots of times. You might want to check www.phpbuilder.com you must be able to find a topic there. Mark Lo [EMAIL PROTECTED] wrote in message 000701c13042$9d0352a0$7c7ba8c0@mark">news:000701c13042$9d0352a0$7c7ba8c0@mark... Hi, I would like to know how

[PHP] DOM

2001-08-29 Thread Jean-Charles Preaux
Hello I'm looking for someone who have ever used DOM with PHP. Actually, i've a trouble with CDATA section when i descend the tree of my XML document. Does someone can help me ? Thx Jean-Charles Preaux -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] I beleive I have found a bug.....

2001-08-29 Thread * RzE:
Original message From: Brian White [EMAIL PROTECTED] Date: Wed, Aug 29, 2001 at 04:01:06PM +1000 Message-ID: [EMAIL PROTECTED] Subject: [PHP] I beleive I have found a bug. ... I just thought I would see if anyone else can reproduce it! Ok. The problem is in the following snippet of code.

[PHP] php running and installing problem

2001-08-29 Thread rayn .
i am have trouble running php, i can run a simple doc like one to check the version and get the time but i cannot run anything eles and it gives we this Warning: Failed opening 'c:\inetpub\wwwroot\upload\admin\config.php' for inclusion (include_path='') in Unknown on line 0 its that right path,

[PHP] multiple submit buttons

2001-08-29 Thread Justin French
Hi all, I noticed this chunk of code in a site the other day: input type=Submit name=btn value=Yes input type=Submit name=btn value=No My GUESS is that if i click the Yes button, I magically get $btn = Yes as a var is the receieving PHP script. I was just about to test this, when I

Re: [PHP] I beleive I have found a bug.....

2001-08-29 Thread Brian White
Renze Munnik said: I don't _think_ this is a bug (note: think). I haven't taken a very good look at your code, but as I understand you believe that: foreach ($data as $key) delivers the same $key as in: foreach ($data as $key=$value) You didn't read my code closely enough: I said: If

Re: [PHP] I beleive I have found a bug.....

2001-08-29 Thread * RzE:
Original message From: Brian White [EMAIL PROTECTED] Date: Wed, Aug 29, 2001 at 06:16:49PM +1000 Message-ID: [EMAIL PROTECTED] Subject: Re: [PHP] I beleive I have found a bug. You didn't read my code closely enough: I said: If I replace the problem line foreach (

[PHP] Re: bugroff licensed tree converter

2001-08-29 Thread alvarez
Correction to the code submitted s/example/xml_open (script, *language* *JavaScript*); I had snipped it from prior debugging code - sorry for that. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] addcslashes(), strange behavior

2001-08-29 Thread Ben-Nes Michael
Hi All I did echo ord (\n); which return 10 so I tried to do this with no success echo addcslashes (hello\nworld, \10); returning: hello newline world while doing: echo addcslashes (hello\nworld, \9); returned me what I wanted: hello\nworld which mean the string hold hello\\nworld Its look

Re: [PHP] Update form objects before submit

2001-08-29 Thread * RzE:
Original message From: Stephane Pinel [EMAIL PROTECTED] Date: Wed, Aug 29, 2001 at 11:08:45AM +0200 Message-ID: [EMAIL PROTECTED] Subject: [PHP] Update form objects before submit I have a html page including php scripts that perform different stuff. The page contains a form (a Select

[PHP] mysql_insert_id. need help!

2001-08-29 Thread lizlynch
hi, i have three tables: customer username classification the user will enter my web site enter the relevant customer details (which are transfered to the database) (s)he will then enter their prefered username, password and a password hint (again all sent to the database). once they are

[PHP] mysql_insert_id NEED HELP

2001-08-29 Thread lizlynch
hi, i have three tables: customer username classification the user will enter my web site enter the relevant customer details (which are transfered to the database) (s)he will then enter their prefered username, password and a password hint (again all sent to the database). once they are

Re: [PHP] mysql_insert_id. need help!

2001-08-29 Thread Moax Tech List
post your code. - Original Message - From: lizlynch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 4:32 AM Subject: [PHP] mysql_insert_id. need help! hi, i have three tables: customer username classification the user will enter my web site enter the relevant

[PHP] Re: Exclamation point appearing from nowhere

2001-08-29 Thread _lallous
Showing your code might help figuring out the problem. Saul Ishida [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey, please, I'm using the function mail() in one of my scripts, but when I use it, one exclamation point appears from nowhere in the email body.

[PHP] Im back, oh and....

2001-08-29 Thread Kyle Smith
... could someone give me the name of the best PHP learning book they have read cause I just scored £110! (yes, it was my birthday on august 16th and im now a whole 14 so i can have my first urine test!) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509

[PHP] Re: reading from a file and parsing variables??

2001-08-29 Thread _lallous
Hello Derick, I had this problem until I figured out this code: filewithvars.txt is: // Hello my name is $myname. You can always contact me at $myemail. // eof The php script is: ? $myname = 'Elias'; $myemail = '[EMAIL PROTECTED]'; $t = 'filewithvars.txt';

[PHP] Re: php running and installing problem

2001-08-29 Thread _lallous
Show us the code of the script you're running. Rayn . [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i am have trouble running php, i can run a simple doc like one to check the version and get the time but i cannot run anything eles and it gives we this

[PHP] Re: addcslashes(), strange behavior

2001-08-29 Thread _lallous
You can't use \10 it has no meaning. Instead use this: \x0A. Ben-Nes Michael [EMAIL PROTECTED] wrote in message 010901c1306a$97cc4da0$[EMAIL PROTECTED]">news:010901c1306a$97cc4da0$[EMAIL PROTECTED]... Hi All I did echo ord (\n); which return 10 so I tried to do this with no success echo

[PHP] Re: Im back, oh and....

2001-08-29 Thread _lallous
Here we go: It's about £30 // ISBN 1-861003-73-0 Beginning PHP 4 www.wrox.com // I learned PHP from it.But that's the only Wrox book I recommend! ;( I got the XML book and the Mastering Javascript from them! They really suck! imho. Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: comparing scripts performance

2001-08-29 Thread _lallous
you might want to add this to each of the scripts and see: ? //very first line of the script echo Script started at: . date(D M j g:i:s T Y); //very last line of the script echo Script ended at: . date(D M j g:i:s T Y); ? btw, check the microtime() it have exatly what you're looking for.

[PHP] If-statement

2001-08-29 Thread Niklas Lampén
Is it possible to write this shorter: if ($Var != No1 $Var != No2 $Var != No3) { code }; Niklas

Re: [PHP] If-statement

2001-08-29 Thread Darius Ivanauskas
if(!preg_match(/^No[123]$/,$Var)) { code } -- Darius Ivanauskas On Wed, 29 Aug 2001, [iso-8859-1] Niklas Lampén wrote: Is it possible to write this shorter: if ($Var != No1 $Var != No2 $Var != No3) { code }; Niklas -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Database Preference?

2001-08-29 Thread Miles Thompson
If you are used to Informix, MySQL will be unsatisfying - no stored procedures, outer joins, sub-queries, transactions. MySQL is much like early dBase II. I'm not familiar with MS SQL on a price per seat basis, but how many developers do you have? If you are doing this web-based you don't

Re: [PHP] cant connect to mysql

2001-08-29 Thread Miles Thompson
Is MySQL running? Miles At 08:04 AM 8/29/01 +0530, Sagar N Chand wrote: Hi geeks, I have a strage problem over here. I developed a site which runs fine at my home. When i hosted it on to the remote server it is giving an error saying cant connect to mysql. the error is like this Warning:

[PHP] script preprocessor?

2001-08-29 Thread alvarez
Is there a macro preprocessor that can be used to substitute arbitrary sections of code with different code? define is documented as working for rvals only and my attempts to produce something more meaty lead to parse errors. Any advice? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP

Re: [PHP] PWS

2001-08-29 Thread Phil Driscoll
On Tuesday 28 August 2001 3:27 pm, frank clarke wrote: I have installed PHP CGI 4.0 on my Win 98 machine with PWS and tried this script that I put in the wwwroot directory and called test.php3:... If you view source on the blank page you get, do you see your php sourcecode? If so, maybe it's

Re: [PHP] The future of PHP

2001-08-29 Thread Frederick L. Steinkopf
Manuel, Rather than whining about the future of PHP, why don't you be proactive and take on the goal of raising the $100,000 for the project? Fred Steinkopf - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Manuel Lemos [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

[PHP] What happened to Imagettftext() function in PHP 4.0.7 and GD 2.1?

2001-08-29 Thread SED
I'm working on a project which needs a text rendered to JPEG-image, but when I use the imagettftext() function I get very ugly/damage font (I'm using PHP 4.0.7 and GD 2.1 downloaded from php4win.com, IIS). However, if I use the GD 1.6 instead I get the font okay. I do need to have the GD 2.1

[PHP] strange linefeed effect

2001-08-29 Thread alvarez
How can I prevent PHP from outputting additional linefeeds when data are echoed from different files (eg. using require). This phenomenon is fucking up my document structures. Any advice? D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] JPEG true color problems (repost)

2001-08-29 Thread Jane Dennett-Thorpe
Anyone know anything about this. please Hello, I'm trying to make some thumbnails from some JPEG true color images. I have PHP version 4.0.4, and when i try imagecreatefromjpeg($image) on these images, it doesn't happen. After hours of head-beating i've realised that the

[PHP] Sorry, i need HTML help

2001-08-29 Thread Kyle Smith
Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript Thanks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 19:08, you wrote: Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript You use the MARQUEEInsert scrolling text here/MARQUEE tags. ad -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: comparing scripts performance

2001-08-29 Thread Ben-Nes Michael
Thanks from Israel :) it helps, though I hope they will develope a function that returns speed, memory or even performance detail on parts of the script. Like: The for() took 3ms and consumed ... memory the while() took 2ms and consumed ... memory ... ... you might want to add this to each

Re: [PHP] The future of PHP

2001-08-29 Thread Zeev Suraski
At 05:21 29-08-01, Manuel Lemos wrote: If when you mean pro-active you mean that's intentional and is all part of a plan, then we agree. If you acted somehow to promote PHP and got some unexpected results (good or bad) that is still marketing although not pro-active. Regardless of this

Re: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread alvarez
Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript You use the MARQUEEInsert scrolling text here/MARQUEE tags. Unsupported by several Navigator Releases. D. Alvarez Arribas [EMAIL PROTECTED] -- PHP General

[PHP] Re: multiple submit buttons

2001-08-29 Thread Herouth Maoz
On Wednesday 29 August 2001 10:09, Justin French wrote: I noticed this chunk of code in a site the other day: input type=Submit name=btn value=Yes input type=Submit name=btn value=No My GUESS is that if i click the Yes button, I magically get $btn = Yes as a var is the receieving PHP

[PHP] Re: how to sort search results by relevance?

2001-08-29 Thread BRACK
In article 3B8A1D6A.4295.2947D@localhost, [EMAIL PROTECTED] (Yura) wrote: How to sort search results of php-mysql site by relevance? See the mysql manual's chapter on FULLTEXT indexes. I indexed column 'text' and tried to add ORDER BY text DESC in query and deleted wildcards in front

Re: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Andrew Brampton
So is javascript :) or should I say that IE NS don't agree on standards. Andrew - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 12:47 PM Subject: Re: Re: [PHP] Sorry, i need HTML help Sorry to post here but i need to know this

Re: [PHP] concatenate?

2001-08-29 Thread Bopolissimus Platypus
On Tue, 28 Aug 2001 16:34:44 +0100, [EMAIL PROTECTED] (Seb Frost) wrote: $string0 = hello; $string1 = goodbye; $string2 = $string0 . and . $string1; result:$string2 = hello and goodbye also, $string2=$string1 and $string2; i'm not sure if there are subtleties there that make this

Re: [PHP] Im back, oh and....

2001-08-29 Thread B. van Ouwerkerk
... could someone give me the name of the best PHP learning book they have read cause I just scored £110! PHP 4 bible (IDG books), MySQL (NewRiders), several books from Wrox.. read the archive several books are mentioned there. (yes, it was my birthday on august 16th and im now a whole 14 so

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
So sprach »Manuel Lemos« am 2001-08-28 um 23:21:54 -0300 : Man, give it some time! How long was it since Andrei released PHP-GTK? How old is PHP now? Exactly. And also Perl wasn't made to create GUI apps, was it? But look how many Perl GUI apps there are out there now. Eg. all (? at least a

[PHP] real optional parameters

2001-08-29 Thread alvarez
How can I declare optional parameters as used by strpos, substr, etc. to specify the offset? I do not want to have to preceed some functions with the @-operator, and preceeding all for consistency wouldn't be an option, I think. Is it possible at with user-defined functions? quick

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

2001-08-29 Thread Heiko Maiwald
Rasmus Lerdorf wrote: > > Exactly. When you do ./configure --with-foo=shared; make > > then modules/foo.so will appear magically and you can dl() that or load it > > using "extension=foo.so" in your php.ini. You don't have to recompile > > PHP. > > > > -Rasmus > > I am afraid that is only

Re: [PHP] PHP mysql admin?

2001-08-29 Thread Alexander Skwar
So sprach »Christian Dechery« am 2001-08-27 um 22:57:49 -0300 : phpMyAdmin is very nice... but not even close to Mysqlfront... try it out... http://www.mysqlfront.de/ Well, but for this to work, you either have to have a local MySQL on your Windows platform, or the database has to be open

Re: [PHP] What does PHP stand for?

2001-08-29 Thread Alexander Skwar
So sprach »Niklas Lampén« am 2001-08-28 um 14:05:54 +0300 : Funny that there is no meanin for the first P. Well, there is. The P stands for PHP. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com |

[PHP] Re: script preprocessor?

2001-08-29 Thread Hugh Bothwell
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there a macro preprocessor that can be used to substitute arbitrary sections of code with different code? define is documented as working for rvals only and my attempts to produce something more meaty lead

[PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Luke Welling
Kyle Smith wrote: Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript The next time you need to know something off topic to the list fast, you could try google. It took me about three seconds to do the following: Go to

[PHP] RE: multiple submit buttons

2001-08-29 Thread Tim Ward
As far as any CGI is concerned there is only one submit, The one that is pressed. The other one is simply not posted. But be careful using values of submit buttons ... if the user hits return instead of clicking one of the buttons you won't get anything. If you want a default value try a hidden

Re: [PHP] concatenate?

2001-08-29 Thread Soeren Nielsen
does anyone know of a scenario (perhaps involving non-string data) where the concatenation does not return the same answer? If you have three vars: $user = foo; $users = array(Peter,Michael); This could be a problem: echo $users hair is brown; if what you ment was: echo $string.s hair is

Re: [PHP] RE: multiple submit buttons

2001-08-29 Thread Andrey Hristov
Maybe it is not supported by CGI but that doesn't mean it is not supported by the browser. There is no reason for IE of course to say it hurts. When you click first button bth is Yes, click on second button bth is No. Also you can have several buttons everyone of them do submit with different

Re: [PHP] concatenate?

2001-08-29 Thread Andrey Hristov
?php $user=alalaba; echo ${user}s here; ? Produces : alalabas here ?php $user=array(alalaba); echo ${user}s here; ? Produces : Arrays here Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: Soeren Nielsen [EMAIL PROTECTED] To: [EMAIL PROTECTED]

[PHP] Re: suggestions

2001-08-29 Thread Bopolissimus Platypus
On Tue, 28 Aug 2001 19:41:51 -0400, [EMAIL PROTECTED] (Glyndower) wrote: I have a medium sized db... with about 300 feilds and 15k rows. I need to create a search that will submit user input to seach the db from about 30 different feilds with some of those wildcards. i.e bedrooms, bathrooms,

Re: [PHP] The future of PHP

2001-08-29 Thread Manuel Lemos
Hello, These guys resort to these marketing tricks to promote Python as hell, and the PHP people just sits and waits doing almost nothing in comparision to promote PHP as hard as they can even when they lives depend on the acceptance of PHP as a wide spread language! Manuel, please,

[PHP] Making gd Extensions

2001-08-29 Thread Chris Mulcahy
Greetings: I'm following the thread regarding PHP extensions in the thread The future of PHP - accessory libraries very anxiously. I've been trying to get this feature going for quite some time but without success. The current item I'm wrestling with is the gd extensions. I've rebuilt PHP and

[PHP] [SPAM] mail adress abused and now drowning in mails

2001-08-29 Thread Christian Lederer
I contributed some notes to the function library on http://www.php.net , where i have left my mail address some months ago. mail address was like php@ For 3 Days now, i am receiving lots of email-ads via this account (~10/day), mainly .tw and sex stuff. Is there anyone having this problem,

RE: [PHP] The future of PHP

2001-08-29 Thread Cristopher Daniluk
I don't understand when this thread became so focused on monetary needs. We are talking about penetrating corporate markets, and all corporate markets care about is time to market, cost of maintenance, and long term support. Not that marketing is worthless, but if we build a better product, it

[PHP] HTTP 500 server error

2001-08-29 Thread Web user
It always gets HTTP 500 server error, when I try to run the php scripts on Windows98 SE + PWS4.0. THE PHP installed is Ver 4.06 -win32, as a server module. However I get a screen full of html codes when I run c:\php\php.exe -i in MS-DOS command line So what's problem with the

Re: [PHP] The future of PHP

2001-08-29 Thread Manuel Lemos
Hello, Frederick L. Steinkopf wrote: Manuel, Rather than whining about the future of PHP, why don't you be proactive and take on the goal of raising the $100,000 for the project? Because I do not depend on the PHP future for my professional life. That is a role for PHP core developers that

Re: [PHP] Im back, oh and....

2001-08-29 Thread Kyle Smith
thanks and you age discrimination sucks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29,

RE: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Erik H. Mathy
or should I say that IE NS don't agree on standards. Not to be too blunt, but what does that matter? IE owns damn near 90% of the market nowadays. Even if AOL starts uses Navigator, that isn't going to change much. Don't get me wrong. Unless specified otherwise by a client I make all my code

[PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Gary
marquee/marquee will only work in Internet Explorier. If you want a marquee to work in all browsers you will have to use DHTML. Kyle Smith wrote: Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript Thanks! -lk6-

RE: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Seb Frost
And let's face it. Compare IE5.5/6 with NS6. MS owns the market for a damn good reason. I hear Netscape's pulling out anyway to concentrate on iplanets instead or something. - seb -Original Message- From: Erik H. Mathy [mailto:[EMAIL PROTECTED]] Sent: 29 August 2001 15:27 To: [EMAIL

[PHP] im puzzled

2001-08-29 Thread Jeremy Morano
Hi , this is my query SELECT users.uid FROM users, picks WHERE users.uid = picks.user_id; this works correctly. The results are what they are supposed to be: However, when I change the = sign to a or !=, The results are completely incorrect. -- picks.user_id

Re: [PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Tim
Yeah, but isn't marquee the ancient Aztec word for tar and feather me, I'm a tastless HTML author who is mesmerised by blinking lights and horizonally scrolling text beyond my control?? Someething like that. - Tim ;) On Wed, 2001-08-29 at 11:35, Gary wrote: marquee/marquee will only work in

[PHP] syntax help please?

2001-08-29 Thread Glyndower
I'm coming over from the ASP side and I'm trying to get a handle on this stuff, I could use a little help with the how and wheres, please. I do ok with the SQl bits, but the PHP bits are still being elusive... Heres my code: $sql = SELECT

[PHP] SELECT * FROM

2001-08-29 Thread Tarrant Costelloe
Hello all, I have a designing a website of which people can submit news to, this works fine. Just on the main page I have the following code (snippet); ?php $db = mysql_connect(localhost, root); mysql_select_db(tolkiengossip,$db); $result = mysql_query(SELECT * FROM news,$db); if ($myrow =

Re: [PHP] SELECT * FROM

2001-08-29 Thread Jeff Lewis
In your query add ORDER BY field name like date or ID DESC. That way it will put them in descending order and I do believe that is what you're looking for :) Jeff - Original Message - From: Tarrant Costelloe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 10:55

Re: [PHP] syntax help please?

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 14:45, Glyndower wrote: Heres my I'm a newbie question... exactly how and where do I define the variables so that i can use them in a different order than they are in the query? Go over your results like this instead: while ($row = mysql_fetch_row($result)) {

Re: [PHP] What does PHP stand for?

2001-08-29 Thread Sheridan Saint-Michel
PHP originally stood for personal home pages. It was nothing more than a parser that interpreted a few macros to allow people to do extra things (like count visitors) on their homepage. PHP/FI or PHP2 was Personal Home Pages/Form Interpreter, and added form handling and mSQL to PHP. PHP3 was

[PHP] HELP : How to suggest a download-filename for IE on MAC

2001-08-29 Thread Sebastian Stadtlich
HELP i'm desperate I try to write a downloadskript, which results in the fillowing URL : http://www.myserver.de/securedownload.php?pdfdownload=checkliste3.pdf yes you guessed right : securedownload does some auth-stuff it works on win2000 IE 6.0,5.5 NE 6.0 AND 4.76. it also works well

RE: [PHP] im puzzled

2001-08-29 Thread Matthew Loff
You need to specify which item to group the query by. SELECT users.uid FROM users, picks WHERE users.uid picks.user_id GROUP BY users.uid; -Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 10:42 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] SELECT * FROM

2001-08-29 Thread Jon Haworth
Couple of other tips for you. 1. SELECT * is bad unless you really need every field. If you don't, specify which ones you want - the query will perform better. $s = SELECT * FROM News; // bad $s = SELECT NewsHeadline, NewsTeaser FROM News; // better 2. You appear to be connecting to your

[PHP] Problem replacing part of a string

2001-08-29 Thread Don
Hi, I have a PHP routine that writes to a text file. An example output line would be: fputs($fp, $form[notify_1] . \n); Where $form[notify_1] is an array of form variables passed to it. What I wish to do is prior to writing to the text file, I want to search and replace all ')' with '}'

Re: [PHP] Problem replacing part of a string

2001-08-29 Thread Andrey Hristov
function txt_change($txt_string) { $prt_string = str_replace((, {, $txt_string); $prt_string = str_replace(), }, $txt_string); return $prt_string; } even you replace with first statement, you forget it. Better : function txt_change($txt_string) { $txt_string = str_replace((, {,

[PHP] Add Slashes - Server Adds Them Automatically - Advice Requested!

2001-08-29 Thread Mike Gifford
Hello, I've created a little opensource script: http://openconcept.ca/guide-petition.phtml Which uses addslashes() to help clean up data inserted from a web form. This is fine, except that it appears that you can set up php, so that addslashes are automatically added: one small

RE: [PHP] Add Slashes - Server Adds Them Automatically - Advice Requested!

2001-08-29 Thread Johnson, Kirk
See the magic_quotes_gpc setting in the php.ini file. This can be set to on or off, and is responsible for escaping GET/POST/COOKIE data automatically. Kirk -Original Message- From: Mike Gifford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 9:58 AM To: [EMAIL

Re: [PHP] Add Slashes - Server Adds Them Automatically - Advice Requested!

2001-08-29 Thread Andrey Hristov
I think that always from a form the script gets slashed data. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: Mike Gifford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 6:58 PM Subject: [PHP] Add Slashes - Server Adds

[PHP] FTPs

2001-08-29 Thread ReDucTor
Does anyone know any FTP sites that have lots of CGI, PHP, JavaScript, Java, ASP, etc, so i can just leech them all :D - James ReDucTor Mitchell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] FTPs

2001-08-29 Thread Andrey Hristov
http://www.hotscripts.com It is HTTP, so you cannot leech with ftp. as much as 1000 scripts are available there - Original Message - From: ReDucTor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 7:00 PM Subject: [PHP] FTPs Does anyone know any FTP sites that

Re: [PHP] FTPs

2001-08-29 Thread ReDucTor
Ya, i browse Hotscripts alot, but i just want to connect with FTP, and leech :D - James ReDucTor Mitchell - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 2:03 AM Subject: Re: [PHP] FTPs http://www.hotscripts.com

Re: [PHP] The future of PHP

2001-08-29 Thread Manuel Lemos
Hello, one assumption you seem to have is the ongoing viability of php (if not the very livelihood of we the developers using php) is somehow a function of the number of folks who know what php is. that somehow the more folks know about php, the better php gets. it also seems that you feel

Re: [PHP] FTPs

2001-08-29 Thread Andrey Hristov
Kakto se kazva, sorry majna ne moga da ti pomogna. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: ReDucTor [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 7:10 PM Subject: Re: [PHP] FTPs

Re: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread Mark Maggelet
On Wed, 29 Aug 2001 13:58:34 +0200, BRACK ([EMAIL PROTECTED]) wrote: In article 3B8A1D6A.4295.2947D@localhost, [EMAIL PROTECTED] (Yura) wrote: How to sort search results of php-mysql site by relevance? See the mysql manual's chapter on FULLTEXT indexes. I indexed column 'text' and tried

Re: [PHP] FTPs

2001-08-29 Thread ReDucTor
And what would that be in english?!? :D - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 2:19 AM Subject: Re: [PHP] FTPs Kakto se kazva, sorry majna ne moga da ti pomogna. Andrey Hristov IcyGEN Corporation

Re: [PHP] FTPs

2001-08-29 Thread Andrey Hristov
As is said, sorry majna(nickname for citizens of second biggest city in Bulgaria) I can not help you. Have phun. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: ReDucTor [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED]

[PHP] ldap_connect question

2001-08-29 Thread Ian McNish
the ldap_connect man page states that calling ldap_connect with no arguements should return the link identifier to the open ldap connection. in the following code i find that the script stops before writing the second printf statement: $LDAP_CONNECTION = ldap_connect($MY_LDAP_SERVER);

Re: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread BRACK
On 29 Aug 2001, at 9:18, Mark Maggelet wrote: On Wed, 29 Aug 2001 13:58:34 +0200, BRACK ([EMAIL PROTECTED]) wrote: In article 3B8A1D6A.4295.2947D@localhost, [EMAIL PROTECTED] (Yura) wrote: How to sort search results of php-mysql site by relevance? See the mysql manual's chapter

Re: [PHP] The future of PHP

2001-08-29 Thread Zeev Suraski
At 15:19 29-08-01, Alexander Skwar wrote: So sprach »Manuel Lemos« am 2001-08-28 um 23:21:54 -0300 : Man, give it some time! How long was it since Andrei released PHP-GTK? How old is PHP now? Exactly. And also Perl wasn't made to create GUI apps, was it? But look how many Perl GUI apps

RE: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread Michael Geier, CDM Systems Admin
www.google.com search relevance searches in MySQL 1. www.mysql.com/documentation/mysql/bychapter/manual_Fulltext_Search.html -Original Message- From: BRACK [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:40 AM To: Mark Maggelet Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re:

Re: [PHP] Im back, oh and....

2001-08-29 Thread Miles Thompson
Kyle, Grow up and learn some manners! Miles Thompson At 03:25 PM 8/29/01 -0700, Kyle Smith wrote: thanks and you age discrimination sucks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original

[PHP] Strange Form Error

2001-08-29 Thread PHP List
Hi, Can anyone tell me why php is behaving like this? If I use enctype=multipart/form-data, it seems the first form field is not passed to php. ex: form method=post action=products.asp enctype=multipart/form-data input type=hidden name=cmd value=edit $cmd will not be passed to php, I have to

Re: [PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Kyle Smith
Not sure but ive changed my mind on my site design and no-longer need it! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] The future of PHP

2001-08-29 Thread Rasmus Lerdorf
If you read my messages in the thread from the beginning you can see that basically the current problems of PHP in its acceptance are more with the people view of PHP than about its technical abilities. It is a known fact that PHP is very good for Web programming. The problem is that not

Re: [PHP] The future of PHP

2001-08-29 Thread Ninety-Nine Ways To Die
I attended one of your conferences / training sessions, the Linux Conference in NYC, and I have to say it was excellent, and certainly motivational. Through that one day of your speech it motivated me enough to get off my bum and start using PHP in our environment for whatever we possibly

Re: [PHP] The future of PHP

2001-08-29 Thread Jeff Lewis
Damn, I wish I had read that thre was this event in Toronto, I would have liked to attend! :) - Linux User Group in Toronto, Canada I agree, suggestion and constructive criticism are fine but lets not start attacking the guys who have put in countless hours to make PHP what it is today. I'm

Re: [PHP] Database Preference? -- Manuel, Michael, Miles

2001-08-29 Thread james
I appreciate all your thoughts. Miles, regarding the price-per-seat issue, it isn't a question of the number of developers but the number of simultaneous connections to the database. For example, a 64-user Informix license is over $5,000 ... While I doubt we will need to maintain persistent

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
So sprach »Zeev Suraski« am 2001-08-29 um 19:43:15 +0300 : very useful, especially to people who already know PHP. However, assuming that it would ever catch a significant share of the GUI market is naive, IMHO. Well, my point was, that at the beginning of the Perl-GTK binding, noone would

  1   2   3   >