Chris Shiflett wrote:
Rasmus Lerdorf wrote:
Then you have configured your server to always turn on output
buffering or your test script is bad.
I don't think it's either, but I'll let you decide. I tried a new test
with your code and some slight modifications:
Why modify my test? What
Chris Shiflett wrote:
Rasmus Lerdorf wrote:
Why modify my test?
Because it has less delay. Thus, it's more difficult to tell if the
browser is requesting the new URL before or after receiving the entire
response. My script is essentially the same thing, but the script takes
30 seconds
Rasmus Lerdorf wrote:
Chris Shiflett wrote:
Rasmus Lerdorf wrote:
Why modify my test?
Because it has less delay. Thus, it's more difficult to tell if the
browser is requesting the new URL before or after receiving the entire
response. My script is essentially the same thing, but the script
Brian A. Seklecki wrote:
Firstly, sorry if this is the wrong list. There are thousands of forums
and PHP5 related MLs, but nothing FBSD specific.
Second, I wouldn't post if this wasn't happening on two completely
different FBSD boxes.
For whatever reason, the php4 and php5 from FreeBSD
Chris Shiflett wrote:
Jasper Bryant-Greene wrote:
That is not true. The output to the client will look like this:
HTTP/1.1 302 Found
Set-Cookie: name=value;domain=whatever
Location: http://my.domain.com/my.php
[...]
Very nice explanation. :-)
It is a common misconception that
Sebastian wrote:
so i am 'afraid' of going with php5 in fear it will break my website.
It's rather trivial to test it. Set up a second Apache server with php5
loaded that listens to port 81 or some other port and point it at the
same document_root. Then you can switch back and forth by just
Marc Powell wrote:
Hi all,
First time poster here so I apologize in advance for any gaffs. I've
Googled, searched the archives and the FAQ but can't find anything close
to what I'm experiencing.
I have apache-1.3.33, mod_ssl-2.8.22 (with patches), php-4.3.2 (with
patches, 4.4.0 tested as
Denis Solovyov wrote:
I have a question I can't answer by myself. :)
Do I need to use --with-pic option when configuring php 4?
I'm going to build it as an Apache 1.3 DSO module and going to
run multiple instances of Apache (under different users). I
use Linux (kernel 2.4.30).
Tom Ray [Lists] wrote:
phpinfo() says that sessions are disabled. So, between that and the fact
I get the undefined function errors when I try to use session_start() or
other session commands, I'm under the strong impression that sessions
are disabled.
So this leads me back to my original
Norbert Wenzel wrote:
Hi, I've done something like this:
class MyClass {
private $var;
function __construct($value) {
$this-var = $value;
}
public function printVar() {
echo($this-var);
}
}
$object = new MyClass('1');
$object-printVar(); // prints 1
This is the sort of thing we call a scalability killer. Loading
everything into memory on one machine and then adding locks presumably
for writing to this memory means you are limiting any sort of horizontal
scalability and you are slowing down the one machine you do have with
lock contention.
Reuben D. Budiardja wrote:
Hello,
Anyone knows a simple calendar program that will let people to add event, and
then after the event is approved by webmaster / moderator, the event would be
added to the calendar ?
Just like the calendar for Upcoming Events on www.php.net. What program is
Aiguo Fei wrote:
Thanks your insightful comments. Clearly scalability is a concern for large
scale applications. One has to be discreet with it if such a facility is
available. For the dictionary example, I feel it definitely can use such a
facility and DB approach is much slower; and
Linda H wrote:
Hi,
I must admit I am surprised at the paucity of date and time functions in
PHP.
I have a date stored in a MySQL database in field of datatype date. PHP
doesn't seem to have a function I can use to format it for print. I
tried the following but regardless of the value in
Jochem Maas wrote:
Rasmus Lerdorf wrote:
maddog1169 wrote:
The one that does not get accepted is
Group
including the
You have something like this?
input type=text name=Group /
It should work. Make sure you have quotes around it, of course, or
weird stuff will happen
I really didn't follow all that. But this stuff is not that complex.
header() sets a header to be sent when output goes out. header() does
not send an actual header at that point. If you don't send any output,
then the headers won't go out until the script terminates. If you have
any sort of
That's a client-side issue then, because it is certainly sent. Trying
your exact script:
?php
ignore_user_abort(true);
header(Location: redirect2.html);
echo foo\n; flush();
for($i=0;$i10;$i++) { echo $i; sleep(1); }
$fp = fopen(/tmp/foo.txt,a);
fputs($fp,$i);
fclose($fp);
?
It's at
Liang ZHONG wrote:
The php configuration is: http://liang.ns2user.info/php/info.php. I have
no read permission of those httpd.conf files so do not know how apache
configured.
That shows PHP is running as a CGI. As a CGI PHP has very little
control over anything. It is completely at the mercy
I have no experience with the Apache2 filter. On the few servers I use
Apache2 on I use the handler SAPI and it works fine there as far as I
can tell. lerdorf.com is running Apache-1.3 with the standard PHP
Apache1 SAPI. No special setup on it.
I have no idea why your Perl thing is doing
maddog1169 wrote:
The one that does not get accepted is
Group
including the
You have something like this?
input type=text name=Group /
It should work. Make sure you have quotes around it, of course, or
weird stuff will happen.
Try something like this:
form action=f.php method=POST
array_count_values()
Bagus Nugroho wrote:
Hi Master,
I have an array as :
$myArray =
array('four','four','four','four','one,,'three','three','three','two','two');
Then I want output like this,
//==
four is 4 times
three is 3 times
two is 2 times
one is 1 times //(it 's
If you don't flush some output after setting the header() then the
headers won't go out until the end of the request. So do something like:
ignore_user_abort(true);
header(Location: http://whatever;);
echo foo\n; flush();
Then whatever comes after this should run and the browser is long gone.
Chris Boget wrote:
function sndReq(action) {
http.open('get', 'rpc.php?action='+action);
http.onreadystatechange = handleResponse;
http.send(null);
}
So with AJAX, the data gets sent back to the browser using GET?
Is there any way you can do it using POST?
The prototype for the
Read this chapter of the manual:
http://www.php.net/manual/en/features.connection-handling.php
Liang ZHONG wrote:
I now encounter a problem with flow control of my program with PHP. This
is very crucial to the design of a pretty big project. This is what I
want to do in the program:
?php
Richard Lynch wrote:
On Thu, July 21, 2005 3:50 pm, Rasmus Lerdorf said:
I find a lot of this AJAX stuff a bit of a hype. Lots of people have
been using similar things long before it became AJAX. And it really
Call me silly, but...
Didn't a LOT of us move a bunch of code to PHP
Liang ZHONG wrote:
My Question is:
What is the correct way to keep the function running after I redirect an
existing page to http client (which I want the client get immediately)
and then immediately close the connection?
ignore_user_abort(true);
-Rasmus
--
PHP General Mailing List
I find a lot of this AJAX stuff a bit of a hype. Lots of people have
been using similar things long before it became AJAX. And it really
isn't as complicated as a lot of people make it out to be. Here is a
simple example from one of my apps. First the Javascript:
function
Markus Fischer wrote:
Hi,
is there a way to have a more torough checking of PHP code before
executing?
I can't remember the number of times when I try to read a variable which
hasn't assigned a value yet. This increases as projects are getting
bigger and more files are used.
I know
Robert Cummings wrote:
On Tue, 2005-07-19 at 22:10, Jason Wong wrote:
On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote:
Which is? If its:
Yep.
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged
Fredrik Tolf wrote:
On Mon, 2005-07-18 at 15:57 -0400, Evert | Rooftop wrote:
Fredrik Tolf wrote:
I've begun to be more and more displeased with Apache lately, so I've
been thinking of writing my own HTTP server instead. I still want PHP
support, but writing a new SAPI for PHP seems like
Daevid Vincent wrote:
Is there a way to get the name of a variable as a string? For example...
Nope, not possible.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 16 Jul 2005, Thomas Bonham wrote:
Jasper Bryant-Greene wrote:
Thomas Bonham wrote:
Hello All,
I'm working on session and I'm getting this warning. Maybe someone can
help fixing this problem. Below is the following code.
Warning: Warning: session_start()
Thomas Bonham wrote:
Ok that is some help.
The first five lines of the file are the following.
?php
session_start();
require(functlib.php);
?
od -c adminlogin.php | head out put the folowing.
[EMAIL PROTECTED] property]$ od -c adminlogin.php | head
000
Liang wrote:
I am a programmer and new to php. I wonder what process control can php
interpreter do for multithreading . I notice that through http request, php
interpreter can execute 2 php programs simataneously, but will only
sequentially queued and execute if I try to execute one php
Liang ZHONG wrote:
As I know, apache-php works this way. When the web server gets an http
request with file name extension .php, it will start the php
interpreter to process the php file.
Now I have a php program does something like this: when it is executing
with one parameter p1, the
Liang ZHONG wrote:
Could you please explain it a little bit more?
I did test this way.
The code is the same for a.php and b.php
?php
sleep(20);
print Done. br /;
?
I place request from 2 browser windows.
First time, I placed with http://baseURL/a.php with both 2
Alan Milnes wrote:
Chris W. Parker wrote:
This has come up many times in the past and so far it has not changed.
Just hit the Reply to All button and you'll be fine.
The problem with that is that people then get a personal message *and *a
list message. Why can't this group be set up
Raymond C. Rodgers wrote:
On Sat, 2005-07-09 at 02:04 -0700, Rasmus Lerdorf wrote:
No, you can't do what you are trying to do the way you are trying to do
it. Apache changes the original POST to a GET request on the internal
errordocument redirect so PHP can't get at the original posted data
Raymond C. Rodgers wrote:
I'm trying to write an error handler in PHP to try to avoid sending the
browser a 404 error message. Basically, if someone
requests /whatever.html on the server and it doesn't exist, my 404 error
handler checks to see if /whatever.php exists, if so, it then includes
Mike Bellerby wrote:
Where is the best place to get php_gd2.dll
It's in the ext/ directory of the Win32 zip file you downloaded. Or if
you didn't, go grab it from
http://uk.php.net/get/php-5.0.4-Win32.zip/from/this/mirror
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To
Daevid Vincent wrote:
?php
$db = mysql_connect (localhost,user,password) or die (Could not
connect to SQL server.);
mysql_select_db (rbc,$db) or die (Could not select RBC Database);
if (isset($_GET['id']) intval($_GET['id'] 0))
{
$pth =
Dan Rossi wrote:
Hi there I am trying to compile the demo example hello world extension
on OSX with no luck I keep getting errors when trying to compile.
iElectro:/usr/share/php-5.1.0b2/ext/hello electroteque$ make
gcc -dynamic -flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC
Dan Rossi wrote:
On 07/07/2005, at 11:43 AM, Rasmus Lerdorf wrote:
Yeah, the OSX build is a bit messed up right now. You can fix it
manually by doing a copy-paste of the final link line and replace
hello.lo with hello.o
-Rasmus
thanks mate however I get file cannot be found, i
Gaby vanhegan wrote:
Is there a specific compile switch that I need to build Apache with in
order to allow php5 to see and use the sapi_apache2 module? I could see
nothing specific in a ./configure --help for either Apache or php. I
have the rpm .spec file, so I could theoretically do a nice
Gaby vanhegan wrote:
Somebody previously suggested that I rebuild apache with threading
enabled. Will this make a difference?
Yeah, it will likely make everything crash in weird on undebuggable
ways. (So, don't do that)
Sounds to me like you are either editing the wrong conf file or putting
Dan Rossi wrote:
Continouing from my previous email I have been reading further on Seb's
blogs regarding bechmarks with PHP5.1 and the different vm's that it
compiles with. I dont particularly understand what the virtual machine
is for, but he does meantion threading. Does this mean PHP5.1
Gaby vanhegan wrote:
I suspected that this was the case, from what I read php5 doesn't work
with threads yet...
It works fine with threads. There is nothing to fix in PHP to make it
work better. It's just that a lot of other things you are likely to
link into PHP may or may not be threadsafe.
Gaby vanhegan wrote:
On 6 Jul 2005, at 00:00, Rasmus Lerdorf wrote:
I suspected that this was the case, from what I read php5 doesn't work
with threads yet...
There are simply too many moving parts here to ever be sure that there
won't be a thread-related race condition somewhere
Dan Rossi wrote:
On 06/07/2005, at 5:05 AM, Jochem Maas wrote:
well I hadn't got a clue about this vm stuff but I read that
there are CALL, GOTO and SWITCH [vm?] models implemented. according to
'Seb' CALL goes fastest. But I would assume that offering different vm
models meant that raw
Joe Krahn wrote:
PHP imports GET and POST data to array elements by senselessly
converting periods and spaces to underscore. The intent is to make
strings variable-name compatible for conversion directly into global
variables via import_request_variables or register_globals.
() is meaningless in an include. But in PHP you can put () around just
about anything you want. Just like you can do: $a = ($b); There is no
point in the brackets there. The PHP parser simply uses brackets to
create precedence groups. So yes, you can do include(foo.php) if you
want, but you
Didn't really follow this thread, but it sounds to me like you have
upload_max_filesize = 2M
which also happens to be the default uploaded filesize limit.
-Rasmus
Catalin Trifu wrote:
Hi,
It can't be a memory limit problem. The server ha 2GB memory,
and in PHP each script can
Uh, never mind. I guess I should read the thread. You are downloading,
not uploading. I can't think of anything that would put an exact limit
on the download like that.
-Rasmus
Rasmus Lerdorf wrote:
Didn't really follow this thread, but it sounds to me like you have
upload_max_filesize
Rory Browne wrote:
Alternatively if the include_path, contained the path that your
includes were in, (and only the directory where you put your
includes), then php wouldn't have very far to search.
Well, no real difference between that and just making sure most of your
includes are in the
We found a problem caused by a recent disk failure that wiped out a
named pipe qmail needed. I am hoping the mailing list delays should be
fixed now.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andy Pieters wrote:
$valid=array('from','authorize','order');
#copy GET to POST
if(count($_GET)0)
{foreach($_GET as $key=$value)
if(in_array($key,$valid))
{$key=htmlspecialchars($key);
$value=htmlspecialchars($value);
$hiddens.=___hid
input type=hidden
Martin Zvarik wrote:
Hi,
I saw files like file.inc.php and file.inc
What is the *.inc suffix good for ?
I don't see the point in file.inc.php, but file.inc is something I use
all the time to indicate that a file is designed to be included and not
accessed directly. Then I have an Apache
Ryan A wrote:
Everytime I write to the list or reply to the list I get an email from this
#%#ยค! saying:
I got rid of him.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
That is extremly generious of you as I didnt really think you would have the
time considering the
amount of projects,books etc you are involved with (yep, I read your CV on
your site :-D ), but
I would like to take you up on your offer as I am sure to learn something
from
JM wrote:
Hi all,
Ok here is what I need help with:
$var = i like fi'sh;
I'm able to addslashes(gather the data from a form), submit into the
database, stripslashes(retrieve it).
My problem is when I display it in a input type=text form the single
quote is causing a truncation.
on 05/23/2005 06:19 AM Andy Pieters said the following:
I am looking at where I can get my system tested for penetration.
In case someone here would like to have a go
This is the url
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/
It is actually a kind of CMS system so if
Andy Pieters wrote:
On Friday 27 May 2005 19:11, Rasmus Lerdorf wrote:
You have all sorts of problems at that URL. To start with, here is a
cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript%09
src%3D%22http://3423329163/v
Hi Thank you! I
Chris W. Parker wrote:
One question. (Because I'm a lame brain when it comes to security as I'm
not good at imagining how things can be exploited):
Is it bad to give field names the same name as their database
counterpart? i.e. In a database the first name column might be known as
'fname'.
Chris W. Parker wrote:
Rasmus Lerdorf mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 11:58 AM said:
You have all sorts of problems at that URL. To start with, here is
a cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript
%09
src
Kristen G. Thorson wrote:
Following is a snippet of code that I am trying to debug. Most of the
time, the variable $sn (set on the last line), correctly contains the
variable $this_customer_num. On some occasions, however, it does not
contain $this_customer_num. I cannot figure out what may
Graham Anderson wrote:
Can the server variable 'user agent' be modified/spoofed by the user?
I have a bunch movies that I want to only open if the user agent
contains Quicktime Player...
In my case, if the user agent string contains Quicktime Player, a movie
url is written for Quicktime
Graham Anderson wrote:
thanks...
I'l start exploring other options
g
On May 20, 2005, at 2:35 PM, Marek Kilimajer wrote:
Graham Anderson wrote:
is there another way to get reasonably accurate environment variables ?
In my case,if movies are being opened in a browser...deny access
Rob Agar wrote:
From: Rory Browne
This is primarly a mailing list. Not a news group. The whole idea of a
mailing list is that you get every message mailed to you.
uh, I think the OP is complaining about the emails that *don't* go via
the list, because this list is set up so that hitting
Michael Stearne wrote:
I am having the strangest problem using system() or exec() or any
variation. None of them work on the Fedora Core 3 system that was
just loaded. The PHP is Version 4.3.11 with Apache 2.0.52, the default
installation for Fedora Core 3. Everything in PHP works as
Evert | Rooftop wrote:
Chris Shiflett wrote:
Danny Brow wrote:
Zend sells a compiler to speed up your PHP code. Since it's compiled,
it also does not contain the source code in readable form. You should
visit the Zend website.
Any free ones?
http://pecl.php.net/package/APC
APC won't work for
I can't say for sure, but I'm betting that APC doesn't support the
version of PHP that you are trying to use. Specifically, I don't
think it supports PHP5+
Correct, APC is currently PHP4 only.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
http://au.php.net/flush
Kirsten wrote:
How do I make the browser to display data as it being generated? I've
noticed some websites do this with cgi.
For example:
html
head
titleXXX/title
/head
body
%
$i = 0;
while (true){
echo p . $i++ . /p;
sleep(1);
}
%
/body
/html
Prathaban Mookiah wrote:
Is it true that ob_start(ob_gzhandler) can cause problems on IE 5.5+?
Since IE any-version is on the client side, it shouldn't cause any problems
to ob_start(), in that case any other PHP function.
That's not true. ob_gzhandler is extremely browser-dependant
Kirsten wrote:
I need to reduce the size of the HTM generated by a PHP script for faster
transmission. I'm actually using ob_start(ob_gzhandler) but I also need
some function to reduce the size of javascript blocks, deletion of
unnecesary blanks, etc.
For example, Code A:
headscript
James Williams wrote:
No
You don't declare variables in PHP. You just start using them.
Perhaps you mean assign? Since your example of
var = variableName;
is actually an assignment in Javascript.
In PHP you simply do:
$one_var = $another_var;
-Rasmus
You are however, when dealing
Jon M. wrote:
So, are you saying that it is absolutely PHP-illegal to do:
Yes, it is illegal. Inside a class definition you can define properties
like this, but for regular variables it is simply not supported. And it
makes no sense. If you can't stop your hands from typing this stuff, do
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?
That doesn't even look like PHP code. In
Jon M. wrote:
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
But there doesn't seem to be a single shred of documentation on PHP.net (or
in ANY book) that covers this. All they say is
Dasmeet Singh wrote:
Hi!
I want a script that can display a list of all the websites currently
hosted on my server.. (i have root access to the server)
Say I have a page sitesonmyserver.php..it shud show a list of all the
websites hosted on my server..eg:
abc.com
xyz.om
And any additional info
Gabriel Birke wrote:
Hello!
Suppose I have the following code:
$a = array('a'=1, 'b'=2);
echo empty($a['c'])?'empty':'not empty';
echo $a['c'];
Why doesn't the 2nd line output a warning when error_reporting is set
to E_ALL? Is empty() some kind of special function where the validity
of indices is
Khorosh Irani wrote:
For example I want to math this stream:
123 mm 334
What is the pattern that math with this stream?
Thanks
123[[:space:]]+mm[[:space:]]+334
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sebastian wrote:
i've been doing some reading on optimizing php for fastest performance.
are there any benifts to configure php with:
--enable-inline-optimization
That's the default now, so no, you don't need that.
also running eAccelerator.
these are my current options:
Richard Lynch wrote:
On Fri, April 29, 2005 4:36 pm, Philip Olson said:
I remember in Perl I used to extract vars from a single fetchrow by
adding
each var name to the beginning (like this). Only this ain'ta workin
:)...
Anyone know the right syntax to do this?
($var1, $var2, $var3)=
Mattias Thorslund wrote:
Skrol 29 wrote:
What templating engines do you use with php and why?
Ive been using smarty (http://smarty.php.net)
Clive.
I just can't work with PHP the usual way.
Mixing business source and interface source is something too bastard
for me.
Now that I know templates
Jon M. wrote:
No matter what I do to the strings to encode them in whatever format before
using fwrite, it ALWAYS seems to end up writing the actual file in
iso-8859-1.
Isn't the encoding of the characters in PHP's strings, and the encoding of
the actual binary file on your hard drive, two
Robert Cummings wrote:
I think a problem here is when you decide to blend two projects that
started out separately. With a templating system (some anyways :) you
can just redefine the main layout for each page being merged into the
larger project in a single centralized location. The approach
Jon M. wrote:
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, April 21, 2005 5:07 pm, Jon M. said:
I am trying to have a file that I generated with PHP saved as UTF-8
without
the BOM (Byte Order Mark). Does PHP do anything like this? I am a
beginner
with PHP, but
Tim Boring wrote:
Does anyone have suggestions/ideas about best practices for writing
set/get methods in PHP5? There are two basic ways I've seen this done,
which I've provided examples of below. Method #2 is obviously the easier
way, but that doesn't mean it may be the best way.
I'm curious to
Vishal Kashyap @ [SaiHertz] wrote:
Dear PHP enlightened ,
I was planning to move my PHP 4.3.x based product t PHP 5.x and for
this I was looking for some kinda shortcut scripts or utility to
migrate the 4.3.x file to PHP 5.x .
Any pointers would be appreaciated.
Chances are pretty good that you
Cabbar Duzayak wrote:
As the subject mentions, is fwrite method atomic in PHP? What I mean
by that is, does fwrite function acquire an implicit lock while
writing or do I need to explicitly acquire an EXCLUSIVE lock on the
file before I call fwrite?
That depends on your mode. If you opened the
Jay Blanchard wrote:
Let's say I have a form and the action is thus;
form name=\managebatch\ action=\ . basename($PHP_SELF) .
?bid=edit\ method=\POST\\n;
Note the 'bid' attribute. Now, I have a case statement in which stuff
takes place since the form has called it because of the 'bid' attribute.
Cabbar Duzayak wrote:
Hi All,
I am using PHP on Apache/Linux with mod_php4. I need to implement a
lazy cache for some resource which should be updated say every 1 hour
in a way that the first person who arrives after an hour will be
updating the cache. As you can imagine, I need to implement a
Lars B. Jensen wrote:
I would use a cronjob to make the entry rather than a user, why let the
poor guy wait for you to create the content
You may have 2 requests both trying to
create the new cache entry, but that is much cleaner than having to
deal with locking. Do a tempnam() to get a temp
Anthony Tippett wrote:
I'm having trouble figuring out why subtraction of two floats are giving
me a very small number. I'm thinking it has something to do with the
internals of type casting, but i'm not sure. If anyone has seen this or
can give me some suggestions, please.
I have 2 variables
None of this makes any sense. PHP is a server-side request-based
language. If you want to put a delay in between things on a request,
call sleep(), but it is still just a single request which is going to
take a finite amount of time to run.
The correct way to send a bunch of emails is to
The XML functions really aren't that hard to use. If you just want a
simple parse to pick out something have a look at:
for PHP4: http://php.net/xml_parse_into_struct
for PHP5: http://php.net/simplexml_load_file
-Rasmus
[EMAIL PROTECTED] wrote:
you can handle xml output as if a string file,
theal wrote:
php.ini has extensions set up as:
extension_dir=/usr/lib/php4/20010901/
extension=pgsql.so
extension=gd.so
ls -l /usr/lib/php4/20010901/
lrwxrwxrwx1 root root 23 Mar 26 14:23 gd.so -
/usr/lib/libgd.so.2.0.1
-rw-r--r--1 root root95036 Mar 17 2002
Jasper Bryant-Greene wrote:
Johannes Findeisen wrote:
Hello all,
sorry if this has been asked allready but i didn't find any usefull
information in the web.
Why is this function not working in PHP5?
[snip]
/*
* This line does
Jasper Bryant-Greene wrote:
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
You can't access string offsets with square brackets [] in PHP5. You
need to use curly braces {} instead.
Not sure where you got that idea. This is not true.
-Rasmus
Actually, it is. See the following URL:
http
Jasper Bryant-Greene wrote:
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
You can't access string offsets with square brackets [] in PHP5.
You need to use curly braces {} instead.
Not sure where you got that idea. This is not true.
-Rasmus
Actually, it is. See the following URL:
http
101 - 200 of 1546 matches
Mail list logo