On 25 Apr 2012, at 09:45, ma...@behnke.biz wrote:
> "Karl-Arne Gjersøyen" 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
>>
"Karl-Arne Gjersøyen" 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 help.
> Also
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 help.
Also I have try to chown www-data.www-data bilder/ since Ubuntu Server
run apache as www-
On 10/27/11 11:43, "Paul Halliday" wrote:
>if ($argc == 1 || $argc > 2 || !preg_match("(\d{4}-\d{2}-\d{2})",
>
>Usage: ./process_patches.php
>
>patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-01-011
The problem is that your expression basically defines a 'contains'-type
search, so
-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 || !preg_match("(\d{4}-\d
I have the following:
if (isset($argc)) {
if ($argc == 1 || $argc > 2 || !preg_match("(\d{4}-\d{2}-\d{2})",
$argv[1])) {
echo "\nUsage: $argv[0] \n\n";
exit;
} else {
$base_date = $argv[1];
}
} else {
$base_date = date('Y-m-d');
}
When I run it:
$ ./proce
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
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 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 some
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 28 April 2010 10:57, Gary . 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
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');
[...]
> unfortunate
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)
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 28 April 2010 08:39, 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))
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))
>
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))
{
$text = Pg_Error::$errors[$ec
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 »
> P
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 mention
But in practice. I mean in real life you'll find the mail() function is
disabled in most servers :)
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
[PHP] What is wrong with this code
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a
Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubunt
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" wrote in message
news:79d892150904031305j6e1b00d4qed0d9fbf13437...@mail.gmail.com...
>
---
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
--
On
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 something
On Fri, 3 Apr 2009 15:08:45 -0400
"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?
>
If this is in one file, as I assume it is, here's what is happeni
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
*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.
*
N
ng like print_r on $_POST to see if it contains *anything*,
>> seems like it's empty?!
>>
>> Also, when you say blank emails I assume you mean they have the template
>> you made but the variables are empty and not zero-length emails.
>>
>> -Original Mes
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?
>
>
>
>If you can see this, it's an anti-spam measure. Please don't
ubject: Re: [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
a
p...@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" wrote in message
> news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.co
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
d.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" wrote in message
news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com...
> You forgot to mention the &q
Its there...
"Igor Escobar" wrote in message
news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com...
> You forgot to mention the "method" of the form.
>
> ...
>
> Regards,
> Igor Escoar
> Systems Analyst & Interface Designer
>
> --
>
> Personal Blog
> ~ blog.igorescobar.com
> Onli
You forgot to mention the "method" of the 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 wrote:
> This is driving me nuts. I
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 you can see this, it's an anti-spam measure. Please don't
fill in the address field.
Address
Name:
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]>
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:
$WHEN, $WHAT, $WHO";
$sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','
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
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
> submitt
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: ht
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 ma
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
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!
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:
$WHEN, $WHAT, $WHO";
$sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO')";
$result = m
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:
$WHEN, $WHAT, $WHO";
$sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
Ave,
For total clarity, I¹m starting this post again. I messed up big time with
my posts.
So here¹s my actual code:
$WHEN, $WHAT, $WHO";
$sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO')";
$result = mysql_query($sql) or die("Fatal Error :".
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
e
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. S
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:
$WHEN, $WHAT, $WHO";
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:
$WHEN, $WHAT, $WHO";
$sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO')";
$result =
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
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?
>
> //Add Record Function
> if($_POST['Submit']) {
> $db = mysql_connect("localhost","usr","p
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:
$WHEN, $WHAT, $WHO";
$sql = mysql_query("
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 PROTECT
$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
Ave,
Does anyone know what I¹m doing wrong?
$WHEN, $WHAT, $WHO";
mysql_query("INSERT INTO tbl (WHEN, WHAT, WHO) VALUES
('$WHEN','$WHAT','$WHO')";
$result = mysql_query($sql) or die("Fatal Error :".mysql_error());
echo "~: message sent
:~";
}
?>
I have
L PROTECTED]
> 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
> o
f the Proposal Submission Form
> > you filled in
> > at 2HostMe Media Services Logo / produktnaam test Thema / slogan:
> > Steekwoorden* Aantal (ca.): Kleur item: Budget (minimum en
> > maximum prijs in
> > euros) tussen euro en euro per produkt item Gewenste
> > le
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.
ut 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
>
>
>> -Original Message-
>> From: Robin Wilson [mailto:[EMAIL PROTECTED]
>> Sent: Friday, March 23, 2
n
> Opmerkingen / aanvullende info
> --d49718178131ebc038c576f007a40642--
>
>
>
> ""Jake McHenry"" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >I take it there are no errors... And your using windows... Sending
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
Friday, March 23, 2007 9:53 PM
To: php-general@lists.php.net
Subject: [PHP] What is wrong with this function please?
Hello
I'm trying to do a function that emails users and sends an
attachment. But I
think something is in the wrong order or something as when I send it
Exchange discards it.
This
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
> -Original Message-
> From: Robin Wilson [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 23, 2007 9:53 PM
> To: php-general@lists.php.net
> Subject: [PHP] What is wrong with this function please?
>
> Hello
>
> I'm trying to do a function that emails users a
Hello
I'm trying to do a function that emails users and sends an attachment. But I
think something is in the wrong order or something as when I send it
Exchange discards it.
This is the function which I have put together from various sources:
I would really appreciate any help as I have been
Hello
I'm trying to do a function that emails users and sends an attachment. But I
think something is in the wrong order or something as when I send it
Exchange discards it.
This is the function which I have put together from various sources:
I would really appreciate any help as I have been
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: http://w
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
I cannot see it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 = mysql_
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 =
Can one explain me why I has got a result:
-
Warning: mysql_query(): 4 is not a valid MySQL-Link resource in ...
$result = mysql_query('SELECT 1+1', $db1);
-
from next example.
The example does not wo
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 yo
Hello..
I made these three PHP files.. but I don't know
where is the problem
Login.php -> This will grab the
UserName, Password and Serial fields by GET then compare them with the one in
the database (After MD5 them)
Activate.php --> For the admin.. he can
activate user
on't break it's like
an OR statement/gate;
Carl.
-Original Message-
From: Daniel Szasz [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] What is wrong with this code ?
Hello
What is wrong with this code ?
$doWork = $_GET[doW
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
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 ( "");
> if ( $doWork = 0) {
You just assigned 0 to $doWork, try using 0 == $doWork
>
Hello
What is wrong with this code ?
$doWork = $_GET[doWork];
echo $doWork;
echo ( "");
if ( $doWork = 0) {
exit;
}
else
{
if ( $doWork = 1) {
?>
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- 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,
bec
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 (outp
I have this script to login to site:
..
if ($_POST['email'] == "" || $_POST['password'] == "")
{
print 'Email or password cannot be blank !Back';
exit;
}
include ("connect_mysql.php");
$crpass=md5($_POST['password']);
$sql = "SELECT * FROM users W
> > Put some quotes around the tag value for just in case the $aviao has a
space
> > in it:
> > $drop_down_list .=
"$aviao";
>
> 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 to solve this pr
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 .= "$aviao";
what about if $aviao contains a double quote?
what's the proper way to handle
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 .= "$aviao";
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
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() ins
ROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 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 = '$no
he data from DB. He displays all records on DB
available at aviao field, but he is not making the correct mysql query...
Anyone knows why?
- Original Message -
From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]>
To: "Miguel Brás" <[EMAIL PROTECTED]>
Cc: <[EMA
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, here's the script
*
";
$connection = mysql_connect($host, $user, $pass) or die ("Erro de execução.
Informe-nos sobre a situação!");
mysql_select_db($db) or die ("Erro de execução. Informe-nos sobre a
situação!");
$queryaviao="SELECT * FROM ssr ORDER BY avia
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 s
L. Aracena
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(0299) 156-356688
Neuquén (8300) Capital
Argentina
-Mensaje original-
De: Cesar Aracena [mailto:[EMAIL PROTECTED]]
Enviado el: domingo, 24 de noviembre de 2002 23:06
Para: [EMAIL PROTECTED]
Asunto: [PHP] What is wrong here?
Hi all,
I'm
--- 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
>
> hea
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.
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 m
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
script
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
scripts. I have trouble with header("Location... because the browser is
NOT redi
1 - 100 of 130 matches
Mail list logo