[PHP] Test if File Exist, if not, use default file name

2001-03-06 Thread Andrew V. Romero
in c:\server\apache\htdocs\survey\questionanswer.phtml".Ideally it would not display this message and just check if the testQA file is around and if not then just terminate with an error message of my choice. -Thanks for any ideas, Andrew V. Romero To reply personally, remove a

[PHP] Search display *.txt files in dir

2001-03-13 Thread Andrew V. Romero
Is there a way to have php display all the .txt files in a directory? I checked in the manual but didn't see anything that would seem to help me do this. Thanks for any help. -Andrew V. Romero To reply personally, remove all numbers from my address. -- PHP General Mailing List (http

[PHP] Multi-Step Script

2001-03-13 Thread Andrew V. Romero
statements to evaluate where the program is in relationship to the forms, would this type of system work? What do you guys do? -Andrew V. Romero To reply personally, remove all numbers from address. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Search display *.txt files in dir

2001-03-13 Thread Andrew V. Romero
Wow, that exact question was asked. Sorry everyone. Thanks anyway. David Robley wrote: On Wed, 14 Mar 2001 15:20, Andrew V. Romero wrote: Is there a way to have php display all the .txt files in a directory? I checked in the manual but didn't see anything that would seem to help me do

[PHP] command that gives current location of script

2001-03-17 Thread Andrew V. Romero
I though in flipping through the manual that I had come across a command that gives the location of where the script is being run from, but I have been searching for half an hour and can't find it now. Isn't it something like $php_self? Anyone kow what I am talking about? Thanks, Andrew V

[PHP] Ensuring that Form is only submitted once (session vars?)

2001-12-21 Thread Andrew V. Romero
that the user doesn't use the back button to resubmit a form, and secondly why am I getting this errors when I just cut and paste the example code into a sample page? Thanks for any direction and help, Andrew V. Romero -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Email files as attachments

2001-12-21 Thread Andrew V. Romero
across a way to attach a file to it. Thanks for any information, Andrew V. Romero -- 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]

[PHP] Licensing??

2001-12-28 Thread Andrew V. Romero
and use their product for free, what do they get out of it? Thanks for any information, Andrew V. Romero -- 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

[PHP] Writing Array to File w/o blank lines

2002-01-13 Thread Andrew V. Romero
this? Thanks for any ideas, Andrew V. Romero -- 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]

[PHP] Writing array to file w/o blanks- Update

2002-01-13 Thread Andrew V. Romero
, Andrew V. Romero -- 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]

[PHP] Re: PHP-JavaScript

2002-01-20 Thread Andrew V. Romero
Would it be possible to have javascript insert a hidden input tag in the html and then php could pick it up? Just an idea, Andy Mëòv î‰çîÎ òsyïn wrote: Is it posible to get values from javascript to PHP? Without having to post the variables.. Thanks //Mårten

[PHP] PHP to another language

2002-01-20 Thread Andrew V. Romero
on what languages they would be okay with, but thought I would start to check into the problem here first. Thanks for any information, Andrew V. Romero -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Determining IP address

2001-09-05 Thread Andrew V. Romero
of the hospital. Instead of having user names and passwords, I thought it would be eaiser if I just checked the IP address, especially since this is not a program that really has to be secure, but I would like to prevent just anyone from using it. Is this possible with php? Thanks, Andrew V. Romero

[PHP] Order of focus for text entry inputs

2001-09-13 Thread Andrew V. Romero
? In general I have not seen any javascript inside a php script, although judging from a few other messages, this does seem to be possible. Thanks for any ideas, Andrew V. Romero -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Passing Variables and the include command

2001-09-18 Thread Andrew V. Romero
, Andrew V. Romero -- 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]

[PHP] Not losing variables in forms w/ checkboxes

2001-05-18 Thread Andrew V. Romero
into one value seperated by commas and have it still with the name of suspendingAgent. Thanks for any ideas, Andrew V. Romero To reply personally, remove all numbers from my address. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] 3d array-number of elements in each dimension

2001-05-22 Thread Andrew V. Romero
elements there are. Thanks for any help, Andrew V. Romero -Please remove all numbers from address to reply personally.- -- 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

Re: [PHP] 3d array-number of elements in each dimension

2001-05-22 Thread Andrew V. Romero
I should clarify that I need to determine the number of elements in $j for each row ($k). Thanks, To reply personally, remove all numbers from address. Andrew V. Romero wrote: I have a 3d array $ingredientsInfoSplit[$i][$j][$k] and this array is contains $i-row that data (a compounded

[PHP] Read one word in file

2001-04-05 Thread Andrew V. Romero
irst space is encountered. Is there a function to do that or will I need to create a for loop that goes through and compares each substring of 1 character to " ", and then once that " " is found, create a substring up until that " " character was found? Any ideas? --Andrew V

[PHP] html forms, reading writing data, etc

2001-04-07 Thread Andrew V. Romero
wer 1 here A2. Answer A2 here C. Answer C here. I was playing around with putting all the $currentQuestionNumber into an array (as you can see from the commented out section) in hopes that then I could use those to refer to the actual answer but that didn't work. So how would you go about doing