[PHP] Re: Class in PHP

2001-12-05 Thread Roko Roic
"Wee Chua" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > How many extension of subclass can PHP have? Can I extend subclass to more > different subclass? I didn't really understand the question, but maybe this is it. PHP class can extend only one p

[PHP] HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] very urgent assistance

2001-12-05 Thread George Pitcher
Ben, Except that its been around for a couple of years now, in various guises. SPAM! George - Original Message - From: "Smith, Benjamin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 6:20 AM Subject: RE: [PHP] very urgent assistance This would have to

RE: [PHP] XHTML compatible error messages

2001-12-05 Thread Jason Lotito
There is a way to turn off HTML in Errors in PHP. This is done in php.ini or you can use the ini_set() function to change the value. html_errors boolean Turn off HTML tags in error messages http://download.php.net/manual/en/configuration.php Jason Lotito [EMAIL PROTECTED] www.NewbieNetwork.ne

Re: [PHP] XHTML compatible error messages

2001-12-05 Thread Matt McClanahan
On Fri, Aug 17, 2001 at 05:40:07PM +0200, Jan wrote: > Hi out there! > > I have got a problem with PHP's standard way of reporting errors. The > in the error messages are making the XML invalid (should be > ). Is there an easy way to do this? This was done in CVS a few months ago. It should b

RE: [PHP] very urgent assistance

2001-12-05 Thread Smith, Benjamin
This would have to be the most bizarre spam I have ever read. -Original Message- From: Adewale.Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 6 March 2001 6:18 PM To: [EMAIL PROTECTED] Subject: [PHP] very urgent assistance Dr.Adewale.Johnson. 16 Kingsway Road Ikoyi, Lagos Nigeria

[PHP] very urgent assistance

2001-12-05 Thread Adewale.Johnson
Dr.Adewale.Johnson. 16 Kingsway Road Ikoyi, Lagos Nigeria.. [EMAIL PROTECTED] 6th, December , 2001. Sir, Request for Urgent Business Relationship. First I must solicit your confidence in this transaction. This is by virtue of its nature as being utterly confidential and top secret. We

[PHP] Help required MySql + PHP

2001-12-05 Thread Karthikeyan
Dear Members, I installed RedHat 7.1, Apache, PHP4 and MySQL in a Intel Pentium processor system. Everything works fine (i.e. MySQL, PHP, etc). But when I want to connect MySQL through PHP. It is giving an error 'call to unknown function "mysql_connect" in line in __' . Can any one provide a solut

Re: [PHP] PHP shopping cart packages

2001-12-05 Thread Attila Strauss
Heya, http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts / best regards Attila Strauss > >I need a new cart program and would like to use something based in PHP. I > >was using a CGI paltform written in C, but we had session problems out the > >wazoo when traffic was

Re: [PHP] PHP outside HTML

2001-12-05 Thread Michael A. Peters
On Wed, 05 Dec 2001 22:24:08 -0800 John Kolvereid <[EMAIL PROTECTED]> mentioned: > Hi, > I'm a little confused. I see the advantage of PHP within HTML. > However, a few of the examples of ECHO include the '\n' char. Since > this is not valid within HTML, I conclude they are addressing this

[PHP]I know I know, but quick Apache/PHP question

2001-12-05 Thread Chris Cocuzzo
hey- I have php 4.0.6 on Win 2k with Apache 1.3.20 ... I figure I'm close to getting this installed correctly. I've edited my httpd.conf file to the point where if I call the php file I want, I get the source in the browser here's what my .conf file says? ScriptAlias /php/ "c:/php/" and then

Re: [PHP] Problems producing an image

2001-12-05 Thread David Robley
On Thu, 6 Dec 2001 13:50, Harshdeep S Jawanda wrote: > I am using the following code to try to produce a test image: >//phpinfo(); > $gif = ImageCreate(200,200); > $bg = ImageColorAllocate($gif,0,0,0); > $tx = ImageColorAllocate($gif,255,128,128); > ImageFilledRectangle($gif,0,0,200,200,$bg

