In handling an HTTP POST request I came across some PHP code, which I
need to modify for my own purposes, which has code like this:
if ( ! (isset($_GET['x']) $_GET['x'] == 20) )
{
// Do something by returning an error
}
Can this ever be correct when the form looks like:
I have a PHP file which does an:
echo someresponse
to return some data. When I run it from a Windows client program, the
response I am seeing is not only the someresponse above but also has
the entire HTML form in the PHP file appended to it.
Naturally I do not want the form to be included
Maciek Sokolewicz wrote:
Edward Diener wrote:
I have a PHP file which does an:
echo someresponse
to return some data. When I run it from a Windows client program, the
response I am seeing is not only the someresponse above but also has
the entire HTML form in the PHP file appended
brian wrote:
Edward Diener wrote:
Maciek Sokolewicz wrote:
Edward Diener wrote:
I have a PHP file which does an:
echo someresponse
to return some data. When I run it from a Windows client program,
the response I am seeing is not only the someresponse above but
also has the entire HTML
Benjamin Hawkes-Lewis wrote:
Edward Diener wrote:
Does not the script 'exit' when the PHP code reaches the ending
'?' tag ?
Not exactly. PHP processes the remainder of the file too, it just
doesn't find any PHP code to execute therein. It does find some text to
output, and it outputs
Maciek Sokolewicz wrote:
Edward Diener wrote:
Benjamin Hawkes-Lewis wrote:
Edward Diener wrote:
Does not the script 'exit' when the PHP code reaches the ending
'?' tag ?
Not exactly. PHP processes the remainder of the file too, it just
doesn't find any PHP code to execute therein. It does
I am fairly new to PHP. What is the best way of debugging PHP scripts ?
I have put in echo statements to tell me what is happening, but perhaps
there are better methods.
I have a PHP script on a server, which I access from a client side
program ( written in C++ ) and the script is not
Dan Joseph wrote:
On Fri, Aug 29, 2008 at 11:33 AM, Edward Diener [EMAIL PROTECTED]wrote:
I am fairly new to PHP. What is the best way of debugging PHP scripts ?
I have put in echo statements to tell me what is happening, but perhaps
there are better methods.
I have a PHP script on a server
I have a JPG file on the server which I want to convert to a Windows BMP
file. How can I do this in PHP ? I did not see a GD image function for
doing this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
In Outlook ( and Outlook Express ) there is the notion of a high
priority mail item, but I do not know if this corresponds to anything in
an RFC for mail. Nor do I know how to mimic this in PHP.
Per Jessen wrote:
Edward Diener wrote:
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
printf() ?
All you need to do is a add header like X-Priority: High. It's just a
line of text.
Thanks for pointing this header out. My search for X
Per Jessen wrote:
Edward Diener wrote:
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
printf() ?
All you need to do is a add header like X-Priority: High. It's just a
line of text.
Thanks for pointing this header out. My search for X
My client application needs to send data to a PHP page in encrypted form
and have the PHP code able to decrypt it. Likewise the PHP code needs to
return data to my application encrypted and my client application needs
to be able to decrypt it.
My application is written in C++ and naturally the
, which use any software distributed with this license, make
their source code freely available to end users. If this is either not
the case or no longer the case, then I will be glad to use GnuPG.
Bastien
Sent from my iPod
On Dec 30, 2008, at 10:50 PM, Edward Diener el...@tropicsoft.com wrote
Per Jessen wrote:
Edward Diener wrote:
Phpster wrote:
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
I always thought the GNU public
Jessen p...@computer.org wrote:
Edward Diener wrote:
Phpster wrote:
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
I always thought the GNU
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT ISP
customer, the mail never gets to me. If the 'to' address is anything
other than an ATT address, the mail gets to the recipient. The PHP code
for sending the
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets to me. If the 'to' address is
anything
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached the mail server from the http server
I doubt ATT will give me access to the log files on their incoming mail
server.
--
PHP
Chris wrote:
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached the mail server from the http server
Somehow I doubt ATT gives out that sort of access ;)
Exactly.
The idea
scubak1w1 wrote:
Edward Diener el...@tropicsoft.com wrote in message
news:d9.64.21597.c829e...@pb1.pair.com...
Chris wrote:
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets to me. If the 'to' address is
anything
Shawn McKenzie wrote:
Edward Diener wrote:
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets
Chris wrote:
Any light anyone can throw on the 'nob...@myserver.com' address
would be
most welcome.
It is using the apache user @ your host name as the default. Try this:
ini_set('sendmail_from', 'whate...@wherever.com');
I will try this but I do not understand why it should work. I
Chris wrote:
Edward Diener wrote:
Chris wrote:
Any light anyone can throw on the 'nob...@myserver.com' address
would be
most welcome.
It is using the apache user @ your host name as the default. Try
this:
ini_set('sendmail_from', 'whate...@wherever.com');
I will try this but I do
25 matches
Mail list logo