RE: [PHP] MySQL Install Problem

2002-02-07 Thread Ben Clumeck
Dave, I tried it and got the following message: Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-2001. C:\DOCUME~1\BENcd c:\mysql\bin C:\MYSQL\BINmysqld --standalone 'MYSQLD' is not recognized as an internal or external command, operable program or batch file. Any suggestions? Ben

php-general Digest 7 Feb 2002 08:56:27 -0000 Issue 1157

2002-02-07 Thread php-general-digest-help
php-general Digest 7 Feb 2002 08:56:27 - Issue 1157 Topics (messages 83754 through 83819): Re: !isset ?? 83754 by: Michael Sims 83758 by: Erik Price Re: Version checking 83755 by: Bogdan Stancescu GetImageSize and iptcparse problems 83756 by: Steven Jarvis

[PHP] difference !!??

2002-02-07 Thread B. Verbeek
Hello, What's the difference between: 1.- $row[column_name]; 2.- $row['column_name']; 3.- $row[column_name]; ? ragards Bart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 'encoded-words' in e-mail

2002-02-07 Thread Alexandr Klaus
I'm writing the program for sending e-mails. I have some troubles with creating encoded-words. There is a function for translation words in encoded-words? -- Alexandr Klaus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Server Loading Question...

2002-02-07 Thread Jon Haworth
Does anyone know of a Really Good way to determine what kind of loads your Webserver/network can handle before degrading performance or flaking out? I would like to find this out about our server before it fails us under heavy load. If you're running Apache it comes with a handy tool

Re: [PHP] difference !!??

2002-02-07 Thread bvr
Ok, 1 is IMO not correct, a string should be quoted. 2 and 3 make no practical difference in this situation, although 2 is probably somewhat faster because PHP doesn't substitute variables with their value when they're within single quotes. for code readability it is probaby best if you

[PHP] How to find out what country the visitor comes from

2002-02-07 Thread SED
Hi, I'm trying to find out what country the visitor comes from to offer them suitable language (like google.com does) but I haven't found a method that works 100%. What I have come up with so far is to use $HTTP_X_FORWARDED_FOR or gethostbyaddr($REMOTE_ADDR)

[PHP] Link Inquiry

2002-02-07 Thread Lerp
Hi there, been thinking about how to retrieve all links on a webpage. How would I go about grabbing all links from a particular page? Thx Joe :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() - 7bit headers

2002-02-07 Thread Martin C. Petersen
How do i encode 8 bit text to 7 bit in php so that the mail server (courier) won't complain about 8 bit content in the header (From:) while still enabling mailreaders to decode it? Regards Martin Petersen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] MySQL Install Problem

2002-02-07 Thread DL Neil
Ben, Is the file present at all? What do you see from DIR C:\MYSQL\BIN\MYSQL*.EXE ? Regards, =dn I tried it and got the following message: Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-2001. C:\DOCUME~1\BENcd c:\mysql\bin C:\MYSQL\BINmysqld --standalone 'MYSQLD' is

[PHP] Re: Link Inquiry

2002-02-07 Thread Julio Nobrega Trabalhando
There's a class named Snoopy on Sourceforge that can do this for you. At least it's a place where you can look at the sources and see how it's done. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho?

[PHP] Re: Link Inquiry

2002-02-07 Thread Lerp
Thx Julio :) Lerp [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, been thinking about how to retrieve all links on a webpage. How would I go about grabbing all links from a particular page? Thx Joe :) -- PHP General Mailing List

[PHP] Using functions before they're defined

2002-02-07 Thread Brad Harriger
How does PHP 4 locate function definitions if the function is called before it is defined? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Link Inquiry

2002-02-07 Thread Chris Hewitt
Joe, Parse the page source for 'A HREF=' (and 'INPUT TYPE=button' in case that contains a url)? Or am I missing something? Regards Chris Lerp wrote: Hi there, been thinking about how to retrieve all links on a webpage. How would I go about grabbing all links from a particular page? Thx Joe

Re: [PHP] Differences between PHP, ASP, JSP

2002-02-07 Thread Erik Price
On Wednesday, February 6, 2002, at 10:14 PM, Ben Clumeck wrote: I know there must be a tone of articles on the subject. Can anyone give me brief advantages and disadvantages between the 3 languages. Is there something that one language specifically does that another doesn't? Could PHP