Re: [PHP] PHP outside HTML

2001-12-05 Thread David Robley
On Thu, 6 Dec 2001 16:54, John Kolvereid wrote: > Hi, > I'm a little confused. I see the advantage of PHP within HTML. > However, a few of the examples of ECHO include the '\n' char. Since > this is not valid within HTML, I conclude they are addressing this for > OUTSIDE HTML. Please advis

RE: [PHP] PHP outside HTML

2001-12-05 Thread Martin Towell
it's so it's easier to read the output -Original Message- From: John Kolvereid [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 5:24 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP outside HTML Hi, I'm a little confused. I see the advantage of PHP within HTML. However, a fe

[PHP] TR: HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] PHP outside HTML

2001-12-05 Thread Tyler Longren
PHP can be used on the command line if necessary. Or the \n characters can be printed to a text file or some other document that use's \n. To compile PHP for use on the command line, don't specify a web server to compile it with. Example...instead of this: ./configure --with-apxs2=/usr/local/ap

[PHP] PHP outside HTML

2001-12-05 Thread John Kolvereid
Hi, I'm a little confused. I see the advantage of PHP within HTML. However, a few of the examples of ECHO include the '\n' char. Since this is not valid within HTML, I conclude they are addressing this for OUTSIDE HTML. Please advise. Thanks. -- John Kolvereid http://www.odinf

[PHP] Problems producing an image

2001-12-05 Thread Harshdeep S Jawanda
I am using the following code to try to produce a test image: I am trying to display this image on the page http://www.harshdeepjawanda.com/t2.html . Phpinfo() shows that PHP was compiled with: --with-gd, --with-jpeg-dir and --with-png-dir, among others. Why then am I not able to see any image?

[PHP] HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] a strange question when installing php+oracle8.1.16+apache1.3.14 (in linux)

2001-12-05 Thread ydok
hi,sir; i am installing php4.0.2+oracle8.1.16+apache1.3.14 in redhat7.0 ,first i installed apache at /opt/apache ,it run well. then i installed oracle at /opt/oracle and /opt/oraclient,as you see,i installed oci at /opt/oraclient.now oracle works well,too. at last,i try to install

[PHP] eregi_replace help!

2001-12-05 Thread David
Hi, I have a rather annoying eregi_replace which I can't get to work. I have a string, $page which contains a webpage. In the page links are denoted like so: ###LINK###Link Name###URL or Section###ELINK### There are a number of these in $page. I need to use eregi_replace() to replace the above s

RE: [PHP] multi-dimensional array

