Re[2]: [PHP] Self Submitting Form

2004-02-21 Thread Toby Irmer
Hi Sam, I did that only because I was too lazy to upload and did the testing locally so I could grab the value in Javascript. Of course it works with post as well... test.html form name=myform1 method=get action= input type=hidden name=myvar1 value=testing script

Re: [PHP] undelivery mails

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 01:41, Ryan A wrote: If you are sending out html mails you can learn a lesson from the low life bastard spammers, but in your case for a good cause (i hope), Write a script so that each email has a unique identifier as spedified in the database and from the email

Re: [PHP] Error

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 10:02, Tim Trimble wrote: Warning: Failed opening '/var/www/html/phpadmin/index.php' for inclusion (include_path='.:/php/include :/usr/share/php') in Unknown on line 0 Can you direct me to a fix for this... Look at php.ini and check the settings for the

Re: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 14:39, Dave G wrote: Any advice would be most welcome. Well, you asked for it. The usage of str_replace() is not exactly rocket science, since the output is not what you expected just juggle your search replacement strings until it does what you want. -- Jason

[PHP] delete a function

2004-02-21 Thread Sztank Demeter
Hello! Is there any way to delete (unset) a function? I want to write some function with one constantyl defined name, then call a function_manager function, that will gice this function an unique name, than delete the original function, so I can start the process from the beginning. I will call

[PHP] PHP Session question. Please help!

2004-02-21 Thread Bon
Hi, I've got a session problem that I don't understand. Here's the setup. There are 2 frames, frame1 and frame2 (within frame1). Frame1 is simply a static html page like the following: frameset rows=0,* frameborder=NO border=0 framespacing=0 frame src=http://mysite.ca/blank.html;

[PHP] Re: [PEAR] Re: PEAR DB 1.6.0 has been released

2004-02-21 Thread Lukas Smith
Justin Patrin wrote: I think you're confusing the issue. PEAR DB does support many databases, but it only loads the code for the ones that you are currently using. So if you're using one database it is effectively a one database API. Jakes wrote: What is performance like using this class?

[PHP] Simple example of expiring download pages?

2004-02-21 Thread Brian Dunning
Hi, I'm building a very simple online store and I need expiring download pages for people to download the items they purchased. Surprisingly, I couldn't find an example of this code online. I know how to do it in Lasso, and it's quite easy. You just search the database against download

php-general Digest 21 Feb 2004 13:41:53 -0000 Issue 2603

2004-02-21 Thread php-general-digest-help
php-general Digest 21 Feb 2004 13:41:53 - Issue 2603 Topics (messages 178419 through 178441): CMS and images, how? 178419 by: Toby Irmer Re: Self Submitting Form 178420 by: Toby Irmer 178432 by: Sam Masiello 178433 by: Tom Rogers 178434 by: Toby

[PHP] Help with SQLite and ADOdb

2004-02-21 Thread user
I'm working on a website whose hosting package doesn't include any db (except maybe gdbm). I've install sqlite in the home directory. The question is what adjustment do I have to make to my PHP script and ADOdb in order for it to exicute SQLite in from the account home direcory? TIA, Davd -- PHP

[PHP] How can I use a value from a Html's Form

2004-02-21 Thread qm
hi,all! if anyone can tell me how can i use a value from Html Form! I know, it is use like as %=Request.Form(item_name)% in a ASP's script. What i can do in a PHP script for a same function? Thanks! Mr.Zhaori

[PHP] Safe Mode

2004-02-21 Thread php4
Hi, I'm running PHP4.3 with Apache 1.3.26 on Linux with a number of vittual domains. Safe_mode is set by default for obvious reasons. I wan't to install gallery http://gallery.menalto.com/modules.php?op=modloadname=Newsfile=index It requires to be run without safe_mode. Is it possible to set

[PHP] Re: PHP class for XSL transformations?

2004-02-21 Thread memoimyself
On 20 Feb 2004 at 16:25, Juan Torres wrote: you try with XMLDOM Functions. You look this function: DomXsltStylesheet-process -- Applies the XSLT-Transformation on a DomDocument Object Thanks Juan, but I'm actually looking for a class that I can upload to a site rather than an extension

