Re: [PHP] Re: FAQ

2001-08-01 Thread Clayton Dukes
I have a question: Does anyone know what PHP stands for? It's not in any of the FAQ's I've looked at. -Clayton - Original Message - From: "scott [gts]" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 11:40 AM Subject: RE: [PHP] Re: FAQ > and adding a

RE: [PHP] Re: FAQ

2001-08-01 Thread Johnson, Kirk
> Does anyone know what PHP stands for? PHP => People Hate Perl. No, that's just a joke, no flames please :) PHP Hypertext Preprocessor. Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

RE: [PHP] Visual Login

2001-08-01 Thread Ben Bleything
VERY good point I forgot to mention => By the way, that's what the session variables are for... you just check every page if they are set correctly, and go with it => Good luck, Ben -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 7:33

RE: [PHP] Re: FAQ

2001-08-01 Thread Angerer, Chad
Isn't it Personal Home Pages? Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 10:55 AM To: php Subject: RE: [PHP] Re: FAQ > Does anyone know what PHP stands for? PHP => People Hate Perl. No, that's just a joke, no flames please

Re: [PHP] How can i make it so....

2001-08-01 Thread Sheridan Saint-Michel
That way people can type in www.yoursite.com/loggedin.php and bypass the Authentication completely. Great! =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Chris Fry <[EMAIL PROTECTED]> To: Steve Wright <[EMAIL PROTECTED]>

RE: [PHP] Re: FAQ

2001-08-01 Thread Daniel L. Ferrell
I have a php book that says it stands for Personal Home Page, not sure if that is correct or not... dan -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 11:53 AM To: scott [gts]; php Subject: Re: [PHP] Re: FAQ I have a question: Does a

Re: [PHP] Re: FAQ

2001-08-01 Thread Matt Greer
on 8/1/01 11:01 AM, Angerer, Chad at [EMAIL PROTECTED] wrote: > > PHP Hypertext Preprocessor. > > Isn't it Personal Home Pages? > I believe that was the original name. But now the first P represents an acronym itself, as Kirk pointed out, PHP Hypertext Preprocessor. So as I understand it, it's

[PHP] env var

2001-08-01 Thread Jon Yaggie
is there not an array that saves all session variables? I just got done looking for it and though i am sure there is a list of all these variable i am not sure where (it is not in my info file).thanks btw if you are the RTM (RTF(antastic)M) guy no need reply. Thank You, Jon Yaggie

RE: [PHP] function that will print the url for embedded links

2001-08-01 Thread Dave
you would have to pass a page identifier when its the printer friendly page, then just parse for it. quoting your paragraph... - ...on a dynamically created webpage, I have a link called: http://www.web.com/contact.html)'; }else{ # regu

Re: [PHP] Re: Session problems

2001-08-01 Thread LITS
At home I am using Win98, BadBlue Server, PHP 4.0.5 and 4.0.6. Here sessions (same example script I posted earlier) seem to work 100%. Must be a config setting at work. BK Rudolf Visagie <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Bernie, > > Do a s

Re: [PHP] Sorry... but a good PHP editor for Linux/Unix

2001-08-01 Thread Ezra Nugroho
joe It's a clone of the good old day dos WordStar. Very light, and once you master the hot keys, very fast. Much stronger than pico, but still very light. At 10:22 AM 8/1/2001 -0500, Sheridan Saint-Michel wrote: >If you are working by SSH I would suggest going ahead and taking the >time to read

Re: [PHP] Re: FAQ

2001-08-01 Thread Philip Olson
This question is answered here : http://php.net/manual/en/preface.php http://www.php.net/manual/en/introduction.php FAQ's are nice but the manual is even better :) Although this FAQ may help, it's titled "What is PHP?" and contains links too. http://www.faqts.com/knowledge_base/view.phtm

RE: [PHP] Re: FAQ

