Re: [PHP] Re: probs with exec, pls help (still)

2001-09-03 Thread David Robley
On Mon, 3 Sep 2001 19:36, taz wrote: > Hi > > I've put the full path in for mysql, i've included -h -u -p and > included the paths of the txt & table files > > Still don't work. > > I'm logged in as root, working on my own box (linux) . > I'm really struggling with this one. > Has anyone out ther

[PHP] Thankyou, whoever

2001-09-03 Thread Seb Frost
Someone on this list yesterday exposed a large hole on one of my php scripts. Dunno who you are but thankyou. I could have lost sales in that loophole :-) I know it was off of this list because that's the only place I made that link public. Some lucky guy on BT openworld - wish I could get tha

[PHP] Attaching stuff

2001-09-03 Thread Max Mouse
I want to be able to include a graphic or something of that sort in a form mail (using mail() from ). Is this possible? Max -- 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 admini

RE: [PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
Hmmm, I suppose the files and the php server may be on different machines - hadn't thought of that :-) I guess I need to make a compromise on my script then. - seb -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher William Wesley Sent: 04 September

RE: [PHP] Attaching stuff

2001-09-03 Thread Jason Murray
Yep, But you need to use a MIME email with file attachments. Simple way to produce a MIME email: http://planetkiller.shadow.net.au/mime-php.txt Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Max Mouse [mailto

[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 resi

Re: [PHP] Am I right or wrong?

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 10:50, Dave Freeman wrote: > to change their policy or vote with your feed and move elsewhere. Somehow I think they'd be less than pleased if he were to tip his feed all over their server :-) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FO

[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 ($pas

[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 fields. I need to refer these fields like vector in PHP and Javascript mode. When I write 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 I

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

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 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

[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 r

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 Director

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 webma

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

2001-09-03 Thread Brett
>When I write 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 I can >see indexed values in Javascript BUT not in PHP script. I use the following in my javascript to w

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 tomorr

[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

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 PHP.(getHeader

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

Re: [PHP] password why?

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 12:06, Gary wrote: > 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

[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. Please

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 renami

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

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 Il

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 th

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] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Jason Murray
> 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 > them to refer to .php files. I know exactly how to do it ... I > do similar tasks routine

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 pi

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=`e

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

[PHP] PHP_SELF NEW.....?????

2001-09-03 Thread Ardani Sarjito
hi! I have tried to undersatand the usage of PHP_SELF but I still don't get it. Could anybody please explain it in simple palin English to this poor slow guy who has just learn PHP? Thank you so much for reviewing this email. I'm just tring to make a game which require this function but luck is

Re: [PHP] PHP_SELF NEW.....?????

2001-09-03 Thread David Robley
On Tue, 4 Sep 2001 08:58, Ardani Sarjito wrote: > hi! > > I have tried to undersatand the usage of PHP_SELF but I still don't get > it. Could anybody please explain it in simple palin English to this > poor slow guy who has just learn PHP? > > Thank you so much for reviewing this email. > > I'm j

[PHP] How to replicate a table in Mysql?

2001-09-03 Thread Balaji Ankem
Hi friend, I want to replicate the table which is existed in database of Mysql. Thanks in advance. Regards -Balaji - Information transmitted by this E-MAIL is proprietary to

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-03 Thread Ardani Sarjito
Thanks for your quick reply. my next question is: how does it work when I use PHP_SELF to send a value of a variable to the same page? Thanks! Ardani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] PHP_SELF NEW.....?????Continue

2001-09-03 Thread Jason Murray
> my next question is: how does it work when I use PHP_SELF to > send a value of a variable to the same page? You use it to point your there. Now, if the file this form is in gets renamed from foo.php to bar.php, the form won't break. Jason -- Jason Murray [EMAIL PROTECTED] Web Develop

RE: [PHP] PHP_SELF NEW.....?????Continue2

2001-09-03 Thread Ardani Sarjito
Hi again! Thank you for those who have reply my email. Actually I'm trying to make a hangman game for my students. I have seen one game written using PHP_SELF but I can't understand who it works. So, with the PHP_self (in my hangman game) I probably can send the value of my variable to the sam

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 happene

[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

<    1   2