Re: [PHP] How can I use a value from a Html's Form

2004-02-21 Thread John Nichel
[EMAIL PROTECTED] wrote: hi,all! if anyone can tell me how can i use a value from Html Form! I know, it is use like as %=Request.Form(item_name)% in a ASP's script. What i can do in a PHP script for a same function? Thanks! Mr.Zhaori The manual is your friend...

: Re: [PHP] How can I use a value from a Html's Form

2004-02-21 Thread qm
The manual is your friend... http://www.php.net/manual/en/language.variables.external.php -- By-Tor.com It's all about the Rush http://www.by-tor.com = It is work now. Thank you very much! Mr.Zhaori

RE: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-21 Thread Dave G
Well, you asked for it. The usage of str_replace() is not exactly rocket science, since the output is not what you expected just juggle your search replacement strings until it does what you want. It's not as if I haven't experimented with different settings, but they haven't been

Re: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-21 Thread Jason Wong
On Sunday 22 February 2004 00:23, Dave G wrote: It's not as if I haven't experimented with different settings, but they haven't been successful. By settings one usually means something which alters behaviour, as such str_replace() does not have any settings. In any case, rocket science or

Re: [PHP] Simple example of expiring download pages?

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 21:41, Brian Dunning wrote: Hi, I'm building a very simple online store and I need expiring download pages for people to download the items they purchased. Surprisingly, I couldn't find an example of this code online. I know how to do it in Lasso, and it's quite

Re: [PHP] Safe Mode

2004-02-21 Thread Lucas Gonze
On Saturday, Feb 21, 2004, at 09:18 America/New_York, [EMAIL PROTECTED] wrote: Is it possible to set Apache in such a way that everyting is run under safe-mode, except for a directory and everything underneath in a virtual domain? Very likely yes, if your admin permits it. The place to look

[PHP] tow dimenshional arrays

2004-02-21 Thread joe-at
Hallo, 1) I want to work with the rows und columns of a tow dimensional array[i][j]. With array[i] I get the i'th row. But how can I get the j'th column? 2) Is there any command to transpose a two dimensional array? Thanks for help -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: HTML email problem: IMAP

2004-02-21 Thread Ryan A
Hey, Thanks, even that htmlmail example was a bit too much for my needs but in 10 mins I cut it down to the simple stuff I wanted to do (just send a html message with a text part...). I really didnt need the attachment part/s and cut that out. There are still 2 parts I really dont understand even

Re: [PHP] delete a function

2004-02-21 Thread Adam Bregenzer
On Sat, 2004-02-21 at 06:02, Sztankó Demeter wrote: Hello! Is there any way to delete (unset) a function? No, why would you really want to delete a function? I want to write some function with one constantyl defined name, then call a function_manager function, that will gice this function

[PHP] Re: tow dimenshional arrays

2004-02-21 Thread Manuel Vázquez Acosta
As far as I know, there is no such a function. Maybe you should use a different approach. Manu. Joe-At [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hallo, 1) I want to work with the rows und columns of a tow dimensional array[i][j]. With array[i] I get the i'th row. But how can

[PHP] HELP!!!

2004-02-21 Thread Will
Hello All, I am trying to do a modify script. The problem is I can get only one thig to work, it is either the tables modified or the photos uploaded not both here is my code: HTML FORM: pbImage File Name:/bbr input type=text name=female_image value=?echo $female_image;? size=30

[PHP] PHP Error

2004-02-21 Thread Tim Trimble
May be the cause is, that you've specified some include file with include('somefile'); but the file doesn't exist in /usr/share/php dir, which is the default path for include (.inc) files to be saved. OK, I see your point. The problem is I don't know what file/ directory it's looking for, so I

[PHP] set global working??

2004-02-21 Thread Terry Romine
Not quite a mystery, but I wondered if anyone could throw a couple of suggestions my way. My client's websites were moved last year from an old php server to a newer one. At that time, I had to upgrade all her scripts because set_globals were off on the new server, and so I went to using