[PHP] Re: Using functions before they're defined

2002-02-07 Thread Julio Nobrega Trabalhando
My guess it's that since the page is entirely read before processed (hence you get parse errors and nothing before it's executed), the function calls are store somewhere waiting for the definitions. Once the page is entirely parsed, the functions try to execute... If you asked with PHP

Re: [PHP] function to post data

2002-02-07 Thread Erik Price
On Wednesday, February 6, 2002, at 11:06 PM, Lars Torben Wilson wrote: On Wed, 2002-02-06 at 19:32, obo wrote: is there a command in php to post form data to a script? example: i have a form. once the submit is hit i use php to check the values. if the values are ok i then call a

[PHP] Re: [PHP-DB] difference !!??

2002-02-07 Thread Daniel Ems
Bart, See this page for an explanation of quotes inside array brackets: http://www.php.net/manual/en/language.types.array.php Basically, the correct way to do it is to _always_ use quotes (single quotes for strings without variables, and double quotes for strings with variables). So your

Re: [PHP] Verisign / Payflow Pro

2002-02-07 Thread Analysis and Solutions
Hi Ed: I saw PHP has built-in support for Cybercash, but that Verisign has purchased them. It looks like I'll have to go with Payflow Pro, but I'm wondering if PHP has built-in support, available modules, or what the best approach is. Any recommendations? PHP does indeed have support for

Re: [PHP] Calling PHP function from Perl - as external program

2002-02-07 Thread Analysis and Solutions
Hey Vaclav: Vaclav Muchna wrote: system('/fullpath/ob', '100'); produce this message: X-Powered-By: PHP/4.1.0 Content-type: text/html No input file specified. but, when i remove -q parametr from ob, it procude this message: X-Powered-By: PHP/4.1.0 Content-type: text/html #!

[PHP] Images

2002-02-07 Thread B. Verbeek
Seem to have a problem... I'm creating a form to upload a image to a dir on the webserver. When I fill out the form and submit it (method=post) the variable in the input type=file name=image-field doesn't get sent. I also use enctype multipart/form-data. Does anyone have any suggestions?

Re: [PHP] How to find out what country the visitor comes from

2002-02-07 Thread Analysis and Solutions
Hi: SED wrote: I'm trying to find out what country the visitor comes from to offer them suitable language $HTTP_X_FORWARDED_FOR or gethostbyaddr($REMOTE_ADDR) Domain names and IP's are NOT the way to go. Way to unreliable. Use the HTTP header

[PHP] copy + chmod problems ...

2002-02-07 Thread jeremy rotsztain
hello, i'm attempting to copy a file from its original location to a new folder ... $oldfile = files/adamsCampbells.swf; $newfile = photos/adamsCampbells.swf; $test = copy($oldfile, $newfile); however, in doing so, i'm encountering some problems: Warning: Unable to

[PHP] mysql_insert_id() vs LAST_INSERT_ID()

2002-02-07 Thread Erik Price
I have two questions: 1. Can anyone tell me whether the following statement is true or false? The PHP function mysql_insert_id() differs from the MySQL function LAST_INSERT_ID() in that the PHP function returns the last auto-incremented value from the current connection, and the MySQL

[PHP] block ctrlaltdel and alttab

2002-02-07 Thread Baloo :0\)
Hi, I have a routine to administrate a cybercafe with MySQL, PHP over Win 2K. Does anyone knows how could I programm a routine to request ID and Password wich disables the ctrlaltdel , alttab and shiftf4? Thanks in advance, Alfredo -- PHP General Mailing List (http://www.php.net/) To

[PHP] How to Configure the MySql Database?

2002-02-07 Thread Karadamoglou Kostas
I don't know to configure MySql Database On Apache Server in Windows System. What I must do? (step by step)

[PHP] Simple for you, not for me

2002-02-07 Thread Ramin Berwers
Hi, A simple question for you, but I can not find the solution. My source: ?php include(http://204.227.127.33/awc/fltfldr/6443.txt;) ? The result: http://www.sportvliegen.nl/test.phtml If you watch the original document: http://204.227.127.33/awc/fltfldr/6443.txt I would like to have the

[PHP] Re: automatic forward URL to other URL

2002-02-07 Thread Baloo :0\)
In the first domain (www.mydomain.com) create a page called index.php with the code: ? header(Location:www.mydomain2.com); ? regards, Alfredo Manu Verhaegen wrote: I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com) If i type in my brower www.mydomain.com the i will see

