Karl-Arne Gjersøyen karlar...@gmail.com hat am 25. April 2012 um 06:45
geschrieben:
Hello again.
I can't figure out what is wrong here.
move_uploaded_file() get error message from die() and can't copy/move
temp_file into directory bilder
I have try to chmod 0777 bilder/ but it did not
On 25 Apr 2012, at 09:45, ma...@behnke.biz wrote:
Karl-Arne Gjersøyen karlar...@gmail.com hat am 25. April 2012 um 06:45
geschrieben:
Hello again.
I can't figure out what is wrong here.
move_uploaded_file() get error message from die() and can't copy/move
temp_file into directory bilder
-Original Message-
From: Paul Halliday [mailto:paul.halli...@gmail.com]
Sent: Thursday, October 27, 2011 2:43 PM
To: PHP-General
Subject: [PHP] What is wrong with this preg_match?
I have the following:
if (isset($argc)) {
if ($argc == 1 || $argc 2 ||
On 10/27/11 11:43, Paul Halliday paul.halli...@gmail.com wrote:
if ($argc == 1 || $argc 2 || !preg_match((\d{4}-\d{2}-\d{2}),
Usage: ./process_patches.php -mm-dd
patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-01-011
The problem is that your expression basically defines a
Gary . wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint
violated');
...
public static function getMessage($ec)
{
$text = '';
if (array_key_exists($ec, Pg_Error::$errors))
{
On 28 April 2010 08:39, Gary . php-gene...@garydjones.name wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
...
public static function getMessage($ec)
{
$text = '';
if (array_key_exists($ec,
Per Jessen wrote:
Gary . wrote:
Calling it, the array_key_exists call always returns false
...
and I can't see what I've done wrong :(
Might this be better:
public static function getMessage($ec)
{
$text = '';
if (array_key_exists($ec, $errors))
{
On 4/28/10, Jochem Maas wrote:
Op 4/28/10 7:39 AM, Gary . schreef:
class Pg_Error
{
const INTEGRITY_CONST_UNIQUE = '23505';
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
...
public static function getMessage($ec)
{
On 4/28/10, Jochem Maas wrote:
class Pg_Error
{
const INTEGRITY_CONST_UNIQUE = '23505';
this is a class constant
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint
violated');
[...]
unfortunately you cannot use a
On 28 April 2010 10:57, Gary . php-gene...@garydjones.name wrote:
On 4/28/10, Jochem Maas wrote:
class Pg_Error
{
const INTEGRITY_CONST_UNIQUE = '23505';
this is a class constant
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness
Gary . wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
Shouldn't this be:
array(self::INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
...
public static function getMessage($ec)
{
On 4/28/10, Thijs Lensselink wrote:
Gary . wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
Shouldn't this be:
array(self::INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
Yes, or something very like
Gary . wrote:
On 4/28/10, Thijs Lensselink wrote:
Gary . wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
Shouldn't this be:
array(self::INTEGRITY_CONST_UNIQUE = 'uniqueness constraint violated');
On Wed, Apr 28, 2010 at 2:17 PM, Thijs Lensselink wrote:
Gary . wrote:
On 4/28/10, Thijs Lensselink wrote:
Gary . wrote:
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE = 'uniqueness constraint
violated');
Shouldn't this be:
9el wrote:
*Note:* It is worth noting that the mail() function is not suitable for
larger volumes of email in a loop. This function opens and closes an SMTP
socket for each email, which is not very efficient.
For the sending of large amounts of email, see the » PEAR::Mail, and »
PEAR::Mail_Queue
But in practice. I mean in real life you'll find the mail() function is
disabled in most servers :)
9el wrote:
But in practice. I mean in real life you'll find the mail() function is
disabled in most servers :)
That's nice, but how many is larger volumes of email? 500? 5,000?
25,000?
I note PEAR:Mail has 3 open bugs, PEAR:Mail_Mime has 23 with 3 open
support requests. PHPMailer was
Hello,
9el wrote:
*Note:* It is worth noting that the mail() function is not suitable for
larger volumes of email in a loop. This function opens and closes an SMTP
socket for each email, which is not very efficient.
For the sending of large amounts of email, see the » PEAR::Mail, and »
You forgot to mention the method of the form.
form action=... method=post ... /form
Regards,
Igor Escoar
Systems Analyst Interface Designer
--
Personal Blog
~ blog.igorescobar.com
Online Portifolio
~ www.igorescobar.com
Twitter
~ @igorescobar
On Fri, Apr 3, 2009 at 4:08 PM, Gary
Its there...
Igor Escobar titiolin...@gmail.com wrote in message
news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com...
You forgot to mention the method of the form.
form action=... method=post ... /form
Regards,
Igor Escoar
Systems Analyst Interface Designer
--
]
Sent: Friday, April 03, 2009 3:14 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is wrong with this code
Its there...
Igor Escobar titiolin...@gmail.com wrote in message
news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com...
You forgot to mention the method of the form
emails I assume you mean they have the template
you made but the variables are empty and not zero-length emails.
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
Sent: Friday, April 03, 2009 3:14 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is wrong with this code
Its
Subject: Re: [PHP] What is wrong with this code
Its there...
Igor Escobar titiolin...@gmail.com wrote in message
news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com...
You forgot to mention the method of the form.
form action=... method=post ... /form
Regards,
Igor Escoar
: [PHP] What is wrong with this code
I recieve an email, it will contain the ip address, it will also contain
the name:, email: , comments: but not the information from the form of
the name or email or comments.
The database also recieves only the ip address. So I assume those parts
are working
On Friday 03 April 2009 13:08:45 Gary wrote:
This is driving me nuts. I am getting blank emails and the only
information that is being passed to MySQL is the IP address.
Can someone tell me what is wrong with this?
form method=post action=?php echo $_SERVER['PHP_SELF']; ?
div id=important
and not zero-length emails.
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
Sent: Friday, April 03, 2009 3:14 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is wrong with this code
Its there...
Igor Escobar titiolin...@gmail.com wrote in message
news
*Note:* It is worth noting that the mail() function is not suitable for
larger volumes of email in a loop. This function opens and closes an SMTP
socket for each email, which is not very efficient.
For the sending of large amounts of email, see the » PEAR::Mail, and »
PEAR::Mail_Queue packages.
*
This is unrelated, the email sends fine. And it's one per submission.
-Original Message-
From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On
Behalf Of 9el
Sent: Friday, April 03, 2009 3:37 PM
To: Gary
Cc: php-general@lists.php.net
Subject: Re: [PHP] What is wrong
On Fri, 3 Apr 2009 15:08:45 -0400
Gary gwp...@ptd.net wrote:
This is driving me nuts. I am getting blank emails and the only
information that is being passed to MySQL is the IP address.
Can someone tell me what is wrong with this?
If this is in one file, as I assume it is, here's what is
Peter
I had the
if ( isset( $_POST['submit'] ) ) {
in there and it did not work.
I have used this on several sites, the only difference is that I was tyring
to contain it in one file. I also created a file just to process the POST,
but it still did not work.
I was thinkning it was
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
That was it, but Im sorry, I did not see that Ray had already pointed that
out, so apologies to Ray and many thanks to everyone...
gary
9el le...@phpxperts.net wrote in message
news:79d892150904031305j6e1b00d4qed0d9fbf13437...@mail.gmail.com...
Wow can't believe I missed that. I also was wondering why Ray mailed an
empty message... :)
-Original Message-
From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On
Behalf Of 9el
Sent: Friday, April 03, 2009 4:05 PM
To: Gary
Cc: php-general@lists.php.net
Subject: Re: [PHP
A definite improvement!!
Thanks!
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I morti non sono piu soli ... The dead are no longer lonely²
On 3/29/07 7:31 PM, Chris [EMAIL PROTECTED]
$result = mysql_query($sql) or die(Fatal Error :.mysql_error());
where do you define $sql?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that's because your are not running the query!!!
it has to be
$sql = INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO');
instead of
mysql_query(INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO');
Regards,
Rabih
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED]
Oh I¹m sorry! I was messing with the code when I copied it to the mailing
list. This is the actual code:
$sql = mysql_query(INSERT INTO olivejuice (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO'));
And the entire code:
?php
//Add Record Function
if($_POST['Submit']) {
$db
are you sure $_POST['Submit'] is set? i mean, do you have an input named
Submit that is set in your form?
Rahul Sitaram Johari wrote:
Ave,
Does anyone know what I¹m doing wrong?
?php
//Add Record Function
if($_POST['Submit']) {
$db = mysql_connect(localhost,usr,pwd);
Angelo Zanetti wrote:
$result = mysql_query($sql) or die(Fatal Error :.mysql_error());
where do you define $sql?
or that...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My Apologies Everyone! I gave you all the wrong code Twice!! A pox on me - I
tell you!
This is the ACTUAL code that I'm working with - and it's not working:
?php
//Add Record Function
if($_POST['Submit']) {
$db = mysql_connect(localhost,usr,pwd);
mysql_select_db(thedb,$db)
Rahul Sitaram Johari wrote:
Oh I¹m sorry! I was messing with the code when I copied it to the mailing
list. This is the actual code:
$sql = mysql_query(INSERT INTO olivejuice (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO'));
And the entire code:
?php
//Add Record Function
Because of this:
$sql = mysql_query(INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO'));
$result = mysql_query($sql) or die(Fatal Error :.mysql_error());
...you are running the query and assigning the results into $sql and then
running mysql_query again in the line below. So
On 3/29/07 10:18 AM, cajbecu [EMAIL PROTECTED] wrote:
are you sure $_POST['Submit'] is set? i mean, do you have an input named
Submit that is set in your form?
The Submit button in my form is named Submit.
The thing is, if the form is not submitted, this code is not executed (the
echo
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
My Apologies Everyone! I gave you all the wrong code Twice!! A pox on me - I
tell you!
This is the ACTUAL code that I'm working with - and it's not working:
?php
//Add Record Function
if($_POST['Submit']) {
$db =
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
Ave,
For total clarity, I¹m starting this post again. I messed up big time with
my posts.
So here¹s my actual code:
?php
//Add Record Function
if($_POST['Submit']) {
$db = mysql_connect(localhost,usr,pwd);
BY THOR! That worked! WHEN Is a reserved word and that is what was causing
the problem. Changed it to THETIME and query went through fine!!
Can't thank you enough! This was driving me crazy! Look how many mistakes I
made in just making this post in this mailing list!
Honorable *bow*
Thanks!
Daniel I like your code it¹s definitely cleaner and compact.
I have a question for you I have never used ³if($_POST) {³, instead,
always felt I needed to specify the $Submit variable to check if form is
submitted. So basically if I use ³if($_POST) {³, would it automatically mean
it¹s checking
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
BY THOR! That worked! WHEN Is a reserved word and that is what was causing
the problem. Changed it to THETIME and query went through fine!!
Can't thank you enough! This was driving me crazy! Look how many mistakes I
made in just making
Awesome! This helps. I¹ll start using this method from now on certainly
seems a lot more compliant and also actually helps eliminating the ³Submit²
button name confusion.
Thanks! Appreciated.
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W:
2007. 03. 29, csütörtök keltezéssel 10.38-kor Rahul Sitaram Johari ezt
írta:
Daniel I like your code it¹s definitely cleaner and compact.
I have a question for you I have never used ³if($_POST) {³, instead,
always felt I needed to specify the $Submit variable to check if form is
submitted.
Agreed, if there are multiple forms, I will definitely have to use either
Submit name or some form of identifier.
Thanks!
On 3/29/07 10:47 AM, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 03. 29, csütörtök keltezéssel 10.38-kor Rahul Sitaram Johari ezt
írta:
Daniel I like your code it¹s
Rahul Sitaram Johari wrote:
My Apologies Everyone! I gave you all the wrong code Twice!! A pox on me - I
tell you!
This is the ACTUAL code that I'm working with - and it's not working:
?php
//Add Record Function
if($_POST['Submit']) {
$db = mysql_connect(localhost,usr,pwd);
Thanks for the help
The line returns are specified as \r\n but in the echo they seem to all be
on one line. Could that be related to the problem. Also the addresses are
specified but seem to have been removed???
This is what I specified:
$eol=\r\n;
$mime_boundary=md5(time());
# Common
Thanks I'll have a look at this.
Robin
Jochem Maas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
phpmailer.sourceforge.net - a mailing class for php that does everything
you need, there are other alternatives - definitely beats fiddling with
all the required headers yourself.
2007. 03. 25, vasárnap keltezéssel 19.25-kor Robin Wilson ezt írta:
Thanks for the help
The line returns are specified as \r\n but in the echo they seem to all be
on one line. Could that be related to the problem. Also the addresses are
specified but seem to have been removed???
\r\n is
]
Sent: Sunday, March 25, 2007 2:25 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is wrong with this function please?
Thanks for the help
The line returns are specified as \r\n but in the echo they
seem to all be
on one line. Could that be related to the problem. Also
No sorry, both messages are the same.
Didn't mean to post it twice. Sorry.
Below is what prints out when I echo the message:
$to
[EMAIL PROTECTED]
$subject
Proposal Submission
$headers
From: 2HostMe Mailer Reply-To: Robin Wilson Return-Path: 2HostMe Mailer
Message-ID: X-Mailer: PHP v4.4.2
phpmailer.sourceforge.net - a mailing class for php that does everything
you need, there are other alternatives - definitely beats fiddling with
all the required headers yourself.
save yourself a big headache. :-)
Robin Wilson wrote:
Hello
I'm trying to do a function that emails users and
No sorry, both messages are the same.
Didn't mean to post it twice. Sorry.
Below is what prints out when I echo the message:
$to
[EMAIL PROTECTED]
$subject
Proposal Submission
$headers
From: 2HostMe Mailer Reply-To: Robin Wilson Return-Path:
2HostMe Mailer
Message-ID:
I take it there are no errors... And your using windows... Sending to
exchange... I guess with seeing what you posted, I would start by echoing
out what you have in $to, $subject, $msg, $headers. Are there any errors in
Exchange logs? Do you see the message coming into Exchange queue?
Jake
Have you changed anything in an hour? I'm too lazy to compare the two
emails...
Jake
-Original Message-
From: Robin Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 10:46 PM
To: php-general@lists.php.net
Subject: [PHP] What is wrong with this function please?
Ross wrote:
I cannot see it
If it helps... neither can we!
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stut wrote:
Ross wrote:
I cannot see it
If it helps... neither can we!
-Stut
And again:
PHP is best coded with open eyes: (O_O)
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Have anyone answers on the strange behaviour discussed in the thread ?
I has noted specially:
It works OK in PHP 4.3.6 or when line $db2 = 0; had been commented
in all described versions of PHP.
So next example works perfect:
-
I has noted specially:
It works OK in PHP 4.3.6 or when line $db2 = 0; had been commented
in all described versions of PHP.
So next example works perfect:
-
error_reporting(E_ALL);
$db1 = mysql_connect ('localhost', 'test', '1');
$db2 =
Vladimir Shiray wrote:
-
Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ...
$result = mysql_query('SELECT 1+1', $db1);
-
[snip]
$db1 = mysql_connect ('localhost', 'test', '1');
$db2 =
Radwan Aladdin wrote:
I made these three PHP files.. but I don't know where is the problem
Now that's a lie isn't it. Nearly all PHP errors/warnings/notices
display the script filename and line number where the problem was
encountered. If you can't figure out where the problem is from that
On Mon, 2003-09-15 at 15:29, Daniel Szasz wrote:
Hello
What is wrong with this code ?
$doWork = $_GET[doWork];
This is sloppy, put the quotes around the key string doWork.
echo $doWork;
echo ( BR);
if ( $doWork = 0) {
You just assigned 0 to $doWork, try using 0 == $doWork
exit;
}
Daniel Szasz wrote:
What is wrong with this code ?
== instead of =.
--
miro.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If should use double equals for comparison.. if ($doWork == 1) { etc here}.
Of course doing multiple tests like this you are better off using switch
case...
Switch ($doWork) {
Case 0:
Exit;
Break;
Case 1:
DoOne($arguments);
Hello,
This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 19:58,
lines prefixed by '' were originally written by you.
Every time i run this script i got this error:( my apache server is
very well cofigured)
Warning: Cannot send session cookie - headers already sent by (output
--- phpu [EMAIL PROTECTED] wrote:
Warning: Cannot send session cookie - headers already sent by
(output started at c:\apache\htdocs\proiect_gsm\login.php:11) in
c:\apache\htdocs\proiect_gsm\login.php on line 81
This should be obvious, but you do something on line 81 that you cannot do,
because
At 10:37 24.02.2003, Miguel Brás said:
[snip]
//logical request
if ($nome) {
$sql=aviao = '$nome' ;
}
if ($code) {
$sql=code = '$code' ;
}
$query = SELECT * FROM ssr WHERE;
$query .= $sql;
[snip]
Hi,
: [PHP] What is wrong with this?
At 10:37 24.02.2003, Miguel Brás said:
[snip]
//logical request
if ($nome) {
$sql=aviao = '$nome' ;
}
if ($code) {
$sql=code = '$code' ;
}
$query = SELECT * FROM ssr WHERE;
$query .= $sql
: Monday, February 24, 2003 9:45 AM
Subject: Re: [PHP] What is wrong with this?
At 10:37 24.02.2003, Miguel Brás said:
[snip]
//logical request
if ($nome) {
$sql=aviao = '$nome' ;
}
if ($code) {
$sql=code = '$code' ;
}
$query = SELECT * FROM ssr WHERE
[mailto:[EMAIL PROTECTED]
Envoyé : lundi 24 février 2003 11:04
À : Ernest E Vogelsinger
Cc : [EMAIL PROTECTED]
Objet : Re: [PHP] What is wrong with this?
Hi,
yes in fact it worked...I also had the $numrows with wrong mysql command, it
should be mysql_num_rows() instead
Chris Hayes [EMAIL PROTECTED] writes:
Put some quotes around the tag value for just in case the $aviao has a space
in it:
$drop_down_list .= optionvalue=\$aviao\$aviao/option;
what about if $aviao contains a double quote?
what's the proper way to handle that case?
or, in other
www.php.net/htmlentities
Michael Cook wrote:
Chris Hayes [EMAIL PROTECTED] writes:
Put some quotes around the tag value for just in case the $aviao has a space
in it:
$drop_down_list .= optionvalue=\$aviao\$aviao/option;
what about if $aviao contains a double quote?
what's
Put some quotes around the tag value for just in case the $aviao has a
space
in it:
$drop_down_list .=
optionvalue=\$aviao\$aviao/option;
what about if $aviao contains a double quote?
what's the proper way to handle that case?
or, in other words, what's the most general way
Are you using a relative url for the redirection?
Cesar Aracena wrote:
Hi all,
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I dont know which other settings are affecting my
At 03:05 25.11.2002, Cesar Aracena said:
[snip]
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I don't know which other settings are affecting my
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I dont know which other settings are affecting my
scripts. I have trouble with header(Location... because the browser is
NOT redirected.
--- Cesar Aracena [EMAIL PROTECTED] wrote:
I have trouble with header(Location... because the
browser is NOT redirected. If I set an echo statement
after I detected that the username and password using
$_POST[], the echo goes OK but if I comment the echo
and un-comment the
In response to all of you wonderful people:
Leif, yes and no... I've tried all kind of URLs
Ernest, I think you're on the right track here... I'll try that.
Kyle, no... I made those errors in the past, so now I make sure I don't
(again :)
Chris, I tend to forget to append the / after the URL
At 03:27 25.11.2002, Cesar Aracena said:
[snip]
what you mean by snoop the HTTP traffic but if it has something to do
with the server, then no I can't...
[snip]
Make a
telnet www.mydomain.com 80
and transmit
Nothing I can see. What is not working?
JohnMeyer wrote:
if (is_uploaded_file($_FILES[imagefile][tmp_name])
($_FILES[imagefile][type] != image/jpeg
$_FILES[imagefile][type] != image/gif
$_FILES[imagefile][type] != image/jpg
$_FILES[imagefile][type] != image/png))
I'm trying to weed out
JohnMeyer
if (is_uploaded_file($_FILES[imagefile][tmp_name])
($_FILES[imagefile][type] != image/jpeg
$_FILES[imagefile][type] != image/gif
$_FILES[imagefile][type]
!= image/jpg $_FILES[imagefile][type] != image/png))
I'm trying to weed out everything that isn't a .jpg, .gif, or .png.
if ($_POST['new_password1'] == || !isset($_POST['new_password1']))
echo empty input;
-Original Message-
From: Meltem Demirkus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] what is wrong?
Hi,
I want to understand what is
Try this:
$query=select max(id) as id from bc_topic;
Leave the rest the same. I'm not so sure that the max(id) selection will
populate a column named id necessarily (in fact, I think it doesn't).
That may be your problem.
Chris
Phil Schwarzmann wrote:
Here is my code...
$query = SELECT
PS Here is my code...
PS $query = SELECT max(id) FROM bc_topic;
PS $result = mysql_query($query);
PS $temp = mysql_result($result, 0, id); - this is line 8
PS echo $temp[id];
PS Here is the error I get ...
PS Warning: id not found in MySQL result index 2 in /.../upload2.php on
PS line 8
PS
Well, what's the error?
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 15:57:13 +0200
Dennis van Zanten [EMAIL PROTECTED] wrote:
I wanna do this Insert:
INSERT INTO sysdba_product_link VALUES ('','Y4DHVA0Q','CV/
Longren [EMAIL PROTECTED]
To: Dennis van Zanten [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 17, 2001 4:06 PM
Subject: Re: [PHP] What is wrong
Well, what's the error?
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 15
, 2001 4:06 PM
Subject: Re: [PHP] What is wrong
Well, what's the error?
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
- Original Message -
From: J Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 17, 2001 10:33 AM
Subject: Re: [PHP] What is wrong
It might also help to know what database you're using, as the syntax
between them all can vary slightly. PostgreSQL? MySQL? Oracle? Ingres
: Friday, August 17, 2001 10:33 AM
Subject: Re: [PHP] What is wrong
It might also help to know what database you're using, as the syntax
between them all can vary slightly. PostgreSQL? MySQL? Oracle? Ingres?
J
Dennis Van Zanten wrote:
Ofcourse sorry:
You have an error
Hi Jacky,
The problem is a HTML one. Use "http://" followed by the address in your a
href tag.
Regards,
@lvin
-Original Message-
From: Jacky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 5:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] what is wrong with this sniplet?
people,
PROTECTED]
To: Jacky [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 3:39 AM
Subject: RE: [PHP] what is wrong with this sniplet?
Hi Jacky,
The problem is a HTML one. Use "http://" followed by the address in your
a
href tag.
Regards,
@lvin
-Original Messa
?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Alvin Tan [EMAIL PROTECTED]
To: Jacky [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 3:39 AM
Subject: RE: [PHP] wha
From: Jacky [mailto:[EMAIL PROTECTED]]
people,
I tried to write out email using sniplet below, the email will write out
the
hyper link so that reciever can click on the link to go to the page.
What
happen is that the reciever recieve the actual link instead of the hyper
link I
On Wednesday 28 February 2001 22:40, you wrote:
people,
I tried to write out email using sniplet below, the email will write
out the hyper link so that reciever can click on the link to go to the
page. What happen is that the reciever recieve the actual link instead
of the hyper link I made,
1 - 100 of 105 matches
Mail list logo