[PHP] help regarding mysql

2001-07-26 Thread Balaji Ankem
Hi friend,    i am unable to connect to mysql server today.   windows 98 machine. PHP 4.0.6 and Mysql 3.23.36   c:\mysql\bin> mysql -u balaji -p password:*//pingpong   But i am able to connect through php. what is the wrong?   please  help out me.   Thanks in advance.   Regards -Balaji

[PHP] session gc question

2001-07-26 Thread Greg Donald
Is is possible to set session.gc_probability manually on a per script basis, similar to the way error reporting is capable of being set? Thanks, -- --- destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common intern

[PHP] best php editor

2001-07-26 Thread Daniel Goldin \(E-mail\)
Recently there's been a thread about what editor is best for PHP. I have discovered a new (for me) fantastic editor for HTML, PHP and other scripting languages. It is called HTML-kit! I absolutely love it and felt I had to share that love with you all. It is free. A little like Homesite, except b

Re: Re: [PHP] Re: Stripping HTML

2001-07-26 Thread Tobe Johnson
Du. Why didn't I catch this from the docs?! Way to much coffee Thanks VERY much for your help. Sorry to be a bother. Tobe Johnson Johnson & Associates, Inc. http://www.johnsons.net Free web based email and web sites > -Original Message - > From: 'Jon Yaggie' <[EMAIL PROTECTE

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread elias
thanks David ;) "David Robley" <[EMAIL PROTECTED]> wrote in message 0107261823110B.03813@www">news:0107261823110B.03813@www... > On Thu, 26 Jul 2001 19:13, elias wrote: > > Hi. > > > > Usually, Any AUTO_INCREMENT field in MySql table will have always an > > incrementing value. > > Now Suppose I em

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias
yes, sort of... both have same number. "Alexander Skwar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : > first field is the primary key and is called 'id' and is an integer, > and i want another field of type

[PHP] how is it possible?

2001-07-26 Thread Balaji Ankem
Hi! dearest friends,   i am able to connect to mysql server through php program and i am able to do operations on the database   like choosing particular database and inserting the data in to table ,deletion and modification and all..     But from dos prompt i am able to connect t

Re: [PHP] Re: Stripping HTML

2001-07-26 Thread Jon Yaggie
hmm i think there is a function specificlly for html. but i am not sure have you tried strip_tags() it will remove html and php tags from a string . . . Thank You, Jon Yaggie www.design-monster.com And they were singing . . . '100 little bugs in the code 100 bugs in the code fix one bug,

Re[2]: [PHP] IE -> View Source

2001-07-26 Thread Morten Winkler Jørgensen
>> Besides... do you REALLY have anything so mind bogglingly original in your >> code that you have to >> go to all these extremes to protect it? MG> That's what I've never understood about people wanting to hide their source. MG> HTML isn't rocket science. Any server side scripting won't be se

RE: [PHP] File Upload Size Limits

2001-07-26 Thread Gunther E. Biernat
I once had the same problem in a similar environment, but I never worked on it to fix it because it was sufficient for the given purpose. Later, I moved the script 1:1 (including php.ini) to a server running caudium as web server software and the problem was gone... Huh? >Did anyone have any

[PHP] Re: Stripping HTML

2001-07-26 Thread Tobe Johnson
I am trying to check a data element ($data - which may be up to a few paragraphs in length) which has html codes within the text. I need to strip out all the html coding. Is there an fairly simple way to do this such as using the < > signs as markers for checking and deleting the html data f

RE: [PHP] hosting