2001-12-05 Thread Martin Towell
or you could use the method you wrote - /cart.exe?item[1][1]=3 but if you have lots of items then the url will get pretty large... -Original Message- From: Michael Sims [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 12:34 PM To: Jordan; [EMAIL PROTECTED] Subject: Re: [PHP] m

Re: [PHP] Newbie question on Tutorials?

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 05:16 pm, Geoff E wrote: > Okay, probably been asked zillions of times already, Yep >but I couldn't find reference to it in the last 5 minutes. :) Didja try the archives? http://marc.theaimsgroup.com/?l=php-general -- PHP General Mailing List (http://www.php.ne

[PHP] Newbie question on Tutorials?

2001-12-05 Thread Geoff E
Okay, probably been asked zillions of times already, but I couldn't find reference to it in the last 5 minutes. :) Where can I find newbie-novice tutorials on php/mysql? My server is PHP4/MySql on a Apache/FreeBSD. I want to learn how to make these types of sites: Dating, Buy&Sell, Forums, etc.

Re: [PHP] multi-dimensional array

2001-12-05 Thread Michael Sims
At 03:41 PM 12/5/2001 -0500, Jordan wrote: >Is there any way to pass a multi-dimenstional through a url. something like >/cart.exe?item[1][1]=3 > >just curious. > >-Jordan I haven't personally done this myself, but theoretically you could accomplish this by first using the serialize function:

Re: [PHP] session question: session.auto_start vs. session_register.

2001-12-05 Thread Jason G.
You may want to check out something like auto_prepend_file. Look at the PHP configuration help. I was thinking that you may be able to include your class definition there - IF auto_prepend_file IS INCLUDED BEFORE session.auto_start starts the session. Otherwise, use auto_prepend_file to incl

Re: [PHP] PHP + MySQL problem (strange behavior)

2001-12-05 Thread David Robley
On Thu, 6 Dec 2001 08:32, Javier Muniz wrote: > Hello, > > I'm having trouble determining what's going wrong with a MySQL query > that I'm doing from PHP. Now before you go blaming MySQL read on :) > > I have a table with the following columns: > id (int) > name (varchar 20) > starttime (int) >

[PHP] Re: automatic forward URL to other URL

2001-12-05 Thread Chris Lee
header("Location: www.domain2.com"); -- Chris Lee [EMAIL PROTECTED] "Manu Verhaegen" <[EMAIL PROTECTED]> wrote in message 001301c17c93$53be4620$[EMAIL PROTECTED]">news:001301c17c93$53be4620$[EMAIL PROTECTED]... I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com) If i ty

Re: [PHP] Re: Recursive Threading with PHP and MySQL.

2001-12-05 Thread Prottoss
Recursive functions are generally a bad idea especially in php. By using a recursive function it is possible you may "smash the stack", which will crash an apache child (segfaults) and on a multi-threaded server take down the whole webserver. Even with a default memory limit of 8 megs an attacke

[PHP] Re: folver view options

2001-12-05 Thread Chris Lee
wrong newsgroup. -- Chris Lee [EMAIL PROTECTED] "Caspar Kennerdale" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have just installed mandrake > > something that is annoying me with KDE is that the default view within the > file manager is with icons

[PHP] Re: serialize object & session_auto_start

2001-12-05 Thread Chris Lee
to be blunt. then dont use session.auto_start. classes must be defined before variables can be created based on that class, obviously. the proper order has to be. - class definition - session initialized -- Chris Lee [EMAIL PROTECTED] "Matthieu Brunet" <[EMAIL PROTECTED]> wrote in messag

[PHP] Re: Recursive Threading with PHP and MySQL.

2001-12-05 Thread Chris Lee
recursion is something that can be fun and practical at times, other times its a bad coder trying to do something they think is clever. use it wisly. this example is purposely coded bad to show you how recursion can mess up with bad error checking. this example will work. change to power(30) a

[PHP] Re: Looking for help in making a Mulit Page Form

2001-12-05 Thread Manuel Lemos
Hello, Ben Clumeck wrote: > > How do I make a multi page form with the ability to attach a file. The form > will be about 3 different pages and the last will be a place to attach the > file. Then I results will be sent to me via email. > > Please provide recommendations or any help! I think

[PHP] Re: session question: session.auto_start vs. session_register.

2001-12-05 Thread Chris Lee
session.auto_start is only usefull when not using classes as session variables. because a class must be defined before it can be created (or brought back to life from a session) it must be defined, this cant be done with session.auto_start. I dont use session.auto_start. I find the ability to use

[PHP] Re: Simple(?) Question

2001-12-05 Thread Chris Lee
do a header re-direct. header("Location: http://domain.com/page.php";); include any variables you want, inc session vars if needed. -- Chris Lee [EMAIL PROTECTED] "Andrew Forgue" <[EMAIL PROTECTED]> wrote in message 001d01c17ddc$a898fc40$6701a8c0@ajf">news:001d01c17ddc$a898fc40$6701a8c0@

[PHP] Re: Pulling data out of a domain name

2001-12-05 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Is there a more efficient way of doing what this script does is check > a domain name and separate the domain name from the ext. > The domain names could be in a few different formats. Like the > samples below. This script works b

Re: Re[2]: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [Dec 05. 2001 18:38]: > Hello Brian, > actually no parse_url() will return various components of the URL > like > $url[scheme] = http > $url[host] = www.php.net > $url[path] = /download-php.php3 > $url[query] = csel=br > I what to split the host name up n

Re[2]: [PHP] Pulling data out of a domain name

2001-12-05 Thread rdkurth
Hello Brian, actually no parse_url() will return various components of the URL like $url[scheme] = http $url[host] = www.php.net $url[path] = /download-php.php3 $url[query] = csel=br I what to split the host name up not the whole URL. Wednesday, December 05, 2001, 3:21:38 PM, you wrote: BC> *

Re: [PHP] PHP shopping cart packages

2001-12-05 Thread B. van Ouwerkerk
At 16:05 5-12-01 -0600, rory o'connor wrote: >I need a new cart program and would like to use something based in PHP. I >was using a CGI paltform written in C, but we had session problems out the >wazoo when traffic was really high. I need something that can manage >sessions with vim and vigor.

Re: [PHP] Looking for help in making a Mulit Page Form

2001-12-05 Thread Brian Clark
* Ben Clumeck <[EMAIL PROTECTED]> [Dec 05. 2001 18:27]: > How do I make a multi page form with the ability to attach a file. The form > will be about 3 different pages and the last will be a place to attach the > file. Then I results will be sent to me via email. > > Please provide recommendat

Re: [PHP] Simple(?) Question

2001-12-05 Thread Brian Clark
* Andrew Forgue <[EMAIL PROTECTED]> [Dec 05. 2001 17:35]: > Is there a way to "post" to a script without any user interventions... e.g The user >posts to a script, and the script posts back to the original one. (Please set your mail client to wrap at 72 chars) cURL can do this, among other thi

[PHP] Looking for help in making a Mulit Page Form

2001-12-05 Thread Ben Clumeck
How do I make a multi page form with the ability to attach a file. The form will be about 3 different pages and the last will be a place to attach the file. Then I results will be sent to me via email. Please provide recommendations or any help! Thanks, Ben -- PHP General Mailing List (http

Re: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [Dec 05. 2001 18:05]: > Is there a more efficient way of doing what this script does is check > a domain name and separate the domain name from the ext. > The domain names could be in a few different formats. Like the > samples below. This script wo

[PHP] Pulling data out of a domain name

2001-12-05 Thread rdkurth
Is there a more efficient way of doing what this script does is check a domain name and separate the domain name from the ext. The domain names could be in a few different formats. Like the samples below. This script works but I was just wondering does it have to be so long winded www

[PHP] URGENT: IIS doesn't like GET or POST

2001-12-05 Thread Ron Newman
Hi, When I pass form variables to PHP using either GET or POST it works under PWS running on "localhost", but when I run the same script remotely on a Win2K Advanced Server and IIS machine, I get "Warning, not defined" errors for all the variables passed. Is there some configuration problem with

Re: [PHP] PHP shopping cart packages

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 02:05 pm, you wrote: > Your thoughts appreciated! Check out The Exchange Project. http://www.theexchangeproject.org/ I've been using it for a few months now. My biggest complaint is there doesn't seem to be a clear sense of direction in the development process.

[PHP] off

2001-12-05 Thread faeton
Linux is like a wigwam - no windows, no gates, aðache inside! Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) [EMAIL PROTECTED] www.xemi.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: [PHP] Simple(?) Question

2001-12-05 Thread Martin Towell
if you want the browser to do it (as opposed to getting php to do it), then you could use a "hidden" form, like: ... etc (all hidden fields) ... -Original Message- From: Andrew Forgue [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 9:32 AM To: [EMAIL PROTECTED] Subject:

[PHP] Forms lose data when going "back" in browser

2001-12-05 Thread Zavier Sheran
I have a submission form distributed over 5 pages. When the user hits the "back" button in the browser on one of the pages to make changes on a previous page, all fields are emptied. This is only when I have a session running. When I use the same pages without the session, the data stays in the fo

[PHP] Simple(?) Question

2001-12-05 Thread Andrew Forgue
Hello, Is there a way to "post" to a script without any user interventions... e.g The user posts to a script, and the script posts back to the original one. Thanks!

[PHP] PHP + MySQL problem (strange behavior)

2001-12-05 Thread Javier Muniz
Hello, I'm having trouble determining what's going wrong with a MySQL query that I'm doing from PHP. Now before you go blaming MySQL read on :) I have a table with the following columns: id (int) name (varchar 20) starttime (int) duration (int) now, i have a row that has a starttime of 60, whe

[PHP] PHP shopping cart packages

2001-12-05 Thread rory o'connor
I need a new cart program and would like to use something based in PHP. I was using a CGI paltform written in C, but we had session problems out the wazoo when traffic was really high. I need something that can manage sessions with vim and vigor. I have only see phpshop - which looks nice, b

[PHP] Xml Parse Extended Chars

2001-12-05 Thread Chris Noble
Ive ran into a stumbling block trying to parse an xml document. I control the parsing and the creation of the xml document so I can do any changes from either side of it. Problem I have run into is my xml document has a é in it. Ive ran htmlentities on it and it converts it to é but everytime I tr

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread Fred
I believe that you must normally restart apache for php.ini changes to take affect. The fact that the changes show up in phpinfo() may or may not indicate that the changes are actually in effect. If your ISP has not restarted apache, you may want to ask them to do so in order to save yourself a

Re: [PHP] Compare strings

2001-12-05 Thread Mike Eheler
if ($str1 == $str2) ? If that's not it, check http://download.php.net/manual/en/ref.strings.php Mike Mainolfi, Joe wrote: >Is there another way to compare the values of 2 strings other than strcmp(). >This function is not consistent with its results and is causing so many >headaches. I am som

[PHP] Compare strings

2001-12-05 Thread Mainolfi, Joe
Is there another way to compare the values of 2 strings other than strcmp(). This function is not consistent with its results and is causing so many headaches. I am somewhat new to Php so any help is appreciated. Thanks __ Joseph D. Mainolfi Jr

Re: [PHP] multi-dimensional array

2001-12-05 Thread Mike Eheler
Sorry, I sent that too soon.. here's my test results: http://localhost/test.php?var[test][5][]=test [HTTP_GET_VARS] => Array ( [var] => Array ( [test] => Array ( [5] => Array

Re: [PHP] multi-dimensional array

2001-12-05 Thread Mike Eheler
Should work. Why not give it a try, and let the good people of this list know? Mike Jordan wrote: >Is there any way to pass a multi-dimenstional through a url. something like >/cart.exe?item[1][1]=3 > >just curious. > >-Jordan > > > -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] multi-dimensional array

2001-12-05 Thread Jordan
Is there any way to pass a multi-dimenstional through a url. something like /cart.exe?item[1][1]=3 just curious. -Jordan -- 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 adminis

RE: [PHP] xml header

2001-12-05 Thread Matthew Loff
The proper content type is text/xml. --Matt -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 3:11 PM To: Tyler Longren Cc: [EMAIL PROTECTED] Subject: Re: [PHP] xml header Hmmm. I'm thinking of the http headers. Assume you have an xml file

[PHP] session question: session.auto_start vs. session_register.

2001-12-05 Thread Kurt Lieber
I am working on an open source e-commerce package and have hit a wall with sessions. If I have session.auto_start turned on, I get the following error message: Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definitio

Re: [PHP] xml header

2001-12-05 Thread bill
Hmmm. I'm thinking of the http headers. Assume you have an xml file in memory as a variable ($xmlfiledata) and you want to send it to the browser. If you just echo it, you are sending it as text (which isn't necessarily bad, it just isn't as good as it should be, I think). So far, I've been

Re: [PHP] xml header

2001-12-05 Thread Tyler Longren
Hi Bill, I don't believe there are any. Tyler - Original Message - From: "bill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 1:42 PM Subject: [PHP] xml header > What is the proper header to send when presenting dynamic xml pages to > the browser? >

Re: [PHP] Class in PHP

2001-12-05 Thread andreas
On Wed, 5 Dec 2001 10:41:53 -0500 Wee Chua <[EMAIL PROTECTED]> wrote: >Hi all, >How many extension of subclass can PHP have? Can I extend subclass to more >different subclass? Do you mean how deep a inheritance you can have? e.g. A \ B | \ C D | \ E F

Re: [PHP] Is php safe for e-commerce applications?

2001-12-05 Thread Jim
Would sprintf() handle your needs? This seems to work correctly... $val = sprintf("%.0f",(10*(8.20-0.20))); produces a string $val equal to 80. Is this too geeky? Jimtronic >What a scary day, and it just gets worse > >1. A user finds their account balance is displayed incorrectly on >

RE: [PHP] Is php safe for e-commerce applications?

2001-12-05 Thread Jason Lotito
Reading the Bug report, it was mentioned if you want precision mathmatics, use BCMath http://www.php.net/manual/en/ref.bc.php That will give you the precision you are looking for. Jason Lotito [EMAIL PROTECTED] www.NewbieNetwork.net > -Original Message- > From: George Whiffen [mailto:[

RE: [PHP] Reg ex help-Removing extra blank spaces before HTML output

2001-12-05 Thread Jack Dempsey
actually it does... james' solution will work but I forgot to mention a \s is whitespace, not a space, therefore it will get tabs, newlines, and spaces. look at http://www.cs.tut.fi/~jkorpela/perl/regexp.html " \s matches any whitespace character (space, tab, newline)" therefore my suggestion work

Re: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread René Fournier
You know, I tried that, it it STILL didn't work. Then, after remembering to reboot my brain, I took a look at the smarts.sql that my ISP kindly dumped for me, to see what code/statements it might be missing--and lo and behold!--it didn't have a USE database; statement! Adding this one wee line

[PHP] RE: What is causing duplicate keys?

2001-12-05 Thread Rick Emery
it should read: INSERT INTO recensioni VALUES( NULL,... In order fot auto_increment to work, you must use NULL. When you tried NULL, what SPECIFIC error did you get when it complained? FYI: it complains about the "duplicate key" because you already inserted a record with 300 in the PRIMARY KEY

[PHP] xml header

2001-12-05 Thread bill
What is the proper header to send when presenting dynamic xml pages to the browser? -- 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] md5 decrypt

2001-12-05 Thread Steve Werby
"Dan McCullough" <[EMAIL PROTECTED]> wrote: > Is there away to take a md5 encrypted password and decrypt it and give that to the client, if they > fogot their password. Short answer is no, long answer below. I just answered this on another list 10 minutes ago so I'm pasting in part of my reply u

Re: [PHP] md5 decrypt

2001-12-05 Thread Jeff Lewis
I'm pretty sure you can't. You would have to set up an area where they can have their password reset and the new password emailed to their email address. Jeff - Original Message - From: "Dan McCullough" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Wednesday, Decem

Re: [PHP] Minimum Apache & CD-ROM root

2001-12-05 Thread Valter Santos
running apache from a distro CD mm! I suppose you can't :( why you don't build a static version of your PHP application??? it's far easy... there are some utilities for done it :) do a search in google cheers, Valter Santos - Original Message - From: "John Monfort

Re: [PHP] md5 decrypt

2001-12-05 Thread John S. Huggins
On Wed, 5 Dec 2001, Dan McCullough wrote: >-Is there away to take a md5 encrypted password and decrypt it and give that to the >client, if they >-fogot their password. No. >- >-= >-dan mccullough >- >-"Theres no such thing as a proble

Re: [PHP] What is causing duplicate keys?

2001-12-05 Thread Jim
You should specify the column names to prevent this from happening. Such as ... INSERT INTO rcensioni (col1,col2,etc) VALUES ('value','value','etc...') Just make sure you don't specify the column that is autonumbering. Jim >Hello, > >Always struggling on my php-odbc-MS access project, I mana

[PHP] Recursive Threading with PHP and MySQL.

2001-12-05 Thread Alawi
I want to know how can i do that Recursive loop to get categories as example can any body help me by give my tutorial or any thing to understand this techniqe

[PHP] md5 decrypt

2001-12-05 Thread Dan McCullough
Is there away to take a md5 encrypted password and decrypt it and give that to the client, if they fogot their password. = dan mccullough "Theres no such thing as a problem unless the servers are on fire!" ___

Re: [PHP] Large file uploads timeout - ouch!

2001-12-05 Thread fred
Did you read my post? I did all of that *before* I posted my question. Anyone else have a suggestion? TIA Fred On Wed, 05 Dec 2001 05:16:38 -0500, Mirek Novak wrote: > fred wrote: > >> After all of this, and you give me the wrong answer. If you read the >> PHP manual, you will see that set

[PHP] Is php safe for e-commerce applications?

2001-12-05 Thread George Whiffen
What a scary day, and it just gets worse 1. A user finds their account balance is displayed incorrectly on one of my live e-commerce sites. 2. I discover that "floor()" intermittently gives the wrong answer i.e. print floor(10*(8.20 - 0.20)); Answer : 79 print floor(10*(8.10 - 0.10)); A

[PHP] What is causing duplicate keys?

2001-12-05 Thread mweb
Hello, Always struggling on my php-odbc-MS access project, I managed to successfully add a record to a table. Now, no matter what I write in the first field (random numbers, AUTO, AUTO_INCREMENT...) I get this: Insert Into recensioni VALUES (300, 'riee', 'reworew', 'wer', 2001,'IT', 2.5, 'd

Re: [PHP] How do I pass variables from a PHP script to an HTML document?

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 10:00 am, you wrote: > Alternatively, is there another way to pass variables > from a PHP script to a HTML form where I won't run into this limit? I'm not seeing why you have to redirect the user just to get a custom response. If you can instead use an include();

Re: [PHP] How do I pass variables from a PHP script to an HTMLdocument?

2001-12-05 Thread Jim
Why don't you try sessions? They make this sort of thing easy by letting you store all the data in $form and making it available on subsequent requests to this or other scripts. http://php.net/sessions Jim >Hi, > >I currently have a form that calls a PHP script when submit is >pressed. Wit

[PHP] How do I pass variables from a PHP script to an HTML document?

2001-12-05 Thread Don
Hi, I currently have a form that calls a PHP script when submit is pressed. Within the PHP script, I wish to call a custom confirmation screen. I do so by issuing the following command: Header("Location: " . $form["redirect"]); Now, I wanted my form variables passed from the PHP script to m

[PHP] Re: How can I uncompress zlib data in the browser?

2001-12-05 Thread Brian Duke
Thanks! It seems to work when I put this at the very top of my php file: ob_start("ob_gzhandler"); When I do a tcpdump on port 80, I see a small amount of garbage with that statement and huge amount of text without it. The text displays correctly in my browser either way, so it looks like it wor

RE: [PHP] PHP newbie alert

2001-12-05 Thread Jonathan Wheat
I use PHP Coder (http://www.phpide.de ) which has been changed to Maguma PHP4EE Studio. http://www.maguma.com/english/welcome.html There's a Light and a Pro version. The Light version is free -Jon -Original Message- From: shaun murphy [mailto:[EMAIL PROTECTED]] Sent: Tu

Re: [PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Kurt Lieber
That worked! Thanks! For those who may be interested, I added the following lines to my .htaccess file: # change some php.ini settings php_flag session.auto_start off Also, this obviously only works with Apache with PHP running as a module. Not sure if there's an equivalent option for IIS

Re: [PHP] Qukc days to time() conversion?

2001-12-05 Thread Andrey Hristov
Read this : http://www.mysql.com/doc/D/a/Date_calculations.html Regards, Andrey Hristov - Original Message - From: "Jeff Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:19 PM Subject: [PHP] Qukc days to time() conversion? I am prompting users for

[PHP] Qukc days to time() conversion?

2001-12-05 Thread Jeff Lewis
I am prompting users for a number of days and then wanting to pull items from a database older than the number of days. All dates are stored as timestamps in the database so wondering how I can come up witht he required timestamp to compare with? (for for example 30 days). I have a difference

[PHP] Re: mysql update query

2001-12-05 Thread Richard Creech - DreamRiver.com
Greg, You must specify the tablename :) Like this: UPDATE myTableName ... or mysql> UPDATE persondata SET age=age+1; For the official syntax visit mysql language reference at http://www.mysql.com at http://www.mysql.com/doc/U/P/UPDATE.html Kind Regards, Richard Creech [EMAIL PROTECTED] 250.744

RE: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Nicolas Guilhot
Maybe you can try to launch the sql dump file from the SQL shell, not directly from the command line. I think it will give you more feedback about what is going on. Go to the directory where you have your smarts.sql file. Just type "mysql smarts" And in the SQL shell type "\. smarts.sql" If you ar

Re: [PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Andrey Hristov
I think that I found the solution: http://www.zend.com/manual/configuration.php Regards - Original Message - From: "Andrey Hristov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:04 PM Subject: Re: [PHP] possible to override sess

Re: [PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Andrey Hristov
Try this http://www.google.com/search?hl=en&q=%22.htaccess%22+%22override%22+%22php%22+%22settings%22&spell=1 Regards, Anrey Hristov - Original Message - From: "Kurt Lieber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:06 PM Subject: [PHP] possible to

RE: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Jon Haworth
> Anyways, if any PHP people here are--god forbid--actually using MySQL as > their database, I would GREATLY appreciate any help in this matter. I've > thoroughly read the mysqldump chapter in the docs, and gone through > several tutorials, but have found nothing on actually restoring a > data

Re: [PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Jim
How about another ISP? >I've read the manual notes for ini_set, so I have a feeling the answer to my >question is no, but I'd like to make sure. > >I have no control over my ISP's php.ini file, but the fact that they have >session.auto_start set to 1 in php.ini is causing me problems. > >Is the

[PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Kurt Lieber
I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this? T

Re: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread René Fournier
That's why I cross-posted there as well. But I've found that posting to the mysql list doesn't help, more often than not--perhaps fewer subscribers. Anyways, if any PHP people here are--god forbid--actually using MySQL as their database, I would GREATLY appreciate any help in this matter. I've

Re: [PHP] delete array item and resort

2001-12-05 Thread Jim
$array = array("a","b","c"); print_r($array); unset($array[1]); print_r($array); $array = array_values($array); print_r($array); -- produces Array ( [0] => a [1] => b [2] => c ) Array ( [0] => a [2] => c ) Array ( [0] => a [1] => c ) Jim >what is the easiest way to delete an arra

Re: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 08:02 am, you wrote: > Little problem with MySQL 3.23.46 under Windows ME. I This would be an excellent question for the MySQL mailing list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] delete array item and resort

2001-12-05 Thread Mike Krisher
what is the easiest way to delete an array element and then resort the array so the elements receive the correct numbering. I was thinking something like this: $itemArray = array("red","blue","yellow"); delete("$itemArray[1]"); so key 0 is still "red" but key 2 is still yellow but is remembered

[PHP] Strange bug

2001-12-05 Thread Ernesto
Hi, I was having some problems with my PHP files (the first 3 HTML lines missing and Netscape trying to save the page to disk instead of showing it). So, I telnet'd my web server and manually issued a GET as follows: GET /anglers/index.php HTTP/1.1 And this was the response: HTTP/1.0 200 OK

  1   2   >