2001-08-01 Thread Jon Haworth
> > > PHP Hypertext Preprocessor. > > > > Isn't it Personal Home Pages? > > > I believe that was the original name. But now the first P represents an > acronym itself, as Kirk pointed out, PHP Hypertext Preprocessor. > > So as I understand it, it's Personal Home Page Hypertext Preprocessor. > Ra

RE: [PHP] env var

2001-08-01 Thread Dave
snicker, you don't know how tempting it was to RTM check array function "each" which has a nice explanation on how to use the each function with features $HTTP_PORT_VARS array... thats what you are looking for while (list ($key, $val) = each ($HTTP_POST_VARS)) { echo "$key => $val"; } Dave

[PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread Chris Worth
hey gang. here is my sql statement from my php script. $sql = "UPDATE TABLE seminar SET title=$title,speaker=$speaker,event_date=$tdate,time=$time,bldg=$building ,rm=$room WHERE id=$id"; it appears just like that in my code. here is the $sql string echoed to the screen to verify the vari

Re: [PHP] env var

2001-08-01 Thread Philip Olson
See : http://www.php.net/manual/en/ref.session.php Note the use of $HTTP_SESSION_VARS within the examples, this may be what you're referring to. Regards, Philip On Wed, 1 Aug 2001, Jon Yaggie wrote: > is there not an array that saves all session variables? I just got > done looking for it

Re: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread Matt Greer
on 8/1/01 11:35 AM, Chris Worth at [EMAIL PROTECTED] wrote: > > > hey gang. > > here is my sql statement from my php script. > > $sql = "UPDATE TABLE seminar SET > title=$title,speaker=$speaker,event_date=$tdate,time=$time,bldg=$building > ,rm=$room WHERE id=$id"; > strings in a mysql quer

Re: [PHP] env var

2001-08-01 Thread Jon Yaggie
thanks dave and phillip, (accidentally emailed dave instead of the list the first time) i found it in the manual just before i got the messages. is there a reson i get soem of these twice is it the fault of the people sending them? the list? or my mail program??? - Original Message

RE: [PHP] PHP_SELF

2001-08-01 Thread Chris Worth
LOL, Jon, you just made me realize the typo I had in my script. Thanks a bunch. I had some ==, but there were two = which was making my head hurt. thanks for the post. On Tue, 31 Jul 2001 09:16:26 +0100, Jon Haworth wrote: >> if ($post = "1" && $Age = " ") {echo "NO";} >> else {echo "YES";}

[PHP] Re: PHP EDITOR 4 WINDOWS?

2001-08-01 Thread Fredrik Arild Takle
Codewhiz is great. Remember to download php-language-files if you want syntax-highlighted-code (or something!) Best Regards Fredrik A. Takle "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does it really exist? If so could someone post some URLs for

[PHP] Re: Hmmm?

2001-08-01 Thread Fredrik Arild Takle
I think it's impossible to read/understand my own scripts if i don't do it. Do: "; for ($ii = '1'; $ii <= '32' $ii++) { echo $ii." "; } } echo "All done!"; ?> instead of: "; for ($ii = '1'; $ii <= '32' $ii++) { echo $ii." "; } } echo "All done!"; ?> Best Regards Fredrik A. T

Re: [PHP]REPOST: DB logic help...

2001-08-01 Thread Chris Cocuzzo
hey- ok, so I've worked on my problem a bit, and here's what I came up, and note this is the whole page. Bands Sites Other " class="hov1" target="_new"> " class="hov1" target="_new"> " class="

Re: [PHP] PHP_SELF

2001-08-01 Thread Christian Reiniger
On Tuesday 31 July 2001 04:59, Gerard Samuel wrote: > if ($post = "1" && $Age = " ") {echo "NO";} "=" is assignment. "==" is comparison -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal

[PHP] Testing if Scripting has been disabled

