Re: [PHP] forms

2003-01-13 Thread Rick Emery
Do you mean like two SUBMIT buttons? Yes. - Original Message - From: "cj" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 7:32 PM Subject: [PHP] forms G'day All Just a quick question This is really a html more than a php question. Is it possible to have two b

Re: [PHP] forms

2003-01-13 Thread Rick Emery
in HTML form: . . . in myscript.php: if(ISSET($HTTP_POST_VARS['submita'])) { } if ISSET(($HTTP_POST_VARS['submitb'])) { } - Original Message - From: "cj" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php-List (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 9:30 PM Sub

Re: [PHP] increment numbers...

2003-01-13 Thread Rick Emery
$num = sprintf("%05d",$num); - Original Message - From: "Senani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 10:21 PM Subject: [PHP] increment numbers... HI all, I need help on incrementing numbers starting with a 0 or more on php-4.2.3.

Re: [PHP] Persistent global data ?

2003-01-14 Thread Rick Emery
cookies? - Original Message - From: "Mathias Rockel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 7:33 AM Subject: [PHP] Persistent global data ? Hi all ! I am currently writing some kind of Document/File-Library in a LAMP environment. As the library sho

Re: [PHP] Persistent global data ?

2003-01-14 Thread Rick Emery
o modify the data, possibly getting access to stuff that is not meant to be seen ... no cookies =). thanks anyway ! mathias rockel - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Mathias Rockel" <[EMAIL PROTECTED]>; <[EMAIL PROTECT

Re: [PHP] data move, Please Help..

2003-01-14 Thread Rick Emery
try GOOGLE: access mysql php conversion I did - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 8:48 AM Subject: [PHP] data move, Please Help.. Ok, I know I have asked this question before and I have

Fw: [PHP] attach image with the mail command?

