Re: [PHP] `pwd` - what does this mean?

2001-08-14 Thread Scott Mebberson
Thanks for your reply but what does this (man -k "" | grep "(1)") do? Thanks "Don Read" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On 15-Aug-2001 Scott Mebberson wrote: > > Hi Guys, > > > > I actually know what it means. Well, I think it means the curr

Re: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-14 Thread Herouth Maoz
On Wednesday 15 August 2001 10:07, Warren Vail wrote: > The ability to select a set from a previously selected set is > possible in Sybase because the database supports creation of > temporary tables and the select insert. No, you seem to have missed my point entirely. So I'll explain in a littl

RE: [PHP] `pwd` - what does this mean?

2001-08-14 Thread Don Read
On 15-Aug-2001 Scott Mebberson wrote: > Hi Guys, > > I actually know what it means. Well, I think it means the current directory? It executes the Unix command pwd. pwd - print working (current) directory. > Anyway... what exactly is it and where can I find some more information > about it? I c

RE: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-14 Thread Warren Vail
The ability to select a set from a previously selected set is possible in Sybase because the database supports creation of temporary tables and the select insert. PHP (which is often packaged with MySQL) does not attempt to mix database (SQL) with it's own scripting language (unless someone is wo

RE: [PHP] Re: `pwd` - what does this mean?