2001-08-01 Thread Don
Is there a method to test if Scripting has been disabled in the browser? Thanks, Don -- 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] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread Sam Masiello
You will need to put single quotes around your variables in your SQL statement. Like this: $sql = "UPDATE TABLE seminar SET title='$title',speaker='$speaker',event_date='$tdate',time='$time',bldg='$bu ilding' ,rm='$room' WHERE id='$id'"; Without the quotes, SQL doesn't know that Something Ama

RE: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread scott [gts]
*always always always* quote everything in SQL statements. you run the risk of letting people insert arbitrary SQL statements into your script if you dont quote values. if you're using MySQL, try mysql_escape_string http://php.net/manual/en/function.mysql-escape-string.php or you could roll you

RE: [PHP] env var

2001-08-01 Thread scott [gts]
a lot of people send the reply to the list and Cc: a copy to the sender so you end up getting two copies. > -Original Message- > From: Jon Yaggie [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 12:41 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] env var > > > thanks

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Craig Gardner
Here's a more detailed explanation of my problem. I am setting up a form with multiple text boxes. I am trying to send a formatted version of the form, via e-mail... Here's kinda how I have it layed out. function formatText() { message = 'Textbox label1 : ' + document.forms[0].

RE: [PHP] Re: Hmmm?

2001-08-01 Thread scott [gts]
oh man... it gives me such a headache when i have to try and make sense of scripts with no indentation (or arbitrary indentation)... it's always fun dealing with things like this :-) if ($this){ print " hi ";} else {print " bye ";

RE: [PHP] Testing if Scripting has been disabled

2001-08-01 Thread scott [gts]
"Scripting" is a rather large word... do you mean javascript? > -Original Message- > From: Don [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 12:58 PM > To: php list > Subject: [PHP] Testing if Scripting has been disabled > > > Is there a method to test if Scripting has

[PHP] Re: function that will print the url for embedded links

2001-08-01 Thread Fredrik Arild Takle
You might wanna make a function for links: $descr"; } return $link; } To echo an link in a site, do: html above http://www.php.net";); ?> html under contact.php will echo: http://www.php.net";>Offical PHP-site contact.php?printer=true will echo: Offical PHP-site (http://www.

[PHP] Re: Hmmm?

2001-08-01 Thread Keith Jeffery
No, no, I indent my code normally, just not after the $fileArray[$i]\n"; } } ?> Not indenting after the wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I think it's impossible to read/understand my own scripts if i don't do it. > > Do: > >if ($submit) { > echo "Coun

RE: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-01 Thread scott [gts]
no offense to you sam, but please dont ever simply place single quotes around values. you have to escape the values *themselves*. what if someone submitted the form field title as: $title = "'; DELETE FROM seminar; " if you didn't escape the single quotes in there, it would get interpreted as a

[PHP] HTTP_SESSION_VARS

2001-08-01 Thread Jon Yaggie
when i try this then .. . . while (list ($key, $val) = each ($HTTP_session_VARS)) { echo "$key => $val"; } i get the error - Warning: Variable passed to each() is not an array or object in /var/www/html/adult/func.php on line 5 and well it looks liek an array to me . . is there soemth

[PHP] Installing PHP probs

2001-08-01 Thread Kyle Smith
Can someone quide me through the process of installing PHP on a windows system (my computer) because ive followed what it says in the doc files but it doesnt work so anyone who has done it, please help! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN:

[PHP] image help please

2001-08-01 Thread Phil Spitler
Can anyone see why this blows up? It basically just hangs the browser trying to load the page. I'm going to try to chop some of the image off, but just want to get the new image to display right now. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 7

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread Jon Yaggie
SORRY i just coppied it wrong the actual code is capitalized while(list($k, $v) = each($HTTP_SESSION_VARS)) - Original Message - From: "Faisal Nasim" <[EMAIL PROTECTED]> To: "Jon Yaggie" <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 12:23 AM Subject: Re: [PHP] HTTP_SESSION_VARS

RE: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread Johnson, Kirk
> while (list ($key, $val) = each ($HTTP_session_VARS)) { > echo "$key => $val"; > } > > i get the error - > > Warning: Variable passed to each() is not an array or object > in /var/www/html/adult/func.php on line 5 Change "HTTP_session_VARS" to "HTTP_SESSION_VARS", since variable names ar

Re: [PHP] Re: FAQ

2001-08-01 Thread Werner Stuerenburg
Johnson, Kirk schrieb am Mittwoch, 1. August 2001, 17:55:03: >> Does anyone know what PHP stands for? PHP =>> People Hate Perl. > No, that's just a joke, no flames please :) > PHP Hypertext Preprocessor. Which does not explain the php - stands for Personal Home Page, IIRC - there is an inte

Re: [PHP] Re: FAQ

2001-08-01 Thread Sascha Schumann
> just like Apache comes from "a patchy" server. That is a myth and it is not really right :) You might want to search for an interview with Brian Behlendorf in which he explains how the name was originally conceived. - Sascha Experience I