2001-07-26 Thread Tom Malone
Speaking of hosting - i found this host when i was searching for hosts with php support - i really like them now. For $10 a month I get 100mb of storage, 4gb transfer, 10 subdomains, 100 pop3 emails accounts, more, plus they support PHP4 w/ zend optimizer, MySQL, Perl 5.6.0, and a lot more.. ( the

Re: [PHP] How to get the current date and time in to the inputfield of a form with running time.

2001-07-26 Thread mike cullerton
> on 7/26/01 9:55 PM, Balaji Ankem at [EMAIL PROTECTED] wrote: > > Hi, dear friends, > How can i get the current date and time in the following input field. > > > > DATE: > > STATUS: > > > > > Thanks in advance. > > Regards > -Balaji -- mike cullerton -- PHP General M

[PHP] intalling php as cgi on redhat7

2001-07-26 Thread Richard Kurth
I can't belive I have to ask this but I can not get it to work I am trying to get php as cgi installed on a RedHat7 box to be used with Apache. I configured it with ./configure --with-mysql did a make and then a make install every thing whet just fine. I add ScriptAlias /php/ "/usr/local/bin/php"

[PHP] Get One Thousand Per Sale! $0 Down! No Bull!!!

2001-07-26 Thread 14674826
Dear [EMAIL PROTECTED], Receive $1,000 COMMISSION on a $0 down SALE !! DID YOU MAKE $5,000 LAST MONTH? IF NOT, YOU NEED TO JOIN US TODAY! Market the hottest consumer savings package in America today and earn up to $1,000 each and every time someone joins for $0 DOWN! Imagine b

Re: [PHP] naming conventions

2001-07-26 Thread Peter Houchin
It doesn't really matter as far as I know except you cannot have a space, and its not common practice to use numbers with table names. The only thing that really matters as far as I'm concerned is that I remember how I've named it be it firstname or first_name or FirstName as long as you know t

Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread Saquib Farooq
> > an easier way of doing this is to have a database of users with their > > password in the table and when they log on simply mark them logged using > > sum boolean variable. this will, cut down time. > > good luck!. > > and remeber Have a nice day :) > > And when would you unchec

[PHP] mod_perl + PHP, connect to MySQL -> segfault (signal 11)

2001-07-26 Thread ard
Heya folks. A few months ago my Apache children were crashing when they attempted a connect() to a MySQL database from mod_perl scripts, but only when PHP was compiled into Apache. There was no solution at the time, so we ditched PHP. Now we have a need for PHP once more, and I've moved to the

[PHP] naming conventions

2001-07-26 Thread Matthew Delmarter
Hi guys, I am interested in how to best name fields in mysql - and any issues that may arise. For example look at these field names: "First Name" - is there any problem with the space? "firstname", "first_name" or "FirstName" - is there a preference here? In short I want to know if more than pe

RE: [PHP] How to get the current date and time in to the input field of a form with running time.

2001-07-26 Thread Johnny Nguyen
You'll need javascript. Since you only hit the server once you can't continuosly update the time from the server (php). Search for a javascript, there are plenty that can do this. Regards, Johnny Nguyen -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Thursday

[PHP] How to get the current date and time in to the input field of a form with running time.

2001-07-26 Thread Balaji Ankem
Hi, dear friends, How can i get the current date and time in the following input field.     DATE:      STATUS:          Thanks in advance.   Regards -Balaji The Information contained and transmitted by this E-MAIL is proprietary to Wipro Limited and is inten

Re: [PHP] Teen Hobos having sex? ..no.. but MAYBE

2001-07-26 Thread Thomas Deliduka
This is a classic case of someone not having formmail.pl from Matt's Script archive locked down. I found it very interesting that while Matt's Script Archive is setup to block you from using someone else's form as a referer to yours to prevent the use of your script from another server, he simply

Re: [PHP] parser outside of web tree. whats the trick?

2001-07-26 Thread Darren Henderson
On Fri, 27 Jul 2001, Brian White wrote: > What this sounds like to me is that as well as having a PHP binary, that > PHP is installed as a module in your web server. Thanks for the response. It is installed as module and as a stand alone outside the web tree at least on the AIX and Freebsd se

Re: [PHP] asp to php

2001-07-26 Thread mike cullerton
on 7/26/01 9:52 AM, kaab kaoutar at [EMAIL PROTECTED] wrote: > > Does anyone of u has alreday tried successfully converting asp file to php > file ? > Is it worth doing so or restarting from scratch? > Thanks i've only tried this once, but i'd do it again. you will definitely have to edit the co

Re: [PHP] Using Variable Variables...

2001-07-26 Thread mike cullerton
on 7/26/01 6:46 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > $_VARIABLE_ = "chkContact".$i; > $_VAR_ = $$_VARIABLE_; > > How do I make this work when $chkContact is a global variable? This > returns an empty value because it does not see that $chkContact is a > global variable... > mayb

Re: [PHP] Session variable listing