2001-08-14 Thread Joseph Blythe
actually says: "pwd - print name of current/working directory" in the man page (c: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:18 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: `pwd` - what does this mean? pass working directo

[PHP] Re: `pwd` - what does this mean?

2001-08-14 Thread Scott Mebberson
I typed it on my server (SunOS 5.7) and it said, it returns the current working directory. So this is a unix command executed from PHP? Is there any other useful unix commands which can be executed from PHP? Does anybody have a list? "Scott Mebberson" <[EMAIL PROTECTED]> wrote in message [EMA

[PHP] Re: php upload on MAC

2001-08-14 Thread Herouth Maoz
Jason wrote: > I wrote a script that clients can upload files to our server and > download files but there is one small problem. Mac users can't > upload all of their files. I am guess there is no file extensions. > Anyone have any ideas? > Jason Well, in Mac, there are indeed no mandatory file

RE: [PHP] Re: `pwd` - what does this mean?

2001-08-14 Thread Lawrence . Sheed
pass working directory [or] path to working directory. PWD is a unix command See man pwd for more details. eg http://campuscgi.princeton.edu/man?pwd#toc3 -Original Message- From: Raphael Pirker [mailto:[EMAIL PROTECTED]] Sent: August 15, 2001 2:49 PM To: [EMAIL PROTECTED] Subject: [P

RE: [PHP] `pwd` - what does this mean?

2001-08-14 Thread Joseph Blythe
how about typing "man pwd" on a unix box? -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:08 PM To: [EMAIL PROTECTED] Subject: [PHP] `pwd` - what does this mean? Hi Guys, I actually know what it means. Well, I think it means the cur

[PHP] Re: `pwd` - what does this mean?

2001-08-14 Thread Raphael Pirker
my guess would be Parent Working Directory, but i'm not sure... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: "searching" arrays

2001-08-14 Thread Raphael Pirker
Hi Richard, Thanks a lot for your prompt reply!! I get a parse-error, however, on line 77 (marked below): function search_the_array($array) { global $search_tmp; $result = array_search($search_tmp, $array, TRUE); reset($array); Line77:while (!($resu

[PHP] `pwd` - what does this mean?

2001-08-14 Thread Scott Mebberson
Hi Guys, I actually know what it means. Well, I think it means the current directory? Anyway... what exactly is it and where can I find some more information about it? I couldn't find much on php.net - also, is there any other ones(whatever it is) like this? Thanks. Scott. -- PHP General Ma

[PHP] Problem: Sybase, PHP and multiple result sets

2001-08-14 Thread Herouth Maoz
I have started working with Sybase lately, and it has come to my knowledge that a single query can return multiple result sets in Sybase, especially when using stored procedures. Now, in ASP (sorry...), there are calls that allow retrieving the next result set from the current result set. So i

[PHP] PHP and serving streaming media

2001-08-14 Thread Greg Beaver
Hi, I'm working on a website for my quartet, The Chiara String Quartet. One of our primary goals is to present audio clips, and we have many of them. Because of our diverse audience, we need to stream many file formats of identical clips. I'm trying to do this through php-mysql, recording info

[PHP] Re: something like SSI ?

2001-08-14 Thread Richard Lynch
> Ok, this may seem like a dumb newbie question... > > Is there an function like ASP's Server Side Include in PHP ? Or what is best > to use instead, fread ? If it has PHP code in it, or might some day, use http://php.net/include or one of its See Also's If not, use http://php.net/passthru or one

[PHP] Re: "searching" arrays

2001-08-14 Thread Richard Lynch
> is there also a way to search for, let's say '*china*' because in my array > it would say "Republic of China" and when searching for "china" I get no > result from the array... You'd have to walk through the array and use strstr or ereg for that. You could maybe use PHP's array_walk function,

[PHP] Re: Foreach loop syntax

2001-08-14 Thread Richard Lynch
> Ok, I asked a similar question more than a year ago, so I apologize for > being a little redundant :) > > Why was PHP's foreach loop syntax chosen to be > > foreach($dogs as $dog){} > > instead of something more common (Python, Javascript, can't think what else > right now) and, to me, more intu

[PHP] Re: Code works fine on Apache, but not on PWS.

2001-08-14 Thread Richard Lynch
> http://www.phpbuilder.com/columns/bealers2904.php3?page=1 if (!ereg("^4",phpversion())) { function in_array($needle,$haystack) { # we have this function in PHP4, so for you PHP3 people for ($i=0; $i < count($haystack); $i++) { if ($haystack[$i] == $needle)

[PHP] Re: PHP Shopping Carts ??

2001-08-14 Thread Richard Lynch
http://l-i-e.com/compare/ -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Christopher Raymo

Re: [PHP] php upload on MAC

2001-08-14 Thread Richard Lynch
"none" means they didn't pick a file to upload at all... Or that it was too large for your size limit. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://ch

[PHP] Re: saving the client's file upload location

2001-08-14 Thread Richard Lynch
> i have people upload a file from their computer but if my form comes > back with an error then they have to go select their file location > again. is there any way of saving that location so they don't have to > pick it again??? > upload file [ c:/temp/picture.jpg ] Not really. As a mea

[PHP] Re: Web page authentications

2001-08-14 Thread Richard Lynch
> I am new to PHP and am confused on HTTP authentications. I have read that > section in the manual and still have questions. Where does PHP look to see > if the user is valid or if the passward matches the user. You can set it up to look where-ever you see fit. Most users probably create a tabl

[PHP] Re: insertion question

2001-08-14 Thread Richard Lynch
> I have to store a whole lot of text files into a database, each one > containing 3 columns containing numbers and about 2500 lines. I was > wondering if anyone knew which would be the best way to store these files, > having one big table with each row containing the contents of the files, or > m

[PHP] Re: array intersection problem

2001-08-14 Thread Richard Lynch
> $invalid = array("1","3","9"); > $questions = array("1","2","3","4","5","6","7","8","9"); > > $new_questions = array("1", >"2", >"3", >"4","5","6","7","8", >"4"); There's no one-line built-in array_x

[PHP] Re: popen returns true whether script exists or not?

2001-08-14 Thread Richard Lynch
It may be returning a negative number which is an error code rather than a process pointer... What is $p really? If it's < 0, use 'man errno' to see what it means. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: ht

[PHP] cURL and XML?

2001-08-14 Thread Petras Virzintas
Hi, has anyone successfully posted an XML data file to a "https" URL using the PHP cURL functions? If so, could you please send an example of the "curl_setopt" function names used. Thanks in advance Petras

[PHP] Re: Comparing Variables

2001-08-14 Thread Mindblender
Disregard the previous message. I found the problem, I was overwriting the variable later in my script. Thanks anyway Jeff "Mindblender" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm sure that this is a simple fix, but I can't figure it out. >

[PHP] Comparing Variables

2001-08-14 Thread Mindblender
I'm sure that this is a simple fix, but I can't figure it out. I am trying to setup a sign-up screen that requires the user to type in their password twice to verify that they typed it in correctly. My problem is, how do I compare the two entries? In my HTML form I have two fields, password and

[PHP] Big Words (RE: [PHP] Classes and performance bottlenecks)

2001-08-14 Thread Jason Murray
> Zend cache will ameliorate this to a great extent -- as the > file is loaded once into RAM and left there. ^^ Wow, not often I see a new word like *that* around :) And for those of us who don't know: http://www.dictionary.com/wordoftheday/archive/1999/07/16.html ;)

[PHP] Re: could i get a clue?

2001-08-14 Thread Richard Lynch
> ok a basic question. perhaps I dont know enough about javascript but > anyway.. > > I want to call a php script from javascript. Anybody have any hints for me? > A link to a useful website would work as well. thanks mates You first need to realize that this will *require* opening up a whole new

[PHP] Re: How dynamically create objects

2001-08-14 Thread Richard Lynch
$foo->bar = 42; Whether bar is defined or not, it will work, last I heard. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm --

[PHP] Re: PHP or SSI -- What's faster?

2001-08-14 Thread Richard Lynch
Depends on too many things. Try it on your system and see... Wild Guess: PHP as a Module probably beats out SSI, but SSI probably beats out PHP as CGI. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.

[PHP] Re: nav buttons not working correctly

2001-08-14 Thread Richard Lynch
> I have a book- MySQL/PHP Database Applications by Greenspan & Bulger - I think I've seen that book before :-) > (some lines will undoubtedly wrap and make it all look real ugly) We're used to that :-) > function authenticate ($realm="Secure Area",$errmsg="Please enter a usename and password"

[PHP] Re: SQL script ---------any help

2001-08-14 Thread Richard Lynch
>In MS SQL server, table data can be uploaded on webserver by using the >Enterprise Manager by using the export option. > >Is there any feature in Mysql to upload the data on webserver? http://mysql.com Search for LOAD DATA INFILE I'm also willing to bet the MySQL FAQ has something about import

[PHP] Re: Regular Expression Problem and PHP 4 (urgent)

2001-08-14 Thread Richard Lynch
> blah blah blah blah blah blah blah blah blah > > I think I need to use eregi_replace to make the line look like this: > blah blah blah blah blah blah blah blah blah href='#'> Depending on how accurately you have stated the problem, this may work: $text = 'blah blah blah blah blah blah bla

[PHP] Re: Sessions in older browsers

2001-08-14 Thread Richard Lynch
Show us source code. Test your site in IE 4.0 and set preferences to "notify me before accepting cookies" See what you get for cookies, and what IE stores, and what comes back to your PHP code. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me

[PHP] Re: Mail() not setting MIME TYPE

2001-08-14 Thread Richard Lynch
> $mail = mail("$address", "$subject", "$body", "$headers \nContent-Type: This line break isn't in the actual source, is it?... That would do what you describe... > text/html; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" ); > ?> Email was not originally designed for sending anything b

Re: [PHP] The secrecy of PHP code

2001-08-14 Thread Richard Lynch
> Of course the absolute safest way besides encryting > your PHP is to just store your state secrets in files > outside the web server's document tree. > > i.e. > if your web server's document root is /var/www > > require("/var/super-secret/super-functions.php"); > if ($theanswer == 42) > { >

Re: [PHP] Classes and performance bottlenecks

2001-08-14 Thread Richard Lynch
>require_once("Smarty.class.php"); > require_once("DB.php"); > ?> I used to think that require_once() was quite slow, and that doing your own: if (!defined('smarty_class')){ define('smarty_class'); class Smarty{ ... } } was way more better. It might depend on how *MANY* things you've

Re: [PHP] to include php file into html file

2001-08-14 Thread Alnisa Allgood
At 10:20 AM -0500 8/15/01, Jack wrote: >I also tried > >into my html page, and it appears that nothing happen at all,. Looks like >the html page does not recognize the php tag. Is there any other way that >one can include a php file into a html file? >Jack set html as a php application in a .htac

RE: [PHP] to include php file into html file

2001-08-14 Thread Lawrence . Sheed
Well, It seems your web server is setup not to parse .html files as php If you are running apache, then add configure it to correctly parse the mailto:[EMAIL PROTECTED]] Sent: August 15, 2001 11:20 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] to include php file into html file

Re: [PHP] to include php file into html file

2001-08-14 Thread Raphael Pirker
Yes, but you've got to trick your HTTP-software into believing that a .html (or .htm respecitvely) is actually a PHP file. I can't quite remember the tag to do so, but you should find it at www.apache.org somewhere. It's called file mapping. -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] to include php file into html file

2001-08-14 Thread Jack
I also tried into my html page, and it appears that nothing happen at all,. Looks like the html page does not recognize the php tag. Is there any other way that one can include a php file into a html file? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" - Original Message

[PHP] Re: "searching" arrays

2001-08-14 Thread Raphael Pirker
is there also a way to search for, let's say '*china*' because in my array it would say "Republic of China" and when searching for "china" I get no result from the array... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: [PHP] to include php file into html file

2001-08-14 Thread Lawrence . Sheed
Try in your html file to include some php code in there [1]Javascript is a rather sh*tty client side language, it doesn't parse php very well. [2]

[PHP] Re: saving the client's file upload location

2001-08-14 Thread Bob
But what is the name of the variable when you are uploading a file -- On the form processing page, register the variable on a session. And put session_start(); on the form's page, so the value is remembered and echo()ed on the field. -- Julio Nobrega. 2B||!BB - That's the question.

[PHP] Replace custom INCLUDE template tag with contents of a file

2001-08-14 Thread Obi Nwosu
I am writing code to read in a template and parse it's values. One of the values is an Include tag of the following form:- I want this to be replaced with the content of /relative/path/to/file.txt This tag will appear in multiple places in the template with different values for the the file t

[PHP] to include php file into html file

2001-08-14 Thread Jack
Hi people I have tried to include php file into html page using the syntax below and it said syntax error at this part when the page is loaded. What is wrong with calling php file this way? Or is there any other way to call php file from html page? ***

Re: [PHP] something like SSI ?

2001-08-14 Thread Michael Kimsal
I didn't see this was answered yet, so: SSI and ASP are different things that happen to live on the same server. The ASP designers thought it would be easier to simply use the SSI engine rather than write that functionality into ASP itself (to let VBScript and others 'hook' into it). You notice

Re: [PHP] something like SSI ?

2001-08-14 Thread Daniel Adams
check out the require, include, and require_once functions in the manual on php.net - Dan :-) On Wed, 15 Aug 2001, Martin wrote: > Ok, this may seem like a dumb newbie question... > > Is there an function like ASP's Server Side Include in PHP ? Or what is best > to use instead, fread ? >