RE: [PHP] set global working??

2004-02-21 Thread electroteque
you can turn register globals off using htaccess, i dont have an example for you but that should fix it. -Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED] Sent: Sunday, February 22, 2004 10:37 AM To: [EMAIL PROTECTED] Subject: [PHP] set global working?? Not quite a

[PHP] using xp home

2004-02-21 Thread danny cobbinah
is it better to use apache 1.3.29 or apache 2.0.48? i am having the worst trouble ever trying to get this thing to work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: tow dimenshional arrays

2004-02-21 Thread adwinwijaya
Hello Manuel, Sunday, February 22, 2004, 5:47:02 AM, you wrote: MVA As far as I know, there is no such a function. Maybe you should use a MVA different approach. MVA Manu. MVA Joe-At [EMAIL PROTECTED] wrote in message MVA news:[EMAIL PROTECTED] Hallo, 1) I want to work with the rows und

Re: [PHP] Safe Mode

2004-02-21 Thread user
Lucas Gonze wrote: On Saturday, Feb 21, 2004, at 09:18 America/New_York, [EMAIL PROTECTED] wrote: Is it possible to set Apache in such a way that everyting is run under safe-mode, except for a directory and everything underneath in a virtual domain? Very likely yes, if your admin permits it.

Re: [PHP] Safe Mode

2004-02-21 Thread Lucas Gonze
On Saturday, Feb 21, 2004, at 20:17 America/New_York, [EMAIL PROTECTED] wrote: Lucas Gonze wrote: On Saturday, Feb 21, 2004, at 09:18 America/New_York, [EMAIL PROTECTED] wrote: Is it possible to set Apache in such a way that everyting is run under safe-mode, except for a directory and

Re: [PHP] Re: tow dimenshional arrays

2004-02-21 Thread Manuel Vázquez Acosta
Namaste Adwinwijaya: I meant there's no PHP function neither to get a column nor to transpose the matrix. The first answer you gave us, retrieves the amount of items in the column, not the column itself as an array. And the second one, just prints the matrix, but does not transpose it. Joe-At:

Re: [PHP] using xp home

2004-02-21 Thread Gerard Samuel
Cant say for XP home, but on XP Pro, I've run both without any problems. Just follow the instructions at the php manual... On Saturday 21 February 2004 07:11 pm, danny cobbinah wrote: is it better to use apache 1.3.29 or apache 2.0.48? i am having the worst trouble ever trying to get this

Re: [PHP] Safe Mode

2004-02-21 Thread Marek Kilimajer
Lucas Gonze wrote: On Saturday, Feb 21, 2004, at 20:17 America/New_York, [EMAIL PROTECTED] wrote: Lucas Gonze wrote: On Saturday, Feb 21, 2004, at 09:18 America/New_York, [EMAIL PROTECTED] wrote: Is it possible to set Apache in such a way that everyting is run under safe-mode, except for a

[PHP] Re: How can I use a value from a Html's Form

2004-02-21 Thread John Romero
You can use the $myvalue = $_REQUEST['htmlvariable']; to grab the variable you want. -johnr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi,all! if anyone can tell me how can i use a value from Html Form! I know, it is use like as %=Request.Form(item_name)% in a ASP's script.

php-general Digest 22 Feb 2004 02:47:25 -0000 Issue 2604

2004-02-21 Thread php-general-digest-help
php-general Digest 22 Feb 2004 02:47:25 - Issue 2604 Topics (messages 178442 through 178467): Help with SQLite and ADOdb 178442 by: user.domain.invalid How can I use a value from a Html's Form 178443 by: qm.fuwanjia.com.cn 178446 by: John Nichel 178447 by:

[PHP] Objects and Arrays - need help?

2004-02-21 Thread John Romero
Here is my code. Two files: 1) myclass.php 2)test.php to instantiate the objects. I have two classes. One is a parts class with some basic properties in an array. And the other class is the repair class which needs to hold MANY parts. In the repair class, I have a $partsarray so that I can just

