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
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
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
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
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
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
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]>
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
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
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
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
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]
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/
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
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
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]>
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
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
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
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
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
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
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
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'"
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,
>
>
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
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."
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
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]
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
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" <[
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
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.
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"
;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
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
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
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
-
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
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
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"
"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
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
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
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
$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.
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
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
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
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
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,
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
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
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
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
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
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
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
$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
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
$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
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
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
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?
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
$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: <>
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
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
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
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,
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 &
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
: "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
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
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
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
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
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
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
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
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
$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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
$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.
- 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
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
$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 - 100 of 538 matches
Mail list logo