It appears that the integer type being used by these functions is not able
to store the entire 32 bits (4 bytes). It can only handle up to 31 bits -
my guess is the type is signed when it should be unsigned.
In any case,I'm running PHP 4.0.5 on Linux 2.4.3 on an x86 machine. I
would appreciate
I believe there is a window.print() JavaScript code, that lets you
print a document. I've never used it, so I'm not sure.
a href=# onClick=window.print();Print Document /a
//or something like that...
good luck !!
__John Monfort_
Hi! I'm trying to write a simple script that would set a cookie. I keep
receiving the following message:
Warning: Cannot add header information - headers already sent by (output
started at e:\inetpub\wwwroot\PHP\game.php:85) in
e:\inetpub\wwwroot\PHP\game.php on line 87
Here's the code:
85
never mind, I solved the problem.
--
* Peter Knif *
[EMAIL PROTECTED]
Peter Knif [EMAIL PROTECTED] wrote in message
9e7ror$mp0$[EMAIL PROTECTED]">news:9e7ror$mp0$[EMAIL PROTECTED]...
Hi! I'm trying to write a simple script that would set a cookie. I keep
receiving the following
Hi,
I've had php (4.0.5) working fine with postgres and w-agora (forum
software), but am now having trouble after trying installs of php-nuke and
phpWebSite. These use mysql, which has also been freshly installed.
After a reboot the ? phpinfo(); ? tag executes immediately, but after
trying to
On Saturday 19 May 2001 14:22, Urb LeJeune wrote:
I'm using the follow snippet while traversing a directory.
while ($Directory=readdir($DirHandle)) {
$IsFile = is_file($Directory);
$IsDir = is_dir($Directory);
echo is file=$IsFile - is dir=$IsDir\n;
Works fine on Windows
On Saturday 19 May 2001 17:26, BlackLord wrote:
If i use these functions in my script, what will be the system resource
usage? I know, thread will be open while the script is running but, i
believe that they will not use extra system resource, won't they?
sleep () does exactly that - putting
On Saturday 19 May 2001 23:18, Dylan Finney wrote:
I am fairly new to PHP and so far I love it. One question I have is
how to call include files outside of their directory without hard
coding the real path to the file itself. Is there map path or a
See the include_path ini directive in the
Hi All!
i'm creating this form for people to upload pictures,
so i want to be able to compare the type of the file,
so that if it's not a .gif or a .jpg i give them an
error message!
What i am using is:
If ($userfile_type == image/gif)
- here it uploads the file
otherwise it sends out an
Hi All!
i'm creating this form for people to upload pictures,
so i want to be able to compare the type of the file,
so that if it's not a .gif or a .jpg i give them an
error message!
What i am using is:
If ($userfile_type == image/gif)
- here it uploads the file
otherwise it sends out an
Hi All!
i'm creating this form for people to upload pictures,
so i want to be able to compare the type of the file,
so that if it's not a .gif or a .jpg i give them an
error message!
What i am using is:
If ($userfile_type == image/gif)
- here it uploads the file
otherwise it sends out an
Hi to all:
I don`t konw very well php. I do examples everyday and solve some
problems. But in other i need help.
Today i want to upload a file. I have the form that you can find in
the php manual.
form enctype=multipart/form-data action=_URL_ method=POST
input type=hidden
I'm current trying to use PHP's unpack feature to decode a binary string and
am running into a problem.
Here is the unpack command I am using
$playerdata = unpack(czero/A$lengthone/itwo/fthree/A*four, $rest);
basically it is setup so that the hash created has 5 key/value pairs named
zero, one,
Hi:
For compare strings you can use strcmp.
$st1 = hi;
$st2 = bye;
if (strcmp($st1, $st2)) {
echo are different;
}
else {
echo are equal;
}
The strcmp return 0 when the strings are equal. If the strings are diferent,
return the pos of the char where begin the diference.
I
$playerdata = unpack('czero/A'.$length.'one/itwo/fthree/A*four', $rest);
Good Luck!
--Zak
- Original Message -
From: Craig Vincent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 20, 2001 4:00 AM
Subject: [PHP] Problem using unpack
I'm current trying to use PHP's unpack
What I look for is a POP/IMAP server that writes incoming mails to a MySQL
db! (WIN32)
Fredrik Takle
Bergen, Norway
Plutarck [EMAIL PROTECTED] skrev i melding
9e73vh$95f$[EMAIL PROTECTED]">news:9e73vh$95f$[EMAIL PROTECTED]...
Check out http://webgadgets.com/phpost/
That's a good way to get
Hi all,
I have a list of email addresses pulled from a database and I want to send
out an email to all of them (they are the registered users of this
particular site). For the first issue of the newsletter I expect to have
about 4000 people, but that will probably go up significantly in future
Check: http://www.php.net/mail
[EMAIL PROTECTED] skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I've been out of the loop for so long.
I make a normal form, but the action is something..
I don't want it to send from the uers email, but use the server. Some
people don't
From: Sean Cazzell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 8:41 AM
[...]
It appears that the integer type being used by these functions is not able
to store the entire 32 bits (4 bytes). It can only handle up to 31 bits -
my guess is the type is signed when it should be
Hey there i noticed sometinh quite odd when trying to include a class
definition:
There are several classes in the project in question.
Every class resides i a separate file that gets included.
When i call the following method
function mRenderPrintNav($client) {
php-general Digest 20 May 2001 12:41:02 - Issue 697
Topics (messages 53570 through 53607):
echo question
53570 by: Louis Brooks
53573 by: Jason Lotito
Re: Global variables? (unset/set or what?)
53571 by: Richard
Re: Global varia **Sorry, I mean... **
On 19 May 2001 15:27:31 -0700 impersonator of [EMAIL PROTECTED]
(=?iso-8859-1?Q?Rudi_Benkovi=E8?=) planted I saw in php.general:
function un_htmlentities($str) {
$trans = get_html_translation_table (HTML_ENTITIES);
$trans = array_flip ($trans);
or for
Well, I think there's a Javascript function one can use to start printing,
but users will hate it.
A bigger issue, I would think, would be formatting to preserve indents,
column alignment ,etc. We have no control over the resolution of the user's
system, size of the browser window, etc. Even
Bingo,
he said as he slapped his forehead with open palm.
Thanks a 10**6
Urb
At 10:42 AM 5/20/01 +0200, Christian Reiniger wrote:
readdir returns the file/directory name without path, is_file and is_dir
expect a complete filenam with path. So unless you only examine your
ok, are servlets/jsp faster than php4?
since zend cache isn't free... :(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello Navid,
On 18-May-01 19:44:55, you wrote:
I would like to start using the XHTML syntax for my future projects, but I
heard that PHP is not compatible with XHTML. For example, in XHTML the ID
attribute is used in place of the deprecated NAME tag. But PHP depends on
the NAME attribute in
Hello Andreas,
On 11-May-01 13:58:13, you wrote:
Hi there,
I bought this book tryed it for 2 days now to bring the Mail over SMTP
example to work.
It doesn' t work at all.
Does anybody have a class for sending E-Mails over SMTP? This really drives
me mad. It should not
be so complicated to
Hello elias,
On 12-May-01 04:04:26, you wrote:
Hello guys,
I need that badly! I need a suggestion, advise, solution or whatever that
might help!
I need a Site Search script for a page that mostly have .PHP files some are
dynamic and some are not.
Basically i was using WebGlimpse but whenever
Hi,
I have an ereg question::.
$data = a big string ,
while (ereg (testing([^;]*);blah(.*),$data,$args)) {
$this = $args[1];
$data = $args[2];
}
What I wanna do ,obviously, is to get all the strings between 'testng' and
'blah' in an array.
This will do it, yet when it wont work when
Hello Zeev,
On 12-May-01 14:14:10, you wrote:
At 04:05 12/5/2001, Wez Furlong wrote:
I know that there might be some bad interactions with apache if you fork,
but if you allow PHP to spot that it forked and call _exit() instead of
returning into the SAPI, you should be OK?
Not really, the
The best open source search engines I've seen/used are:
ASPSeek http://www.aspseek.org
Mnogoseach http://mnogosearch.org/
ht://dighttp://www.htdig.org
I've found that I prefer ASPseek to both mnogo and htdig...
-Original Message-
From:
Hi!
I've been blocked by this tiny problem...
I have a main.php file:
?
$frames = true;
$open = http://myserver.com/info.html;;
if ($frames)
{
include (frameset.php);
}
?
The frameset.php looks like (omitting almost all the HTML):
frameset rows=100,* border=0
frame src=onlineview.php3
On Sunday 20 May 2001 19:18, George E. Papadakis wrote:
I have an ereg question::.
$data = a big string ,
while (ereg (testing([^;]*);blah(.*),$data,$args)) {
$this = $args[1];
$data = $args[2];
}
What I wanna do ,obviously, is to get all the strings between 'testng'
and 'blah'
Hello Manuel,
So you suggest that I use the name attribute in XHTML and ignore the fact
that it has been depreciated and replaced by the ID attribute? Will that
solve my problem?
Navid Yar
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 11:49
When will PHP4.0.6 be released? I'm writing an image library for my site and
could use things like ImageCopyMerge() and ImageCopyResampled().
--
--
Ryan leadZERO Sommers
Raving Gaming President
[EMAIL PROTECTED]
ICQ: 1019590
AIM/MSN: leadZERO
-= http://www.ravingaming.com =-
/* All
I'm new to PHP but have found it easier to use than perl...however I'm in
the midst of converting my whole site to php from perl and Ive run into a
bit of a problem. Everything except one page is database driven, so I
havent had to parse much text or grab info from other sites. I've got a
Replace frame src=onlineview.php3 with frame src=? echo $open;?
Variable $open is passed to the included file automatically.
Hi!
I've been blocked by this tiny problem...
I have a main.php file:
?
$frames = true;
$open = http://myserver.com/info.html;;
if ($frames)
{
include
Well if you had more RAM and a faster CPU, servlets/jsp would be faster :-)
This link might not answer your question completely, but it could help...
http://php.weblogs.com/jsp
Christopher Leigh [EMAIL PROTECTED] wrote in message
Thanks for your answer George.
But I still have a problem. What if I need to get another variables values
from the main.php file? Do I need to pass them with the URL? Something like:
frame src=? echo $open.?another_var=.$another_val; ?
The big question is including a file from an included file
Hello Navid,
On 20-May-01 14:36:33, you wrote:
So you suggest that I use the name attribute in XHTML and ignore the fact
that it has been depreciated and replaced by the ID attribute? Will that
solve my problem?
It depends. If what is going to process the document is a regular browser,
the
XHTML is just making your HTML documents XML ready. This means closing your
tags, etc..
And Rasmus is right when he says PHP is 100% compatible with XHTML.
-C
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i won't pretend to be an XML guru, but isn't saying
You could always do a cron job and have a script run every 10-15 minutes,
load the existing and connecting IP's in a text file and use another script
to print out the latest successful pings.
-C
Brian [EMAIL PROTECTED] wrote in message
9e4msm$e5a$[EMAIL PROTECTED]">news:9e4msm$e5a$[EMAIL
I've been working with curl as well. It allows a pretty easy method to
access https, however it is
limited as far as encrypting data and sending to an https server. So now i'm
experimenting with
snoopy to simulate a web client. I'm trying to link up with UPS online
tools, but the sob's only
know
I can't seem to get unset() to work when I'm strying to delete an
element from an array.
I have a select list that is populated by an array, and i need to
be able to delete items from the list by deleting them from the
array, but I don't know how.
I tried using unset($array['element']); but
Not really, the parent has to somehow call wait() on the child, otherwise
you'd get zombie processes...
Generally, implementing that sort of stuff within the Apache framework is a
bit of asking for trouble :I
Anyway, PHP really lacks of real multi-threading capabilities. Things like
Hello Diego,
You need to use copy()
If the form input is like this: file: input name=userfile type=file
input type=submit
Then PHP will assign a few variables automatically to the file, which
include:
$file_name - actual name of the file (pic.jpg)
$file_size - size in bytes of the file
What I look for is a POP/IMAP server that writes incoming mails to a MySQL
db! (WIN32)
Fredrik Takle
Bergen, Norway
Plutarck [EMAIL PROTECTED] skrev i melding
9e73vh$95f$[EMAIL PROTECTED]">news:9e73vh$95f$[EMAIL PROTECTED]...
Check out http://webgadgets.com/phpost/
That's a good way to get
Nope, but you can use the ticks feature to do some of this.
Is there any documentation for this? I searched the manual and php.net but
came
up with nothing :(
Cheers.
--
Richard Heyes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On 18-May-01 Brian wrote:
Good point, I considered, doing it that way, I was just hoping that there
might be a 'prettier' way to do it from within PHP. Right now I'm using
fping from within a php loop that steps through the class C. The machine
I'm doing this on is dog slow though, so I'm
Hello Rasmus,
On 20-May-01 17:42:22, you wrote:
Not really, the parent has to somehow call wait() on the child, otherwise
you'd get zombie processes...
Generally, implementing that sort of stuff within the Apache framework is
a bit of asking for trouble :I
Anyway, PHP really lacks of real
On 20-May-01 17:42:22, you wrote:
Not really, the parent has to somehow call wait() on the child, otherwise
you'd get zombie processes...
Generally, implementing that sort of stuff within the Apache framework is
a bit of asking for trouble :I
Anyway, PHP really lacks of real
Mark Wouters [EMAIL PROTECTED] wrote:
Hi,
I've another question.. is it possible to send attachements with mail()
it sure is, look at phpclasses.upperdesign.com for classes for the
purpose (unde mail classes)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To
Ryan Sommers [EMAIL PROTECTED] wrote:
When will PHP4.0.6 be released? I'm writing an image library for my site and
could use things like ImageCopyMerge() and ImageCopyResampled().
I think the developers are hoping to release it within a week (if
everything goes smooth :)
--
Henrik Hansen
Can anyone tell me how this asp code would be rewritten in PHP, I'm having
trouble getting it to work. Don't worry about the variable names and stuff,
it's just the actual connection to the application that's causing me the
grief.
Thanks for any suggestions,
Skipsey.
begin 666
Hello Rasmus,
On 20-May-01 19:08:16, you wrote:
On 20-May-01 17:42:22, you wrote:
Not really, the parent has to somehow call wait() on the child,
otherwise you'd get zombie processes... Generally, implementing that
sort of stuff within the Apache framework is a bit of asking for
Weren't you the one that was saying that you opposed to the existence of a
PHP compiler? Despite your opposition, Zeev and Andi brought it up to the
joy of many PHP users.
Well, it is not part of PHP. It isn't even free.
Since Zeev and Andi seem to be currently the most capable developers
Manuel wrote:
[...]
Since Zeev and Andi seem to be currently the most capable developers to
bring
multi-threading capability to PHP because they developed PHP current
engine
- Zend, my question still goes for them. After all they always seemed
more
reasonable and opened to my suggestions
phpinfo() allways has a list of variables. but of course every variable is
allways in $GLOBALS too.
including constants?
I just print_r'd globals to refresh my memory, and found what I was
expecting: none of my constants.
?
_alex
--
PHP General Mailing List (http://www.php.net/)
To
Can someone give me a template of an email form?
I don't want it to use an email client, though.
I don't get the mail function, and I've been out of the loop too long.
:(
-Owen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
$address .= $email ;//insert a comma after $ email to include another address, email
address taken from session varables
// Subject
$subject = ;
//Body of email
$body = ;
//Where the email is from
//$from = sender;
$headers .= From: \n;
$headers .= X-Sender: \n;
Hello Rasmus,
On 20-May-01 20:22:48, you wrote:
Weren't you the one that was saying that you opposed to the existence of a
PHP compiler? Despite your opposition, Zeev and Andi brought it up to the
joy of many PHP users.
Well, it is not part of PHP. It isn't even free.
As long it works
Hello All,
I need to output a string that must always be 17 characters even if the inside value
is not.
Supose a have the HELLO word that is a 5 character string and I need to output HELLO
which is 17 characters.
How can I accomplish this in PHP4 ?
Has anyone ever did it?
php-general Digest 21 May 2001 01:01:49 - Issue 698
Topics (messages 53608 through 53648):
Re: Reversing htmlspecialchars()
53608 by: ~~~i LeoNid ~~
Re: Reports in web browser
53609 by: Miles Thompson
Re: Unix problem
53610 by: Urb LeJeune
ok, are servlets/jsp
Hi,
I'm trying to compile an extension for Postgre support which I will either
load in the php.ini or use the dl() function.
Both methods fail right now. The dl() function gives me verbose though.
I compiled the module like this:
./configure --with-apache=/usr/local/Apache/apache_13
On Sun, 20 May 2001 22:03:05 -0300, Carlos Fernando Scheidecker
Antunes ([EMAIL PROTECTED]) wrote:
Hello All,
I need to output a string that must always be 17 characters even if
the inside value is not.
Supose a have the HELLO word that is a 5 character string and I need
to output HELLO
My system does not tranlate ?=SID? into the PHP Session id... Don't
have a clue why, though...
Any clues?
Tia! Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
someone was looking for an undo htmlspecial chars well i found a
snipet on sourcefourge i forgot who sent the mail so here you go who
ever you are..
function unconvert_htmlspecialchars($string)
{
if( strlen($string) 4 )
{
I am trying to pull html code out of a database to put in page
something like this which I have stored in a database under cheader
html
head
title/title
/head
body
div align='center'
img src=../autowebpages/autosetup.gif'
width='406'height='158'border='0' alt=''/div
It seams all I have to do is
It seams all I have to do is put ?echo $cheader? at the top of the
page and it should work just like putting variables into a page.
But is does nothing. I would look in the manual or the archives but I
don't no wear or what to look for. It seams this should be simple what
am I missing hear
Hello Richard,
Never Mind It was a stupid mistake I am querying all the data in a
function and forgot to add the variable to the global list work just
fine DU!!
Monday, May 21, 2001, 7:08:16 AM, you wrote:
Richard Kurth I am trying to pull html code out of a database to put in page
Richard
Richard,
Forgive me for stating the obvious. How are you filling the variable
$cheader? If you are simply putting an echo command without pulling the info
from the database first you will obviously be getting nothing.
Gerard
-Original Message-
From: Richard Kurth [mailto:[EMAIL
i'd like to run something like http://sourceforge.net/projects/e-reminders/
on my site. it uses cron to trigger the mail to be sent.
i'm not familiar with unix and cron. apparently i need to use shell access
on my site to get this working.
anybody got any tips to get cron working in the
Hi all
What do I do if i want to move all values stored in one field to another field in the
same table, from field A to field B? Has anyone ever done that?
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching the goal you set for yourself
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i $index; i++) {
$itens = $HTTP_POST_VARS[$i];
}
But it is not working.
Can anoyone tell me how to do it?
Thanks,
Carlos Fernando.
Oops. I've got a typo : $itens[]
Here's the correct code :
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i $index; i++) {
$itens[] = $HTTP_POST_VARS[$i];
}
But it is not working.
Can anoyone tell me how
I love ini_get() for instance, for finding include_path.
Is there anyway to find include_path in php3, since ini_get() is for
= php4?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
several times:
UPDATE table SET B=A;
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jacky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 12:37 AM
To: [EMAIL
*** REPLY SEPARATOR ***
On 20/05/2001 at 5:34 PM Zak Greant [EMAIL PROTECTED] [gregausit/phplist]
wrote:
Manuel wrote:
[...]
Since Zeev and Andi seem to be currently the most capable developers to
bring
multi-threading capability to PHP because they developed PHP current
no, you are trying to get an $HTTP_POST_VAR[integer]... it is not there. The
keys are your variable names, therefore this is correct:
foreach($HTTP_POST_VARS as $key=$val) {
$itens[] = $val;
}
will fit everything form ..POST_VARS into $itens array. BUT you'll loose all
the key names,
foreach($HTTP_POST_VARS as $key = $val) {
echo $key: $valbr\n;
}
On Mon, 21 May 2001, Carlos Fernando Scheidecker Antunes wrote:
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i $index; i++) {
On Sun, May 20, 2001 at 01:43:36PM -0700, Rasmus Lerdorf wrote:
Not really, the parent has to somehow call wait() on the child, otherwise
you'd get zombie processes...
Generally, implementing that sort of stuff within the Apache framework is a
bit of asking for trouble :I
Anyway, PHP
On Mon, May 21, 2001 at 01:55:10PM +1000, Greg Wright wrote:
[ . . . ]
IIRC Rasmus was one of the main people involved in bringing PHP to life, it
Well, if anyone can be said to have invented it, it's Rasmus. At some
point around 96 (?) he was approached by Zeev and some others who
suggested to
I'm having some difficulty porting this code from perl to php...can anyone
give me a hand?
-Matt Broughton
#!/usr/bin/perl
# Quick and dirty Yahoo movie showtimes grabber
use LWP::Simple;
my $content =
get(http://movies.yahoo.com/showtimes/showtimes.html?z=florence%2C+scr=sim
);
my $text =
Hi,
What would be the syntax to trim 2 characters off of a given string?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
What would be the syntax to trim 2 characters off of a given string?
$new = substr($old,0,-2);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi Matt,
@ 12:31:35 AM on 5/21/2001, Matt Broughton wrote:
I'm having some difficulty porting this code from perl to php...can
anyone give me a hand?
Briefly..
--(snip)--
#!/usr/bin/perl
# Quick and dirty Yahoo movie showtimes grabber
use LWP::Simple;
my $content =
Hello.
I am having a problem when trying to view source via my IE browser.
When I try I get the following error:
Cannot open the
php_submit.php C:\WINDOWS\Temporary Internet
Files\Content.IE5\8DMZ02HJ\www.yahoo(1) file.
Make sure a disk is in the drive you specified.
** Above I just tried
this is your browser's problem. PHP has nothing to do with it.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: John M [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 2:09
yes, i have discovered recently that php is not as fast as it
is hyped to be. don't get me wrong. php is fast, but it depends
on how you arrange your scripts. if you include a lot of library
code (PEAR, etc etc), the overhead would increase and increase.
i thought php has always cached compiled
Hi All,
I have a form where i let people choose a file to
upload, but i want to limit them to image files only.
So i want to only allow the .gif and .jpg to be
uploaded. What i tried doing was this:
if ($filename_type == image/gif)
-- upload file
otherwise give an error message!
but for
I'm trying to test the gz_handler, among other things, but I have no idea if
the output is actually gzip encoded.
I'm using PHP 4.0.5 as an Apache module, and here's an example of a test
script:
?php ob_start(ob_gzhandler); ?
pThis should be compressed.
[bunch of text here just to ensure it's
91 matches
Mail list logo