Re: [PHP] How to Configure the MySql Database?

2002-02-07 Thread val petruchek
USE MANUAL! I don't know to configure MySql Database On Apache Server in Windows System. What I must do? (step by step) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Images

2002-02-07 Thread B. Verbeek
What Mod does it need? -Oorspronkelijk bericht- Van: Anna Gintere [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 8 februari 2002 2:08 Aan: [EMAIL PROTECTED] Onderwerp: RE: [PHP] Images Does dir have aprpriate mod (permisions)? -Original Message- From: B. Verbeek [mailto:[EMAIL

Re: [PHP] How to Configure the MySql Database?

2002-02-07 Thread Analysis and Solutions
Mr K: Karadamoglou Kostas wrote: I don't know to configure MySql Database On Apache Server in Windows System. What I must do? (step by step) Read my MySQL Basics tutorial: http://www.analysisandsolutions.com/code/mybasic.htm. It's a really straight ahead, step by step explanation on how to

Re: [PHP] Re: automatic forward URL to other URL

2002-02-07 Thread Analysis and Solutions
Folks: Baloo :0) wrote: header(Location:www.mydomain2.com); The header funcion really requires a fully qualified URI, and needs a space, so make that header(Location: http://www.mydomain2.com/;); Later, --Dan -- PHP scripts that make your job easier

Re: [PHP] Differences between PHP, ASP, JSP

2002-02-07 Thread Michael Kimsal
Tyler Longren wrote: PHP could be used for online banking. Banks use ASP because there is software already written in ASP for what they need. If that were the case it wouldn't take months of time with dozens of people working on projects to get the barely functional. The software banks

Re: [PHP] copy + chmod problems ...

2002-02-07 Thread mike cullerton
i just tried a test and it works on MacOS X. even with the space between 'chmod' and '('. what platform are you on? is this a standalone script/app or from a web page? can you perform the chmod from the command-line? what is the entire error message? also, the error doesn't really suggest this,

[PHP] help with PHP global array

2002-02-07 Thread Wee Chua
Hi all, How can I declare a global array? Can I do this: $global myArray[] would I find out it is an array when I use it in other places? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Seams not to be possible

2002-02-07 Thread Aric Caley
maybe you could use eval(): eval(echo \$ . $field); - Original Message - From: Andy [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 2:57 AM Subject: Seams not to be possible This was just an error in my explenation I ment categories.

RE: [PHP] Re: Seams not to be possible

2002-02-07 Thread Jerry Verhoef (UGBI)
$glacer[0]=test; $category[0]=glacer; echo ${$category[0]}[0]; echo returns test. That is what you wanted to do?? -Original Message- From: Aric Caley [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Seams not to be

Re: [PHP] copy + chmod problems ...

2002-02-07 Thread jeremy rotsztain
hi mike ... actually, this was my first mistake ... i received this chmod error because i entered the command into the unix terminal window using osx. i tried later to change the permissions using php (a script), but was unable to do so: $chg = chmod (photos, 0777); error message ==

[PHP] Re: Simple for you, not for me

2002-02-07 Thread Julio Nobrega Trabalhando
Maybe a nl2br() will solve? It converts new lines from .txt documents for example to br, for html documents. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884

[PHP] Re: help with PHP global array

2002-02-07 Thread Julio Nobrega Trabalhando
$array = Array('a'=1); function scope_test() { global $array; echo $array['a']; } Works for me, PHP 4.1.1 with the new .ini file. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho?

RE: [PHP] help with PHP global array

2002-02-07 Thread Wee Chua
Hi all, I have tried: global $myArray[] and it gives me an error 'the array expects semi-colon or comma'. Any helps would be appreciated! Thanks, Wee -Original Message- From: Bjorn Abt [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 10:57 AM To: '[EMAIL PROTECTED]'

[PHP] Re: block ctrlaltdel and alttab

2002-02-07 Thread Julio Nobrega Trabalhando
shiftf4 or altf4? Anyway, you could try to block with Javascript the alt key, which is common among all your options (or alt and shift). There's a key map on Javascript that references each keyborad key with a variable. Just do something like onKeyPress('var') = ''. I don't remember the

[PHP] force refresh?

2002-02-07 Thread Jeff D. Hamann
can i force a browser to refresh using php. jeff. -- Jeff D. Hamann Hamann, Donald Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Math librarys

2002-02-07 Thread Ben Edwards
Getting error 'Call to undefined function: bcmod() ' cos ISP I am using douse not have maths support enabled. Has anyone got a PHP function that will do mod function so I can use this instead. Ben * Ben Edwards

[PHP] Script uid/gid

2002-02-07 Thread Roberto P.Martins Jr
Hi! I'd like to know why a php script stored at the cgi-bin directory, with the php binary stored outside the webserver tree, runs with the uid/gid of the parent process, even when the setuid/setgid bits set, ignoring them!!! Thanks in advance, Roberto -- PHP General Mailing List

[PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
Pretty simple question, I think: I'm creating a PHP form and want to prevent users from entering the same response in more than one form field. How can I have the script check for identical fields on POST? Thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Chris Wright
With javascript onSubmit, but that ain't php, so with if($form1==$form2){sendthembackwitherrors()} --- Christopher Wright 303 447 2496 x 107 www.netinfra.com We'll take care of it. Net Infrastructure has definitely helped our company, even though we're not in the US, Net Infrastructure has

RE: [PHP] force refresh?

2002-02-07 Thread Chris Wright
Probably only by writing javascript to the window using php. --- Christopher Wright 303 447 2496 x 107 www.netinfra.com We'll take care of it. Net Infrastructure has definitely helped our company, even though we're not in the US, Net Infrastructure has been a key part in the success of our

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
Thanks Chris, but I have about 10 different fields and want to make sure none of those are the same. Dave Chris Wright wrote: With javascript onSubmit, but that ain't php, so with if($form1==$form2){sendthembackwitherrors()} --- Christopher Wright 303 447 2496 x 107 www.netinfra.com

[PHP] Win32 PHP + PostgreSQL support

2002-02-07 Thread Todor Stoyanov
Any ideas how to get PHP for win32 with PostgreSql support? Cheers Todor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] probs w/ pass vars as fake directories

2002-02-07 Thread Mikusch, Rita
I discovered this wonderful article at zend discussing how to pass get parameters as mock directory names . . . ie www.ica.bc.ca/kb.php3?artid=34catid=23 would become www.ica.bc.ca/kb.php3/artid/34/catid/23. Then you retrieve these values from the $PATH_INFO variable. I tried it out on my site

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Jeff Sheltren
Hi, I think that you could still use Chris' method, you will just have to do it in a loop. Create an array of all the form fields, and then have a nested for loop which just checks that none of the elements are equal. $numelements = count($fieldarray); for($i = 0; $i $numelements; $i++) {

Re: [PHP] force refresh?

2002-02-07 Thread Sam Masiello
You can force the browser to refresh using a meta tag: meta HTTP-EQUIV=Refresh content=180 This will cause the page to refresh every 180 seconds. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: Chris

[PHP] Formatting a MYSQL time

2002-02-07 Thread Frank Miller
Hello, Since I'm the only one who uses php at work I run into a little problem and was hoping maybe someone could help me. I've set up a Mysql database that has an event time. I've set the field in the table as: eventtime time DEFAULT 00:00:00. When I go to print the

[PHP] error_reporting(E_ALL) and undefined vars

2002-02-07 Thread Julio Nobrega Trabalhando
Hi All, I develop with error_reporting(E_ALL). It's a major pain to type everytime if(isset($some_var)) To avoid undefined variable errors. Any tips? If you turn E_ALL on error_reporting, what do you do? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca

RE: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Jon Haworth
With javascript onSubmit, but that ain't php, so with if($form1==$form2){sendthembackwitherrors()} Thanks Chris, but I have about 10 different fields and want to make sure none of those are the same. You could brute force it: $ok = true; if ($field1 == $field2 || $field1 == $field3 ||

RE: [PHP] probs w/ pass vars as fake directories

2002-02-07 Thread Jon Haworth
I tried it out on my site by deleting the get parameters and typing the mock directories in on the url. Very cool, my website is still being displayed even with the fake directories. BUT, I noticed that the server was not finding my css page or my images. You need to exclude certain

Re: [PHP] force refresh?

2002-02-07 Thread DL Neil
Jeff, can i force a browser to refresh using php. =the issue is PHP's server-side-edness. Consider adding an HTML META tag to the page, to call/renew itself every n-seconds. =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with PHP global array

2002-02-07 Thread Jason Wong
On Thursday 07 February 2002 23:48, Wee Chua wrote: Hi all, I have tried: global $myArray[] and it gives me an error 'the array expects semi-colon or comma'. Any helps would be appreciated! Thanks, Wee -Original Message- From: Bjorn Abt [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] error_reporting(E_ALL) and undefined vars

2002-02-07 Thread Jon Haworth
I develop with error_reporting(E_ALL). It's a major pain to type everytime if(isset($some_var)) To avoid undefined variable errors. Any tips? If you turn E_ALL on error_reporting, what do you do? Generally I make sure my variables are defined, and if I can't be sure I use... if (isset

Re: [PHP] error_reporting(E_ALL) and undefined vars

2002-02-07 Thread Julio Nobrega Trabalhando
Thanks Jon. But, that's for security, right? Maybe even other reasons. I know close to zero of programming theory, so, why is it bad to have undefined vars on the code? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List

Re: [PHP] help with PHP global array

2002-02-07 Thread Chris Boget
All variables in PHP are local to the scope in which it is defined. You cannot declare a variable as global (as such). To use a global variable: This is true. But I believe that the original question was actually the other way around... Make a local variable into a global one. The way to do

Re: [PHP] mysql_insert_id() vs LAST_INSERT_ID()

2002-02-07 Thread Jason Wong
On Thursday 07 February 2002 23:08, Erik Price wrote: I have two questions: I think the php-db list is more appropriate for these. 1. Can anyone tell me whether the following statement is true or false? The PHP function mysql_insert_id() differs from the MySQL function LAST_INSERT_ID() in

RE: [PHP] probs w/ pass vars as fake directories

2002-02-07 Thread Mikusch, Rita
I tried it out on my site by deleting the get parameters and typing the mock directories in on the url. Very cool, my website is still being displayed even with the fake directories. BUT, I noticed that the server was not finding my css page or my images. You need to exclude

Re: [PHP] function to post data

2002-02-07 Thread Jason Wong
On Thursday 07 February 2002 22:45, Erik Price wrote: I don't mean to butt in here, I'm just a bit confused. I thought that the poster (obo) was asking how to submit form variables using POST. For the purpose of doing more work with these variables, from a (PHP) script. Is obo asking

Re: [PHP] Formatting a MYSQL time

2002-02-07 Thread Miles Thompson
Here Frank, play with this you'll have to add a bit of code to select your time values, but it will start you down the road. I spent some time playing with this a couple of years ago, this is taken from a file with the grand name of junk.php! Miles Thompson // up here there's code to

[PHP] Re: Writing PHP files from inside a PHP file

2002-02-07 Thread Georgie Casey
yea, evals() exactly what i needed, tanx J Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... include() and require() were suggested, but you may also want to look into eval(), which parses a string as PHP code and returns the parsed PHP. Sounds like what

Re: [PHP] Formatting a MYSQL time

2002-02-07 Thread Mark
I would let mysql do the work: select *,date_format(dateofevent,%H:%i %p) as date_formatted from table... - Mark On Thu, 07 Feb 2002 11:21:13 -0600, Frank Miller wrote: Hello, Since I'm the only one who uses php at work I run into a little problem and was hoping maybe someone could

RE: [PHP] Formatting a MYSQL time

2002-02-07 Thread Kevin Stone
Unless the $eventdate coming being pulled from your database a bonified Unix timestamp the date() function will not work. I don't like MySQL functions so I've always used $timestamp = mktime() to create the timestamp. Then plug that value into a field defined as INT(14). Use $eventdate =

[PHP] curl question

2002-02-07 Thread wm
hi. i've been experimenting with curl and it has been working great. i was wondering though if anybody knows why an extra 0 value is being tacked on to the end of the post. here is the example: ? $test=i hope this worked; $ch=curl_init(); curl_setopt($ch, CURLOPT_URL,

Re: [PHP] Formatting a MYSQL time

2002-02-07 Thread Jim Lucas [php]
well, from what you show here you are trying to use a MYSQL timestamp format string in a UNIX Timestamp String. what you need to do is add add this to your select statement. SELECT UNIX_TIMESTAMP(replace with column name) From Table; you want to convert the MYSQL timestamp into a UNIX

RE: [PHP] Using functions before they're defined

2002-02-07 Thread Rick Emery
What happened when you tried? -Original Message- From: Brad Harriger [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: [PHP] Using functions before they're defined How does PHP 4 locate function definitions if the function is called

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
Thanks y'all! Everything's workin great now. Jon Haworth wrote: With javascript onSubmit, but that ain't php, so with if($form1==$form2){sendthembackwitherrors()} Thanks Chris, but I have about 10 different fields and want to make sure none of those are the same. You could brute force

[PHP] dynamic form fields

2002-02-07 Thread Kunal Jhunjhunwala
hey.. anyone got any suggestions on how to have a form build dynamically? where a user can define his fields and store the form data in mysql? Regards, Kunal Jhunjhunwala Minds think with ideas, not information. No amount of data, bandwidth, or processing power can substitute for inspired

RE: [PHP] Formatting a MYSQL time

2002-02-07 Thread Lars Torben Wilson
On Thu, 2002-02-07 at 10:47, Kevin Stone wrote: Unless the $eventdate coming being pulled from your database a bonified Unix timestamp the date() function will not work. I don't like MySQL functions so I've always used $timestamp = mktime() to create the timestamp. Then plug that value

[PHP] php static or dynamic?

2002-02-07 Thread linux
I have redhat 7.1, apache 1.3.22, php 4.1.1 I have installed php and other apache modules as static. I have installed all php modules static. I also installed java module as static (--with-java=..) But I cannot enable java in php.ini Also, lib_phpjava.so library is not created. Only

RE: [PHP] Formatting a MYSQL time

2002-02-07 Thread Kevin Stone
Ah.. much appreciated. :) -Original Message- From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]] On Behalf Of Lars Torben Wilson Sent: Thursday, February 07, 2002 12:43 PM To: Kevin Stone Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Formatting a MYSQL time On Thu, 2002-02-07 at

[PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how to actually build PHP to have

Re: [PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Erik Price
On Thursday, February 7, 2002, at 03:03 PM, Navid Yar wrote: Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to

[PHP] array variable passing in session.

2002-02-07 Thread Peter Ruan
Hi, I am running into a problem that I can't figure out the solution to. So I'm hoping that someone can give me some pointers here. I have two files (see below): verify.php and edit.php The job of verify.php is basically to verify that a user is in the database before allowing him/her to

[PHP] Re: How to Configure the MySql Database?

2002-02-07 Thread Peter Ruan
Hi, I recommend using a nice program call PHPTriad. It's painless and you don't have to worry about anything. The only downside is that it cofigures PHP as CGI module only. -Peter Karadamoglou Kostas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I don't know

[PHP] Creating Tab-Delimited Text File

2002-02-07 Thread Phillip S. Baker
Greetings All, What I want to do is create a tab-delimited text file for download from records in a database. I am not sure on how to do this. So what I want to do is as follows. ON a page a button is clicked. Script is activated that pulls records from a database. From these records a

[PHP] Mail stopped working - Somewhat Urgent

2002-02-07 Thread Bryan Gintz
All of a sudden Mail through PHP just stopped working, we can do it through the command line, but refuses to work in PHP. Any ideas? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to keep form inputs from being cleared

2002-02-07 Thread CompMan86
I posted about this a few days ago. I received several responses but none of them were very helpful (thanks for the effort though). I finally figured out what it was by process of elimination. At the top of my registration form, I put session_start() just like I did for all my other scripts. Well

RE: [PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
Thanks, Erik! This will do nicely. :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 2:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need XML info for PHP -- XML Newbie On Thursday, February 7, 2002, at 03:03

[PHP] question about switch function

2002-02-07 Thread Chuck Barnett
Hello, I am trying to find out if a string is in a line being read from a file. I should use strstr for this I am pretty sure. I want to do something like this: switch(strstr($line, case argument)) but I don't know if it is possible. For example, I am looking for Zip in a line but it will not

[PHP] odbc_connect vs. DB2 (Connection speed varies)

2002-02-07 Thread Scott Fletcher
Hi! Have anyone ever have problem with the connection speed using PHP and DB2? I'm a little puzzled by the odbc_connect reaction. There were very many people using the DB2 on the website. The most I can have is from 5 to 10 people. For some people, they get quick result from the database

Re: [PHP] question about switch function

2002-02-07 Thread Mark
try it like this: switch(true){ case strstr($line,zip): echo found zip; break; } On Thu, 7 Feb 2002 14:29:45 -0600, Chuck Barnett wrote: Hello, I am trying to find out if a string is in a line being read from a file. I should use strstr for this I am pretty sure. I want to do

[PHP] Re: Win32 PHP + PostgreSQL support

2002-02-07 Thread Gary
Doesn't php for windows come with pgsql already? extension=php_pgsql.dll Gary Todor Stoyanov wrote: Any ideas how to get PHP for win32 with PostgreSql support? Cheers Todor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] opening a ssl socket...

2002-02-07 Thread wm
hi. i need to be able to open an ssl 'plus' socket (authorize.net told me this) to post data. i can use curl to post data, but how do i use curl to open an ssl 'plus' socket? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] some doubts on telnet

2002-02-07 Thread Aderson Schroder
okay, i'm new in PHP developing and i'm having a few problems with a script i'm building... i work at an ISP what i need is a script that will add users to the company database. what i can't get is my PHP server (IP 18) to connect to the RAS server (IP 21). i've checked all the documentation i

[PHP] phpinfo

2002-02-07 Thread linux
can I limit the information shown in phpinfo function? the info it gives is a little risky for me thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Web Hosts and PHP 4.10 +

2002-02-07 Thread Edward Marczak
I know the subject of web hosts that support PHP comes up frequently - but here's a twist: After going through the archives, and checking out many, many hosts, I haven't found a web host that is up to PHP 4.10 or better. Most seem stuck at 4.04 or, at best, 4.06. Since 4.10 made some important

[PHP] Cron Job

2002-02-07 Thread karthikeyan
Hi, How do i set cron job on Red Hat Linux. Looking forward for yours response. karthikeyan.

Re: [PHP] Creating Tab-Delimited Text File

2002-02-07 Thread Analysis and Solutions
Phillip S. Baker wrote: Greetings All, What I want to do is create a tab-delimited text file for download from records in a database. Construct then execute the desired query http://www.php.net/manual/en/function.mysql-query.php Loop through each record, putting each row into an

[PHP] RE: Creating Tab-Delimited Text File

2002-02-07 Thread Andrew Chase
Which part are you having trouble with, specifically? The task as you've described it is very straightforward, almost pseudo-code. :) -Andy -Original Message- From: Phillip S. Baker [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 12:32 PM To: PHP Email List Subject:

RE: [PHP] Cron Job

2002-02-07 Thread Michael Geier
This is an inappropriate question for this list. I would suggest either a book on learning Unix (almost any flavor will do) or seeking any number of Linux mailing lists for questions concerning the OS. -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Re: [PHP] RE: Creating Tab-Delimited Text File

2002-02-07 Thread Phillip S. Baker
At 01:42 PM 2/7/2002, Andrew Chase wrote: Which part are you having trouble with, specifically? The task as you've described it is very straightforward, almost pseudo-code. :) -Andy I know very well how to do the Db query and then loop through the results to display the info on an HTML page.

[PHP] Quote in input tag value?

2002-02-07 Thread Nathan Cassano
If there is a quote mark in an input tags value what is the correct way to print the quote? input type=text value=quotMy Quotequot or input type=text value=\My Quote\ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Quote in input tag value?

2002-02-07 Thread Rick Emery
I prefer: print input type=text value=\My Quote\; -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Quote in input tag value? If there is a quote mark in an input tags value what is the

  1   2   >