2003-01-14 Thread Rick Emery
this class will do all the work you need: instantiate with CMIMEMail() then attach with attachfile() add body with makebody() send with send() = /* * Notes from [EMAIL PROTECTED] 25 Mar 2000: * This library based idea of Dan Potter * Improvements: Multi attachmends in

Re: [PHP] Question about $_GET

2003-01-15 Thread Rick Emery
Make life easy for yourself: $query = "SELECT Newsheadline, News, Contact FROM news WHERE Newsid = ".$_GET['id']; - Original Message - From: "Frank Keessen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 4:50 AM Subject: [PHP] Question about $_GET Hi All,

Re: [PHP] dynamic variables in a while loop?

2003-01-15 Thread Rick Emery
for($ii=1; $ii<20; $ii++) { $helpz = "help$ii"; if(${$helpz} == "yes) { } else { } } - Original Message - From: "Philipp Hartmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 6:50 AM Subject: [PHP] dynamic variables in a while l

Re: [PHP] sending array

2003-01-15 Thread Rick Emery
show us the test1.php code. show us the test2.php code. We can't read your mind. - Original Message - From: "Danielle van Gladbach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 6:59 AM Subject: [PHP] sending array Hi, I am trying to send an array from on

Re: [PHP] Display Dates in English o_O

2003-01-16 Thread Rick Emery
look at mysql's DATE_FORMAT() Let mysql do it for you, instead of PHP - Original Message - From: Stephen To: PHP List Sent: Thursday, January 16, 2003 7:16 PM Subject: [PHP] Display Dates in English o_O I have a PHP driven site that as a time schedule. Since the site isn't exactly fille

Re: [PHP] $HTTP_GET_VARS

2003-01-17 Thread Rick Emery
Show us your code - Original Message - From: "Mike Tuller" <[EMAIL PROTECTED]> To: "php mailing list" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:05 PM Subject: [PHP] $HTTP_GET_VARS I am following an example in a book and have run into a problem with a script that I am trying

Fw: [PHP] Number Sign in String Variables

2003-01-17 Thread Rick Emery
I have data that have #, so that is not the problem. Show us more code AND your database structure. - Original Message - From: "Joab Ben Stieglitz" <[EMAIL PROTECTED]> To: <> Sent: Friday, January 17, 2003 2:25 PM Subject: [PHP] Number Sign in String Variables I have a MySQL database th

Re: [PHP] PHP Encoders and GPL License

2003-01-17 Thread Rick Widmer
hat reason. See the LICENSE file in your PHP source directory. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple date question

2003-01-20 Thread Rick Emery
Why not just get the month with another call to date("m") as well? Then call date("W) to get the week, if that's required? - Original Message - From: "adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 8:42 AM Subject: [PHP] simple date qu

Fw: [PHP] DOWNLOAD

2003-01-21 Thread Rick Emery
Neither HTML nor PHP open the "download" (Save/Save As) dialog. This is a function of the browser upon clicking any file link, other than an HTML file. - Original Message - From: "Shaun van den Berg" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, January 21, 2003 12:39 AM Subject: [PHP] DOWNL

Re: [PHP] Adding a variable to oracle that contains quotation marks??

2003-01-21 Thread Rick Emery
$query = "UPDATE ACTIVITY SET COMMENTS = \'$updatecomments\' WHERE ACTIVITY_ID =\'$actcode\'"; - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 6:53 AM Subject: [PHP] Adding a variable to oracle that contains quotation marks?? Hi Al

Re: [PHP] Input field array ends up as "Array" string

2003-01-21 Thread Rick Emery
show us code - Original Message - From: "Dan Delaney" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, January 21, 2003 8:33 AM Subject: [PHP] Input field array ends up as "Array" string Hi every body. I have a form that was originally working just fine. It had a series of input checkboxes wit

Re: [PHP] Page Rendering

2003-01-21 Thread Rick Emery
$PHP_SELF is not interpreted by the browser. The browser shows only what is sent to it; PHP variables are not sent to the browser. Take the simple solution: don't use PHP_SELF; just use the file name - Original Message - From: "Bill Arbuckle, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Fw: [PHP] $header = "Location:........" being ignored!

2003-01-21 Thread Rick Emery
if ( $_POST['passwd'] != $db['password'] ) {header("Location: loginfailed.html"); exit; } - Original Message - From: "Shams" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, January 21, 2003 3:48 AM Subject: [PHP] $header = "Location:" being ignored! Hi Group, I basically have some

Re: [PHP] ADV SQL Help Needed.

2003-01-21 Thread Rick Emery
SELECT risk_level, COUNT(*) FROM mytable GROUP BY risk_level; - Original Message - From: "[-^-!-%-" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 6:06 AM Subject: [PHP] ADV SQL Help Needed. Hello everyone, I need help with the following query. I have a t

Re: [PHP] Read Mysql & Access

2003-01-21 Thread Rick Emery
what did you find with a google search? - Original Message - From: Karl James To: php Sent: Monday, January 20, 2003 7:01 PM Subject: [PHP] Read Mysql & Access Is there a free ware program that will, allow me to take mysql dbase and convert it to ms ascess?

Re: [PHP] HELP please quickly

2003-01-22 Thread Rick Emery
g from two text files. The first text file is the file that I need to compare against the second file, and if I find one match in the second file, I need to move it to the third file. >From: "Rick Emery" <[EMAIL PROTECTED]> >Reply-To: "Rick Emery" <[EMAIL

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Rick Emery
$mailheaders = "From: [EMAIL PROTECTED]\r\nCc: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]\r\nBcc: [EMAIL PROTECTED],[EMAIL PROTECTED]"; mail("[EMAIL PROTECTED]", "$Event Ticket Form", $msg, $mailheaders); - Original Message - From: "Scott Saraniero" <[EMAIL PROTECTED]> To: <>

Fw: [PHP] Image opendialog function

2003-01-22 Thread Rick Emery
PHP cannot open a dialog on client. PHP is server-side only. Use JavaScript to open a dialog. - Original Message - From: "Steven Seijmonsbergen" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, January 22, 2003 4:52 AM Subject: [PHP] Image opendialog function Hi I'm looking for a Opendial

Re: [PHP] HELP please quickly

2003-01-22 Thread Rick Emery
Are the numbers coming from a mysql database? If so, mysql can handle this chore. - Original Message - From: "Didier McGillis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 7:21 AM Subject: [PHP] HELP please quickly Here is a brief description of what I w

Fw: [PHP] Is there a way to undo the md5() encryption??

2003-01-22 Thread Rick Emery
No. md5() is not an encryption, it's a hash. - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, January 22, 2003 3:47 PM Subject: [PHP] Is there a way to undo the md5() encryption?? Hi! Is there a way to do the decryption of the encrypted data with

Re: [PHP] mysql_fetch_row problem

2003-01-23 Thread Rick Emery
I'm gong to bet that $Location is alpha, not numeric. Therefore: $result = mysql_query("SELECT contactemail FROM loc WHERE location=\"$Location\"",$db); - Original Message - From: "Bryan Brannigan" <[EMAIL PROTECTED]> To: "Php List (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, January 23,

Re: [PHP] Who is foo & what is bar?

2003-01-23 Thread Rick Emery
It comes from the acronym, FUBAR. This is military slang that has been around since WWII. FUBAR stands for: "F**ked Up Beyond All Repair" - Original Message - From: "Uttam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 11:15 PM Subject: [PHP] Who is foo &

Re: [PHP] Strange anomolie with each() and mysql_fetch_array()

2003-01-23 Thread Rick Emery
First, if you expect only a single row returned, why are you using a while(){} construct? Second, mysql_fetch_array() does not like to operate within another function call. I've tried it on multiple occasions; failed. Third, each() operates on succeeding elements of an array; there are only two

Re: [PHP] Strange anomolie with each() and mysql_fetch_array()

2003-01-24 Thread Rick Emery
: "Daevid Vincent" <[EMAIL PROTECTED]> To: "'Rick Emery'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 7:46 AM Subject: RE: [PHP] Strange anomolie with each() and mysql_fetch_array() > First, if you expect only a single row r

Re: [PHP] WHILE IF/ELSE loop not working

2003-01-24 Thread Rick Emery
Define "fails" - Original Message - From: "Jay Fitzgerald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 3:11 PM Subject: [PHP] WHILE IF/ELSE loop not working can anyone tell me why this while loop fails? == wh

Re: [PHP] checkboxes & php

2003-01-24 Thread Rick Emery
applies to selection lists, not checkboxes - Original Message - From: "Richard Whitney" <[EMAIL PROTECTED]> To: "Greg" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 2:59 PM Subject: Re: [PHP] checkboxes & php I just logged in to my Yahoo mail account. I hav

Re: [PHP] Re: Need help.

2003-01-28 Thread Rick Emery
Show us your code...we can't read your mind. - Original Message - Thkiat wrote: > Can someone tell me what should I do to solve this problem? > > Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result > resource in /home/epcc/public_html/exoops/class/database/mysql.php on

Re: [PHP] MySQL Madness

2003-01-29 Thread Rick Emery
If you're using root, then you must use the root password in mysql_connect(). - Original Message - From: "Gibbs, Liam - SXIA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 8:45 AM Subject: [PHP] MySQL Madness First off, when executing this command: $conn

Re: [PHP] Warning: Failed opening

2003-01-29 Thread Rick Emery
index.php is not in your include path; that is, not in working directory nor c:\hp4\pear. Where is it? - Original Message - From: "Ysrael Guzmán" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 8:54 AM Subject: [PHP] Warning: Failed opening This is my prob

Re: [PHP] cookie problem....

2003-02-13 Thread Rick Emery
I always use 4 parameters in my setcookie(cookie_name,cookie_value,time,"/") Also, verify that $HTTP_POST_VARS['Name'] exists by printing it - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 7:20 AM Subject: Re: [PHP] cook

Fw: [PHP] sending e-mail with 'Bcc:' and 'Cc:' not working....

2003-02-13 Thread Rick Emery
mail("[EMAIL PROTECTED]","This Is A Subject",$message,"From: [EMAIL PROTECTED]\r\nCc: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]\r\nBcc: [EMAIL PROTECTED],[EMAIL PROTECTED]"); Separate addesses with commas. Separate CC and BCC with \r\n - Original Message - From: "Scott Fletch

Re: [PHP] problems with cookies and PHP

2003-02-13 Thread Rick Emery
setcookie("userinfo","userid",NULL,"/"); - Original Message - From: "Fireborn Silvaranth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 11:58 AM Subject: [PHP] problems with cookies and PHP ok now it will print it's value correctly

Re: [PHP] Removing a comma from a form field

2003-02-13 Thread Rick Emery
$thestr = str_replace(",","",$thestring); - Original Message - From: "Ben C." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 12:13 PM Subject: [PHP] Removing a comma from a form field I'm trying to update a field which contains a $USD figure. But when I upd

Re: [PHP] form within form

2003-02-13 Thread Rick Emery
What do you mean by "verify that info"? Do you mena verify for content, or form, or what... - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 12:22 PM Subject: [PHP] form within form I

Re: [PHP] form within form

2003-02-13 Thread Rick Emery
hp-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 12:30 PM Subject: RE: [PHP] form within form I apologize I mean when they click the 'verify' button, I verify their username and password before I allow them to update it. Eddie -Origin

Re: [PHP] problems with cookies and PHP

2003-02-13 Thread Rick Emery
In your code, it appears you are attempting to determine the value of the cookie immediately upon setting. The value of the cookie is NOT available at this point; a new page must be opened. Why are you setting time to 0? If you want cookie to disappear at end of the session, use NULL. Are y

Re: [PHP] ereg usage

2003-02-16 Thread Rick Emery
The problem is that it's looking for hyphen, - , immediately preceeding the end. Remove the $. - Original Message - From: "Peter Gumbrell" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Sunday, February 16, 2003 9:18 AM Subject: [PHP] ereg usage Could someone please te

Re: [PHP] Problem creating array from MySql query

2003-02-17 Thread Rick Emery
It helps if you show us all your code, not just what you think we might need. For isntance, what does your mysql_query() statement look like? Does it have an "or die(mysql_error()))" clause? - Original Message - From: "Janyne Kizer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monda

Re: [PHP] Problem creating array from MySql query

2003-02-17 Thread Rick Emery
where is $id set in ("SELECT affiliation FROM club_affiliations WHERE club_id=$id") Also, change to: $query = ("SELECT affiliation FROM club_affiliations WHERE club_id=$id""; $affiliation_result = mysql_query($query) or die(mysql_error()); The above will help identify b

Re: [PHP] Problem creating array from MySql query

2003-02-17 Thread Rick Emery
If you have to comment out "$affiliations[] = $affiliation_row["affiliation"];", tghen it's not working, because this is the crux of your algorithm. What error are you getting? rick "People will forget what you said. People will forget what you did. But people

Re: [PHP] Problem creating array from MySql query

2003-02-17 Thread Rick Emery
what times out? The query? rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - From: "Janyne Kizer" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTEC

Fw: [PHP] MD5 login troubles

2003-02-17 Thread Rick Emery
als WHERE email=\"$email\" && password=\"$pw\""; $result = mysql_query($query) or die(mysql_error()); rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - Fr

Fw: [PHP] check if a file has already be included

2003-02-17 Thread Rick Emery
can you use: include_once("filename"); This way, if it wasn't included, it will be. If it was included, this statement is ignored. - Original Message - From: "Greg" <[EMAIL PROTECTED]> To: <> Sent: Monday, February 17, 2003 10:18 AM Subject: [PHP] check if a file has already be includ

Re: [PHP] select query question

2003-02-17 Thread Rick Emery
SELECT * FROM mytable WHERE flags NOT IN('L','C') rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - From: "Sunfire" <[EMAIL PROTECTED]> To:

Re: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Rick Emery
I also use Redhat 7.1 and use FTP successfully. Something in your setup? rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP] why won't this work?

2003-02-18 Thread Rick Emery
I did a View->Source on the generated code and got this for the Friday Feb 28 entry: Friday February 28th 8 AM to Noon John Look at the last ... line. Fix that, and your problems may go away. - Original Message - From: "Edward P

Re: [PHP] Forms and MySql date

2003-02-20 Thread Rick Emery
mysql stores date as -mm-dd that is how the date should be entered into the form If entered in another format, you can reformat it. - Original Message - From: "Mike Tuller" <[EMAIL PROTECTED]> To: "php mailing list list" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 4:43 PM S

Fw: [PHP] Re: Mysql DB connect failure

2003-02-21 Thread Rick Emery
$db = mysql_pconnect("localhost", "test1", "test1") or die(mysql_error()); - Original Message - From: "ML" <[EMAIL PROTECTED]> To: <> Sent: Friday, February 21, 2003 9:33 AM Subject: [PHP] Re: Mysql DB connect failure Where exactly would I put the print mysql_error() ? Here is the code.

Re: [PHP] what's the matter?

2003-02-22 Thread Rick Emery
- Original Message - From: "X" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 7:36 AM Subject: [PHP] what's the matter? index.php: choice your gender male female x.php: but at last it said that the gender had not been

Re: [PHP] Problem with readfile on jpegs

2003-02-24 Thread Rick Emery
Show us code. The error refers to line 87. We need to see that, and other code surrounding 87. - Original Message - From: "Patrick Teague" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 6:45 AM Subject: [PHP] Problem with readfile on jpegs I found info on p

Re: [PHP] editing field value using selectbox with options

2003-02-25 Thread Rick Emery
$titles = array("Mr.","Ms.","Mrs.","Dr.","Capt."); print "\n"; foreach($titles as $value) { if($row['title]==$value) $sel="SELECTED"; else unset($sel); print "$value\n"; } print "\n"; - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL

Fw: [PHP] help me please

2003-02-25 Thread Rick Emery
You don't have to break up the strings: mail("$ToName <$ToEmail>",$ToSubject, $EmailBody, "From: $FirstName <$Email>"); What are values of $ToName and $FirstName? why did you submit tghis 3 times? - Original Message - From: "bionicegg" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, February 2

Re: [PHP] Submit buttons

2003-02-25 Thread Rick Emery
Yes, you can. Simply give the buttons differnt names: in the PHP script: extract($HTTP_POST_VARS); is( isset($submit1) ) { } else if( isset($submit2) ) { } - Original Message - From: "Greg" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, February 25, 2003 2:11 PM Subject: [PHP] Submit butt

Re: [PHP] Submit buttons

2003-02-25 Thread Rick Emery
in the PHP script: extract($HTTP_POST_VARS); if( isset($submit1) ) header("location: thispage.php"); else if( isset($submit2) ) header("location: thatpage.php"); - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: [PHP] Auto Incrementing a Variable name?

2003-02-25 Thread Rick Emery
You're on the right track: for ($i = 1; $i <= 3; $i++) { $arr_name[$i] = $name$i; // I want $name1,$name2,$name3 etc } - Original Message - From: "Jeff Pauls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 3:18 PM Subject: [PHP] Auto Incrementing

Fw: [PHP] checking if module exists

2003-02-26 Thread Rick Emery
Write a test script and run it on the target server. If it crashes, it's not enabled. - Original Message - From: "Jun" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, February 26, 2003 7:38 AM Subject: [PHP] checking if module exists I want my script to compress the output using gzip librar

Fw: [PHP] Re: Checking for empty values sent from a form

2003-03-06 Thread Rick Emery
foreach($HTTP_POST_VARS as $val) if($val=="") { do something } - Original Message - From: "shaun" <[EMAIL PROTECTED]> To: <> Sent: Thursday, March 06, 2003 7:45 AM Subject: [PHP] Re: Checking for empty values sent from a form thanks for your reply but I was wondering if there was

Re: [PHP] Problem updating

2003-03-06 Thread Rick Emery
Is this HTML in a print or echo statement? If not, then the variables will not display. You can View Source to verify this. - Original Message - From: "Steve Jackson" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 8:27 AM Subject: [PHP] Problem u

[PHP] variables??

2003-03-25 Thread Rick Gaine
. I suspect it is a configuration option I missed some place, just don't know what one. Also, the new 4.3.1 and one of my scripts fails because fopen() can't find a file, yet this works on the older version. Any help is appreciated. Rick -- PHP General Mailing List (http://www

Re: [PHP] Re: How to add new user to the domain

2002-07-24 Thread Rick Widmer
. No coding on my part at all, just install a few packages. http://inter7.com/freesoftware/ http://www.qmail.org Some people have hundreds of domains and tens of thousands of users on a small cluster of servers. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-24 Thread Rick Widmer
opy in the new httpd file then apachectl restart to update the server. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Help reg. create user and allocate space

2002-07-29 Thread Rick Widmer
pecifies and allocate him some space of the server, say 2mb. If this is on Linux, BSD or some UNIX, take a look at Qmail + Vpopmail and use a virtual domain so at least your email users aren't assigned shell accounts on the server. http://www.qmail.org http://www.inter7.com

Re: [PHP] inserting info into db

2002-07-29 Thread Rick Widmer
as doing it, I would probably INSERT a mostly empty record in the database when they start the survey. It would just have the info to identify the person. Then on each page of the survey you can UPDATE the fields for that page. If you want to allow them to make changes it should be pretty ea

[PHP] Help!!! CVS install broke for me!

2002-08-02 Thread Rick Kukiela
ok, i do a make and it makes fine but when the make install i get an infinite loop of this error: Warning: mkdir(): File exists in /usr/local/src/php4/pear/System.php on line 235 I went to the code and i tried putting a line that says this: if(file_exists("$newdir")) { $ret = exec("/bin/rm -rf

[PHP] How to post from a php script

2002-08-12 Thread Rick Horrix
I want to POST variables from one php page to another without any user interaction. I can achieve this using header( "Location ...?var1=xx&var2=yy" ) passing the vars like a GET, but I don't want the vars to be visible to the user in the browser address field. Is it possible to do this. TIA smart

[PHP] Re: How to post from a php script

2002-08-12 Thread Rick Horrix
server side redirect. Is this the only solution or are there other work-arounds ? Thanks Rick Kai Hinkelmann <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Create a form only with hidden-fields (your values) and no visible fields or > butto

[PHP] Window/Page/Browser/Screen width

2002-08-28 Thread Rick Selby
he display. I'd rather not use java, because many people have it turned off (even though I wouldn't be exploiting it!) Cheers, --Rick __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Em

Re: [PHP] Window/Page/Browser/Screen width

2002-08-28 Thread Rick Selby
Woah, sorry, somehow I missed that thread. Cheers. --- DL Neil <[EMAIL PROTECTED]> wrote: > Hi Rick > > Check out list archives for last week (and the week before...) keyword: > resolution. > > Also check out HTML, which will cheerfully slap text and graphics toge

Re: [PHP] Re: threads in Apache 1.3

2002-09-06 Thread Rick Widmer
At 08:04 PM 9/5/02 -0500, Richard Lynch wrote: > >I use persistant database connections and I wonder, if one connection is > >always in use by one page or by more? > >Each thread will end up having a connection. > >Actually, it will have a connection for *each* username/password combination >used

[PHP] PHP and Special Characters

2002-09-11 Thread Rick King
. Is this a problem within PHP or HTML? Has anyone else encountered this problem before? If so, what was the workaround? Any help would be greatly appreciated! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Text from web form

2002-09-11 Thread Rick King
idn't have MySQL installed) --with-apxs=/opt/apache/bin/apxs Here's my config line for installing Apache: CC=gcc ./configure --prefix=/opt/apache \ --enable-module=most \ --enable-shared=max Any help would be greatly appreciated! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: replacing mail()

2002-09-18 Thread Rick Widmer
ram and injects mail onto the qmail queue. I just replaced the /sbin/sendmail program with a link to /var/qmail/bin/sendmail and all programs on the server, including PHP send mail through it. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Efficiency

2002-09-18 Thread Rick Widmer
HP when the script ends. Rick >a) a sql loop where everything is displayed/formatted using echo stmts, >like this: > >$result = mysql_query("SELECT * FROM news WHERE active=1"); >while ($row = mysql_fetch_object($result)) { > echo "$row->title "; >

Re: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Rick Widmer
undergoing steady change, " Don't expect to see a stable PHP for Apache 2 until the interfaces stop changing with almost every version. There is great work being done on PHP for Apache 2, but it seems to need to be updated with every new version of Apache, and they are coming out fast

[PHP] PHP Include Help

2002-09-30 Thread Rick Beckman
es them all together, ignoring the line breaks. Is there a way to script PHP to add the line breaks, or should the line break HTML just be inserted everywhere needed in all my separate files? All help is appreciated! -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ --- Outgoing mail is cert

[PHP] Including Text File in PHP/HTML Template

2002-09-30 Thread Rick Beckman
s from 7 on, but it jumbles them all together, ignoring the line breaks. Is there a way to script PHP to add the line breaks, or should the line break HTML just be inserted everywhere needed in all my separate files? All help is appreciated! -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ ---

[PHP] Thanks!

2002-10-01 Thread Rick Beckman
Thanks, Erwin! -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Erwin wrote: >> On line "6", I have the list of musicians in the song. >> Example (ignore the quotes): "Doyle Lawson -- lead vocal; Dale Perry >> - >> - bass vocal" >> Is there

Re: [PHP] Apache 1.3.26 + PHP 4.2.3

2002-10-01 Thread Rick Widmer
At 01:54 PM 10/1/02 +0200, Erwin wrote: >James Mackie wrote: > > Since I installed apache from source and not an RPM I do not have an > > rc file that the service command would use. I start apache in the > > rc.local file. -USR1 should be the 'NICE' way to reload the > > configuration files as per

[PHP] Recursive Replace

2002-10-02 Thread Rick Beckman
ost popular part of my website, and unfortunately it's down until I get this code figured out. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Recursive Replace

2002-10-02 Thread Rick Beckman
' out of '$info[$i]'. At least I found it before I frustrated myself. Thanks anyway! :-) -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: > > > That line of code successfully will display lines 7 and on of an > included text file into my HTML boi

Re: [PHP] Recursive Replace

2002-10-02 Thread Rick Beckman
Thanks everyone! Works great! :-) If only I would have noticed how obvious it was before trying making it more difficult than I had to. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Mike Ford wrote: >> -Original Message- >> From: Rick Beckman [mailto:[EMAIL PROTECT

[PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
e included page in another directory? Right now, the only way to do it is to have the URL as "page.php?include=files/1". Currently, here is the code I use to takes the $include URL variable and makes the file accessible in the template: $info = file($include); -- Kyrie Eleison, Rick

Re: [PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
n (i.e., the server files). -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ John W. Holmes wrote: >> I have a page set up that loads the contents of a text file into an >> HTML template using PHP. (i.e. something.com/page.php?include=1 >> where "1" is a simple no-ex

[PHP] Umm... Uh-oh

2002-10-04 Thread Rick Beckman
eave the entire system exposed. Yeah, that fits with my luck. :-) -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: > Sarcasm aside, I do have the script set up (although I didn't note so > in the last response) to not accept files with '.' or &#

[PHP] the files I'm working with

2002-10-04 Thread Rick Beckman
what I want it to do. When finished, the includes directory will have dozens of files (numbered 1 and up), as you can see from the dropdown list in song.php . Thanks for the help. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: > Okay, I was mistaken... There is a ga

[PHP] Re: the files I'm working with

2002-10-04 Thread Rick Beckman
Outlook Express added a .dat extension to the "1" file... The actual files I'm working with do NOT have extensions. Just wanted to clear that up. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: > song.php is the file that I'm using as my temp

[PHP] Re: $B$($($H(B

2002-10-04 Thread Rick Beckman
they do offer "clarification by human translators" for only 31 bucks... I suppose if the problem is great enough, someone will shell out the cash. Other than that, no dice. --? Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ $B>>K\AO(B wrote: > $B$3$l$C$F$I$&$d$C$F2rFI$9$k$s

[PHP] Re: $B$($($H(B

2002-10-04 Thread Rick Beckman
And I see my post got butchered... Well, that's what I get for trying to help. :-\ -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: > The best translation I could find comes from worldlingo.com ... > $B$3(B $B$l(B $B$C(B $B$F(B $B$I(B $B$&(B 

[PHP] Includes

2002-10-07 Thread Rick Beckman
ed on their own (possibly by password protecting [htaccess] the directory they are in)? Thanks in advance for any help. -- Kyrie Eleison, Rick Beckman www.spiritsword.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
to add XML into the mix. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
x27;t even see, just so you can use the latest buzzword in describing your site. I'm sure they'll say NO! It is never worth anything that makes it take longer to display a page to the user. Sorry I missed this in the last message... it is important. Rick -- PHP General Mailing List

Re: [PHP] Inserting a variable into a mysql_query() statement

2002-10-16 Thread Rick Emery
$query = "DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\""; mysql_query($query,$bb) or die(mysql_error()); or: mysql_query("DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\"", $bb); = Phil Clark wrote: >I'm trying to insert the va

[PHP] Time-zone self adjuster

2002-10-16 Thread Rick Faaberg
(I am new here, so excuse my recycled questions. Is there an archive?) What's a primo date/time display script that gets server time and adjusts to the client time zone automatically? Most I've seen have hard-coded GMT offsets, which I don't want. Thanks Rick -- PHP Gener

<    1   2   3   4   5   6   7   8   9   10   >