[PHP] PHP Error

2004-02-21 Thread Tim Trimble
Can anyone tell me what linux and php is asking for here, this dir. and file is at this location, and chmoded to 755. Failed opening required './libraries/grab_globals.lib.php' (include_path='.:/php/includes:/usr/share/php') I guess what I'm asking is, it says the path is .:/php/includes I

[PHP] running php through cron

2004-02-21 Thread Pablo Gosse
Hi folks. I've got a quick question about security when running a php script through a cron job. I've got a cron job set up that executes every minute and looks for idle users and pending content within a cms. I know that if I wanted to execute the script with an exec() call from within another

Re: [PHP] PHP Error

2004-02-21 Thread John Nichel
Tim Trimble wrote: Can anyone tell me what linux and php is asking for here, this dir. and file is at this location, and chmoded to 755. Failed opening required './libraries/grab_globals.lib.php' (include_path='.:/php/includes:/usr/share/php') I guess what I'm asking is, it says the path is

Re: [PHP] running php through cron

2004-02-21 Thread Jason Wong
On Sunday 22 February 2004 11:12, Pablo Gosse wrote: I know that if I wanted to execute the script with an exec() call from within another php script I would need to chmod +x it. I don't seem to need to do this with a cron job, as I use the following command in the cron job, php

Re: [PHP] running php through cron

2004-02-21 Thread Adam Bregenzer
On Sat, 2004-02-21 at 22:12, Pablo Gosse wrote: php /home/pablo/cmsutil/CMS_monitor.php and the permissions on CMS_monitor.php are as follows: -rw-rw-r--1 pablopablo3636 Feb 21 00:48 CMS_monitor.php My question is under these permissions could someone else with an

RE: [PHP] running php through cron

2004-02-21 Thread Pablo Gosse
snip php /home/pablo/cmsutil/CMS_monitor.php and the permissions on CMS_monitor.php are as follows: -rw-rw-r--1 pablopablo3636 Feb 21 00:48 CMS_monitor.php My question is under these permissions could someone else with an account on this server execute this file? I'm

[PHP] sql expression

2004-02-21 Thread Marc Greenstock
Hi all, I am trying to provide a star sign search so that the user can search for any given star sign eg Gemini and retrieve all the users who belong to that sign. I have a table with all the star signs, in the table are the fields 'Name','From','To'. Both the 'From' and 'To' are an integer of

[PHP] Email - format

2004-02-21 Thread Sheni R. Meledath
Hello: Can any body provide me with a regular expression (as per the latest standards) to check the validity of an email address. I am using some of the below formats. But these formats are not handling all the email addresses. Format I:

[PHP] Re: sql expression

2004-02-21 Thread Marc Greenstock
Ok I spoke too soon, I did this: SELECT * FROM users WHERE ((MONTH(user_data.User_DOB) * 100) + DAYOFMONTH(user_data.User_DOB)) BETWEEN 521 AND 621 as in I multiplied MONTH with 100 and added the DAYOFMONTH Marc. Marc Greenstock [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

Re: [PHP] sql expression

2004-02-21 Thread John W. Holmes
Marc Greenstock wrote: I have a table with all the star signs, in the table are the fields 'Name','From','To'. Both the 'From' and 'To' are an integer of the relevant dates eg in the 'Gemini' row I have: Gemini, 521, 621 (521 means May 21st, 621 means June 21st). I hope I'm explaining my self ok.

Re: [PHP] Email - format

2004-02-21 Thread John W. Holmes
Sheni R. Meledath wrote: Can any body provide me with a regular expression (as per the latest standards) to check the validity of an email address. This is covered over and over and over, 100s of times (literally) in the manual. Look through the comments in either of the regular expression

[PHP] Re: Email - format

2004-02-21 Thread Manuel Lemos
Hello, On 02/22/2004 02:47 AM, Sheni R. Meledath wrote: Please suggest a regular expression which will reject only email addresses which are 100% invalid. You may want to take a look at this class that not only does regular expression e-mail address validation rejecting only addresses that have