Fw: [PHP] Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread Rick Emery
Try $_POST['name'] and $_POST['age'] Try $HTTP_POST_VARS['name'] and $HTTP_POST_VARS['age'] - Original Message - From: "David Scott" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, December 10, 2002 10:56 AM Subject: [PHP] Help please: Unable to get $_POST["variable"]; to work in a form. I am

Fw: [PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread Rick Emery
What version of PHP are you using? I believe that anything earlier than 4.05 does not support $_POST. Did you try $HTTP_POST_VARS['name']? This will work, regardless of version. - Original Message - From: "David Scott" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, December 10, 2002 12:54 PM

Re: [PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread Rick Emery
First, please respond to the list, not me. Second, I'm not asking the question, David Scott is. Third, I don't use " " either; I use ' ' - Original Message - From: "Victor" <[EMAIL PROTECTED]> To: "'Rick Emery'" <[E

Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-10 Thread Rick Emery
Hey Aggie, Show us the rst of the code. stristr() should not be a problem. Chances are there's a blank line elsewhere that's being sent. - Original Message - From: "KANM MD" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 2:34 PM Subject: [PHP] Question Rega

Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-11 Thread Rick Emery
iginal Message - From: "KANM MD" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 2:54 AM Subject: Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values Here is t

Fw: [PHP] Add column to table

2002-12-11 Thread Rick Emery
First, you've asked the wron list; ask the mysql list Second: ALTER mytable ADD COLUMN new column INT UNSIGNED AFTER old_column; - Original Message - From: "Shaun" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, December 11, 2002 8:25 AM Subject: [PHP] Add column to table Hi, please coul

Fw: [PHP] upload image

2002-12-11 Thread Rick Emery
If it is a GIF file, the header format is: Byte # 0 - 2 GIF 3 - 5 87a or 89a 6 - 7 Width (in pixels) 8 - 9 Height (in pixels) Be advised, the dimensions are in reverse major order; that is, 50 pixels is represented as "32 00" - Original Message - From: "Shaun" <[EMAIL PROTECTED]>

Re: [PHP] Free MySQL Hosting...again

2002-12-12 Thread Rick Emery
The page would not display for me. It did, however send the following HTML. Please note that the "?PHPSESSID" is not enclosed in delimiters. Also, PHPSESSID needs to be $PHPSESSID. Could that be the problem? Finally, dump the FRAMES. Free MySQL Hosting Free MySQL Hosting - NukedWeb

Re: [PHP] Date Formatting

2002-12-13 Thread Rick Emery
MYSQL will do all the formatting that you need. Look up sect 6.3.4, "Date and Time Functions" in mysql manual. Look at the DATE_FORMAT(date,format) command - Original Message - From: "Clint Tredway" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 11:55 AM Subj

Re: [PHP] Regex Help

2002-12-19 Thread Rick Emery
addslashes() - Original Message - From: "Jim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 11:26 AM Subject: [PHP] Regex Help Could someone show me how to use preg_replace to change this: test test test into: anotherword test anotherword basically, I

Re: [PHP] Regex Help

2002-12-19 Thread Rick Emery
o accomplish is to change 'test' into 'anotherword' only if it is not within the option tag. Thanks! - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Jim" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, Decem

Re: [PHP] date part

2002-12-19 Thread Rick Emery
Following on to the L T: $ar = explode("/",$thestring); thenL $ar[0] = 06 $ar[1] = 07 $ar[2] = 200 - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Diana Castillo'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 11:56 AM Subject: RE: [PHP]

Fw: [PHP] case statement?

2002-12-19 Thread Rick Emery
switch() { case a: case b: case c: default: } RTFM - Original Message - From: "Max Clark" <[EMAIL PROTECTED]> To: <> Sent: Thursday, December 19, 2002 12:19 PM Subject: [PHP] case statement? Hi- I was wondering if php had a case function? Instead of building a large if/elseif/

Re: [PHP] Regex Help

2002-12-19 Thread Rick Emery
ortunately, that doesn't quite accomplish the task > either. The other example for my first post would be mangled with that. > > - Original Message - > From: "Rick Emery" <[EMAIL PROTECTED]> > To: "Jim" <[EMAIL PROTECTED]>; <[EMAIL P

Re: [PHP] Question about the exit() command

2002-12-19 Thread Rick Emery
What do you mean "return to the calling page"? The exit() command simply ceases processing of PHP and HTML. I believe what you're saying is that if the user clicks on a PHP hyperlink on the first page, then goes to another page. If there is something "wrong" there, you nwant to return to the pag

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Rick Emery
switch() does not work that way. Switch uses the value in the parentheses and selects a CASE based upon that value. Read the manual. You will have to use a series of if()-elseif()-else() - Original Message - From: "Beauford.2002" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]>

Re: [PHP] login

2002-12-20 Thread Rick Emery
Do you mean loggged-in in the current browser session? If that, then cookies are good. If you mean EVER ogged in, then you'll want to look at a database, perhaps, mySQL. - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002

Re: [PHP] Re: mail()

2002-12-20 Thread Rick Emery
Actually, you don't need to send this as an html hyperlink. Simply using: http:\\www.aircharterunited.com\pages\activate_account.php?clientid=$uname Should work; it does for me. - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Decembe

Re: [PHP] Re: mail()

2002-12-20 Thread Rick Emery
that should be: http://www.aircharterunited.com\pages\activate_account.php?clientid=$uname (Grrr...that's what I get for using copy/paste from original email) - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Edward Peloke" <[EMAIL PRO

Re: [PHP] Problem with functions

2002-12-20 Thread Rick Emery
Please show a bit more of the actual code - Original Message - From: "Beauford.2002" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 9:55 AM Subject: [PHP] Problem with functions Hi, I keep getting errors in my script that says 'x' function is

Re: [PHP] Email problems.

2002-12-22 Thread Rick Emery
This is not realy a PHP question; rather, it is an OutLook question. Regardless...when you opened the OutLook window to create your mail, did you go to the Menu->Format and select "Rich Text (HTML)"" - Original Message - From: "Steve Jackson" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PR

Re: [PHP] how to specify dimensions of opened window?

2002-12-23 Thread Rick Emery
Can't do this with PHP, which is server-side. You can, however, use PHP to generate JavaScript that will set the window parameters when executed. - Original Message - From: "Jody Cleveland" <[EMAIL PROTECTED]> To: "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002

Re: [PHP] how to specify dimensions of opened window?

2002-12-23 Thread Rick Emery
Use PHP print/echo statements to create the JavaScript code, just as you would HTML code. - Original Message - From: "Jody Cleveland" <[EMAIL PROTECTED]> To: "'Rick Emery'" <[EMAIL PROTECTED]>; "Php-General (E-mail)" <[EMAIL PROTECTE

Re: [PHP] how to specify dimensions of opened window?

2002-12-23 Thread Rick Emery
Do you know JavaScript? If not, start there. print "open(\"url\",\"window_name\",\"width=400,height=300menubar=no,status=no\")"; - Original Message - From: "Jody Cleveland" <[EMAIL PROTECTED]> To: "'Rick Emery'"

Re: [PHP] MySQL vs PostgreSQL

2002-12-23 Thread Rick Emery
You accidentally published this to the wrong email list. I assume you meant to send this to the MySQL email list. - Original Message - From: "Miro Kralovic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 9:10 AM Subject: [PHP] MySQL vs PostgreSQL > Hi, > >

Re: [PHP] Forms

2002-12-23 Thread Rick Emery
For my Linux (RedHat 7.1), it's at /etc/php.ini - Original Message - From: "Vicente Valero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 10:25 AM Subject: [PHP] Forms I'm having problems using variables from a html form. I've been reading, and it seems tha

Re: [PHP] calendar solution for workgroups ???

2002-12-23 Thread Rick Emery
Another good PHP/mySQL calendar application. Group scheduling, etc. Does not have extraneous things such as web-mail. Cost is $35 http://abledesign.com/demo/calendar/ rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel."

Re: [PHP] Are there macros in PHP?

2002-12-23 Thread Rick Emery
What happened when you experimented with this code? You did try, right? - Original Message - From: "Don" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 11:57 AM Subject: [PHP] Are there macros in PHP? > Hi, > > I need to search a MySQL table bas

Re: [PHP] Populating textboxes and listboxes from a query result of a database table

2002-12-26 Thread Rick Emery
Text box: print "\n"; List box: print "\n"; while($row = mysql_fetch_array($result)) { extract($row); print "$data_title\n"; } print "\n"; - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 26, 2002 6:13 AM Subject: [PHP]

Re: [PHP] Cheap Hosting

2002-12-26 Thread Rick Emery
www.nomonthlyfees.com $200 first year, $70 per year thereafter. I put all my clients with this service. 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: Stephen To: PHP List Sent: Thur

Re: [PHP] Warning: 1 is not a valid File-Handle resource - HELP!

2002-12-29 Thread Rick Emery
The last line cannot be producing the warning; it does not refer to a file. Please show us the EXACT error message. Are you certain the file was opened? Did you try to print $stuff after reading it? Did it have the info you thought it should? - Original Message - From: "Phil Powell" <[

Re: [PHP] Recommend payment processors?

2003-01-03 Thread Rick Emery
I use PayPal. Does not require a merchant account. PHP payment interface and interaction is easy to implement. Via HTML in your webpage, you pass to PayPal the URL of the PHP script to be executed when a payment is received. - Original Message - From: "Chad Day" <[EMAIL PROTECTED]> To

Re: [PHP] Still executing afte die()?

2003-01-03 Thread Rick Emery
You'll never get to the die() statement, because you redirected with the header() statement. - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 6:14 PM Subject: [PHP] Still executing afte die()? I have a page called 404.

Re: [PHP] Mysql update problems

2003-01-05 Thread Rick Emery
what appeared when you printed the text of your query: $query = "update bloggers set cache='$blog', title='$title' where url='$address'"; print $query; I'm thinking that your single quotes preventd $blog, $title, $address form being expanded. - Original Message - From: "Jesse Lawrence"

Re: [PHP] Mysql update problems

2003-01-05 Thread Rick Emery
;jesse" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 11:50 AM Subject: Re: [PHP] Mysql update problems No, the query is working fine... all variables are printing correctly. This is what has me confused. Everything seems to be as it should, it's ju

Fw: [PHP] Unexpected $end error?

2003-01-05 Thread Rick Emery
When you get an error that points to , it means you did not close a {} or "" In this case, you did not close the: if ($row = mysql_fetch_array($result)) { Although you did close the "while do {}" immediately thereafter. - Original Message - From: "Vincent Bouret" <[EMAIL PROTECTED]> T

Fw: [PHP] time stamp screwing up

2003-01-06 Thread Rick Emery
show us your database table structure (the whole thing). the NOW() will always work with a "date" or "timestamp" field - Original Message - From: "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> To: <> Sent: Monday, January 06, 2003 11:28 AM Subject: Re: [PHP] time stamp screwing up Well i am

Fw: [PHP] Img src

2003-01-07 Thread Rick Emery
the problem is the "" before the width word it should be "\" - Original Message - From: "Ezequiel Sapoznik" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, January 07, 2003 7:30 PM Subject: [PHP] Img src I am having a parse error in the following sentence: print ""; Thanks! Ezequiel -

Re: [PHP] help - WHILE in FOREACH

2003-01-07 Thread Rick Emery
Is this your exact code? I ask, because the following should generate a parse error: echo ""; You have 3 double-quotes ("). - Original Message - From: "James Brennan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 7:29 PM Subject: [PHP] help - WHILE in FOREA

Re: [PHP] How can I redirect to another php page

2003-01-08 Thread Rick Emery
header("location: nextpage.php"); the above must be sent before any other text is output - Original Message - From: "Teo Petralia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 2:46 PM Subject: [PHP] How can I redirect to another php page Hi All! I would

Re: [PHP] building web album - design questions

2003-01-09 Thread Rick Emery
1. Store images separately with pointers in the database. It permits faster database queries. 2. 3. int imagecopyresized ( resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) - Original Message - From: "Anders Thoresson"

Fw: [PHP] What means "ioctl"

2003-01-12 Thread Rick Emery
"ioctl" is an IO controls structure. Just look at the fopen("","r"). Do you notice anything missing? - Original Message - From: <[EMAIL PROTECTED]> To: <> Sent: Sunday, January 12, 2003 3:59 PM Subject: [PHP] What means "ioctl" I got the error-message: Warning: fopen("", "r") - Inappr

Re: [PHP] Error in variable when looping

2003-01-13 Thread Rick Emery
so where is $rowe set? Show us code that calls this page - Original Message - From: "menezesd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 6:21 PM Subject: [PHP] Error in variable when looping Hello friends, I have made the following table of data and a bu

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] 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
ad queries. 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 PROTECTED]>; <[EMAIL

Re: [PHP] Problem creating array from MySql query

2003-02-17 Thread Rick Emery
will never forget how you made them feel." - Original Message - From: "Janyne Kizer" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 9:31 AM Subject: Re: [PHP] Problem creating array

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
Make it easy on yourself: $pw = md5($password); $query = "INSERT INTO penpals (email, password, username) VALUES \"$email\",\"$pw"\,\"$username\")"; mysql_query($query); $pw = md5($password); $query = "SELECT email,password,username FROM penpals WHERE email=\"$email\" && password=\"$pw\""; $res

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: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003

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 PROTECTED]> Sent: Monday, Feb

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

  1   2   3   4   5   6   >