All of a sudden I am having problems with www.php.net, selecting
download or manual flashes up the relevant page, and then it goes blank.
It's doing it on three machines that have been accessing those pages
fine for weeks, with both Firefox1 and Mozilla1.7, and nothing has been
changed on the
PHP is scripting language interpreted and not compiled.
I want know about the difference beetwean the bytecode of JSP and ASP.NET
than PHP-Accelerator. Why this extension isn't a built-in into Zend
Engine parsing ?
This is a better solution to comparison the performace of PHP versus
other
I have exactly the same problem. I've never had problems displaying the
php.net site with Firefox before, but now suddenly it flashes the correct
page for a short moment before it goes blank. It seems like I'm beeing
redirected to a new location. If I manage to hit the Esc-button, before I'm
exec() function is not working.
Is there any setting in PHP.ini
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Tommy,
Monday, January 10, 2005, 9:30:23 AM, you wrote:
TS I have exactly the same problem. I've never had problems displaying the
TS php.net site with Firefox before, but now suddenly it flashes the correct
TS page for a short moment before it goes blank. It seems like I'm beeing
TS
Lester Caine wrote:
All of a sudden I am having problems with www.php.net, selecting
download or manual flashes up the relevant page, and then it goes blank.
It's doing it on three machines that have been accessing those pages
fine for weeks, with both Firefox1 and Mozilla1.7, and nothing has
John Holmes wrote:
I switched from using the us2.php.net mirror to the us4.php.net mirror
and things were fine.
That has been 'knobled' now.
At least now I know I'm not going mad ;)
--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List
akshay wrote / napsal (a):
exec() function is not working.
Is there any setting in PHP.ini
Do you use PHP5?
If yes, use instead: example: $var=shell_exec('ls');
trobi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 10 Jan 2005 06:58:21 +0600, Raditha Dissanayake
[EMAIL PROTECTED] wrote:
Alex Greg wrote:
(apologies if this reaches the list twice - the first time I sent it,
it didn't arrive within 12 hours)
Hi,
Recently I migrated the front-end of our bulletin board (running
phpBB, patched
Hello,
I'm experiencing a weird thing regarding sessions - that I'm using for
user authorisation.
I have a page that the public can view (index.php) that includes a
login button. When the login button is clicked a new window pops-up and
asks for username and password. The user is then
Lester Caine wrote:
John Holmes wrote:
I switched from using the us2.php.net mirror to the us4.php.net mirror
and things were fine.
That has been 'knobled' now.
At least now I know I'm not going mad ;)
it's because of an issue with the JS scripts. Just have to wait and see
if anyone gets to
If I have a form with elements like
input type=text name=example[1]
input type=text name=example[2]
If example was not an array it would be accessed using
$_POST[example]
But how do I access the varable if it is an array like above.
Ben
M. Sokolewicz wrote:
Lester Caine wrote:
John Holmes wrote:
I switched from using the us2.php.net mirror to the us4.php.net mirror
and things were fine.
That has been 'knobled' now.
At least now I know I'm not going mad ;)
it's because of an issue with the JS scripts. Just have to wait and see
$_POST[example][1]
$_POST[example][2]
If I have a form with elements like
input type=text name=example[1]
input type=text name=example[2]
If example was not an array it would be accessed using
$_POST[example]
But how do I access the varable if it is an array like above.
Ben
--
PHP
What do you guys recommend for making thumbnails from uploaded images? I
know of the GD extension, Imagemagik and netpbm. Any other
recommendations or opinions on which of the above work best with PHP?
Thanks.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
Trying to get my head around relationship between/use of $_GET, $_POST and
$_REQUEST.
It seems to me that $_REQUEST is most useful as if it is used in place of
$_POST/$_GET it would be possible to change posting method without changing the
code.
I am kind of assuming that $_REQUEST is and
Be carfull with this super var. This var is a merge of the GET, POST and
FILES, and so only 1 index can only exists. If you have an index in the POST
field called 'test' and also and index calles test in the FILES or GET var,
than only one index of them is avaible and the other are gone
I
Benjamin Edwards wrote:
I am kind of assuming that $_REQUEST is
and aggregate of $_POST, $_GET and $_FILES.
Is this correct or are there differences.
It's a combo of $_GET, $_POST and $_COOKIE.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The
[snip]
Josh, I am interested in what you mean by but there may be a better
overall approach.
The reason I say that is because, though I'm no expert on application
design, in my own code I've found that whenever I'm tempted to use a big
switch, it's probably a better idea for me to make a class
M. Sokolewicz wrote:
M. Sokolewicz wrote:
Lester Caine wrote:
John Holmes wrote:
I switched from using the us2.php.net mirror to the us4.php.net
mirror
and things were fine.
That has been 'knobled' now.
At least now I know I'm not going mad ;)
it's because of an issue with the JS scripts.
Sagar C Nannapaneni wrote:
Hi,
I've got a strange issue here
i'm using apache2 with php 4.3.9 on win 2000.
I've pointed the php extension directory to
extension_dir = C:\php\extensions
where all the extension dlls reside.
All extensions are working and all dlls are loading properly,,
What do
Kioto wrote:
PHP is scripting language interpreted and not compiled.
I want know about the difference beetwean the bytecode of JSP and ASP.NET
than PHP-Accelerator. Why this extension isn't a built-in into Zend
Engine parsing ?
This is a better solution to comparison the performace of PHP versus
What was your question?
Well if the problem is continuing sessions you need to either use
cookies or append a session id to the end of a URL.
--
Teach a person to fish...
Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general
Please respond to the newsgroup and not to my personal email.
quoteIs it a file access/ownership thing?/quote
This is possible. Have you checked permissions for PHP user? My
original question remains unanswered though and it is probably a better
place to start...
extension_dir =
John Holmes wrote:
What do you guys recommend for making thumbnails from uploaded images? I
know of the GD extension, Imagemagik and netpbm. Any other
recommendations or opinions on which of the above work best with PHP?
Thanks.
--
Good choice,
http://coppermine.sourceforge.net/demo/
---
By default, the program that generated this error will also be
killed; however, this (and whether or not an error message is
generated) can be controlled via the MALLOC_CHECK_ environment
variable. The following settings are supported:
0 -- Do not generate an
Bret Hughes wrote:
As I begin to write this I wonder if this really an apache issue but
will ask here to see if anyone has some idea.
We have a php interface to our system running apache 2 on fedora 1 box.
One page calls a script that does a system() call on a script that runs
for several
Tim Burgan wrote:
The a user is not logged in, all links within the page work fine, but
when the user IS logged in, a hyperlink from one page to another page
(whose URL contains a different 'keyword') doesn't work. The browsers
address bar updates to reflect the new page, but the web page
Thomas Goyne wrote:
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote:
that's not a SPECIFIC place in the array, that's just current, next and
previous. AFAIK there is no way to explicitly set the internal pointer
of the array to a spcified place. I used a function
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running RH8.
There were a number of PHP scripts that I had configured to send out
email for notices or passwords or the like. However, now that I've
upgraded I can't send
James \(IFMS\) wrote:
I'm struggling to narrow this down, and am chasing my tail to figure
this out. I apologise for the imprecise nature.
PHP: 4.3.2 (latest RHEL 3 version; php-4.3.2-19.ent.src.rpm)
OS: Linux kernel 2.4.21-15.0.3.EL
Distro: RHEL 3, all updates
I have an app that defines
Is it possible to put information into $_REQUEST super global array with
using POST or GET?
My problem is that I need information to be available globally but I don't
want to use a form to do it.
Any pointers would be greatly appreciated.
--
PHP General Mailing List (http://www.php.net/)
Rory Browne wrote:
I don't know much about frames(I hate the things), but the only thing
I'd count on would be that the main frame will be loaded first. would
it be possible to load your session variables in this?
I wouldn't even count on the WHOLE file being loaded either...
EG:
FRAMESET ...
Elvie Limbo wrote:
Is it possible to put information into $_REQUEST super global array with
using POST or GET?
My problem is that I need information to be available globally but I don't
want to use a form to do it.
Any pointers would be greatly appreciated.
$_SESSION ? It won't be in the
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running RH8.
There were a number of PHP scripts that I had configured to send out
email for notices or passwords or the like. However, now that
On Mon, 2005-01-10 at 11:28, Richard Lynch wrote:
Thomas Goyne wrote:
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote:
that's not a SPECIFIC place in the array, that's just current, next and
previous. AFAIK there is no way to explicitly set the internal pointer
Elvie Limbo wrote / napísal (a):
Is it possible to put information into $_REQUEST super global array with
using POST or GET?
My problem is that I need information to be available globally but I don't
want to use a form to do it.
Any pointers would be greatly appreciated.
use sessions or
Elvie Limbo wrote:
Is it possible to put information into $_REQUEST super global array with
using POST or GET?
My problem is that I need information to be available globally but I don't
want to use a form to do it.
Any pointers would be greatly appreciated.
E. Yeah, I guess...
On Mon, 2005-01-10 at 10:17, Richard Lynch wrote:
Bret Hughes wrote:
As I begin to write this I wonder if this really an apache issue but
will ask here to see if anyone has some idea.
We have a php interface to our system running apache 2 on fedora 1 box.
One page calls a script that
Elvie Limbo wrote:
Is it possible to put information into $_REQUEST super global array with
using POST or GET?
My problem is that I need information to be available globally but I don't
want to use a form to do it.
Any pointers would be greatly appreciated.
No. Use $GLOBALS instead.
-Rasmus
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running RH8.
There were a number of PHP scripts that I had configured to send out
email for notices or passwords or the like. However, now that I've
Robert Cummings wrote:
On Mon, 2005-01-10 at 11:28, Richard Lynch wrote:
Thomas Goyne wrote:
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED]
wrote:
that's not a SPECIFIC place in the array, that's just current, next
and
previous. AFAIK there is no way to explicitly
Richard Lynch wrote:
I'll give you a simple case.
I have a GTK PHP MP3 ID3 editor application I'm working on.
When one opens a file in a directory, I provide next/prev buttons to
quickly page to the next/prev file in the directory.
Getting the next/prev to work is simple enough, but...
I've got
John Holmes wrote:
What do you guys recommend for making thumbnails from uploaded images? I
know of the GD extension, Imagemagik and netpbm. Any other
recommendations or opinions on which of the above work best with PHP?
Thanks.
Imagemagik is your best bet IMHO. It's the most configurable and
Most likely, somewhere along the way, one of your files is triggering some
condition which 'unsets' your variable.
That's what it looks like. I can't find anything in the documentation or
on the 'Net that describes such a condition. That's why I originally
posted the question.
Personally, I
Hi,
I would like some help to improve this script. I'm a teacher with a schedule of
17 weeks.
Instead of using if(date(Y-m-d) = $week3) I would like to do a for i = 1
to 17 and if the current date date(Y-m-d) = week[i] I would like to echo
This is week $week[i];
Can someone show me how
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
dear all,
i' m want to start developing some mid scale apps ! i have discuss
with my friend and i have one question. i wonder does php ready for
enterprise?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to access test.html via a browser servers up the apache 403 error
page. The test.php
Hello,
on 01/10/2005 07:21 AM Kioto said the following:
PHP is scripting language interpreted and not compiled.
PHP is compiled into bytecodes before executing since PHP 4.
There is also a real PHP to executable code compiler named Roadsend.
http://www.roadsend.com/
I want know about the
Russell Chadwick wrote:
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
$value = 0 means false. And your comparison is false. Try:
?php
$value = '0';
$curval = 'A';
if ($value == $curval) {
echo WTH,
On Sun, 9 Jan 2005 03:00:35 +0200, Serban Nicolae
[EMAIL PROTECTED] wrote:
where can i find some tutorials aout sockets ?
I don't know of any tutorials as such, but the manual has some good
information. I usually find it useful to familiarize myself with the
functions available before
is remove the dashes
from the equation and make that date a unique number. The advantage
of the date format you're using is that the date represented as a
number will always be sequential. So, if you do this:
$week1 = 20050110;
$week2 = 20050117;
$week3 = 20050124;
if(date(Ymd) = $week1)
{
echo
Does anyone know of any college scholarships for PHP or Computer Science. I
need some non-college specific ones.
The reason I ask is obviously because I need some help going to college
through scholarships, and I have been programming in PHP for about 6 years
now.
Please help me out guys!
) = week[i] I would like to echo
This is week $week[i];
Can someone show me how please?
Ok, let me take another stab at this and answer the actual question
you asked. What can I say, I haven't had my coffee this morning. :)
Try this code:
$weeks = array (20050107, 20050110, 20050115
Hello all;
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:
Warning:Invalid argument supplied for foreach
This is in response to the following line:
foreach ($_GET as $key = $value)
All I am trying to do is parse the querystring!
[snip]
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
[/snip]
Because it has an echo statement in it. And '==' is not '==='
From http://us3.php.net/manual/en/language.operators.comparison.php
If you compare an
[snip]
i' m want to start developing some mid scale apps ! i have discuss
with my friend and i have one question. i wonder does php ready for
enterprise?
[/snip]
Yes, it does/is.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2005-01-10 at 12:44, Richard Lynch wrote:
Robert Cummings wrote:
On Mon, 2005-01-10 at 11:28, Richard Lynch wrote:
Thomas Goyne wrote:
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED]
wrote:
that's not a SPECIFIC place in the array, that's just current,
Ahh.. the trick question. hah.. Ok, let me see if I remember this (although it
doesn't seem to follow the logic in my head.. I know someone else will explain
it better but let me take a crack at it):
When comparing a two different variable types that PHP thinks it knows how to
compare, it
Chadwick, Russell wrote / napísal (a):
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
Try ===
If you use ==
$value is compared to $curval
$value is integer so
php converts $curval to integer
so it contains no digtis so
Supri anto wrote / napísal (a):
dear all,
i' m want to start developing some mid scale apps ! i have discuss
with my friend and i have one question. i wonder does php ready for
enterprise?
thanks
It has the smell of flame.
I will ignore it.
trobi
--
PHP General Mailing List
On Mon, 10 Jan 2005 10:26:16 -0800, Chadwick, Russell
[EMAIL PROTECTED] wrote:
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
The string is converted to an integer when compared with an integer.
See this
On Mon, 10 Jan 2005 13:49:26 -0500, Jason Morehouse [EMAIL PROTECTED] wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to
Jason Morehouse wrote / napísal (a):
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root roottest.html
-rw---1 root roottest.php
Trying to access test.html via a browser servers up the
Supri anto mailto:[EMAIL PROTECTED]
on Monday, January 10, 2005 10:45 AM said:
i' m want to start developing some mid scale apps ! i have discuss
with my friend and i have one question. i wonder does php ready for
enterprise?
what qualifications do you require in an application before you
Hello Supri,
Monday, January 10, 2005, 6:45:19 PM, you wrote:
Sa i' m want to start developing some mid scale apps ! i have discuss
Sa with my friend and i have one question. i wonder does php ready
Sa for enterprise?
I would say so:
http://www.zend.com/platform
Best regards,
Richard Davey
Jason Morehouse wrote:
Russell Chadwick wrote:
Could anyone tell me why this code echos?
?php
$value = 0;
$curval = 'A';
if ($value == $curval) {
echo WTH, Overbr;
}
?
$value = 0 means false. And your comparison is false. Try:
If the comparison is false, the echo shouldn't be
Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to access test.html via a browser servers up the apache 403
Maybe this will help. Just keep adding to $var[] until you add all your
weeks. Then execute it. This is written to run on the command line, but
you can replace the \n with br to get your breaks in HTML.
?
$var = Array();
$var[] = 2005-01-02;
$var[] = 2005-01-09;
Supri anto wrote:
i' m want to start developing some mid scale apps ! i have discuss
with my friend and i have one question. i wonder does php ready for
enterprise?
PHP is ready.
Are you? :-)
All you need to do is Google for PHP Enterprise and read a few pages to
figure out the answer to
On Tuesday 11 January 2005 02:49, Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
It's a file permissions problem as can be seen clearly below (which you've
thoughtfully included).
-rw---1
Richard Lynch wrote:
Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to access test.html via a browser servers up
Marek Kilimajer wrote:
Richard Lynch wrote:
I'll give you a simple case.
I have a GTK PHP MP3 ID3 editor application I'm working on.
When one opens a file in a directory, I provide next/prev buttons to
quickly page to the next/prev file in the directory.
Getting the next/prev to work is
Sounds like $_GET isn't populated or has been over-written. Try doing the
classic print_r on $_GET to see what it contains before you do the foreach.
If you are using a form (rather than an a_href link) to pass the GET data and
you're using all checkboxes or something else that returns nothing
[snip]
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:
Warning:Invalid argument supplied for foreach
This is in response to the following line:
foreach ($_GET as $key = $value)
All I am trying to do is parse the querystring!
Any
you have to allow others to read it.
You have it so only root can access the file. Try this:
chmod 644 test.php
while logged in as root. This should put the file as
-rw-r--r-- 1 root root test.php
HTH
Travis
- Original Message -
From: Jason Morehouse [EMAIL PROTECTED]
To:
man chmod, i gather you're new to linux/*nix
http://jonel.road14.com
--
I not know English well, but I know 7 computer languages.
anonymous
On Jan 10, 2005, at 12:49 PM, Jason Morehouse wrote:
Hello. I'm not sure if this is an
Jonel Rienton wrote:
man chmod, i gather you're new to linux/*nix
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper 403 error page, rather than a php
error when it doesn't
The function this is from sometimes uses $_POST or $_GET input, so
sometimes its comparing 1337 with '1337' and === would break that.
so I'll have to use something like:
if (($value == $curval) !(is_string ($curval) ($value == 0)))
unless there is a better way
I have researched a few ways to set a hard session timeout on a shared
server. Does anyone have comments on the advantages/disadvantages of each
approach? Are there other alternatives?
1. Override the php.ini settings in an .htaccess file:
php_value session.gc_maxlifetime 900
php_value
This is in response to the following line:
foreach ($_GET as $key = $value)
is $_GET an array?
when in doubt, print it out
try:
print_r($_GET)
or even check
is_array($_GET)
might be an earlier version of php
http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.get
--
I have a list of rows in the database and i would like to sort them in two
categories.
example,
echo $row['name'] . '-' . $row['type'];
// output:
row 1 - files
row 2 - files
row 3 - music
row 4 - files
I would like this output:
files
--
row 1 - files
row 2 - files
row 4 - files
[EMAIL PROTECTED] wrote:
Yeah, I stated that it was being converted to an integer, but what I didn't
think about was that 'A' didn't contain any integers so it would end up being
zero. I believe if it had been 'A23' then it would have been converted to 23.
But if it had evaluated to false than
the wrong permissions. Why does apache not server the 403 on the php
page? Maybe this is better off in the apache list.
Yeah, this is really better on an Apache list... but...
http://httpd.apache.org/docs/mod/core.html#errordocument
--
Teach a person to fish...
Ask smart questions:
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running
RH8. There were a number of PHP scripts that I had configured to send
out email for notices or passwords or the like. However, now that I've
* Thus wrote Jason Morehouse:
John Holmes wrote:
What do you guys recommend for making thumbnails from uploaded images? I
know of the GD extension, Imagemagik and netpbm. Any other
recommendations or opinions on which of the above work best with PHP?
Thanks.
Imagemagik is your best
Andrew Wickham wrote:
Does anyone know of any college scholarships for PHP or Computer Science. I
need some non-college specific ones.
The reason I ask is obviously because I need some help going to college
through scholarships, and I have been programming in PHP for about 6 years
now.
Please
* Thus wrote trobi:
Jason Morehouse wrote / napísal (a):
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root roottest.html
-rw---1 root roottest.php
What about:
as root:
One of the big arguments for PHP being ready for the enterprise is
that, hey, Yahoo uses it! But it's more the reason why Yahoo uses it.
Part of the reason is that PHP is scalable because of it's a shared
nothing architecture, so you can scale it horizontally just about
indefinitely. Plus it's
* Thus wrote Jason Morehouse:
Richard Lynch wrote:
Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
On Mon, 2005-01-10 at 12:08, John Taylor-Johnston wrote:
Hi,
I would like some help to improve this script. I'm a teacher with a schedule
of 17 weeks.
Instead of using if(date(Y-m-d) = $week3) I would like to do a for i = 1
to 17 and if the current date date(Y-m-d) = week[i] I would like
On Tuesday 11 January 2005 04:13, Jason Morehouse wrote:
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper 403 error page, rather than a php
error when it doesn't have
On Mon, 2005-01-10 at 15:21, Jason Morehouse wrote:
Jonel Rienton wrote:
man chmod, i gather you're new to linux/*nix
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper
Jason Morehouse wrote:
Jonel Rienton wrote:
man chmod, i gather you're new to linux/*nix
I don't need a lesson in file permissions, thanks. Apache runs as
nobody. The problem isn't trying to get apache to display test.php,
it's having it display the proper 403 error page, rather than a php
Richard Lynch wrote:
A! Now we see the question! Why doesn't it yield 403 like it should
First and foremost, use php.ini or httpd.conf or .htaccess to *NOT* let
PHP send error messages OF ANY KIND to the browser on a production site.
[You could also use ini_set within a script if the file in
Hi,
Sometimes when I write a PHP-script and upload it to a ISP through password
protected FTP, the only way to write data to a folder is to run chmod 777
for that folder, I want to write (or save) a data to (e.g. file-upload,
flat-file-database). However, if I do so, I have been told, everyone
Jason Barnett wrote:
the wrong permissions. Why does apache not server the 403 on the php
page? Maybe this is better off in the apache list.
Yeah, this is really better on an Apache list... but...
http://httpd.apache.org/docs/mod/core.html#errordocument
No, it has nothing to do with Apache.
On Mon, 10 Jan 2005 16:38:18 -0500, Sebastian
[EMAIL PROTECTED] wrote:
I have a list of rows in the database and i would like to sort them in two
categories.
example,
echo $row['name'] . '-' . $row['type'];
// output:
row 1 - files
add order by `type` to your sql statement, and then
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston
[EMAIL PROTECTED] wrote:
Hi,
I would like some help to improve this script. I'm a teacher with a
schedule of 17 weeks.
Instead of using if(date(Y-m-d) = $week3) I would like to do a for
i = 1 to 17 and if the current date date(Y-m-d)
1 - 100 of 115 matches
Mail list logo