Re: [PHP] Loop error?

2001-08-14 Thread Daniel Adams
because you have a semicolon after while ($count > $i) so that it never increments $i. :-) oops On Tue, 14 Aug 2001, PHP List wrote: > Hi, > Can anyone tell me why this is a never ending loop? > > $i=0; > $count = 1; > while ($count > $i); > { > echo "$i "; > $i++; > } > Chris > -- -

Re: [PHP] "searching" arrays

2001-08-14 Thread Evan Nemerson
Try something like this if(isset($countries["singapore"])) { do something... }; or, alternatively, if(!isset($countries["singapore"])) { echo "Not a country" }; On Tuesday 14 August 2001 19:12, you wrote: > Hi, > > Is there a possibility to search arrays in PHP? For example I'd like to > fi

Re: [PHP] javascript reference (slightly ot)

2001-08-14 Thread Evan Nemerson
I used Netscape's javascript reference when I started, but I also found that looking at source code (javascripts.com used to be good) helped alot. http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm On Tuesday 14 August 2001 18:58, you wrote: > Sorry for the OT but, but

[PHP] Segmentation fault (11) : mcrypt

2001-08-14 Thread Robert Mena
Hi, I've trying to use mcrypt and php (4.06 or 4.07-dev) with no luck. Everytime I use I got a [notice] child pid 16630 exit signal Segmentation fault (11) in my apache's error.log. I am using the latest libmcrypt-2.4.15 and php (a hour ago cvs update). Is this a known bug ? './configure' '--w

