Hi Alexander!
On Thu, 11 Jan 2001, Alexander Wagner wrote:
> Paul K Egell-Johnsen wrote:
> > When in doubt, follow the stream... Check out this, Amazon uses cookies,
> > Amazon does a lot of business. Do you really feel that Amazon misses out
> > on a lot of customers? Do you know of any large we
Hi Toby!
On Thu, 11 Jan 2001, Toby Butzon wrote:
> Manual suggests 3.0.3, but I can't find any proof of it in
> the changelogs...
it is not in 3.0.12 for sure. So probably from later (I guess 3.0.15).
-- teodor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
UNSUBSCRIBE
--
PHP CVS 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]
- Original Message -
From: "Ignacio Vazquez-Abrams" <[EMAIL PROTECTED]>
To: "TR Henigson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 11:42 AM
Subject: Re: [PHP] serialized respresentations of variables
> On Thu, 11 Jan 2001, TR Henigson wrote:
>
> > I c
What about the sesion.gc_probability? In the .ini file:
session.gc_probability= 1 ; percentual probability that the
; 'garbage collection' process is
started
; on every session initialization
If you have very few us
Hi!
Something strange:
A script, that uses file("http://xyz.com") does work on one sever!
Then I copied it to another server (physically more far away from the
server from which I fetch the html-page with file()) - same PHP ...
Now file() returns always an empty string (about in 1 try out of 1000
tuupola Fri Jan 12 01:13:56 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
PR:
Submitted by:
Reviewed by:
Obtained from:
Added Image_Remote class.
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.60 php4/pear/Makefile.in:1.61
--
You know what's annoying? This (yes, it happens) :
echo ("");
echo ("");
echo ("");
print("Name :");
$name = 'johnny';
printf("%s %s %s","","$name","");
echo ("");
echo ("");
print("Title :");
$title = 'smith';
printf("%s %s %s","","$title",
Hi mailing_list!
On Fri, 12 Jan 2001, [EMAIL PROTECTED] wrote:
> Hi!
>
> Something strange:
> A script, that uses file("http://xyz.com") does work on one sever!
> Then I copied it to another server (physically more far away from the
> server from which I fetch the html-page with file()) - same P
dbeuFri Jan 12 02:26:29 2001 EDT
Modified files:
/php4/ext/curl php_curl.h
Log:
take out emtpy struct
# vc chokes on them
Index: php4/ext/curl/php_curl.h
diff -u php4/ext/curl/php_curl.h:1.14 php4/ext/curl/php_curl.h:1.15
--- php4/ext/curl/php_cur
I was told to create this document on how to
install PHP4 on a Windows 2000 server machine for the not so bright
People in the company and I though that I would
share.
Any mods welcome :)
Niel Zeeman
eMail: [EMAIL PROTECTED]
Installation Procedures for PHP4 on a Windows2K server
1)
Hi all,
Is there a way in PHP to get the size of a directory? (so I can see how much disk
space my users are using in their home directory).
Can someone also tell me what the PHP General list is exactly. Is it run by PHP folk
only? Can I subscribe to this list somewhere and maybe help someone
On Friday 12 January 2001 00:26, [EMAIL PROTECTED] wrote:
> > echo "";
> > echo "";
> > echo "$title";
> > echo " if ($time_to_write_the_web_page) {
>
> // write the web page.
> echo "
>
>
> $title
> ";
One reason why I don'
you'll have to compute the sum of filesizes of all the files
in their directory. At least on NT, filesize on directory
returns 0.
At 12:08 12.1. 2001, Gareth Davies wrote the following:
--
>Hi all,
>
>Is there a way in PHP to get the
sterlingFri Jan 12 02:49:39 2001 EDT
Modified files:
/php4/ext/curl php_curl.h curl.c
Log:
Make daniel's changes work in ZTS mode...
Index: php4/ext/curl/php_curl.h
diff -u php4/ext/curl/php_curl.h:1.15 php4/ext/curl/php_curl.h:1.16
--- php4/
>
>Is there a way in PHP to get the size of a directory? (so I can see how
>much disk space my users are using in their home directory).
Maybe a system call to 'du' if you're on a unix/Linux system?
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
Guess you can run `du -s /one/folder` which outputs disk usage summary for
that folder. (Not on Win)
-J
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: 12. januar 2001 12:19
To: Gareth Davies; PHP List
Subject: Re: [PHP] Question
you'll have to compute the sum of filesi
Hi,
has anybody of you ever thought of a Layout Manager for PHP, somewhat
like Java's Swing Layout Managers? If so, design hints are very much
welcome.
Thanks in advice!
Ulf
--
Ulf Wendel, NetUSE AG Siemenswall, D-24107 Kiel
Tel: +49 431 386 436 00, Fax: +49 431 386 435 99
--
PHP General Ma
To answer my own question and for anyone else that gets stuck with this,
configuring with:
--with-mysql=/usr/local/mysql
(or whatever your mysql installation path is) instead of just
--with-mysql
seems to fix it for me.
Cheers,
Tim.
On Thu, 11 Jan 2001, Tim Colles wrote:
> Can anyone h
Hi all,
I have a problem while converting the string into upper case by using
the strtoupper function.
I want to convert the string which has some special characters in it.
For example, med vänlig hälsning, António etc. There are lots of strings /
words with some special characters in it
php-general Digest 12 Jan 2001 11:58:38 - Issue 450
Topics (messages 34157 through 34234):
Re: include path confusion
34157 by: Randy
Recomend Book
34158 by: Carlos Lora
Re: Dynamic 'left menu's' on site: Like a windows explorersystem???
34159 by: Josh G
34
Hi all,
I have a problem while converting the string into upper case by using
the strtoupper function.
I want to convert the string which has some special characters in it.
For example, med vänlig hälsning, António etc. There are lots of strings /
words with some special characters in it
>Is there a way in PHP to get the size of a directory? (so I can see how much disk
>space my >users are using in their home directory).
>Can someone also tell me what the PHP General list is exactly. Is it run by PHP folk
>only? Can >I subscribe to this list somewhere and maybe help someone els
IIRC the conversion rules are locale specific. use setlocale()
to set appropriate environment.
At 13:01 12.1. 2001, TV Karthick Kumar wrote the following:
--
>Hi all,
>
>I have a problem while converting the string into upper case
you probably meant $totalfilesize += filesize($files);
^
At 13:17 12.1. 2001, Johan Holst Nielsen wrote the following:
--
>>Is there a way in PHP to get the size of a directory? (so I can see how much d
Warning: REG_EPAREN in /home/coolguest/html/db/functions.php3 on line 13
What does this mean? The statement that is located there, is:
$string = eregi_replace(">:(","
> you probably meant $totalfilesize += filesize($files);
Offcause. Sorry just think I'm a bit tired ;o). But the rest should work?
With Best Regards
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
"Leon Mergen, BlazeNetwork" wrote:
>
> ...
>
> $string = eregi_replace(">:(","width=\"15\" height=\"15\"",$string);
>
> What is wrong with this? What can I do to fix it?
>
Use this pattern: ">:\("
Point is, you must escape "(" here, 'cause it's metacharacter in regexp.
Hope this helps.
--
sas Fri Jan 12 05:35:30 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Try to be more memory friendly by avoiding storing redundant data.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.14 php4/ext/ircg/ircg.c:1.15
--- php4/ext/ircg/
Thanks a million for your mail. It's very helpful for me.
This is fine. But can I use this for all the Special Characters. I mean,
this should NOT be working only with one language or so. I want this to be
working with all the Special Characters and Languages available in this
world.
Pls. give m
sas Fri Jan 12 05:49:16 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Make some strings static to avoid reallocating the buffers a thousand
times per second.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.15 php4/ext/ircg/ircg.c:
sas Fri Jan 12 06:27:28 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Make the format-msg functions actually available.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.16 php4/ext/ircg/ircg.c:1.17
--- php4/ext/ircg/ircg.c
I don't know what you're doing with your data, but it might be worth
knowing that in some languages such as Spanish and Italian (and French I
think) upper case letters are not always written with accents even though
the same word would have accents in lower case.
On Fri, 12 Jan 2001, TV Karthick
Hi all,
Where can I get all the special characters that can come from a Keyboard
?. Is there any site which gives information like that ?.
I need your help. Thanks in advance.
~ Karthick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Specifically getimagesize() - You'll get an array with element 0 as the
width and 1 as the height. Just test it after it's uploaded and either keep
it or throw it out.
Joe
Jason Murray wrote:
> > Is there a way to limit the image size with php?
>
> You would have to use some image manipulation
I would try copying it to your
"C:\Program Files\Apache Group\Apache\modules\" folder then
change your LoadModule line to:
LoadModule php4_module modules/php4apache.dll
Or if you want to keep it there try this:
LoadModule php4_module "c:/php4/sapi/php4apache.dll"
^
sas Fri Jan 12 06:51:13 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a format string which allows us to implement a transaction-like
JS interface for large joins (many changes, one commit).
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/i
I got past this horrible mess by breaking the code.
PHP seems to look for structures so if you break it up:
print("");
or
print("");
or
$s .= " Hello,
>
> Can someone please help?
>
> My ISP has recompiled php with the transparent sid support and now when i
try to access a certain page for th
chagenbuFri Jan 12 07:24:21 2001 EDT
Added files:
/php4/pear/HTTP Compress.php
Modified files:
/php4/pear Makefile.in
Log:
Add HTTP_Compress::, which provides an easy wrapper around producing
gzip-compressed html. This shoul
hi,
we are hosting sites on a cobalt raq
we installed php4.04 ( safe_mode)
how can we owners of the site allow uploads !
is there a way to set
upload_temp_dir on a site basis
if yes how
thank you
andreas
George Schlossnagle wrote:
> I'd like to announce the release of the APC Alternative PHP Cache
> http://apc.communityconnect.com/ . APC works by caching the scripts in
> shared memory post-compilation to effectively eliminate the overhead of
> parsing and compilation. APC was developed as a c
Hello list,
I'm having a problem with Exec and Sendmail, on PHP-4 running under Apache
1.3.14 on Windows NT.
When I go to a DOS prompt and enter
d:\sendmail\sendmail -t -messagefile=d:\sendmail\msg.txt
it works fine. When I have any of the lines
exec ("d:\sendmail\sendmail.exe -t -messagefile
Alex Black ...
> yes:
>
> if you have ever worked in a fast paced production environment, where html
> is changed sometimes 5 times a day, digging through hundreds of lines of:
>
> echo ""
>
> starts to make you insane.
Well, i suggest you to write that kind of lines this way instead:
echo ""
W
He is installing on OS X Server, which has been out for a year. Poster: Try
http://www.xclave.com/ for more info on PHP/MySQL on OS X S. If you get the
PHP/MySQL/Apache source they should compile out of the box on OS X Server.
Michael
On Thursday, January 11, 2001, at 06:25 PM, Alex Black w
Title: Blank
GD config problem, Windows problem,
browser Options issue,
or something else? I can't seem to figure this one out.
(I'm still newbie to php, trying to learn on my Win98 pc at home.
)
* * * * * * *
GD is properly showing up on the ph
sas Fri Jan 12 07:27:54 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a hook for signaling "you're gone" to the client on channel part
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.18 php4/ext/ircg/ircg.c:1.19
--- php4/ext/irc
Hello,
I'm trying to connect to Informix 7.30 using PHP 4 and IIS 4, but I receive
a "-461: unable to load locale categories" error.
I have already set INFORMIXDIR, INFORMIXSERVER, PATH variables.
May I have some help?
Thanks
Riccardo Vitella
-
Riccardo Vitella
-
I've been trying to get this to compile on SPARC Solaris 2.7, and having
troubles with the semaphore syntax. If anyone gets this to compile on
Solaris, please post your patches!
Thanks
Michael Kimsal wrote:
>
> George Schlossnagle wrote:
>
> > I'd like to announce the release of the APC Altern
sas Fri Jan 12 07:45:34 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Encode HTML entities by default
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.19 php4/ext/ircg/ircg.c:1.20
--- php4/ext/ircg/ircg.c:1.19 Fri Jan 12 07:27:53 2
Philip Olson ...
> You know what's annoying? This (yes, it happens) :
>
> echo ("");
> echo ("");
> echo ("");
> print("Name :");
> $name = 'johnny';
> printf("%s %s %s","","$name","");
> echo ("");
> echo ("");
> print("Title :");
> $title = 'smith';
>
sas Fri Jan 12 08:42:10 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
We never want to appand to the result string, so set len to 0 initially.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.20 php4/ext/ircg/ircg.c:1.21
--- php4/ext
i used to think
Name :
","$name","");?>
Title :
","$title","");?>
or more like :
Name :
Title :
---
Yeah, there are mor
On Fri, 12 Jan 2001, MR wrote:
> Philip Olson ...
> > You know what's annoying? This (yes, it happens) :
> >
> > echo ("");
> > echo ("");
> > echo ("");
> > print("Name :");
> > $name = 'johnny';
> > printf("%s %s %s","","$name","");
> > echo ("");
> > echo ("")
I need to find the number of days between a date in the past and todays date. Does PHP
have a function to do this, or do I need to write my own?
-- Random (non-anti-Microsoft) fortune
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I have a 2-d array:
$list[$ctr]["username"]
$list[$ctr]["county"]
$list[$ctr]["age"]
$list[$ctr]["id"]
$list[$ctr]["days"]
I need to sort by days, which is an integer. What function should I use?
E.g.,
$list[0][mark]
$list[0][somewhere]
$list[0][12]
$list[0][1]
$list[0][200]
$
Just subtract the Unix timestamps.
ie. $past_date = mktime(12,45,0,5,6,1994);
$diff = time() - $past_date;
$days = $diff/86400; // number of seconds in a day
echo (int)$days; // truncate to an integer
-Rasmus
On 12 Jan 2001, Matthew Brealey wrote:
> I need to find the num
phpinfo reports that XML is 'active' but i thought xml was a client side
language? what does it have to do with the server?
thanks!
- Noah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
http://www.php.net/manual/function.array-multisort.php
Matthew Brealey wrote:
>
> I have a 2-d array:
>
> $list[$ctr]["username"]
> $list[$ctr]["county"]
> $list[$ctr]["age"]
> $list[$ctr]["id"]
> $list[$ctr]["days"]
>
> I need to sort by days, which is an integer. What function should I use?
Hi,
I have got a problem that I canot connect to mssql 7.0 tables with PHP if it
contains field in "money" data type. When I change the "monty" type to
interger or other types, everything fine. The fact is that I have to
use "money" data type.
Can somebody help me please?
Thanks in advan
I found one but it's written in German and I have enough trouble with
English (my native language).
Any suggestions?
John Guynn
This email brought to you by RFCs 821 and 1225.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Why not use float?
--Joe
On Fri, Jan 12, 2001 at 05:19:59PM -, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have got a problem that I canot connect to mssql 7.0 tables with PHP if it
> contains field in "money" data type. When I change the "monty" type to
> interger or other types, everything fi
Did you try freshmeat.net ???
--Joe
On Fri, Jan 12, 2001 at 11:14:45AM -0600, John Guynn wrote:
> I found one but it's written in German and I have enough trouble with
> English (my native language).
>
> Any suggestions?
>
> John Guynn
>
> This email brought to you by RFCs 821 and 1225.
>
>
Hi everyone,
My name's Kenneth Zink and I'm a newbie here. I just started working with
PHP on Wednesday, but with the help of John Guynn, I think I'm getting the
hang of it pretty quickly.
I joined the list so that I have more resources available to me as I
continue learning how to program in P
No luck there...perl based one but not PHP. I've also tried hotscripts.com.
John Guynn
This email brought to you by RFCs 821 and 1225.
-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:17 AM
To: John Guynn
Cc: Php (E-mail)
Subject: Re: [PH
Hi! There are a few more options these days and php4.0.5 will be even
friendlier safe mode file uploading (so I hear from reliable sources.)
Through some discussion in #php , this use was proposed (by onki) :
$tmp_name = $HTTP_POST_FILES["userfile"]["tmp_name"];
move_uploaded_file ($tm
John,
Thanks for the suggestion. I tried both options and
still got the same error.
Let me know if you can think of any other way to fix
this.
Naresh.
--- John Meyerhofer <[EMAIL PROTECTED]> wrote:
>
> I would try copying it to your
> "C:\Program Files\Apache Group\Apache\modules\"
> folder
sniper Fri Jan 12 08:49:07 2001 EDT
Modified files:
/php4/ext/domxmlphp_domxml.c
Log:
- Fixed a possible crash bug in xmltree().
# PR: #7052
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.24 php4/ext/domxml/php_domxml.c:1.2
Ok,
I recently upgraded to 4.0.4 (i am aware that pl1 is out, but there is no
note of the fix in NEWS).
Since that upgrade, when returning data from MySQL that begins with a `$',
it munges the $ and the first two characters following. This change has
only been since my upgrade from 4.0.3pl1 to 4
This solved the problem. Thanks.
Naresh.
--- Belltree <[EMAIL PROTECTED]> wrote:
> Naresh Chafekar£¬Hello£¡
>
> You must copy php4ts.dll to windows/system folder.
>
> Belltree
>
> ÔÚ 01-1-11 23:58:00 you wrote£º
> >I have windows98, apache 1.3.14, php4. After adding
> >following line in httpd
Haven't tried it. My guess is that it doesn't work, but could be made
to.
--
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]
grrr.
XML means 'eXtended Markup Language' and is not a client side language, but
a language specification - say: standard. Many 'languages' derrive this
standard, such as WML, XHTML and many other data exchange file-types.
XML active means, that the XML-parsing functions will work with your PHP
that may work for you, but it created a lot of overhead in your
applications, and anyone that doesn't know about you special "html api" will
be screwed...
by all means use whatever techniques you like in-house, but that would be
completely useless to someone in the "outside world"
-alex
> (comm
> No.
>
>
>
> makes the code usable, and your HTML can even be edited with a
> graphical HTML-editor.
>
> There is no reason to mix up HTML and PHP, except for very small
> projects.
>
> regards
> Wagner
and the problem with that, is you're not paring tons of html through a
search-replace fu
No idea. :) Haven't tried it. I'll check and write back to the list.
Michael Kimsal wrote:
>
> You mean 'eval' doesn't work at all, or doing an 'eval' on a particular
> file?
>
> George Schlossnagle wrote:
>
> > Haven't tried it. My guess is that it doesn't work, but could be made
> > to.
> Coding standards are being created (via PEAR) and a few recent articles
> exist but point is we're teaching differently, everywhere. PHP is loose
> as a goose! print 'foo'; print("foo"); print "foo"; printf("%s","foo");
> ... all being taught, all being read, all being (mis)used.
!
http://w
Guess I should look at the code/try it out before I respond to things.
:)
eval()'d code works fine, though it won't be cached (the file calling it
will be of course, but no eval()'d bit won't be.)
Michael Kimsal wrote:
>
> You mean 'eval' doesn't work at all, or doing an 'eval' on a particul
> or more like :
>
>
>
>
> Name :
> $name = 'johnny';
> echo $name; ?>
>
>
> Title :
> $title = 'smith';
> echo $title; ?>
>
>
>
yes, uhhzakkly :)
>
> ---
> Yeah, there are more important things in life than money, but they won't go
> out with
Sorry bout that. Fixed it myself. This is the preg_replace bug w/ $ that
hit the list a while ago. Template engine uses preg_replace.
-c
> Ok,
>
> I recently upgraded to 4.0.4 (i am aware that pl1 is out, but there is no
> note of the fix in NEWS).
>
> Since that upgrade, when returning data f
Alex Black wrote:
> >
>
> and the problem with that, is you're not paring tons of html through a
> search-replace function, which also created unnecessary overheead, and
You have a point here. Template-systems are slow.
> forces you (once again) to make a spec that says "here's how this templat
I'm currently working on an installation
of rosenet's MyCart and I am curious if
anyone has used this cart and modified it
to include product options, size color etc..
my intended end product is an online ordering system
for a pizza place, so essentially my options
will be pizza sizes and toppings
rasmus Fri Jan 12 10:27:59 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
More karma for Jon
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.32 CVSROOT/avail:1.33
--- CVSROOT/avail:1.32 Thu Jan 11 22:15:30 2001
+++ CVSROOT/avail Fri Jan
How can I correctly register session vars on a recursive form?
If I call a page repeatedly using:
The earlier variables keep getting lost.
How can I register the session variables correctly? Each subsequent
page should set its own variable while remembering all those previously
set.
Right n
This is probably due to the fact that form values don't override session
values... this is a feature, not a bug. (imagine if i could do:
http://www.yourdomain.com/highsecurity.php?user=admin and magically
become admin... very broken security)
-jm
-Original Message-
From: bill [mailto:[E
>http://www.binarycloud.com/code_standard.html
>> http://marc.theaimsgroup.com/?l=php-pear&m=97603413001842&w=2
>> Best Practices: PHP Coding Style :
>> http://phpbuilder.com/columns/tim20010101.php3
>> Smart Architectures in PHP :
>> http://phpbuilder.com/
In article ,
[EMAIL PROTECTED] wrote:
> when was http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.3&r2=1.4
http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.6&r2=1.7
jim
--
PHP General Mailing List (http://
metallicFri Jan 12 11:44:25 2001 EDT
Added files:
/php4/pear/XML/Render render.php
Log:
This rendering class is *very* incomplete. Comments are welcome
Index: php4/pear/XML/Render/render.php
+++ php4/pear/XML/Render/render.php
http://www.ph
O.K., this seems to work:
---
$thevals=array(alpha,beta,gamma,delta,epsilon);
while (list($key, $val) = each($thevals)) {
if ($HTTP_POST_VARS["$val"] && (!session_is_registered("$val"))) {
session_register("$val");
}
}
---
bill wrote:
> How can I correctl
> that may work for you, but it created a lot of overhead in your
> applications, and anyone that doesn't know about you special "html api"
will
> be screwed...
That I prefer to call it "investment" instead of overhead because it has
given us a system we vastly prefer.
> by all means use whateve
Christian Reiniger ...
> One reason why I don't like the "echo" route: I lose the syntax
> highlighting for the HTML that way. String constants should be
> highlighted as, well, string constants normally, but when they contain
> HTML code that's just plain ugly.
Well, that's the point about usin
the main reason to follow guidelines like this is to make your code legible
and modifiable.
i come to PHP from HTML via Perl/CGI, and have inherited some nasty code on
sites i have worked on. i've always appreciated code that is structurally
formatted.
Perl is notorious for its intrinsic flexi
Just curious. I tried accessing MySQL through ODBC using
a system DSN (MyODBC driver ver. myodbc-2.50.36-nt.zip)
and a script as simple as this one crashes Apache at the
odbc_fetch_row() call. I actually don't know much about
ODBC related stuff inside PHP... or generally, for that
matter, so I
Hi! I was wondering if someone knows, or can think of a way to go around
this problem i have.
The thing is i am working with a form with a field array. Each field is
something like:
When i receive the posted data, I can access the "myfields" array. This is
fine.
The problem is within my form i
venaas Fri Jan 12 12:49:25 2001 EDT
Modified files:
/php4/ext/standard http_fopen_wrapper.c
Log:
Follows redirects again, and $http_response_header now contains all headers
with an empty string as delimiter
@- Made fopen() of HTTP URL follow redirects, $http
>i do think that the code standard has some good elements to it, but
>it goes
>too far to specify a 4-space indent and to specify no spaces within
>if
>(condition) statements.
I don't think it goes too far (I think it should be 3 spaces tho),
but until the php guys publish some official style gu
Does anyone know if CodeCharge create SQL dump
files as well as the code, or do you have to
create them for your specific needs?
Jerry Lake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Alex Black ...
>
>
> is really not that much harder to write.
>
> html people can ignore it, php can find their code, and those that know both
> can reap the benefits.
>
> what about loops?
You mean that this code
";
while (fetch_row_from_query())
{
$output = data_from_fetched_row();
I think you missed something:
tell me that's not easier on your eyes :) Another nice thing about
doing it this way is you can work with a web designer who uses a
visual tool like dreamweaver.
On Fri, 12 Jan 2001 22:10:08 +0100, MR ([EMAIL PROTECTED])
wrote:
>Alex B
How do I store a jpg within a table?
I want for a user to be able to pull a jpg from either their HD and store it
in a table with some other information for a classifieds section. That way
when the ad is deleted, the picture goes with it instead of remaining on my
HD.
Kenneth R Zink II [EMA
In Dreamtime, we'd just have a template that looks like this:
{:each:output}
{output}{more_output}
{:next:more_output}
{:end}
Even a pot-smoking mac-using hippie web designer can understand that. :-)
And it's readable in Dreamweaver or GoLive or any of those visual HTML
tools. Fo
Hello,
I just added the translated versions of the manual in WinHelp format to
http://www.php.net/docs.php I hope you all find it usefull.
Regards,
Derick Rethans
-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED
1 - 100 of 156 matches
Mail list logo