2001-07-26 Thread mike cullerton
on 7/26/01 2:33 PM, Cole Tuininga at [EMAIL PROTECTED] wrote: > Is there a way to easily list the variables that are registered within > a session? while (list($key, $val) = each($HTTP_SESSION_VARS)) { do_something(); } -- mike cullerton -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread mike cullerton
on 7/26/01 11:06 AM, deco at [EMAIL PROTECTED] wrote: >> an easier way of doing this is to have a database of users with their >> password in the table and when they log on simply mark them logged using >> sum boolean variable. this will, cut down time. >> good luck!. >> and remeber Have

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Brad Hubbard
On Fri, 27 Jul 2001 07:15, Tom Malone wrote: > Doesn't Google use PHP? > > Tom GoEureka (AltaVista in Australia) do. www.goeureka.com.au/super.php Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] running a function after a form submit

2001-07-26 Thread Richard Kurth
Is there a way to run a function when a form is submitted this is an example below this form is being feed buy the form above and when the customer verifies the data that has input he submits it again I what to fire a function when he submits the second time First Name

[PHP] Re: error trapping

2001-07-26 Thread Yasuo Ohgaki
TRY / CATCH is not implemented for PHP. (yet. Next major version up probably) I suggest to make custom error handler and use trigger error for now. -- Yasuo Ohgaki "Phil Spitler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am wondering the best way to ha

[PHP] Re: Session variable listing

2001-07-26 Thread Yasuo Ohgaki
Use $HTTP_SESSION_VARS. You are better to use $HTTP_*_VARS anyway. -- Yasuo Ohgaki "Cole Tuininga" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I took a look through the archives and couldn't find any reference > to this. > > Is there a way to easily lis

[PHP] Re: Global Variable Variables...

2001-07-26 Thread Yasuo Ohgaki
Read "References explained" section in PHP Manual. You'll see why it does not work as you expected. -- Yasuo Ohgaki "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a class that contains a form, when the form is submitted it > posts

[PHP] Re: allow_call_time_pass_reference

2001-07-26 Thread Yasuo Ohgaki
Take a look at php.ini-dist in source distribution. -- Yasuo Ohgaki "Andreas )" <[EMAIL PROTECTED]> wrote in message 000a01c1160d$640a3120$8d0a@devel01">news:000a01c1160d$640a3120$8d0a@devel01... someone got a documentation for this ? andreas -- PHP General Mailing List (http://w

Re: [PHP] IE -> View Source

2001-07-26 Thread mike cullerton
on 7/26/01 12:32 AM, Steve Haemelinck at [EMAIL PROTECTED] wrote: > Some sites are able to disable the source view in ie. How do you do that? don't forget the ol' telnet to port 80 and type GET trick telnet domain.com 80 Connected to domain.com. Escape character is '^]'. GET http://www.w3.org

[PHP] Global Variables -> Local Scope

2001-07-26 Thread [EMAIL PROTECTED]
How can I read in all of the global variables and give them local scope? PLEASE HELP ME. -- 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] problem while reading on sockets ...

2001-07-26 Thread David Robley
On Thu, 26 Jul 2001 23:43, Arnauld Dravet - smurfie wrote: > Hello, > > simple question: > > $sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30); > while(!feof($sock)) echo fgets($sock,4096); > fclose($sock); > > why does the while() makes an infinite loop, like if FEOF was never > fo

RE: [PHP] Processing file...

