[PHP] Extensions question...

2001-09-03 Thread Eric Knudstrup
I have been searching for this in the Zend docs and examples, but I don't see it anywhere. In a PHP extension how do I access the elements of an array that has been passed in? Thanks, Eric My mother's maiden name is not a password; my social security number is not a PIN - Kevin Mitnick --

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Dave Freeman
On 4 Sep 01, at 1:14, Seb Frost wrote: My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized

[PHP] password why?

2001-09-03 Thread Gary
Hello Everybody, I have a script that checks if the password and password confirm are the same on a sign up page. It seems that if the password is already in the db it prints out passwords do not match like the password and confirm do not match. Why? //check if passwords match if

[PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread M
Hello, I have table with lot of input type = text name=myfield ... fields. I need to refer these fields like vector in PHP and Javascript mode. When I write input type=text name=myfield[]... then I can see values in PHP sccript, BUT can't see values in javascript mode, thats to say

Re: [PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread pierre-yves
Hello, maybe you could have a hidden field named myfield[], this one will be for the index in php that you will build with a javascript function when you submit the form. py - Original Message - From: M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 03, 2001 10:12 PM

Re: [PHP] How to index HTML fields for Javascript and PHP at sametime?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Miguel wrote: I need to refer these fields like vector in PHP and Javascript mode. When I write input type=text name=myfield[]... then I can see values in PHP sccript, BUT can't see values in javascript mode, thats to say document.form.myfield[index].value doesnt work.

[PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Michelle Marcicki
Hi there, I have recently taken over the webmaster responsibility for an educational website. It is using PHP3 and MySQL. We had to move it to a new server, that as it turns out only supports PHP4. I have been looking through all the FAQs, resource sites, manuals and documentation, but all

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: website. It is using PHP3 and MySQL. We had to move it to a new server, that as it turns out only supports PHP4. I have been looking through all the FAQs, Are you running an Apache web server? If so, add this line to your httpd.conf file and

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
Just fiddle the configuration of the server so that it recognises .php3 files as if they were .php. In Apache, this means you find this line in the config: AddType application/x-httpd-php .php And add one just like it nearby: AddType application/x-httpd-php .php3 Also, fiddle the

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Rasmus Lerdorf
Just configure your server to serve up .php3 files as PHP 4. ie. add this line to your httpd.conf file: AddType application/x-httpd-php .php .php3 And get rid of your other AddType line. -Rasmus On Mon, 3 Sep 2001, Michelle Marcicki wrote: Hi there, I have recently taken over the

RE: [PHP] How to index HTML fields for Javascript and PHP at same time?

2001-09-03 Thread Brett
snip When I write input type=text name=myfield[]... then I can see values in PHP sccript, BUT can't see values in javascript mode, thats to say document.form.myfield[index].value doesnt work. On the other side, when I make input type=text name=myfield I can see indexed values in Javascript

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Michelle Marcicki
Sorry to all who responded already.. I guess some further clarification is needed... opps :) I am NOT running the server. I am using a local ISP (excellent guy but not really accessible on this long weekend), so I have no control over what the server's configuration is (at least until

[PHP] How to get the referer value?

2001-09-03 Thread Balaji Ankem
Hi! friend, How to get the referer value in the PHP.(getHeader(Referer)) Thanks in advance. -Balaji - Information transmitted by this E-MAIL is proprietary to Wipro Limited

Re: [PHP] How to get the referer value?

2001-09-03 Thread jacky
use http_referer(); - Original Message - From: Balaji Ankem To: [EMAIL PROTECTED] Cc: Renze Munnik Sent: Monday, September 03, 2001 10:40 PM Subject: [PHP] How to get the referer value? Hi! friend, How to get the referer value in the

RE: [PHP] How to get the referer value?

2001-09-03 Thread Jason Murray
How to get the referer value in the PHP.(getHeader(Referer)) That'll be in $HTTP_REFERER, then. (Hint: try phpInfo() and see if it's in there) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
OR is there only a server fix and nothing that I can do at my end as far as code or file name changes? Changing all your file names and links in the files is very time-consuming and not really necessary. If you can wait until tomorrow morning, the change that the guy who runs the server can

[PHP] Want mysql dump to be mailed to me....

2001-09-03 Thread sagar
Hi friends, I have a remote server running my website. I've to make the backup of the mysql db i'm using. i can use mysqldump for this. but i'm not sure where the file will be created on the server and also i want to make that file to .zip and then download it to my pc. how can i do this.

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: I am NOT running the server. I am using a local ISP (excellent guy but not really accessible on this long weekend), so I have no control over what the OOOH ... Nasty! If the admin can't add the .php3 extension for you, then you'll be stuck

Re: [PHP] Want mysql dump to be mailed to me....

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, sagar wrote: I have a remote server running my website. I've to make the backup of the mysql db i'm using. i can use mysqldump for this. but i'm not sure where the file will be created on the server and also i want to make that file to .zip and then download it to my pc.

RE: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jason Murray
OOOH ... Nasty! If the admin can't add the .php3 extension for you, then you'll be stuck renaming files, and correcting references within them. Shouldn't be hard to add either way :) If it's a unix host, it's not that painful ... just a small shell script, and a sed script. (In

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 filesto PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: Nah, in Illegal Monopoly OS, its just as easy as Apache. Rather than the web server config, I was referring to renaming all the .php3 files to have .php extensions, and combing through all the files, finding all references to .php3 files, and changing

Re: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Joel Ricker
: On Tue, 4 Sep 2001, Jason Murray wrote: : : Nah, in Illegal Monopoly OS, its just as easy as Apache. : : Rather than the web server config, I was referring to renaming all the : .php3 files to have .php extensions, and combing through all the files, : finding all references to .php3 files, and

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Jack Sasportas
One thing I noticed when I did some updates to a few of our programs, is that certain comment lines caused strange errors, and really nothing else. I basically made a backup copy removed comments, and then added them back in which made everything work...not sure if somehow the older box ( using

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: But then, the right tools make the job easy regardless of platform. For sure! I don't bother with all that clicking ... now you [Unix folk] don't have to either :) #!/bin/sh for PHP3FILE in `find . -type f -name *.php3 -print` do PHP4FILE=`echo

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Bob
Do we have spies on the ASP list? What are they doing on their end? Now don't get me wrong, I've been coding with PHP and have read every tutorial and article I can get my hands on in regards to PHP so I don't want to see my time invested go to waste. Maybe I should be asking on the developers

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Martín Marqués
On Lun 03 Sep 2001 17:49, Bob wrote: Hi Maxim, Hotmail was hot because nobody had ever seen free webmail and it spread by word of mouth. I don't know but did anyone see a hotmail commerical??? What I am saying is that if php is always following or copying the technology that happened a

[PHP] Re: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working?

2001-09-03 Thread Peter Clarke
My question is simple. Have you downloaded, compiled, and integrated the most recent versions of Apache and PHP and made them work? Not previous versions. I've seen several people have problems with doing this in the newsgroups dating from late 2000. Someone please wipe out your apache/php

<    1   2