GamblerZG wrote:
Why would you _manually_ edit a serialized array??? One would think
you would UNSERIALIZE (http://us4.php.net/unserialize) the serialized
array *before* working with the data.
Well, I guess my initial posting was a bit misleading. I'm writing a
content management system, and t
Joshua Beall wrote:
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Joshua Beall wrote:
I am doing some work where I want to do locking, and prevent scripts from
running in parallel. I see that I could use the semaphore mechanism, but
I'd l
Joshua Beall wrote:
I am doing some work where I want to do locking, and prevent scripts from
running in parallel. I see that I could use the semaphore mechanism, but
I'd like for my code to be portable, and that extension is not enabled in
many places.
Sort of defeats the whole concept of a we
Bill Rausch wrote:
Hi all,
I'm having the same problem as Jim Poserina. Richard pointed out some
things to try. Here's my story.
We installed Fedora 3 on a new box. Then we installed Apache 2 and PHP
4.3.9 from the RPMs that came on the CDs. Pretty much everything works
as expected, except th
PartyPosters wrote:
Hello,
Please could someone tell me why I am getting (Notice: Undefined offset: 3 in ..) from using this code.
for ($i=0; $i<=3; $i++){
mysql_query("INSERT INTO shipped(userID, productID, distID, username,ship_company,
ship_add1,ship_add2) VALUES(1, '$productID','$v_d
symbulos partners wrote:
Dear friends,
we would like to migrate a server where we host several websites (in virtual
hosting) to PHP 5 with Apache 2.
Technical support at the hosting provider told us there are still problems
about safety of threads on php 5 + Apache 2 (management of memory). They
wo
Kim Madsen wrote:
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 4:05 AM
That's why I'd like to stick with apache2 + php5 default and
apache2+php4 just for a single site hosted (the one that uses imp).
See my previous message
Jason Barnett wrote:
Jay Blanchard wrote:
[snip]
Sooo.. I'm assuming there's no stable project for compiling php code to
native binary machine code huh? (I've done some searching) Even
anything commercial? (I didn't care for Zend's optimizer so much.. still
has *RUN*time configuration)
[/snip]
ht
[EMAIL PROTECTED] wrote:
I need to calculate the size of an html email with embedded images. Filesize
doesn't work to this purpose. How could I do without parsing the html file?
If the images are embedded, by which I suppose you mean attached, then
filesize() should be fine. If you mean they are
mbneto wrote:
Simply.
My server has moved from php4 to php5 and my webmail program IMP can't
be upgraded before I find out how to do that safely for my users.
Now I have sites that need php5 and only one that does not work with it (imp).
That's why I'd like to stick with apache2 + php5 default and
Richard Lynch wrote:
I am running PHP 5 on a Apache platform (Mac) and I have just noticed
that the log I keep of ip's entering my site, is showing the internal
server ip instead of the external visitor ip.
I am using getenv("REMOTE_ADDR") and is has been working before.
Try $_SERVER['REMOTE_ADDR'
Ross Becker wrote:
I think you're probably right. My gut is telling me that this has to do
with tty funkiness. I tried the batchmode option, but it didn't affect
the problem. My bet is that ssh is mucking around with ttys, and PHP is
loosing it's connection through apache. The php processing may
Cindy Reeves wrote:
Hi. I want to include an image on my home page that is dynamically created
from another website. The source code on a typical HTML page would be http://www.othersite.com/returnedimage.aspx";>
I don't trust their server will always be up/respond, so I want to use a PHP
function t
Ross Becker wrote:
There's no output (besides the numeric return code) from SSH which I
care about- there shouldnt be anything coming back via stdout or stderr.
If there is, I'm happy to discard it. This SHOULD be a dead-nuts-simple
case of exec the command and wait for it to return.
And if ssh
Richard Lynch wrote:
timothy johnson wrote:
Is there a way to install two version of php on the same machine, and
use them for two different users?
Option 1:
Install two copies of Apache, with different httpd.conf files, on two
different ports.
Somebody gets stuck using http://example.com:81 (or a
Gerard wrote:
How would I go about stracing page requests? I never know which apache child
is going to handle which page.
Run Apache in non-forking mode with -X
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Our mailing list server has been getting bogged down so we are
experimenting with some new code. That code got stuck last night. No
mail was lost, but it did get held up until we woke up to fix it.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Gerard wrote:
Another interesting note; if you click from page to page fast enough, it
doesn't take as long to load. For some reason, after the initial 5 second
startup hic, it loads consequent pages smoothly. If you wait for 10 seconds
and then click a link, it loads for 5 seconds again.
I don't g
Al wrote:
Diana Castillo wrote:
How can I read the contents of a web page that uses basic
authentication? I want to use fopen() but dont know how to do this and
also send the username and password
If the webpage is your script and it is going to check the
authentication stuff, then simply us
Anybody happen to have an archive of the old [EMAIL PROTECTED]
Majordomo mailing list from 1995 or have an idea where I might be able
to get that? Or perhaps an email backup of any correspondence with me
from back then?
Please reply privately to avoid cluttering this list.
-Rasmus
--
PHP Gener
Terje Slettebø wrote:
I don't find this answer satisfactory. Yes, PHP has loose/weak typing, but
at any one time, a value or a variable has a distinct type. In the example
in the quote above, you'd have to ensure that the value you pass is of the
right type.
Well, like it or not, that is the way it
Jeffery Fernandez wrote:
Hi all,
I have a foreach loop on an array and within that loop I need to find if
the array has reached the last pointer. I have tried
if (next($row))
{
}
but that advances the pointer. Any tips on finding out if the array
pointer has reached the last element ?
end($arr);
Arshavir Grigorian wrote:
Hi,
I am having trouble debugging a PECL module (APC) because while I am
able to --enable-debug when configuring the PHP course, I cannot do the
same for APC (no such configure option). Does anyone know how to do that?
PHP Warning: Unknown(): apc: Unable to initialize
M Saleh EG wrote:
What I mean by Application-Scope variables is variables that can be
available for the Application or Web-Application all the time after
starting the application by a trigger. After having the triger fired
those Application-Scope Variables, Datastructures, Object, and
refrences wo
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
On Wed, 12 Jan 2005, Galen wrote:
> I'm working on a web spider application where the server has
> considerable latency in serving the information I require, but
> simultaneous requests do not have a significant performance hit. I have
> a nice little class that handles all the sessions, cookies, e
On Fri, 14 Jan 2005, Jason Morehouse wrote:
> Just wondering if anyone is using the apache worker module with php?
>
> I've complied php5 with zend threadsafe support, and apache2 with the
> MPM worker module on a Linux box. Everything seems sweet.
> mysqli_thread_safe() reports true... anyone kno
On Sat, 15 Jan 2005, Steven Simmons wrote:
> I'm trying to write an object oriented system for saving my uploaded
> files to a blog.
>
> I am using php to resize the original photos and save a thumbnail .
>
> When I get all done, I want to do something like this:
>
> $tempImageData = image
On Sun, 16 Jan 2005, Gal wrote:
> I'm Working in organization which also using php on the Windows platform.
> Because of the security holes in the older version and a COM bug at PHP
> 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic
> version.
I'd just roll back to 4.3.9 an
On Fri, 14 Jan 2005, Donald Wong wrote:
> Specifically, I want to know if there's any courses that will cover
> using Kerberos through PHP, though I don't have too much hope in that.
No chance.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
On Thu, 13 Jan 2005, OOzy Pal wrote:
> My html templates are encoded using utf-8. When the
> browser reads the files as .html it encodes it fine
> and my characters looks fine. However, when php reads
> the files and sends them to the browser the files
> looks ugly and unreadable. How can I force t
heath boutwell wrote:
--- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
Well, what is created? Do you get a .libs/libphp4 file with no
extension? If so, you can either just rename that to .libs/libphp4.so
or run libtoolize --force and re-run ./configure
-Rasmus
Still no libphp4.so crea
Juergen Rehberger wrote:
Hi
Thanx for the fast response to my problem
I have checked my memory limit in the php.ini file and it is 8mb as well on my
offline server. i further noticed that on my online server it doesnt realy
depend on the filesize in mb but rather the size in pixel. once i try to
Richard Lynch wrote:
You'd be confusing the HELL out of me to have PHP sending out a 403
because it couldn't read the included file after it already managed to
read index.php and connect.inc
Right, I don't disagree with you that it would be confusing and
inconsistent which is why no such magic is
Jason Morehouse wrote:
I still don't really get why apache hands parsing off to php when it
knows it doesn't have read access to the file, but I'll save that for
another list!
It could check, I suppose, but it doesn't always know that just because
it can't access the file the receiver won't be a
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.
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
er
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
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
heath boutwell wrote:
Upgrading to 4.3.10, Make, make test and make install work with no errors.
Using same configure options I used to install 4.3.8:
./configure --prefix=/usr --with-apx=/usr/local/apache/bin/apxs
--libdir=/usr/lib/php4 --datadir=/usr/share/php
--with-sybase-ct=/usr/local/freetds
Xuefer Tinys wrote:
even apc/eAcc have to copy from shm to php-memory(alloc by emalloc),
because $array might be modified anytime
i'd guess this is almost same as serialize/unserialize
You greatly underestimate how slow unserialize is.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To un
On Fri, 7 Jan 2005, William Lovaton wrote:
> The phpbeans (or sockets) kind of solutions won't work as Josh Whiting
> (original author of this thread) would expect.
>
> phpbeans is a good idea to share (complex) business logic and data
> between many web servers but it will have to serialize and u
Adrian Madrid wrote:
I think I understand where you're coming from. I've had a similar
problem and the best solution I've found is eAccelerator (previously
known as Turck MMCache). What EA does is keep the bytecodes PHP compiles
inshared memory so next time you need that script PHP doesn't need
William Lovaton wrote:
Rasmus,
El jue, 06-01-2005 a las 08:23 -0800, Rasmus Lerdorf escribió:
On Thu, 6 Jan 2005, William Lovaton wrote:
This is great. In my high performance web app I created a PHP library
that abstracted this to use several backends. For instance I have a
File backend and a
On Thu, 6 Jan 2005, Jason Barnett wrote:
> Symbulos Partners wrote:
> > We know that. We understood all of that.
> >
>
> Let me ask you this. Do you know what underlying libraries are associated
> with the extensions you want to use (in your list below)? If you do then you
> *should* be able to
On Thu, 6 Jan 2005, Josh Whiting wrote:
> > Anything you do in the MINIT hook is basically free, so it would be
> > trivial to load the data for the array from somewhere. Like a database,
> > an xml file, etc. So you wouldn't need to hardcode a complex array
> > structure in your MINIT hook,
On Thu, 6 Jan 2005, William Lovaton wrote:
> Hi Rasmus,
>
> El lun, 03-01-2005 a las 14:13 -0500, Rasmus Lerdorf escribió:
> > If you need to do something fancier you can stick things in shared
> > memory. Many of the accelerators give you access to their shared memor
Richard Lynch wrote:
Or you could pay a guy who knows C and PHP to do it in, what, a couple
hours? Depends on how confusing your arrays are, and how heterogeneous
they are, I guess.
Once you do that, all your data is in PHP/Apache when it launches, and
it's always available to your PHP script all
Richard Lynch wrote:
Rasmus Lerdorf wrote:
Robert Cummings wrote:
FWIW, I can't see how a WYW server is going to make his application run
faster. The transfer of the data he wants will still have to be
serialized and unserialized (in an optimal WYW server only unserialized)
and this is is ex
Lester Caine wrote:
Sebastian wrote:
I know everything has cons/pros but i am just looking for advice on
whether
my site will benifit from the upgrade. I'm curious to know if a site that
normally sees 300-500 users online would see any improvements.
That would be nice information to find out, but
Robert Cummings wrote:
FWIW, I can't see how a WYW server is going to make his application run
faster. The transfer of the data he wants will still have to be
serialized and unserialized (in an optimal WYW server only unserialized)
and this is is exactly his bottleneck using an include. Actually I'
Josh Whiting wrote:
Wow thanks for the helpful breakdown.
PHP's model is to be completely sandboxed such that every request is
completely separate from every other. Having a persistent interpreter
as you describe would break that rule and break the infinite horizontal
scalability model of PHP.
Josh Whiting wrote:
Dear list,
My web application (an online classifieds server) requires a set of
fairly large global arrays which contain vital information that most all
the page scripts rely upon for information such as the category list,
which fields belong to each category, and so on. Addition
symbulos partners wrote:
Rasmus Lerdorf wrote:
As far as threading goes, it is simply not a good idea for a large
complex system.
I do not understand why, probably because I am not well prepared. Can you
explain me? As far as I know, threading should be a noticeable improvement
in case of large
symbulos partners wrote:
Symbulos Partners wrote:
Rasmus Lerdorf wrote:
You want to stay away from the threaded MPM's in Apache2.
Why?
Which versions would be recommended then? We would like to be able to use
the new PHP object model, and at the same time use features like the
possibili
symbulos partners wrote:
Dear friends,
we would like to migrate a server where we host several websites (in virtual
hosting) to PHP 5 with Apache 2.
Technical support at the hosting provider told us there are still problems
about safety of threads on php 5 + Apache 2 (management of memory). They
wo
Aaron Paulley wrote:
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quot
Robin Getz wrote:
Robin Getz wrote:
My next experiment is:
$buff = "0";
while (!feof($fp)) {
$buff = fread($fp, 4096);
print $buff;
}
unset($buff);
fclose ($fp);
Nope that doesn't work either - came back, and saw apache processes that
Numbers are pretty easy. You could just do:
$age = (int)$_POST['age'];
if($age > 9) do_something();
else do_something_else();
Using ereg doesn't make much sense in this case.
-Rasmus
On Fri, 31 Dec 2004, Michael Lutaaya wrote:
> I want to validate someones age. How do I do this in
>
mail.pmpa wrote:
Don't mean to start a discussion whatsoever, I love php, but one thing i
can't do in php is Response.Redirect .
Apart from that no complains so far :)
header("Location: $url");
which, by the way, makes a hell of a lot more sense. It's just an HTTP
response header like any other r
John Nichel wrote:
I don't know if the rpm install of Apache includes apxs. If it doesn't,
you'll have to install Apache from source.
Usually apxs is in the apache-dev package on the various distros.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
M. Sokolewicz wrote:
as stated in
news://news.php.net:119/[EMAIL PROTECTED]
(internals) the status of this is still unknown. The PHP Development
Team is working on it however, and my guess is that it will be fixed for
4.3.11 (due for beta in January)
- Tul
Tohar Trabinovitch wrote:
Hi,
I ne
Andrew Kreps wrote:
On Wed, 29 Dec 2004 08:35:28 -0800, Tony Di Croce <[EMAIL PROTECTED]> wrote:
So far, I really love PHP... It just makes web development so much
more convenient... But I sometimes wonder why so much server side work
is done with intrpreted scripting languages... Why haven't langu
Bogdan Ribic wrote:
Here's a little test script:
$x = 2;
$y = 10;
$b1 = is_null($x) or ($y > 5);
$b2 = ($y > 5) or is_null($x);
var_dump($b1);
var_dump($b2);
Obviously, it should be false for both $b1 and $b2, but the output is:
bool(false)
bool(true)
Is th
John Nichel wrote:
Don wrote:
Hi,
Fedora Core 3, PHP 5.03, MySQL 4.17, Apache 2.0.52
Recent PHP installation. I created a phpinfo() page. When I display
it in
my browser, it says:
Configuration File (php.ini) Path/etc
Yet when I log on to my server and look for it in /etc, it is not the
On Wed, 8 Sep 2004, Marek Kilimajer wrote:
> John Smith wrote:
> > What's the most accurate way to get the byte count of
> > some text? Is strlen() accurate with Unicode, ASCII,
> > etc.?
> >
> > John
> >
>
> strlen() is fine even for multibyte encodings, it does not know about
> encoding and retur
Are you certain these curly quotes are actually coming in and not being
munged by the client sending them? If they are coming in, and they are
actually in Unicode, which unicode sequence are they represented by. If
you could save the raw data you are getting to a file and make that file
avail
On Tue, 7 Sep 2004, Jim Grill wrote:
> If any of the output from gdb give you a hint what the problem could be (ftp
> functions or something) research each of the functions you are using on the
> PHP site reading the user added comments. Look for any mention of a possible
> segfault. Search the PHP
On Mon, 6 Sep 2004, Chandu Nannapaneni wrote:
> I want to capture the output of a certain remote command ( issued
> thru a SSH session to a remote server) in PHP.
>
> The following code is working well when ran from the console
> Ex: php -q test.php
>
> passthru("/usr/bin/ssh -v -i /var/wwwhtml/ss
3 of those are putenv() crashes. Whenever I see that I always think
thread safety issues. In your case you are linking against the NTPL-aware
libc on Redhat (/lib/tls/libc.so.6). Could you try doing this:
LD_PRELOAD=/lib/i686/libc.so.6
in your Apache startup script and let me know if it s
Just means it will fill in the arrays you pass into it in the lat two
parameters. See the example on that page.
-Rasmus
On Mon, 29 Mar 2004, Mike Mapsnac wrote:
> I write some small program that uses xml. So I will use this function
> http://us3.php.net/manual/en/function.xml-parse-into-struc
if(!empty($variable))
On Fri, 26 Mar 2004, Marcjon Louwersheimer wrote:
> Is there an easier way to do
> isset($variable) AND $variable != NULL
> ? I use this alot in my if statements, and I was wondering if there's an
> easier way to do it, maybe with a single function? Oh and another
> question
This has nothing to do with the browser. Instead of using
session_register("last_time") and setting $last_time, do this:
$_SESSION['last_time'] = time();
It's shorter and it will make the warning go away.
-Rasmus
On Tue, 23 Mar 2004, James E Hicks III wrote:
> What does the code look like
On Sun, 21 Mar 2004, Marek Kilimajer wrote:
> Jeff Oien wrote:
> > When I do this:
> > $lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y"));
>
> this will not work most of the year, if current month is August or less,
> the month value will be negative.
mktime() can take negative valu
On Fri, 19 Mar 2004 [EMAIL PROTECTED] wrote:
> > Dear user of e-mail server "Php.net",
> >
> > We warn you about some attacks on your e-mail account. Your computer
> > may contain viruses, in order to keep your computer and e-mail account
> > safe, please, follow the instructions.
> >
> >
If you are that concerned about it, "pear install apc". Your include
files will be cached in memory and the only cost per include file is a
single stat() system call and looking up the opcode cache in shared
memory.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
On Mon, 15 Mar 2004, Sheeraz fazal wrote:
> I need information about the php certification, from www.expertrating.com .
> Does this site has good market reputation?
> Does www.php.net has some plans to introduce certification path?
No plans from us, no. Running a certification program is a lot of
No, there are no plans to bundle the client library with PHP5. We are
bundling SQlite instead. That of course doesn't mean any less support for
MySQL. The MySQL extension, 2 of them in fact in PHP5, will still be
there and you simply build it against your own copy of the MySQL client
library.
-
On Sat, 13 Mar 2004 [EMAIL PROTECTED] wrote:
> > So the current situation is that Apache2-prefork+PHP is a decent solution
> > but it hasn't been tested a whole lot.
>
> I am currently moving my app to an Apache 2 server. I did not build
> the server (not my area of expertise) and don't know how
you said before it was because it was the
> "extensions" but are we saying now that libraries that php are compiled on
> are too not thread safe ?
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 13, 2004 5:25 P
Yeah, probably a config leak in the Apache2 sapi module. There is a
reason we don't suggest using PHP with Apache2 yet. Use Apache1 and I bet
you won't have any problems.
-Rasmus
On Sat, 13 Mar 2004, Chris Wagner wrote:
> hi,
>
> i'm running a server with Fedora Core 1. this is using Apache 2
Because you do mysql_fetch_assoc() once before going into your while loop.
Get rid of that first $row_prefs = mysql_fetch_assoc(...) line there and
it will work.
-Rasmus
On Fri, 12 Mar 2004, Elliot J. Balanza wrote:
> Ok thanks to Michael Nolan I was able to do what I needed. The final code i
On Fri, 5 Mar 2004, Galen wrote:
> From my earlier post, I've had a number of people email me, on and off
> list, that there isn't much in the way of an "advanced" php mailing
> list. It also sounds like at least a few people are quite interested in
> the possibility.
>
> Who runs the php officia
We have always been open to interesting PHP-related job postings here as
long as they are from the actual company and not some recruiter.
-Rasmus
On Thu, 4 Mar 2004, bruce wrote:
> hi..
>
> we're looking for some PHP development talent. however, we don't want to
> post here if this is not the
On Wed, 3 Mar 2004, joel boonstra wrote:
> On Wed, Mar 03, 2004 at 08:39:06AM -0500, Chris wrote:
> > One final comment. It seems there was some motivation, by the PHP creators,
> > to institute safe mode as a fix to potential security abuses. If that was
> > the case, why weren't the underlying p
On Tue, 2 Mar 2004, Jerad Hampton wrote:
> I was wondering if anyone could give me a bit of help with installing gd on a
> freebsd
> 5.2.1 with php 4.3.4
>
> Is it best to use the bundled gd that comes with php 4.3.4 or to install it from the
> source or ports?
I would suggest using the bundl
Ok, gone.
On Tue, 2 Mar 2004, Chris Sandy wrote:
> Its [EMAIL PROTECTED]
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 02, 2004 9:52 AM
> To: Richard Davey
> Cc: [EMAIL PROTECTED]
> Subject: Re[2]: [PHP] god damn &q
On Tue, 2 Mar 2004, Richard Davey wrote:
> Tuesday, March 2, 2004, 2:35:23 PM, you wrote:
>
> RA> Also anybody else getting from AirAndHotel.com?
>
> Yes, AirAndHotel.com are a pain in the ass too. I don't think *anyone*
> is in charge of this list. It just runs...
That's not true. Simply send an
On Sat, 28 Feb 2004, raisinlove wrote:
> > Surely if there is a work-around then safe mode would not be doing its job
> > properly?
>
> Well this was part of the purpose of my post, before Rasmus explained
> it, I didn't understand why I couldnt access a directory I had created.
> I was hoping for
Keep in mind that we have a "show source" button on every php.net page so
you can see how everything is done. Here is the source for the code that
handles the error redirection:
http://www.php.net/source.php?url=/error.php
-Rasmus
On Sun, 29 Feb 2004, Ryan A wrote:
> Hi,
> I have to questio
This stuff hasn't changed in about 5 years though. ignore_user_abort was
introduced in 3.0.7 released March 1, 1999 and I remember writing that
connection handling chapter in the manual sometime before that.
-Rasmus
On Sat, 28 Feb 2004, Kyndig wrote:
>
>
> Rasmus Lerdorf wrote:
Which web server and version?
On Sat, 28 Feb 2004, kringla wrote:
> Hi
> I'm having a problem with file uploads and freezings of the php-module
> in apache. Yes I have googled and RTFM:ed but I don't get any good
> results out from what I have tested so far.
>
> I have set MAX_FILE_SIZE as a hidd
if($stamp1 > $stamp2) ...
On Sat, 28 Feb 2004, Brian Dunning wrote:
> How would I make an if() comparison to check whether the current
> date/time is later than a timestamp for the database formatted as
> 20040226085607?
>
> Thanks,
>
> - Brian
>
> --
> PHP General Mailing List (http://www.php.ne
Uh, sorry, I meant "ignore_user_abort = On"
These negated ini options suck.
-Rasmus
On Sat, 28 Feb 2004, Rasmus Lerdorf wrote:
> ignore_user_abort = Off
>
> in your php.ini file
>
> And read the Connection Handling chapter in the manual.
>
> -Rasmus
>
&
Uh, sorry, I meant "ignore_user_abort = On"
These negated ini options suck.
-Rasmus
On Sat, 28 Feb 2004, Rasmus Lerdorf wrote:
> ignore_user_abort = Off
>
> in your php.ini file
>
> And read the Connection Handling chapter in the manual.
>
> -Rasmus
>
&
ignore_user_abort = Off
in your php.ini file
And read the Connection Handling chapter in the manual.
-Rasmus
On Sat, 28 Feb 2004, Kyndig wrote:
> Hi folks,
>
>I've been working on my website for a few years now. It uses SESSION
> management. I am using: php4.3 version. A problem I have had
Is the file on an NFS-mounted filesystem? flock() in 4.3.3 works fine.
-Rasmus
On Sat, 28 Feb 2004, Armand Turpel wrote:
> Hi,
>
> flock($_fp, LOCK_EX );
>
> return always false. I'm relativily shure that the file to flock is not flocked
> elsewhere. php 4.3.3 is running as cgi on linux.
> Wha
This is normal. You are allowed to create the directory because the
directory you are creating it in is owned by the same user id that owns
the script calling mkdir(). However, since your web server runs as some
other user the owner of the newly created dir will be that user and not
your own so y
On Mon, 1 Dec 2003, Wouter van Vliet wrote:
> print "!!!";
> ob_start();
> include 'http://server.com/test/echo.php';
> $XML = ob_get_clean(); // or use ob_get_contents(); and ob_end_clean() for
> PHP < 4.3
> print "???";
>
> print '[Between this you'll get your XYZ]';
> print $XML;
> print '[Bet
On Mon, 1 Dec 2003, Sophie Mattoug wrote:
> Victor Spång Arthursson wrote:
>
> > Hi!
> >
> > I'm having a problem with including files. What I want to achieve is
> > to execute a PHP-script on another server, and then to include the
> > result (which will be XML-output) in another PHP-script (cu
201 - 300 of 1648 matches
Mail list logo