2001-07-26 Thread Jeff Lewis
Yes actually, I figured it out. I was trying to parse the buffer as well but managed to figure it out tonight :) Just took a lot of debugging ;) Jeff > -Original Message- > From: David Robley [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 9:31 PM > To: Jeff Lewis; [EMAIL PR

Re: [PHP] Processing file...

2001-07-26 Thread David Robley
On Fri, 27 Jul 2001 06:25, Jeff Lewis wrote: > I managed to process a directory of files but for some reason I am > having trouble figuring out this :/ > > I am going through a directory opening all dat files. Now it is > working properly but I need to grab the data from it. I need to grab > eac

[PHP] Global Variable Variables...

2001-07-26 Thread [EMAIL PROTECTED]
I have a class that contains a form, when the form is submitted it posts back to the class. The class is included inside of another file, so all of the form variables need to be declared as global in order to access their values. On the form are several check boxes (number undetermined until

Re: [PHP] Big difference?

2001-07-26 Thread David Robley
On Fri, 27 Jul 2001 09:28, Kyle Smith wrote: > how do i make it check if it was successfully printed? > > > -legokiller666- > http://www.StupeedStudios.f2s.com > New address new site > > ICQ: 115852509 > MSN: [EMAIL PROTECTED] > AIM: legokiller666 > > > - Original Message - > From: "Sc

[PHP] Using Variable Variables...

2001-07-26 Thread [EMAIL PROTECTED]
$_VARIABLE_ = "chkContact".$i; $_VAR_ = $$_VARIABLE_; How do I make this work when $chkContact is a global variable? This returns an empty value because it does not see that $chkContact is a global variable... Thankz in advance for your help!! -- [ Swift eNetwork ] Matrix http://matrix.

Re: [PHP] Query String Name ?

2001-07-26 Thread Brian White
In PHP, if you set the input fields to be array names then all the results get put in an array: So: test.php?name[]=joe&name[]=bob would create an array("joe", "bob" ) in PHP. If you really can't set it in the form you could access the QUERY_STRING environment variable and parse it directly.

Re: [PHP] parser outside of web tree. whats the trick?

2001-07-26 Thread Brian White
What this sounds like to me is that as well as having a PHP binary, that PHP is installed as a module in your web server. For whatever reason ( more than likely, the file extension ) the web server is NOT executing it as a CGI itself, but passing it to the PHP module to deal with. That is just tr

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-26 Thread Brian White
I use classes a lot and don't have this problem. This is because the names of the class ( and thus the constructor name ) tends to be a noun and otherfunctions tend to be verbs, so I am don't have this kind of clash. I am VERY glad that PHP has classes and I use them alot. However My bi

[PHP] Re: progress dbi?

2001-07-26 Thread Miles Gordon
What does this have to do with my question about system dates? Did you post as a reply to me by accident? "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm thinking of writing some web aps to interface with a progress database > created wi

Re: [PHP] assigning a part of the name of a variable with another variable before php replaces it with the value

2001-07-26 Thread Julian Wood
To answer your question: $postfld = $HTTP_POST_VARS[$fname[$i]]; should work. BTW, I just use something like: if ($client) { // or in your case: if (${$fname[$i]}) // code to be evaluated if $client exists and is not 0, not null/void/nil, and is not an empty string } J Matthew DeChant wr

Re: [PHP] HTML table problem (solvable with PHP?)

2001-07-26 Thread Dave Freeman
On 26 Jul 01, at 11:41, Seb Frost wrote: > Now my problem is this. Depending on the amount of content in the main > cell, the "fixed" size cells on the left expand. This is SO annoying! I > managed to fix it by setting the height of the bottom left hand "filler" > cell to be like 10,000 pixels

[PHP] Re: Why is XML parser so slow?

2001-07-26 Thread Jonas Delfs
"Verebes Gabor" <[EMAIL PROTECTED]> skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am writing an XML parser. > It is working fine, but so slowly. > I use PHP 3.0.16, is it too old? One thing i sure: PHP4 is much faster than PHP3. Why is it that you still uses PHP3? -- Mv

[PHP] Why is XML parser so slow?

2001-07-26 Thread Verebes Gabor
Hi! I am writing an XML parser. It is working fine, but so slowly. I use PHP 3.0.16, is it too old? I'd like to parse many small XML string. Can my problem be, that I creat the xml_parser evrey time? I don't thik it is normal to wait 3 sec for parsing some (less than 20) small XML strings. (a few

[PHP] RE: Query String Name ?

2001-07-26 Thread Miroslav Hudák
Hi! I think, that you could solve this problem by parsing the querystring at own... Try out this code: name= $vname; $qs_args[$c++]->value = $vval; } //This is only for demonstrational purposes, output is list //of all variable names and val

[PHP] Can mysql_fetch_*() work on the resultpointer only?

2001-07-26 Thread Jonas Delfs
Hi - Can mysql_fetch_*() work on the resultpointer that mysql_query() returns, only, or does the rows have to be in the database when fetching? I know that mysql_query() finds the specified data, but I'm not totally sure in my theori about that mysql_query() is taking the data-result out so that

[PHP] error with exec ?!

2001-07-26 Thread hooger
Hi! I had a php page which uses exec function to run an exe : addgroup. The exe addgroup create a folder on the server. The code : ... $command="C:/WebEdu/PHP/PHPTest2/addgroup.exe test1"; exec($command, $list, $ret); ... My problem is that when I run the php page, it returns me : $list = "Er

RE: [PHP] hosting

2001-07-26 Thread Boaz Yahav
This is your one stop shop for hosting. WeberDev.com is hosted there and I can tell you that their service is amazing. They are fast, reliable and more than anything, very professional (specially in PHP / MySQL). http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm Sincerely berb

RE: [PHP] can't get gd working at all

2001-07-26 Thread Andrew Chase
Glad your host got that straightened out - for future reference, an easy way to look at the server's PHP config is to make a page using phpinfo - It will show you whether GD (and other extensions) are installed, as well as the image format(s) supported and whether or not Freetype support is inc

[PHP] Utilizing info from 2 tables in the database

2001-07-26 Thread Brad R. C.
Lets say I have created 2 tables : create table comments {contents} userid username comment datetime user ip primary key key table users {contents} userid username and many more.. :) -- if I want to get that to work togther to add comments to users would I have something like this

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Tom Malone
Doesn't Google use PHP? Tom -- 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] mp3 file read

2001-07-26 Thread Johnny Nguyen
Allows you to read and write id3 tags. which is what you're looking for. http://www.hotscripts.com/Detailed/7219.html -Original Message- From: Brian Weisenthal [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 2:06 PM To: [EMAIL PROTECTED] Subject: [PHP] mp3 file read anyone kno

RE: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Jerry Lake
Or try http://www.hotscripts.com/PHP/Scripts_and_Programs/ Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Nathan Cook [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26,

[PHP] mp3 file read

2001-07-26 Thread Brian Weisenthal
anyone know of any classes or functions or anything to read data from an mp3 file on the server, ie. song length, artist, album...etc. ? thanks brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Processing file...

2001-07-26 Thread Jeff Lewis
I managed to process a directory of files but for some reason I am having trouble figuring out this :/ I am going through a directory opening all dat files. Now it is working properly but I need to grab the data from it. I need to grab each line as indicated below. Here is the code I was using

RE: [PHP] assigning a part of the name of a variable with anothe

2001-07-26 Thread Don Read
On 26-Jul-2001 Matthew DeChant wrote: > Specifically, > > If I have 3 HTTP_POST_VARS: > > HTTP_POST_VARS["client"] = test1 > HTTP_POST_VARS["directory"]= test2 > HTTP_POST_VARS["password"] = > > > and I don't know the names of the vars ahead of time, how would I run a > check to see if they e

[PHP] $12 Investment...$10,000 Return!!!

2001-07-26 Thread ddusa
THIS IS THE SUPER FAST ONE! While you're waiting for the others to work, this little gem will put $10,00 in your pockett in as little as two weeks!!..I guarantee it!! Your only cost is a couple hours of your time and $10 or $20. That's it. THE GIFTING CLUB (pl

[PHP] Session variable listing

2001-07-26 Thread Cole Tuininga
I took a look through the archives and couldn't find any reference to this. Is there a way to easily list the variables that are registered within a session? Thanks in advance. -- "Maybe I'll be able to get a job when I graduate..." -Linus Torvalds Cole Tuininga Network Admin Code Energy,

Re: [PHP] Dynamically generate variable names?

2001-07-26 Thread Sheridan Saint-Michel
You want to use variable variables. You may have to play with this to get it to work exactly, but I would add a hidden field echo ""; That way $named = {The name of your checkbox} Then to access your checkbox just use ${$named} for example if ( ${$named} == 1) { echo "foo"; } Sheridan Sai

Re: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Nathan Cook
Just check out px.sklar.com. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 10:14 PM Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re... Could you people please send me any scripts

[PHP] Tell me what you think

2001-07-26 Thread Kyle Smith
Sorry if this seems to be spamming but to anyone who is interested could you please go to my site (stated below) and when you have finished browsing click on the leave a comment part on the main page and tell me what you think Thanks people -legokiller666- http://www.StupeedStudios.f2s.com New

RE: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Tyrone Mills
And what pray tell would you like these scripts to do? I've written thousands of PHP scripts. What do you want? Be more specific and I'm sure you'll get a great response. -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 9:15 PM To: [EMAIL PROTEC

[PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Kyle Smith
Could you people please send me any scripts you have made which are not too complecated but are quite useful without the use of mySQL? To restore my faith in PHP Thanks in advance -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] A

[PHP] Re: Big difference?

2001-07-26 Thread Willie Dresler Leiva
Hi! I am new to the list, so I will present myself before talking about the differente between echo and print. I am a PhD student in Computer Science at the University of Sao Paulo state, Sao Carlos city, Brazil. I use PHP in a system that manages online courses. About the big difference: readi

[PHP] Dynamically generate variable names?

2001-07-26 Thread Ian Marlier
(please reply to me as well as the list, as I'm not subscribed) I'm trying to generate variable names dynamically, based on information read from a MySQL database. When a user creates an account, they're asked to choose from a list of groups to which they belong (by clicking checkboxes in an

Re: [PHP] substr question...

2001-07-26 Thread Jeff Lewis
RE: [PHP] substr question...I suppose that $tmpmember=substr($entry, 0,-4); will do the same? :) Jeff - Original Message - From: Boget, Chris To: 'Jeff Lewis' ; [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 3:54 PM Subject: RE: [PHP] substr question... > I am trying to

[PHP] allow_call_time_pass_reference

2001-07-26 Thread andreas \(@work\)
someone got a documentation for this ? andreas

RE: [PHP] substr question...

2001-07-26 Thread Boget, Chris
> I am trying to receive file names but can't quite figure out > the proper substr to do it: > jeff.dat > jeffrey.dat > chris.dat > tom.dat > I want to receive the name to the left of the .dat $fileName = eregi_replace( "\.dat", "", $fullFileName ); Chris

Re: [PHP] substr question...

2001-07-26 Thread Unni
try $filename=explode(".", names); echo $filename[0] Jeff Lewis wrote: > I am trying to receive file names but can't quite figure out the proper substr to do >it: > > jeff.dat > jeffrey.dat > chris.dat > tom.dat > > I want to receive the name to the left of the .dat > > Jeff > -- PHP Ge

[PHP] substr question...

2001-07-26 Thread Jeff Lewis
I am trying to receive file names but can't quite figure out the proper substr to do it: jeff.dat jeffrey.dat chris.dat tom.dat I want to receive the name to the left of the .dat Jeff

[PHP] assigning a part of the name of a variable with another variable before php replaces it with the value

2001-07-26 Thread Matthew DeChant
Specifically, If I have 3 HTTP_POST_VARS: HTTP_POST_VARS["client"] = test1 HTTP_POST_VARS["directory"]= test2 HTTP_POST_VARS["password"] = and I don't know the names of the vars ahead of time, how would I run a check to see if they exist and then get the specific POST_VARS's value. This is wha

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread DynamicHTML
Capital One (www.capitalone.com) is using some PHP...

Re: [PHP] Open window2 (javascript), enter info in a form, then close window2 and refresh window1. help.

2001-07-26 Thread Sheridan Saint-Michel
I am not sure if I am following you exactly, but I beleive you should be able to accomplish this using JavaScript. From the new window you can reference the original window using the opener object. To reload the original document from the new window, for example, you would use: opener.location.

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Sheridan Saint-Michel
Let's not forget http://www.foxjet.com and http://www.onlychildclub.com (My Work and Personal Domains... both using a combination of HTML, PHP, and MySQL) Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Unni <[EMAIL PROTECT

[PHP] Re: Example high-profile PHP sites

2001-07-26 Thread Maurice Rickard
At 10:40 AM -0700 7/26/01, Philip Hallstrom wrote: >> I'd probably suggest using more of a "What PHP can do" tactic rather than >> "Who's using PHP". I'm sorry, but the latter tactic seems like a jumping >> on the bandwagon approach. > >Yeah, but if you're trying to convince a pointy haired bo

RE: [PHP] File Upload Size Limits

2001-07-26 Thread Michael Conley
Did anyone have any thoughts on this? I can upload an 8 MB file, but after that the upload fails. -Original Message- From: Michael Conley [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 7:41 AM To: '[EMAIL PROTECTED]' Subject: [PHP] File Upload Size Limits I am running PHP 4.0

[PHP] error trapping

2001-07-26 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Inércia Sensorial
It is a great strategy if you have such client. I know of Amazon.com is using in some parts, processes on the background, and also Epinions.com. I believe their (epinions) template system is based on php. If you wish, the 3rd largest brazilian 'portal', www.ig.com.br, also uses it. It gets

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Thomas Deliduka
Well here's a couple: http://www.10tv.com/ http://www.evergreenmidwest.com/ They may not fit the requirement though, they're not high-profile and perhaps not impressive-sounding. On 7/26/2001 1:16 PM this was written: > For a number of reasons, I need to offer a client a list of big, > impress

[PHP] Re: Example high-profile PHP sites

2001-07-26 Thread Philip Hallstrom
> I'd probably suggest using more of a "What PHP can do" tactic rather than > "Who's using PHP". I'm sorry, but the latter tactic seems like a jumping > on the bandwagon approach. Yeah, but if you're trying to convince a pointy haired boss, this is the route you have to take. It's sad, but it's

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
So sprach »Maurice Rickard« am 2001-07-26 um 13:31:36 -0400 : > a few marquee names wouldn't hurt matters. But yeah, functionality > (which is why I'm using it in the first place) should trump > popularity. Yep, I also like that sweet dream :) Alexander Skwar -- How to quote: http://learn.

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Black Box Collotype
Maurice Rickard wrote: > > While I do appreciate people's contributions, let me frame the > discussion a little. The person I need to convince is an > administrator of an organization within North America, and he's never > heard of PHP. The response I'm hoping to provoke in him is something > l

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
So sprach »Jack Dempsey« am 2001-07-26 um 13:16:52 -0400 : > they're doing some cool stuff integrating the website with a windows app OT: And Linux client. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.c

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
So sprach »Maurice Rickard« am 2001-07-26 um 12:35:55 -0400 : > For a number of reasons, I need to offer a client a list of big, > impressive-sounding, high-profile sites using PHP. I went looking In the latest (?) Zend Newsletter, there was a list. IIRC, it contained Lufthansa some US Navy (

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread Alexander Skwar
So sprach »elias« am 2001-07-26 um 11:43:36 +0200 : > Can't I reset that pointer w/ deleting the table and creating it again? Yep, DELETE FROM Table instead of dropping it. Or did you mean w/o? ALTER TABLE Table auto_increment=234; Alexander Skwar -- How to quote: http://learn.to/quote (ger

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Maurice Rickard
Good point. I'm working on that data as well, but I thought getting a few marquee names wouldn't hurt matters. But yeah, functionality (which is why I'm using it in the first place) should trump popularity. -Maurice At 11:23 AM -0700 7/26/01, John Meyer wrote: > >I'd probably suggest using

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread Alexander Skwar
So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : > first field is the primary key and is called 'id' and is an integer, > and i want another field of type integer to be also autoincremented... Pardon me - but what would be the use?? Both columns would contain the same numbers, no? Alexander

Re: [PHP] IE -> View Source

2001-07-26 Thread Alexander Skwar
So sprach »Dennis Gearon« am 2001-07-26 um 08:17:28 -0700 : > Please try to read any of the browser printed text in this URL(I can't do it in > NS): > http://rwchat.com/DigiLink1/index.html wget http://sfdsadf and I can read it. Alexander Skwar -- How to quote: http://learn.to/quote (german)

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Robert Collins
www.insight.com is a publicly traded fortune 1000 company. The site is 50% php now and will be launching its new site this week that will move it up to 90% php. a demo will be available today. -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 200

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread John Meyer
At 01:14 PM 7/26/2001 -0400, Maurice Rickard wrote: >While I do appreciate people's contributions, let me frame the discussion >a little. The person I need to convince is an administrator of an >organization within North America, and he's never heard of PHP. The >response I'm hoping to provok

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Shrout, Ryan
Not to pimp my own site, but Amdmb.com ( http://www.amdmb.com/ ) uses MySQL and PHP for everything. We get about 5 million pages a month. Ryan Shrout -Original Message- From: Unni [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 12:59 PM To: Chad Day Cc: Maurice Rickard; [EMAIL

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Jack Dempsey
www.capitalone.com well known credit card company www.audiogalaxy.com <-- I wonder about the coders there (no offense if anyone on this list...just that the site is frequently down), but they're doing some cool stuff integrating the website with a windows app for downloading music... -jack -

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Maurice Rickard
While I do appreciate people's contributions, let me frame the discussion a little. The person I need to convince is an administrator of an organization within North America, and he's never heard of PHP. The response I'm hoping to provoke in him is something like this: "You mean _ i

[PHP]

2001-07-26 Thread Petr Jůza
Hi everybody, please I have a question about HTML tag input - . Can I use the atributte "value", e.g. if I have a tag , I can use the atributte "value" to assign the implied value. Is this possible by "input type=file"? And what about ACCEPT atributte - what values can I use? Thank you very much

Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread deco
> an easier way of doing this is to have a database of users with their > password in the table and when they log on simply mark them logged using > sum boolean variable. this will, cut down time. > good luck!. > and remeber Have a nice day :) And when would you uncheck the boolean

  1   2   >