[PHP] Re: "searching" arrays

2001-08-14 Thread Raphael Pirker
hehe, oops! :) thanks by the way,it worked! :)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: "searching" arrays

2001-08-14 Thread Inércia Sensorial
in_array(); -- Julio Nobrega. 2B||!BB - That's the question. "Raphael Pirker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Is there a possibility to search arrays in PHP? For example I'd like to find > out the index-number of > > $countries["si

[PHP] Re: "searching" arrays

2001-08-14 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Raphael Pirker) wrote: > Is there a possibility to search arrays in PHP? Yes, and you'll never guess what it's called! (Hint: see ). -- CC -- PHP General Mailing List (http://www.php.net

[PHP] "searching" arrays

2001-08-14 Thread Raphael Pirker
Hi, Is there a possibility to search arrays in PHP? For example I'd like to find out the index-number of $countries["singapore"]; but only if that country exists in the array. TIA, Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP] javascript reference (slightly ot)

2001-08-14 Thread Christian Dechery
Sorry for the OT but, but I'm struggling to get my forms to have a good validation in JavaScript. Does anyone know a complete reference to JavaScript, like, with all objects, it's functions, parameters and etc... that would help a lot.. Thanks... . Christian Deche

Re: [PHP] Re: session security issue

2001-08-14 Thread Christian Dechery
I guess it is... but read the replys to my email, the solution is quite simple and effective. At 16:49 14/8/2001 +0100, you wrote: >what about registering a var called loggedin with the session and then >testing on each script to see if it's set to 1 or something ? > >then base the access on tha

Re: [PHP] something like SSI ?

2001-08-14 Thread Philip Murray
Quoting Martin <[EMAIL PROTECTED]>: > Ok, this may seem like a dumb newbie question... > > Is there an function like ASP's Server Side Include in PHP ? Or what is best > to use instead, fread ? > Check out include(); require(); include_once(); require_once(); It's all in the manual --

[PHP] PHP Mail() Problem

2001-08-14 Thread Mahmoud Kassem
When I send an email using mail() I can the emails from nobody (using outlook) and in some programs like AOL from Unknown and in Web Based Emails like Yahoo I get it Correct and in Outlook Express also correct How can I fix this problem ? After some tests I found out Nobody on behalf of myemai

[PHP] something like SSI ?

2001-08-14 Thread Martin
Ok, this may seem like a dumb newbie question... Is there an function like ASP's Server Side Include in PHP ? Or what is best to use instead, fread ? /marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Re: Earn $235 - $760 Or More Weekly At Home.

2001-08-14 Thread R.A.
Earn $235 - $760 Or More Weekly Hundreds of Companies Are Hiring People Like You to Work from Home. *Set Your Own Hours *Work PT or FT *Stay At Home *Make the Extra Money You Want Imagine spending a quite evening at home with your family watching TV and earning money at the same time. It's p

Re: [PHP] PUT method support

2001-08-14 Thread David Robley
On Tue, 14 Aug 2001 18:43, Rukhiya wrote: > Hi! > > How do I use a PUT method support to upload files from the client to > the WEB server? Can anyone pls. help me out to find a solution to these > problems. It's very urgent > > > regards > Rukhiya http://au2.php.net/manual/en/features.file

Re: [PHP] Re: inserting a remote html file

2001-08-14 Thread CGI GUY
As long as you have sendmail configured on your server, and you're working with a standard php install, it should be working properly. mail() needs to see things happen in this fashion and order: mail("[EMAIL PROTECTED]", "subject", "body", "headers") The headers are optional, and you can conca

Re: [PHP] Q: array intersection problem

2001-08-14 Thread Gyozo Papp
Hi, play with array_intersect or array_diff and some other array functions. http://www.php.net/manual/en/function.array-intersect.php (PHP 4 >= 4.0.1) http://www.php.net/manual/en/function.array-diff.php (PHP 4 >= 4.0.1) - Original Message - From: "Joe Rice" <[EMAIL PROTECTED]> To: <[

Re: [PHP] Using Sockets to connect to an SSL site?

2001-08-14 Thread Gyozo Papp
Hello, I think you need cURL extension for PHP. visit this page to know more about cURL: http://curl.haxx.se - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: 2001. augusztus 14. 19:17 Subject: [PHP] Using Sockets to connect

Re: [PHP] Loop error?

2001-08-14 Thread PHP List
Oops, well, that is just mental. Must be getting tired or something, yes, that's it :) Thanks. - Original Message - From: "Gyozo Papp" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]> Sent: Tuesday, August 14, 2001 4:58 PM Subject: Re: [PHP] Loop error?

RE: [PHP] Loop error?

2001-08-14 Thread Andrew Braund
> -Original Message- > From: PHP List [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 15 August 2001 09:20 > To: php > Subject: [PHP] Loop error? > > > Hi, > Can anyone tell me why this is a never ending loop? > > $i=0; > $count = 1; > while ($count > $i); ^ > { >

Re: [PHP] Loop error?

2001-08-14 Thread Gyozo Papp
Hi, clear that semicolon(;) after the while statement! this makes the trick - Original Message - From: "PHP List" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: 2001. augusztus 15. 01:49 Subject: [PHP] Loop error? Hi, Can anyone tell me why this is a never ending loop? $i=0;

[PHP] Loop error?

2001-08-14 Thread PHP List
Hi, Can anyone tell me why this is a never ending loop? $i=0; $count = 1; while ($count > $i); { echo "$i "; $i++; } Chris

Re: [PHP] POST from the script

2001-08-14 Thread Meir Kriheli
On Tuesday 14 August 2001 23:52, Marc Hanlon wrote: > I was wondering if anyone knows how to make a script that is capable of > doing it's own POST to a page without needing a form to be filled in. > Basically it needs to perform the same sort of action as: > > www.anyplace.com/script.php?action=s

Re: [PHP] Virtual Servers (apache) and php

2001-08-14 Thread CGI GUY
Wouldn't it be just to add, say, AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .phps or approximation within the tags? I think (fingers crossed here) that should do it... --- Jay Paulson <[EMAIL PROTECTED]> wrote: > Hello- > > I'm using the virutal

[PHP] Foreach loop syntax

2001-08-14 Thread Keith Devens
Ok, I asked a similar question more than a year ago, so I apologize for being a little redundant :) Why was PHP's foreach loop syntax chosen to be foreach($dogs as $dog){} instead of something more common (Python, Javascript, can't think what else right now) and, to me, more intuitive, like fo

[PHP] php and java

2001-08-14 Thread Gaylen Fraley
I'm trying to get java support working with php and the jvm loads the first time and then I have to start and stop the server to get it to load again. In other words it's erring out and saying it can't load the jvm. I have followed the instructions at www.phpbuilder.com exactly and can't seem to

[PHP] Session problems...

2001-08-14 Thread Dana Holt
I just added sessions to a web site that I am developing, and now the browser keeps saying "page expired" when I hit back on several pages. For example, I have a search page that displays results, user clicks on a result to view, and when the user hits back to go back to the search list they get

[PHP] qwestion about %E6%E2%E0%F7%EA%E0

2001-08-14 Thread BRACK
Hi thanx to everyone I solved the problem by updating my php and inserting upper() in queries. Now I can insert whatever case in search field and get case insensitive result. Youri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: [PHP] session security issue

2001-08-14 Thread David Price
Sean, That is a very interesting suggestion. How would you call that using PHP? Thanks, David Price -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sean C. McCarthy Sent: Tuesday, August 14, 2001 6:12 AM To: Christian Dechery Cc: [EMAIL PROTECTED] Sub

RE: [PHP] php upload on MAC

2001-08-14 Thread Jason Radley
Hey Erik, well I checked the userfile_type and if it was a word document I added the .doc extension to it. The other mac programs that add the extension to the filename work fine. If you were to make a photo shop file and upload it it fail. Warning: Unable to open "none" for reading. No such f

[PHP] Virtual Servers (apache) and php

2001-08-14 Thread Jay Paulson
Hello- I'm using the virutal hosting in Apache 1.3.19 and I was wondering how to I load php as a module in apache for each virutal web site? anyone have a good link telling you how to do this.. ie a tutorial on the topic? i've read the docs on apache.org and it doesn't really say much at all ab

Re: [PHP] Loop though email list

2001-08-14 Thread Daniel Adams
for a file i would do something like this: for the mysql db it would be something like this (this is probably a little off): I hope this helps. I'm sure it probably has a syntax error or something but you get the point. :-) Welcome to the happy world of php! - Dan On Tue, 14 Aug 200

Re: [PHP] Loop though email list

2001-08-14 Thread Tyler Longren
With mysql: $connection = mysql_connect("host","user","pass"); $db = mysql_select_db("db_to_use", $connection); $sql = mysql_query("SELECT * FROM table ORDER BY email ASC"); while ($row = mysql_fetch_array($sql)) { $email = $row["email"]; $name = $row["name"]; email(EMAIL_F

[PHP] Loop though email list

2001-08-14 Thread Erich Kolb
I am a total newbie, so please forgive the simplicity! I have a huge list of email addresses in a text file and also in a MySQL DB that I would like to use PHP to loop through and send an email to each one of them. How do I loop through a text file using each email in the txt file as a seperate e

[PHP] POST from the script

2001-08-14 Thread Marc Hanlon
I was wondering if anyone knows how to make a script that is capable of doing it's own POST to a page without needing a form to be filled in. Basically it needs to perform the same sort of action as: www.anyplace.com/script.php?action=say&text=hello Unfortunately I cant change the script at the

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread Evan Nemerson
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts/ On Tuesday 14 August 2001 12:39, you wrote: > In a message dated 8/14/01 3:23:54 PM Eastern Daylight Time, > > [EMAIL PROTECTED] writes: > > Could anyone point me in the direction of some PHP shopping cart scripts? > >

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread Miles Thompson
www.fishcart.org At 02:22 PM 8/14/01 -0500, Christopher Raymond wrote: >Could anyone point me in the direction of some PHP shopping cart scripts? > > >Thanks, > >Christopher Raymond > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additi

RE: [PHP] cURL tutorials ?

2001-08-14 Thread Erik H. Mathy
http://curl.haxx.se/libcurl/php/ Enjoy! - Erik > -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 3:19 PM > To: PHP User Group > Subject: [PHP] cURL tutorials ? > > > Hello, > > I am looking for tutorials for using PHP with cURL.

[PHP] cURL tutorials ?

2001-08-14 Thread Brandon Orther
Hello, I am looking for tutorials for using PHP with cURL. If you know of a site please e-mail me. Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -

RE: [PHP] php upload on MAC

2001-08-14 Thread Erik H. Mathy
Hi! > Mac users can't upload all of their files. "all" of their files? Out of curiousity, how many files do they seem to be able to send up before the script falters? What error messages or behavior does PHP show when it does falter? Just looking for alittle additional info, - Erik -- PHP Ge

[PHP] php upload on MAC

2001-08-14 Thread Jason Radley
I wrote a script that clients can upload files to our server and download files but there is one small problem. Mac users can't upload all of their files. I am guess there is no file extensions. Anyone have any ideas? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP] Arrays/forms/Loops/Persist (was Re: [PHP] UPDATE syntax)

2001-08-14 Thread Gerard Samuel
Ok, I found out why the UPDATE on the table wasn't working. I wasn't giving the command a 'fake' value for the ID column. Ok here is the senario. I have a form which dumps data to cols 1,2,3,5 in a table (thats good). I have another script which runs a loop on the data into another form where I

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread DrWebPat
In a message dated 8/14/01 3:23:54 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Could anyone point me in the direction of some PHP shopping cart scripts? > > > Thanks, > > Christopher Raymond > I'm sure they have one: http://hotscripts.com/PHP/Scripts_and_Programs/ Pat

Re: [PHP] PHP_SELF

2001-08-14 Thread Chris Worth
Michael, I've got a program set up like you describe. the problem is I've noticed that my variables are NOT stable this is it in a nutshell 1) show 3 options with radio buttons for each 2) based on above query a database and show a list of the records (now it just dawned on my that I've been

[PHP] PHP Shopping Carts ??

2001-08-14 Thread Christopher Raymond
Could anyone point me in the direction of some PHP shopping cart scripts? Thanks, Christopher Raymond -- 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:

[PHP] Re: saving the client's file upload location

2001-08-14 Thread Inércia Sensorial
On the form processing page, register the variable on a session. And put session_start(); on the form's page, so the value is remembered and echo()ed on the field. -- Julio Nobrega. 2B||!BB - That's the question. "Bob" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PR

Re: [PHP] Help me please.(Running stand-alone php)

2001-08-14 Thread miguel valero
Tina, Thank you for the help Tina :-)) I getting a good experience working with PHP and HTML (forms). Because of my full time job and personal commitments, I haven't been able to spend as much of my free time as I could in my project (Free Gallery Management System). After October I hope to de

[PHP] saving the client's file upload location

2001-08-14 Thread Bob
i have people upload a file from their computer but if my form comes back with an error then they have to go select their file location again. is there any way of saving that location so they don't have to pick it again??? > upload file [ c:/temp/picture.jpg ] _

[PHP] mail function

2001-08-14 Thread Boaz Amit
<[EMAIL PROTECTED]> wrote: >hi all, >I cant seem to get my mail function to work. OK so i am a noob, that might >have something to do with it. I am using a script I found called the HTML >Mime Mail Class, which does everything i need except actually send the mail. >I am guessing that there is s

[PHP] Re: PHP to embed font

2001-08-14 Thread Inércia Sensorial
Here's how, but it does not use PHP: http://cnet.com/webbuilding/pages/Authoring/Typography/ss01.html -- Julio Nobrega. 2B||!BB - That's the question. "Admin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there anyway to use PHP to embed font type

  1   2   >