Just update PHP to v.4.1.0 about 10 mins ago
Worked pretty go so far ! :)
Will tell about loads soon .. But as far as I see, the load really dropped
...
Yeah, and waiting till Zend is bringing out a working version of Optimizer
for
that PHP version ! :)
cya !
Daniel
PS: thx for your affords !
Where do we get the Windows Binaries?
Cheers
MH
Zeev Suraski [EMAIL PROTECTED] wrote in message
5.1.0.14.2.20011210234236.0516bec0@localhost">news:5.1.0.14.2.20011210234236.0516bec0@localhost...
After a lengthy QA process, PHP 4.1.0 is finally out. Download at
They'll be posted within a couple of days.
Zeev
At 07:42 11/12/2001, MindHunter wrote:
Where do we get the Windows Binaries?
Cheers
MH
Zeev Suraski [EMAIL PROTECTED] wrote in message
5.1.0.14.2.20011210234236.0516bec0@localhost">news:5.1.0.14.2.20011210234236.0516bec0@localhost...
After a
Hi,
I just have some few question. I hope you can help me, with some links
or some information :o)
I've to create some pdf files, but the problem is that it have to be
printed later. So it have to be in i quality about 304 dpi.
I dont know a lot about PDF. Can anyone help me please? Send me
Hi all
I've been working on a system for our company that uses MySQL to grab
user data and then send personalized mail to them once a month.
currently I step thought the mysql result mailling one mail per return.
as you can imagine .. my script timeout value is sitting on 24hours to
allow
Johan
Here are a couple of links that should get you started:
http://www.zend.com/zend/spotlight/creatingpdfmay1.php
http://phpbuilder.com/columns/perugini20001026.php3
These should keep you busy for a while!
Ade
--- i n o v i c a h o s t i n g . c o m --
Powerful hosting from
dpi doesn't really apply to a PDF file unless your PDF file has embedded
images in which case the dpi of these images would affect your output.
And PHP is fine for generating PDF with. See http://php.net/pdf
-Rasmus
On Tue, 11 Dec 2001, Johan Holst Nielsen wrote:
Hi,
I just have some
is there anyway to drag session variables to another server or are they
server specific? If you can't drag a session can you do an include for a
page on a different server giving it's URL? Just curious.
-Jordan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
PHP is a good language for creating PDFs. There are two libraries you can
use, PDFlib and ClibPDF. I have used PDFlib before and I can recommend it.
Look in the PHP manual at PDFlib functions. Incidentally, if it's for a
commercial project, then PDFlib or ClibPDF will probably need licensing.
I think I've seen something like this before... hang on, isn't it called PHP???
Could you explain what advantages you see in doing it this way, as I can't
see any :-(
Peter.
At 11:00 PM 12/10/01 +0100, Wolfram Kriesing wrote:
(just in case any of the people on PEAR-DEV will read this at all,
Hi,
I think you can include pages from other sites, servers.
SESSIONS (I think) are server specific, cuz the info is
kept on the server.
If you tell me what u gonna be doing, I can give you ideas.
thx.
erisen
--- Jordan [EMAIL PROTECTED] wrote:
is there anyway to drag session variables to
ok, i need to include some images in the PDF. But I just make them in
the right dpi then.
What about fonts? No problem if the font is Postscript or?
-Johan
Rasmus Lerdorf wrote:
dpi doesn't really apply to a PDF file unless your PDF file has embedded
images in which case the dpi of these
How about wrapping the @file(...); in an if(file_exists(...)) {...}
Doesn't seem to give an error at all , even without the @. I've tested this
on non-existant domain names and with my firewall internet connection
blocked.
Tim
http://www.chessish.com/ http://www.chessish.com/
Chinchillas are fluffy, and I don't think anyone is using them for their
logo.
--
From: Valentin V. Petruchek [SMTP:[EMAIL PROTECTED]]
Sent: 10 December 2001 16:58
To: PHP
Subject: [PHP] Logo proposal
Hello world of php-programmers!
right from http://www.php.net/downloads.php which zeev mentions at the very
top of his mail:
PHP 4.0.6 installer [755Kb] - 23 June 2001 (link:
http://www.php.net/do_download.php?download_file=php406-installer.exe)
(CGI only, MySQL support built-in, packaged as Windows installer to install
and
Um, excuse me for pointing out the obvious, but isn't that the 4.0.6
Windows binaries? And wasn't the question about the 4.1.0 Windows
binaries???
Which aren't on php.net yet..
Richy
-Original Message-
From: Stefan Rusterholz [SMTP:[EMAIL PROTECTED]]
Sent: 11 December 2001
On Tuesday 11 December 2001 10:22 am, Richard Black wrote:
Um, excuse me for pointing out the obvious, but isn't that the 4.0.6
Windows binaries? And wasn't the question about the 4.1.0 Windows
binaries???
The 4.1.0 Windows binaries, and the installer version thereof are currently
under
whoops, you are absolutly right
I'm sorry - big apologizes
:~/ *taking myself on my nose*
And I (*stupid*) had almost downloaded 4.06 twice (since I've 4.06 already
installed) not remarking that this are the old 4.06 binaries...
Stefan Rusterholz, [EMAIL PROTECTED]
I had the same problem...
You can transfer it by the URL and again register the session variables
there...
Or you can use CURL functions for this... Please check the manual...
Emek TUZUN
Jordan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
is there anyway
How can I check a string variable is based on alphabetical and numerical
characters?
For ex, I want to make a whois script for domainnames.
You may only use alphabetical, numerical characters and dashes (-)
Thanks
Emek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Is there a way of swapping the values of two variables without involving a
third variable.
something similar to the SWAP(A$,B$) of BASIC
I have a big variable(array) and I want to keep my script's memory
requirements as low as possible.
-Bharath Bhushan Lohray
--
PHP General Mailing List
hello all.
Where can i find the GD library for redhat Linux 7.0 i am using php 4.0.2.
and how do i install it
Sincerely
Tks Best Regards
Koulis Constantine.
Bucharest Romania
Phone :+40-93979131
Phone GR :+30-974293018
_
I'm having to switch from static IP to dynamic :). I've finally gotten the
Earthlink DSL (dynamic IP) up and running. Now I
need to get the service to keep my domain name in sync with my dynamic ip.
On the short list are:
TZO
EasyDNS
DNS2Go
DynDNS
Is there a better choice?
I will need ports
[EMAIL PROTECTED] (Adrian Teasdale) wrote:
Johan
Here are a couple of links that should get you started:
http://www.zend.com/zend/spotlight/creatingpdfmay1.php
http://phpbuilder.com/columns/perugini20001026.php3
These should keep you busy for a while!
also check out pc4p
Hi All - I see this feature mentioned in the release notes - It could be a
nice alternative to mod_gzip if it is what I think it is, but there doesnt
seem to be any documentation on it. Does anybody out there have an idea?
Regards,
Keith
--
PHP General Mailing List (http://www.php.net/)
To
Try this (I only tested it shortly if it works with scalars, but it should
also with arrays):
#swap $a, $b
list($a, $b) = array($b, $a);
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
Thanks Tim,
I had aready tried that and it didn't work either - go figure.
I did, however, manage to work around the problem by setting
error_reporting(0) before the operation, then returning error_reporting to
it's previous value, and continuing on my mery way.
Thanks for all the suggestions,
Hi
Can someone tell me from where can I get the binary file of php so that I
can run php files from the command line of Unix.
Thanks in advance.
Regards
Sanjay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On Tuesday 11 December 2001 10:37, Jordan wrote:
is there anyway to drag session variables to another server or are they
server specific? If you can't drag a session can you do an include for a
page on a different server giving it's URL? Just curious.
-Jordan
That depends,
You can store
[EMAIL PROTECTED] (Sanjay) wrote:
Hi
Can someone tell me from where can I get the binary file of php so that I
can run php files from the command line of Unix.
if linux check your distribution for binaries if you use another
flavor of unix you need to recompile php with cgi support
Hi!
Does the cURL software allow the PHP to work with hte modem and stuffs
like that??
Scott
--
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
Good day,
I had not even noticed the @ character... and you are right, your original
setup should have supressed the message.
Most likely this is a bug; it would be worthwhile to post it on PHP's bug
list to prevent future pain and suffering for people doing the same thing.
=)
Question,
I just updated my Linux 7.1 to Linux 7.2 and apparently the version of
Apache that I was running was replaced. When I execute phpinfo(),
Interbase is not listed. In the /tmp/php.ini, Interbase is uncommented.
Now this is where I am lost - again! As I recall, I had to create a
special version
Dear sir,
Now I install Oracle-9i running on RedHat-7.2.
In php-4.0.6 and php-4.1.0 have option for Oracle-7 or 8 below.
--with-oci8[=DIR] Include Oracle-oci8 support. Default DIR is
ORACLE_HOME.
--with-oracle[=DIR] Include Oracle-oci7 support.
Why is this:
?php
$modified = stat(header.php);
echo Last Modified: .date(F j, Y, g:i a,$modified[9]);
?
returning this:
Last Modified: December 31, 1969, 7:00 pm
from this:
-rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php
Anyone?
--
PHP General Mailing List
Hello,
First of all I am very new to PHP so if I am asking something very obvious
then I apologise. I am writing a time-sheet application for a division of
our company and we book all time by week number. Is it possible to get PHP
to work out the week number (1-53) from the current date.
Any
Hi,
If I use die or exit() it break execution of php script but also
browswer stop parsing html code. How to avoid this?
Regards.Max.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi
simply recompile ur php _without_ the config options
--with-apxs
or
--with-apache ...
thats it
best regards
attila strauss
Hi
Can someone tell me from where can I get the binary file of php so that
I
can run php files from the command line of Unix.
if linux check your
Hi,
If I use die or exit() it break execution of php script but also
browswer stop parsing html code. How to avoid this?
Use proper error handling instead of die()?
Let's face it, die() is for when your script needs to, well, die
Cheers
Jon
--
PHP General Mailing List
Well, 1st Jan 1970 is the start of the Unix epoch (i.e. what you'd get for
doing a date() on a timestamp of 0). Seeing as 31st Dec 1969 is fairly close
to this, it's worth checking that header.php exists and that your stat()
call isn't returning null or a negative.
if (file_exists (header.php))
I need some help with sessions. I read the sections in the manual and
searched for tutorials, but I still can't get a straight forward example
of how sessions work. I need to pass variables to a page that will load
in a new browser window. I used session_register, but when I look in
the
You need to have
session_start();
at the top of each page that needs to use the session vars, also check that
session.use_trans_sid is set to 1 in your ini file
hope this helps!
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 3:54 PM
To:
Actually, this is in PHP 4.1.0 which has just been released...
..here's the line from the changelog:
Added 'W' flag to date() function to return week number of year using ISO
8601 standard. (Colin)
--
Shane
On Tuesday 11 Dec 2001 3:37 pm, Nick Ward wrote:
Hello,
First of all I am very
Theres a mail archive on the php site that you can search through if I
remember correctly
Todd Cary wrote:
I just updated my Linux 7.1 to Linux 7.2 and apparently the version of
Apache that I was running was replaced. When I execute phpinfo(),
Interbase is not listed. In the /tmp/php.ini,
thanks for the starter. I have session.use_trans_sid = 1 in my php.ini,
I also have session_start() at the beginning of both pages. Now
$HTTP_SESSION_VARS is there, but its a blank array.
print_r($HTTP_SESSION_VARS); yields- Array ( )
the code I have at one page is
$z=some data;
I open a socket if I am in the middle of a php script to branch to a
page so that I can send the header information. However, I understand
that this is not how most php programmers do it. Could someone share
with me the way it is done with php?
In more detail, this is how I structure a page:
Use IF statements to group code, and only use exit() statements when you
want to stop execution/parsing.
Max [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
If I use die or exit() it break execution of php script but also
browswer stop parsing html code.
If I already have php compiled and running on my server, how can I add
the pdfLib. Do I have to compile again?
Thanks,
rodney
Ahh, Thanks. Ok I don't see it so it must not be enabled. PHP is installed
through my WebHost so to get this enabled I call them and ask if it's
possible?
Or is there a way for me to enable it without access to the server?
on 12/11/01 1:19 AM, Jon Niola at [EMAIL PROTECTED] wrote:
When
Hi Everyone,
I'm running a script that automatically reads lines from
/var/mail/myaccount, parses the lines then insert specific items into a
database this is in a loop
What i want to do is then delete the contents of the file, but not the file
itself...can you tell me the best way to do
Thank you very much, I got it to work. What I didn't understand was
that when registering the session var I was not registering the var's
value, only the pointer. This makes all kinds of sence now. Thanks!
- Anthony
Steffan Packer wrote:
You need to have
session_start();
at the
On Tuesday 11 December 2001 09:00 am, DigitalKoala wrote:
What i want to do is then delete the contents of the file, but not the file
itself...can you tell me the best way to do this?
Well, you can read the contents of the original file into a PHP variable
using fopen(). Then, use something
recreate it, for example:
%
exec( 'type your_file_name' );
%
Krzysztof
DigitalKoala wrote:
Hi Everyone,
I'm running a script that automatically reads lines from
/var/mail/myaccount, parses the lines then insert specific items into a
database this is in a loop
What i want to do is
Actually, this is in PHP 4.1.0 which has just been released...
..here's the line from the changelog:
Added 'W' flag to date() function to return week number of year
using ISO
8601 standard. (Colin)
If you have an older version you can use this line:
$week_number = strftime(%V,
Is there an archieve for this list server?
If so, I do I access it?
Many thanks..
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
hi,
whats about using the array_walk function within an object?
php says that there is no callback function.
do you have an idea?
thx,
marcbey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Check the support area of php.net, there's a newsgroup, which is never
purged, and a link to the archive.
Miles
At 09:56 AM 12/11/2001 -0800, Todd Cary wrote:
Is there an archieve for this list server?
If so, I do I access it?
Many thanks..
Todd
--
Todd Cary
Ariste Software
[EMAIL
Hello there,
When will documentation on the mailparse_* functions be available?
I found these on the Zend website:
mailparse_determine_best_xfer_encoding
mailparse_msg_create
mailparse_msg_extract_part
mailparse_msg_extract_part_file
mailparse_msg_free
mailparse_msg_get_part
Hello Listers
I have a question on how to get the full path of source file. I have a
form like this:
form enctype=multipart/form-data action=myupload.php method=post
input type=hidden name=MAX_FILE_SIZE value=1
Send this file:br input name=userfile type=filebr
input type=submit value=Send
Does anyone here subscribe to the Zend developer's suite? We have the
optimizer and debugger installed with a 4.0.5 installation and are
looking into upgrading to 4.1.0 but being a production machine, we don't
want to do anything that would jeopardize the stability of the machine.
Has anyone
$fp = fopen('/var/mail/myaccount','w');
fwrite($fp,'');
fclose($fp);
that could work. I was going to suggest doing:
unlink('/var/mail/myaccount');
touch('/var/mail/myaccount');
But I assume that since you're against deleting it, then there must be
some sort of permissions in place that you
Do a variable dump and see if any variables have that value:
pre?php print_r(get_defined_vars()) ?/pre
Mike
Pong-Tc wrote:
Hello Listers
I have a question on how to get the full path of source file. I have a
form like this:
form enctype=multipart/form-data action=myupload.php
When I use the script to upload an attachment to my form it does not email
the attachment. I am using the mail() function to email the results of the
form to me. Is there any other code I need to put in my mail() function to
make this work, if so where would I put it?
I am currently using the
The arrays $_GET, $_POST, $_COOKIE, $_SERVER contain exactly the same data
as the arrays $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS,
$HTTP_SERVER_VARS. Try this to see for yourself:
Yes, the new names are just to give people a shorter auto-global mechanism
to access this same data.
Maybe an animal beginning with P would be a good Mnemonic device (and good
for alliteration; think The PHP Panda or The PHP Platypus.) Hmm, I
guess Panda and Platypus aren't particularly powerful animals, though. :/
Other animals beginning with P:
Pelican
Panther (cheesy)
Polliwog
Protozoa
Of
Yeah.. code to divide the message into multiple parts, base64_encode the
file, and attach it that way.
I suggest looking for some kind of Email class that can do that for you.
Try http://phpclasses.upperdesign.net/
Mike
Ben Clumeck wrote:
When I use the script to upload an attachment to my
But for the use of visualization you might want to pick something friendly and fast,
so they think
of PHP in that way, instead of strange and slow.
--- Andrew Chase [EMAIL PROTECTED] wrote:
Maybe an animal beginning with P would be a good Mnemonic device (and good
for alliteration; think The
We have the developer suite at my work, and as far as I know, the
Optimizer, Debug Server, Encoder, etc. don't work with 4.1.0 at all. When
you try using the Optimizer, for instance, it spits out a line in your
Apache log (or whatever log) saying that this version of the Optimizer is
for
Might sound silly, I don't know anything about this 4.1 version
Anything I need to know about, can I still install libraries and then untar
php and use:
./configure--with this and that and this and that?
Any new features? Or is all this new info in the .gz file?
Just wondering, thanks for
Hi. Is there a way to find the class name of a method when called in the
class::method() format? If called on an object (eg. object-method()) I
could just ask for get_class($this), but when called as class::method(),
$this should not be defined. Anyway around this?
Thanks.
-Steve
--
PHP
Seconds after I write this, I see on zend.com that the Optimizer has a new
version for 4.1.0. Don't see anything about the Debug Server. I'm going to
give the Optimizer a whirl and see if stuff encoded with our old Encoder
word with 4.1.0...
J
J Smith wrote:
We have the developer suite
On Tue, Dec 11, 2001 at 10:38:26PM +0700, Somsak RAKTHAI wrote:
Dear sir,
Now I install Oracle-9i running on RedHat-7.2.
In php-4.0.6 and php-4.1.0 have option for Oracle-7 or 8 below.
--with-oci8[=DIR] Include Oracle-oci8 support. Default DIR is
Well, there goes my idea of a piranha! How about a puffin?? :)
Dan McCullough wrote:
But for the use of visualization you might want to pick something friendly and fast,
so they think
of PHP in that way, instead of strange and slow.
--- Andrew Chase [EMAIL PROTECTED] wrote:
Maybe an animal
How about a porpoise. They're fast, intelligent, and as Lewis Carol said,
you shouldn't go anywhere without a porpoise.
- Original Message -
From: Dan McCullough [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 11:38 AM
Subject: RE: [PHP] Logo
How about a Beaver? They're small, fast, and efficient.
Joshua Hoover
How about a porpoise. They're fast, intelligent, and as Lewis Carol said,
you shouldn't go anywhere without a porpoise.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
how about a python?
oh wait...
-Original Message-
From: Hugh Danaher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 3:34 PM
To: Dan McCullough
Cc: Php-General
Subject: Re: [PHP] Logo proposal
How about a porpoise. They're fast, intelligent, and as Lewis Carol
Sorry if this sounds like an extremely amature question. :)
Is there a function in PHP that will output the difference between two timestamps
(hours/mins/secs), similar in the way that getdate() extracts the date of a timestamp?
Thank you.
-Kevin Stone
I solicit information from a text field and save the data in mysql to be
pulled out later and displayed as text on a webpage.
However, Carrage Returns in the text field do not appear in the webpage
text.
With ereg_replace() I can replace the Carriage Returns with \n, so
what is this the
Hi!
My webhost has just updated to PHP 4.1 and now this loggin script does not
work.
I get page can´t be found...
---
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $st_LOGIN)
($PHP_AUTH_PW == $st_PASSWORD )) )
{
header(WWW-Authenticate: Basic entrer=\Admin Basta\);
header(HTTP/1.0
What would be an easy what to format a date value into month day year??
I want to specially display a date stored in mysql in date format
-MM-DD
The manual says: string date (string format, int [timestamp])
I tried $FormattedDate = date(F y, Y,${StoredDate})
1999-04-15 spit out December
Could be \r? I'm not sure about this becuase I haven't tried it. I know
that \r is used as the return character in other OSs.
-Kevin Stone
- Original Message -
From: phantom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 1:31 PM
Subject: [PHP] replacing
\r\n is crlf
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 3:53 PM
Subject: Re: [PHP] replacing Carriage Return
Could be \r? I'm not sure about this becuase I haven't tried it. I
know
that \r is used as the return
I am looking at the documentation for the zend optimizer and I see nothing
about this (perhaps not looking hard enough?)
The installation had me set a password for the Optimizer gui Interface. What
is this? How can I get to it?
--
Thomas Deliduka
IT Manager
-
New
Try using the DATE_FORMAT() function within your SQL query string...
$query = SELELCT DATE_FORMAT (your_date_column, '%M %d %Y') FROM
your_table;
where:
%M is the month in full text
%d is the numerical day of the month with leading zeros
%Y is the four digit year
Extract the results as
On Monday, December 10, 2001, at 09:35 PM, phantom wrote:
What would be an easy what to format a date value into month day year??
I want to specially display a date stored in mysql in date format
-MM-DD
The manual says: string date (string format, int [timestamp])
I tried
On 12/11/2001 4:22 PM this was written:
Yeah, and waiting till Zend is bringing out a working version of Optimizer
for
that PHP version ! :)
It's out Version 1.2.0
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
You could use \r\n (or combinations thereof) as others have mentioned,
but just to save you some frustration, make sure you don't put quotation
marks around the chr(13) if that regex, otherwise you'll be looking for the
literal string chr(13) and not what you'd expect, i.e. what the function
Why are we wasting time and bandwidth? The small oval is fine.
If you want to waste time - why an animal? Use a flower, say a peony, to
symbolize the blossoming richness and continued growth of PHP. Here's a
bouquet, lifted from www.flowerbud.com ... no I shouldn't do that, here's a
link
Here, play with this. dtAuctionStart is a MySQL date field, so substitute
your own connection and var.
Have fun - Miles Thompson
Some messing about with dates br
=br
?
echo $dtAuctionStart, br;
echo date (Y-m-d, $dtAuctionStart ), br;
//$strDate = $dtAuctionStart ;
Hi,
I have a problem with a remote image. I hope someone can help me.
People can post their link of their webpage at my site.
I check if the file excists, fopen().
After that I scan the page for links.
And the links for images.
Then I would like to see the sizes of all those images.
The
Excellent.
Keep me up to date on your findings. Our license only allows for the
software to be used on one machine so I can't build a test machine. :/
Mike
J Smith wrote:
Seconds after I write this, I see on zend.com that the Optimizer has a new
version for 4.1.0. Don't see anything about
Could this be solved in any way by using nl2br()?
Mike
Phantom wrote:
I solicit information from a text field and save the data in mysql to be
pulled out later and displayed as text on a webpage.
However, Carrage Returns in the text field do not appear in the webpage
text.
With
as some of you may have noticed over the last few days, a new method of
spam protection has been implemented on lists.php.net.
if you post to one of the lists.php.net lists (via mail or the news
server at news.php.net) from a mail address that is not subscribed to
the mailing list, you will
I have written a simple image uploading system to go along with a simple
database. This will be a part of a publiclay accessable search engine for a
jewelry companie's web site. Almost every entry has a corresponding image.
But that was the easy part... The problem now is that I need to
Hi
This may sound strange. but ...
Is there a limit to the number of sessions one can/should have using the
same identity details at one time. ie if beta testing a website with the
same password details etc. or is it irrelevant.
Thanks
Andrew
--
PHP General Mailing List
Why is this:
?php
$modified = stat(header.php);
echo Last Modified: .date(F j, Y, g:i a,$modified[9]);
?
returning this:
Last Modified: December 31, 1969, 7:00 pm
from this:
-rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php
Anyone?
--
PHP General Mailing List
Presumably, each item in the catalog has a unique id of some sort in
the database. When you upload the images, you can rename the image
file to image_(unique_id).jpg. Then when you load a page, you can
reference the item next to the image.
This is only one way to do it, of course. You could
I think an animal mascot is a beat idea.
Needlenose pliers. Enough said! ;)
~Chris /\
\ / September 11, 2001
X We Are All New Yorkers
- Original Message -
From: Brian V Bonini [EMAIL PROTECTED]
To: PHP Lists [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 3:43 PM
Subject: [PHP] Date
Try instead..
echo Last Modified: . date(j F Y H:i, filetime($your_file_path));
I don't know exactly what the stat() funciton
Can someone tell me if there is a bit of code I need to put on pages so I
can retrieve a cookie.
The cookie was set with the following code:
//(D) Set Cookie
$encoded_login = encode_string($login);
if ( $remember == yes ){
// set login to expire in 1000 days
$time = (time() + ( 24
1 - 100 of 136 matches
Mail list logo