[PHP] How can I make a Loading... screen?

2001-08-01 Thread Michael Champagne
I have a popup window that populates a table with rows from a database and it normally takes about 15 to 20 seconds to load. Does anyone know how I can display a 'Loading... Please Wait.' that will disappear once the data comes up? Thanks in advance for any responses, Mike ***

RE: [PHP] Testing if Scripting has been disabled

2001-08-01 Thread scott [gts]
not at all. the only kind of "scripting" that the client controlls is client-side scripting. browsers do not have any control over server-side scripting. PHP, Perl, C++, etc. are server-side. Javascript is client-side. if you disable scripting in MSIE, absolutely nothing related with PHP will

[PHP] Looking for Portal/Directory code

2001-08-01 Thread Thomas Deliduka
I've been looking in several places and can't find a good PHP code resource site. The ones I have found have stuff that isn't very good. Anyway, I'm looking for a PHP app with MySQL back-end that will do a Portal/directory listing like Yahoo or the Open Directory Project. -- Thomas Deliduka I

RE: [PHP] Installing PHP probs

2001-08-01 Thread scott [gts]
it's a piece of cake for windows... two steps: 1) download the .EXE and double-click on it or download the .ZIP and unzip it somewhere (usually C:\php) 2) configure & restart your webserver if you download the .EXE it'll configure any non-apache server for you. if you use apache, you'll have

[PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread Keith Jeffery
I did this myself, for the exact same reason. First I define this javascript in my page: function itsThinkingOpen() { imgWindow=window.open("thinking.htm","thinkingWindow","toolbar=no,scrollbars =no,resizable=no,width=400,height=200"); } function itsThinkingClose() { imgWindow.close(); } and

RE: [PHP] How can I make a Loading... screen?

2001-08-01 Thread scott [gts]
use javascript. put this at the top of your big document: var waitwin = window.open( ... ); and this at the end: waitwin.close(); you might have to double-check the syntax, as i dont really use javascript too often, but that should work fine. > -Original Message- > From: Michael Champ

[PHP] Re: path_info

2001-08-01 Thread DMS
By fail I mean that the code does not return a value for the path_info variable. The register_globals setting is currently set On. With it set Off I obviously would note return a value with $PATH_INFO. It is my understanding that the track_vars is always On starting with version 4.0.3 "Richar

[PHP] Re: path_info

2001-08-01 Thread DMS
By the way. This problem occurs under the ISAPI version of PHP but works just fine with the EXE version. I understand the the ISAPI version has some potential problems but everything seems to work fine under W2K IIS5 with PHP 4.0.3 whereas with W2K IIS5 and PHP4.0.6 it does not under ISAPI only.

Re: [PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread Michael Champagne
Thanks for the response. The only problem is that the page that I'm waiting on is already a popped up window, so I'd hate to open up another popup window on top of that to say that the first one is loading. Is there a way to do this within the same window? Thanks! Mike > I did this myself, for

RE: [PHP] image help please

2001-08-01 Thread Phil Spitler
Nevermind, I figured it out. I needed to create image 2 with ImageCreateTrueColor() > -Original Message- > From: Phil Spitler [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 1:41 PM > To: PHP > Subject: [PHP] image help please > > > Can anyone see why this blows up? It bas

RE: [PHP] Re: FAQ

2001-08-01 Thread Brian Dunworth
On Wednesday, August 01, 2001 at 11:53 AM, Clayton Dukes said: > I have a question: > Does anyone know what PHP stands for? > It's not in any of the FAQ's I've looked at. "PHP" is short for "PHP: Hypertext Preprocessor" ...neat, huh? a recursive definition! - Brian --

Re: [PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread Keith Jeffery
Ahh, OK, I thought you wanted a popup window. There is no way to "unwrite" text on a page. The only thing that comes to mind is using a textfield and changing its value through javascript, but that leaves an ugly text field on your page, unless you want to do some CSS to hide it best you can.

RE: [PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread scott [gts]
make the same window say "Loading"? not unless you used DHTML to create an IFRAME or DIV or some similar HMTL element (i havent kept up on DHTML, so i dont know exactly what you'd need to use). set it to be the entire size of the browser width and height = 100%, then, at the bottom of the page,

Re: [PHP] Re: FAQ

2001-08-01 Thread Werner Stuerenburg
Sascha Schumann schrieb am Mittwoch, 1. August 2001, 19:52:08: >> just like Apache comes from "a patchy" server. > That is a myth and it is not really right :) Anyway - it is a nice one, isn't it? BTW, it is found on http://www.linux-mag.com/2000-04/behlendorf_02.html I spent some time

Re: [PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread Inércia Sensorial
Something like: http://www.javascript-tricks.com/loading.html Found at Google, searched for 'page loading javascript'. There are more complex options, like with a bar graph. "Michael Champagne" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for

RE: [PHP] Installing PHP probs

2001-08-01 Thread Sam Masiello
Exactly what error are you getting? The install is pretty straight forward. Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 9:26 PM To:

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread Ryan Fischer
You wrote: > What do you think a medium sized hosting company could do to give you (the > developer) better service and support? Be willing to help their users in any way they can, as far as service goes. > Is access to professional PHP developers useful when an issue arises? Depends on the iss

[PHP] check if user exists

2001-08-01 Thread Ker Ruben Ramos
how do i check if user exist? I tried... $result = mysql_query("SELECT count(uname) FROM users WHERE uname=\'$username@$domain\'"); if(isSet($result)) return("Username already exists.\n"); but still wont work.. :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] check if user exists

2001-08-01 Thread Matt Kaufman
Select all the users (I did it in a while statement..although I'm sure there is a better way) and inside it do something like // html form // if form is submitted // get all useres from db // start while if($htmlformuser == $usersindb) { echo "Username exists"; } // end while // end if form is

Re: [PHP] check if user exists

2001-08-01 Thread Matt Kaufman
Select all the users (I did it in a while statement..although I'm sure there is a better way) and inside it do something like // html form // if form is submitted // get all useres from db // start while if($htmlformuser == $usersindb) { echo "Username exists"; } // end while // end if form is

RE: [PHP] check if user exists

2001-08-01 Thread Craig Vincent
> how do i check if user exist? > I tried... > $result = mysql_query("SELECT count(uname) FROM users WHERE > uname=\'$username@$domain\'"); > if(isSet($result)) > return("Username already exists.\n"); > but still wont work.. :( if (mysql_num_rows(mysql_query("SELECT uname FROM use

RE: [PHP] check if user exists

2001-08-01 Thread Matt Kaufman
Select all the users (I did it in a while statement..although I'm sure there is a better way) and inside it do something like // html form // if form is submitted // get all useres from db // start while if($htmlformuser == $usersindb) { echo "Username exists"; } // end while // end if form is

[PHP] not null

2001-08-01 Thread Jeremy Morano
Hi, When a field is declared as an integer, not null and is the primary, how would I address it's empty set? ex: if($value == ???) { bla bla bla } My condition wants there to be nothing in $value. -- PHP General Mailing List

RE: [PHP] not null

2001-08-01 Thread Craig Vincent
> When a field is declared as an integer, not null and is the primary, > how would I address it's empty set? > > ex: if($value == ???) > { > bla > bla > bla > } > > > My condition wants there to be nothing in $value. Are you referring to the

[PHP] Sorry...

2001-08-01 Thread Matt Kaufman
I'm not sure why it sent 3 of the same messages to the list - sorry about that.

Re: [PHP] Re: FAQ

2001-08-01 Thread Ryan Fischer
You wrote: > I have a php book that says it stands for Personal Home Page, not sure if > that is correct or not... It's not. PHP stands for "PHP: Hypertext Preprocessor." It's a recursive acronym. -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing Lis

Re: [PHP] Installing PHP probs

2001-08-01 Thread Kyle Smith
well what if i want to set up the computer im using to be able to run php acripts, but NOT be an internet server? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "scott [gts]" <[E

[PHP] Fun Question - What if...

2001-08-01 Thread Michael J. Seely
HI FOLKS, Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra Wireless AirCard 400 - 128 kbps NIC card. What boom pow applications can you imagine setting up and running in this environment? What else would you need, if anything? Thanks - Mike -- _/_/_/_/_/_/_/_/_/_/_

[PHP] Download file

2001-08-01 Thread Karl J. Stubsjoen
GlacierHello, I have script which initiates a download of a file to the client machine. I am using following headers followed by a ReadFile (everything is working fine): =code snippet== header ("Content-type: application/tar"); header("Content-Length: $len"); header (

[PHP] Re: Fun Question - What if...

2001-08-01 Thread Inércia Sensorial
"Michael J. Seely" <[EMAIL PROTECTED]> wrote in message news:a04320400b78e010dcf12@[208.37.135.187]... > HI FOLKS, > > Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra > Wireless AirCard 400 - 128 kbps NIC card. > > What boom pow applications can you imagine setting up and

[PHP] PHP INSTALL (please, im too young to die!!!)

2001-08-01 Thread Kyle Smith
ok i really need to get this sorted quickly so could somebody please tell me which of the below (taken off php.net) i should download to install PHP on my WIN ME comeputer (im not using my computer as an insternet server i need it to test scripts) Complete Source Code a.. PHP 4.0.6 [3,083Kb]

RE: [PHP] PHP INSTALL (please, im too young to die!!!)

2001-08-01 Thread scott [gts]
get the windows ZIP > -Original Message- > From: Kyle Smith [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 11:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP INSTALL (please, im too young to die!!!) > > > ok i really need to get this sorted quickly so could somebody pl

[PHP] Re: check if user exists

2001-08-01 Thread Fredrik Arild Takle
$result = mysql_query("SELECT uname FROM users WHERE uname=\'$username@$domain\'"); $numrows = mysql_num_rows($result); if ($numrows == '1') { echo "User already exists"; } else { echo "User don't exist"; } Best Regards Fredrik A. Takle Bergen, Norway "Ker Ruben Ramos" <[EMAIL PROTECTED]>

Re: [PHP] Fun Question - What if...

2001-08-01 Thread Philip Olson
Sometimes I walk outside and wonder why the sky is blue. On Wed, 1 Aug 2001, Michael J. Seely wrote: > HI FOLKS, > > Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra > Wireless AirCard 400 - 128 kbps NIC card. > > What boom pow applications can you imagine setting up

Re: [PHP] Installing PHP probs

2001-08-01 Thread Matt Greer
on 8/1/01 9:57 PM, Kyle Smith at [EMAIL PROTECTED] wrote: > well what if i want to set up the computer im using to be able to run php > acripts, but NOT be an internet server? > You can't. You need a webserver on your computer to run php locally. If you're running windows98/me you can use Person

RE: [PHP] Installing PHP probs

2001-08-01 Thread scott [gts]
you dont have to have a server running. just use the CGI binary. ...and if you're using windows - why not just use apache... it's free, easier to install/configure than PWS (yech!) and it has *MUCH* better documentation and support than microsoft can ever offer. :-) > -Original Message--

Re: [PHP] check if user exists

2001-08-01 Thread Philip Olson
See what this does within your code : $count = mysql_result($result,0); Should give you your count (number of users in db). Btw, don't escape single quotes in double quotes. In otherwords, the following is fine : $string = "I'm a nice string"; See : http://zend.com/zend/tut/usin

[PHP] MSACCESS Insert/Updates via ODBC

2001-08-01 Thread ignacio . estrada
Hi, I am using the ODBCSocketServer object (already focused to recordset management) to access Microsoft Access (MDB) databases . However I do not know how to implement functions to Insert/Update data registers. I am a newbye using PHP. Do somebody know how to implement that functions ?. May

Re: [PHP] PHP INSTALL (please, im too young to die!!!)

2001-08-01 Thread Philip Olson
Maybe you should just install a package, much easier. Check out : http://hotscripts.com/PHP/Scripts_and_Programs/Installation_Kits/ phpTriad and nusphere are popular, as are others. Once it's setup play with the configurations, etc. Usually mysql/apache/php will be installed. Regards, Philip

[PHP] Character newline (\n), How to

2001-08-01 Thread ignacio . estrada
Hi, somebody know why the character newline \n doesn't work? . I am using the combination W2K/Apache/PHP4. I tried the newline character on print and echo functions but still not working. Maybe is a stupid cuestion but I need it. Thanks in advanced. Atte. Ignacio Estrada F. Centro Nacional de

Re: [PHP] Character newline (\n), How to

2001-08-01 Thread Keith Jeffery
My guess is that it is working, just not like you'd expect. You're generating HTML, so if you want a new line to be displayed in your HMTL document you need to do echo "Hello there"; instead of "Hello there\n"; \n will give you a pretty new line if you look at the source of the page Keith Jeffe

RE: [PHP] Character newline (\n), How to

2001-08-01 Thread Jack Dempsey
How are you using it? Show some code...maybe you're doing echo '\n' instead of "\n"... jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Character newline (\n), How to Hi, somebody kn

[PHP] wish list?

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- 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 PR

Re: [PHP] Character newline (\n), How to

2001-08-01 Thread Philip Olson
A couple possible reasons : 1. Mixing \n and \n won't create a newline within your browser but rather it will within your html source code. Meaning, look at your html source and notice the newlines. 2. Using single quotes echo '\n'; will literally print '\n', in otherwords, it won't be e

Re: [PHP] PHP_SELF

2001-08-01 Thread Gerard Samuel
Ok, I would like to thank Ralph Guzman & Richard Lynch for your help. I combined your ideas into my own working example. Just posting here for archiving/discussion purposes... // Input some data // echo "\n"; echo "1. Age:\n"; echo "   \n"; echo "2. Email:\n"; echo "   \n"; echo "   \n"; // Star

[PHP] Re: PHP, C++, and LAN

2001-08-01 Thread Keith Jeffery
Why doesn't $dir = opendir("//harp/graphics/"); work anyway? Is this an oversite in the Win32 development of PHP? You're able to do this in Perl. "Keith Jeffery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I'm writing some PHP scripts that

[PHP] Re: Download file

2001-08-01 Thread Owen Rudge
> What I need to do, is specify the default directory for this file to be > saved to. Does anyone know how to do this? It's just not possible. -- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread mike cullerton
if there aren't any session vars, $HTTP_SESSION_VARS won't be an array. i use something like if(isset($HTTP_SESSION_VARS)) { reset($HTTP_SESSION_VARS); while(list($k, $v) = each($HTTP_SESSION_VARS)) { do_something($k,$v); } } on 8/1/01 11:46 AM, Jon Yaggie at [EMAIL PROTECTED] wrote

[PHP] Take JS array send by form

2001-08-01 Thread Ivo
Hi I faced following problem: I've a form where which could have one or more input text fields (it is not clear how many they will be - one or more). Thay have same name - pn - and if they are more that one JavaScript treat them as an array - pn[x] The problem is that when I receive this form w

RE: [PHP] wish list?

2001-08-01 Thread Erick Calder
I dumb. I looked at the bugs page and the listbox for "bugs of type" reads: "Any (except Feature Requests)". I didn't realise I was looking at the search area! 1k thx - e -Original Message- From: Mark Roedel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 1:18 PM To:

RE: [PHP] wish list?

2001-08-01 Thread Mark Roedel
> -Original Message- > From: Erick Calder [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 2:24 PM > To: [EMAIL PROTECTED] > Subject: [PHP] wish list? > > > does anybody know how to submit a feature request? I can't > do it via the bug reporting mechanism. Is that "can't"

Re: [PHP] Take JS array send by form

2001-08-01 Thread Mark Maggelet
On Wed, 1 Aug 2001 23:17:49 +0200, Ivo ([EMAIL PROTECTED]) wrote: >Hi > >I faced following problem: > >I've a form where which could have one or more input text fields (it >is not >clear how many they will be - one or more). Thay have same name - pn >- and >if they are more that one JavaScript tre

[PHP] Multi Uploads

2001-08-01 Thread Gary
I have a page that clients are able to up load to their site. I want to elimanate have? a bunch of upload buttons. How would I go about using only one button for uploads without losing the browse button for each form object? Better yet how would I have the client enter a number for the number of u

[PHP] YA Session Problem

2001-08-01 Thread Thomas Deliduka
I'm actually revisiting this after 8 months or more. I have never gotten sessions to work on my server and here's the problem: Page 1: Create session register a variable. SessionID created is say: 555 (for example) On the drive in /tmp I get a file sess_555 and it contains my v

Re: [PHP] Re: What tools do you use to develop PHP?

2001-08-01 Thread BRACK
I tried PHPEd and PHP Coder but still came back to my favorite AceHTML4 Pro from visicom.com They have quite good customizable PHP wizard so you should try this one it's not expencive but MUCH more featured then HomeSite. BRACK -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Multi Uploads

2001-08-01 Thread Inércia Sensorial
Use the source, Luke! Okay, not quite easy. You have this option to accomplish multi-uploads. But, as an user, I think it is better to have only one Upload Field, and one browse/submit button. When I choose a file, the page is reloaded, with information about the file I just uploaded, and

[PHP] Get USERNAME (Windows...)

2001-08-01 Thread Chip Hankley
I'm building a PHP app for use on our intranet - all MS (Clients will be 95, NT, or 2000). Is there a way to retrieve the clients username when they access app (i.e. the username they used to access the network)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Kyle Smith
Where do i download the best software (prefebly free) to set up my computer as a server so i can test my php scripts? (apache or whatever) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] Content Type Text?

2001-08-01 Thread Jeff Oien
I've looked all over and can't find a content-type declaration for text. This is my guess header("Content-Type: text/txt"); but I'm not sure if this is right. I know this is more HTTP than PHP. I want info to be displayed in a browser as plain text not HTML. Thanks. Jeff Oien -- PHP General Mail

Re: [PHP] YA Session Problem

2001-08-01 Thread Richard Baskett
Page 1: session_name(login);// create session session_start();// start session session_register("Email"); // register Email session variable session_register("Password"); // register Password session variable Page 2: session_name(login);// target ses

<    1   2   3   >