Personally, and I know I'm not alone here... I keep E_NOTICE enabled
Then you're both mad. Users really shouldn't see any error regardless,
so error reporting IMO should be off entirely. A blank screen that you
can blame on a variety of things is far preferable to users knowing
that your
On 8/2/08, Richard Heyes [EMAIL PROTECTED] wrote:
Personally, and I know I'm not alone here... I keep E_NOTICE enabled
Then you're both mad. Users really shouldn't see any error regardless,
so error reporting IMO should be off entirely. A blank screen that you
can blame on a variety of
Then you're both mad. Users really shouldn't see any error regardless,
so error reporting IMO should be off entirely. A blank screen that you
can blame on a variety of things is far preferable to users knowing
that your website is broken. In production I keep error_reporting set
to 0. There
I have this:
form method=PUT action=work.php
File: input type=file /
input type=submit value=Submit /
/form
Looking in my webserver logs, it changes that to a GET.
Ideas anyone? The receiver is PHP and I am pretty sure I know how to
handle it once it is properly PUT-ted.
(I run nginx for the
enctype=multipart/form-data eventually?!
mike schrieb:
I have this:
form method=PUT action=work.php
File: input type=file /
input type=submit value=Submit /
/form
Looking in my webserver logs, it changes that to a GET.
Ideas anyone? The receiver is PHP and I am pretty sure I know how to
I have a file that works from the URL like:
www.mysite.com/cronjob.php
and this file includes references to uploaded files like this:
/home/mysite/public_html/dir/subdir/filename.xml
and this is used in functions like filemtime(). The uploaded files are
found on the server using the above
Hi,
i'm currently analyzing an e-shop system.
i understand how to display products and so on, however i still have some
question marks on the following topics:
1. what is the best way for showing product image ?
- to store them in DB or onto filesystem as simple image files ?
- each product
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
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 to it.
Naturally I do not want
Alain Roger wrote:
Hi,
i'm currently analyzing an e-shop system.
i understand how to display products and so on, however i still have some
question marks on the following topics:
1. what is the best way for showing product image ?
- to store them in DB or onto filesystem as simple image files
form method=PUT action=work.php
File: input type=file /
input type=submit value=Submit /
/form
Looking in my webserver logs, it changes that to a GET.
You could use Fiddler to verify what type of requests your browser is making:
http://www.fiddlertool.com
If it is indeed the browser,
mike wrote:
I have this:
form method=PUT action=work.php
File: input type=file /
input type=submit value=Submit /
/form
Looking in my webserver logs, it changes that to a GET.
Ideas anyone? The receiver is PHP and I am pretty sure I know how to
handle it once it is properly PUT-ted.
(I run
Jim Lucas wrote:
Rod Clay wrote:
I'm creating a website in php and I've noticed that many websites seem
to remember where the user is on the page,
You are probably referring to a name=/a tag placement.
If in your web page you place an anchor tag like this:
a name=SomeName/a
Then in the
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 to it.
ioannes wrote:
I have a file that works from the URL like:
www.mysite.com/cronjob.php
and this file includes references to uploaded files like this:
/home/mysite/public_html/dir/subdir/filename.xml
and this is used in functions like filemtime(). The uploaded files are
found on the server
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 form in the PHP
On Sat, 2008-08-02 at 09:15 +0100, Richard Heyes wrote:
Personally, and I know I'm not alone here... I keep E_NOTICE enabled
Then you're both mad. Users really shouldn't see any error regardless,
so error reporting IMO should be off entirely. A blank screen that you
can blame on a variety
On Sat, 2008-08-02 at 10:32 +0100, Richard Heyes wrote:
Then you're both mad. Users really shouldn't see any error regardless,
so error reporting IMO should be off entirely. A blank screen that you
can blame on a variety of things is far preferable to users knowing
that your website is
Here' the snippet I use on all my code files. Default is create and add to error log file on the
current dir.
I generally echo $error_reporting to remind myself that the error reporting is
active.
if(true) // TRUE for debug only
{
ini_set(display_errors, on); //use off if users
I've never tried it for this type of application; but, html Map may be a neat approach since you
won't need JS or any special client-side code, just plain old html.
Rod Clay wrote:
I'm creating a website in php and I've noticed that many websites seem
to remember where the user is on the page,
brian wrote:
A better way to do that is to give some block element--a header, a div,
etc.--an ID. That works exactly the same as a name=
It should work the same. But it doesn't in older user agents or with
older assistive technology:
On Sat, Aug 2, 2008 at 12:52 PM, Al [EMAIL PROTECTED] wrote:
Here' the snippet I use on all my code files. Default is create and add to
error log file on the current dir.
I generally echo $error_reporting to remind myself that the error reporting
is active.
if(true) // TRUE for debug only
On Sat, 2008-08-02 at 13:34 -0400, Daniel Brown wrote:
On Sat, Aug 2, 2008 at 12:52 PM, Al [EMAIL PROTECTED] wrote:
Here' the snippet I use on all my code files. Default is create and add to
error log file on the current dir.
I generally echo $error_reporting to remind myself that the
On Sat, Aug 2, 2008 at 1:40 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Hmmpf!
Oh, God, it's tasted human blood!
Cut the crap, Rob. Don't even try to act innocent in front of the
list, denying that you threw that chair through my window and punched
me in the throat all because I
On Sat, 2008-08-02 at 13:53 -0400, Daniel Brown wrote:
On Sat, Aug 2, 2008 at 1:40 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Hmmpf!
Oh, God, it's tasted human blood!
Cut the crap, Rob. Don't even try to act innocent in front of the
list, denying that you threw that chair
On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Sorry, I hired a profession for the chair throwing-- my bulldog Steve
Ballmer!
More wasteful spending by the Canadian. You know that he's just
going to wind up finding a way to introduce new bugs into the act of
On 8/2/08, Al [EMAIL PROTECTED] wrote:
Here' the snippet I use on all my code files. Default is create and add to
error log file on the current dir.
The problem is if the script is fubar, it won't read the error_log ini
override...
Open question for all:
Even though I have error_reporting set
On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote:
On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Sorry, I hired a profession for the chair throwing-- my bulldog Steve
Ballmer!
More wasteful spending by the Canadian. You know that he's just
going to
On 8/2/08, Benjamin Hawkes-Lewis [EMAIL PROTECTED] wrote:
I can appreciate why one might imagine otherwise, but XHTML 1.x forms only
support GET and POST. GET and POST are the only allowed values for the
method attribute.
Sigh. That makes sense then.
So to test my script I need to use curl
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
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 it. That text happens to be a form.
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 it.
I've been running the script below:
?php
$appIds = getLotsOfAppIds();
foreach ($appIds as $appId) {
echo $appId\n;
//echo memory_get_usage() . \n;
try {
$getBundles = getBundles($appId);
$numBundles = count($registeredBundles);
echo $numBundles . \n;
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 find some text
to output,
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 just switched over an app from PHP 4 to PHP 5, and one of the weird
things I'm noticing initially is that some of the html output seems to
be html entitized. For example, a link that was showing up in html
output as:
a href=http://metaphilm.com/philm.php?id=29_0_2_0;Is Tyler Durden
Hobbes?/a
Somehow .. I feel this isn't PHP Related.
On Sat, Aug 2, 2008 at 11:08 AM, Robert Cummings [EMAIL PROTECTED]wrote:
On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote:
On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Sorry, I hired a profession for the chair
On Sun, Aug 3, 2008 at 12:22 AM, Chacha C [EMAIL PROTECTED] wrote:
Somehow .. I feel this isn't PHP Related.
Boy, nothing gets by you, eh? Welcome to the list, new meat.
--
/Daniel P. Brown
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel
38 matches
Mail list logo