Hiya,
This is something that I'm not able to figure out :
I am building something like a Yahoo! directry. I wanted to display a "new" image
infront of a category, like Yahoo! does.
But I want to show this even if the main category may not have any new link, but a
category in that might have,
thies Fri Apr 20 23:48:43 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4
Log:
give asautins,dbenson karma for oci8 and docs
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.150 CVSROOT/gen_acl_file.m4:1.151
--- CVSROOT/gen_acl_file.m4
Ramus Lerdof,
Are you the Ramus that created PHP?
If so, just want to say -- THANKS! -- PHP is the coolest thing since Delphi
!!!
Really Love it!
Jason
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > PHP was started as a suite of perl p
Hello!
I am trying to develop a web site where some files and images are private, I am using
session to auth. user.
I would like to know how I can send some local files to the client so that others
without the access to the web site will not be able to download.
How would I stream the local
is depreciated under current PHP.
See NEWS file in source.
Regards,
--
Yasuo Ohgaki
""John Silverio"" <[EMAIL PROTECTED]> wrote in message
9bne0n$pug$[EMAIL PROTECTED]">news:9bne0n$pug$[EMAIL PROTECTED]...
> Whenever I try to mail a form I receive this message:
>
> Warning: is no longer suppor
Try latest CVS snapshot, you might find what's wrong. (Make sure you set
error_reporting to E_ALL)
http://snaps.php.net
Regards,
--
Yasuo Ohgaki
""Marc Davenport"" <[EMAIL PROTECTED]> wrote in message
002201c0c91e$d4f96590$5d3e04d8@marcd">news:002201c0c91e$d4f96590$5d3e04d8@marcd...
I need some
You are supposed to uninstall(delete) files by yourself.
Locations of files are depend on your config.
Take a look at your Makefile(s).
Regards,
--
Yasuo Ohgaki
"Maron Kristófersson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello!
I want to uninstall P
It will do the same thing as standard C lib.
How about take a look at C reference?
Basically, all output is buffered by OS. It's just tells write to file if data,
associated with the file pointer/descriptor, is in buffer.
You will see why this function is useful, if you 'tail -f' while writing d
> Does the Mysql_free_result slow down the script at all?
Sure, calling the function will be slower than not calling it. But not
significantly since the same operation will happen automatically. The
difference being that you have the option of controlling exactly when you
want it to happen.
-R
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Dddogbruce \(@home.com\)") wrote:
> A friend told me something about
> "seeding" for random() but I didn't find anything on that.
Umm, where did you look? 'Cuz the manual page on rand()--the function
which you are using to generate the rando
Does the Mysql_free_result slow down the script at all?
Randy
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 8:49 PM
To: Randy Johnson
Cc: Php-General
Subject: Re: [PHP] mysql_free_result
> Does php release the memory used by the result
> Does php release the memory used by the result set when it is done
> executing?
Correct
> if so why should I use mysql_free_result()
In case you are making multiple queries within the same script and want to
keep your runtime memory usage low.
-Rasmus
--
PHP General Mailing List (http://w
> We are using the following piece of code to connect to the dbase:
>
> if(!mysql_pconnect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){
> if(!mysql_connect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){
> die(error(55));
Could you explain why you are connecting like that? F
Hi,
I have a PHP script that I wrote several months ago which allows a user to
enter information into a MySQL database through a basic web form - it
worked very well. However, since then I had a system crash - luckily I
made a backup of the script days before the crash.
My problem is, that n
Question: A PHP/MySQL or PostgreSQL Programmer. How much per week (In
american money) is a good price range for a small but promising startup to
pay said programmer per week? Understanding everyone has their own opinions
on this matter, if you could include the salary and the reasoning why?
Also
Does php release the memory used by the result set when it is done
executing?
if so why should I use mysql_free_result()
Thanks
Randy
--
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 all,
Live is strange sometimes, and so is this error we have here.
I have a large forum (more then 300.000 pageviews a day) running.
We are using php-4.04pl1 (with the Zend/zend_list.c file patched)
and we are using MySQL 3.23.36-log.
We are using the following piece of code to connect to th
aww shucks, now i won't be a millionaire.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 10:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] TheCasino.com: You have been removed!
http://www.TheCasino.com: Better Than Life! (tm)
Sin
http://www.TheCasino.com: Better Than Life! (tm)
Since 1999 - Now With 100% "Buffer Bonuses" On All Deposits!!
Dear [EMAIL PROTECTED],
This email is to confirm that we have "removed" you from our mailing
list - per your request!
You will no longer be considered for TheCasino.com Monhtly Pr
PHP4 - written by Chris Ullman (and some others. It has 5 pictures on the front...)
--
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]
Alrighty. I'm baack! Anyways, I seem to be having stupid little
problems, al of which are driving me insane. I'll feel really
stupid when you tell me the problem. A friend told me something about
"seeding" for random() but I didn't find anything on that.
This is the HTML section...
Horse R
i got the echo of "AOHell user" to appear with this...
i'd look at what remote addr returns and check and see if that works with
your regexp...
jack
$hostname = "www.aol.com";
if (eregi(".*\.aol\.com.*", $hostname))
{
echo $hostname;
echo "AOHell user";
}
els
On Fri, Apr 20, 2001 at 05:16:50PM -0700, Michael C wrote :
> What is CVS?
Right at the top of http://cvs.php.net/viewcvs.cgi/ there're a
bunch of links about CVS.
HTH,
Markus
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
documentation:
string imap_fetchbody (int imap_stream, int msg_number, string part_number)
what is the different part_numbers i should and could use?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
documentation:
string imap_fetchbody (int imap_stream, int msg_number, string part_number)
what is the different part_numbers i should and could use?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm attempting to get something like the following to match anything from
aol.com so that I can handle AOL users differently than users from other
ISPs:
$hostname = gethostbyaddr($REMOTE_ADDR);
if (eregi(".*\.aol\.com.*", $hostname))
{
echo $hostname;
echo "AOHell u
Here are some recommendations:
http://www.webdesigns1.com/php/books.php
Jeff Oien
> Hello
> Could I get a recommendation on some good starting PHP books?
> Thanks
>
> --
> Later Days:)
> Michael Clesceri
>
> ""Perfection (in design) is achieved not when there is nothing
> more to add, but ra
Hello
Could I get a recommendation on some good starting PHP books?
Thanks
--
Later Days:)
Michael Clesceri
""Perfection (in design) is achieved not when there is nothing more to add, but rather
when there is nothing more to take away."
Forgive me for asking again
What is CVS?
I am really new to PHP and just want to make sure I am looking at the right list
Thanks for your information in advance
--
Later Days:)
Michael Clesceri
""Perfection (in design) is achieved not when there is nothing more to add, but rather
when there is
If the user's browser does not support the session cookie like it should,
PHP will automatically "rewrite" your url's and add "?PHPSESSID=".
So you don't need to force PHPSESSID to be sent, but you could always just
add ?PHPSESSID= onto all the urls you want.
It's just really ugly that way.
--
If you want to make it easy on yourself, convert it into a timestamp (unix
preferably). Then all you have to do is:
$dif = time() - $last_access_time;
if ($dif > 3600)
{
echo "The user has been inactive for more than an hour.";
}
That's if you want to make it easy on yourself. If you're a m
RTFM
...there, feel better now? *always happy to help* :)
--
Plutarck
Should be working on something...
...but forgot what it was.
"Joseph Koenig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Right on. That did it. I probably should have been RTFM'e
Just a quick addemdum. run the configure normaly on php4, then edit the
config.status and config_var.mk file. then you won't need to edit the files
anywhere else. make the same change as I mentioned before the c-client4 to
c-client. then run make make install then compile apache and you should be
Nope, you can use header() after starting a session.
This works fine, even if a session is already started:
session_start();
header("Location: http://www.fbi.gov");
Creapy, but it works.
You see, when a "header" is sent, it's not actually "sent". PHP collects all
headers and fills out a head
"Basically", yes. And I do mean "basically".
The languages have the same "basic" sort of syntax and you can make a perl
script look almost exactly like a PHP script and vice-versa.
However that means _only_ that it is easier to learn one after learning the
other.
The paradox is that Perl gurus
First off get php4.04p1 second you will need to hack the module code in
apache before running configure. in src/modules/php4. edit the
libphp4.modules file. and change c-client4 to c-client then rebuild apache.
you should be all set then. for some reason c-client4 doesn't work. I just
figured it o
Short answer: no.
If you can't just put your error information before you write information to
the screen you will need to use the ob_* family of functions. Clean the
information you've printed so far, then just print out the error information
to the screen.
--
Plutarck
Should be working on so
Just Kinda code it up
--
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]
you have the idea.
Just add the other sql statements and run it again. (Just multiply the
script by 3) or you can use a loop to add the next sql to run eg.
$sql1= "insert statement 1";
$sql2="insert statement 2";
$sql3= "insert statement 3";
for ($i=0; $i<3; $i++)
{
$qryno = '$sql' + $i
$res
Ok, now I have no idea. I'd suggest grabbing the latest RC or waiting
for the release at this point. CVS versions require a bunch of tools to
generate files (autoconf, libtool, etc.). The RC and releases come with
the generated files. There appears to be some odd problem with you
buil
it depends.
is it a char restriction that MySQL is placing on you?
e.g. a TINYTEXT field type can only contain 255 chars,
whereas a TEXT type can contain 16MB (or something like that)
if it's a PHP restriction, you'll have to wade thru
PHP scripts to find the function that checks the
length, and
> but since you replied, can i ask what influenced you most
> when developing PHP?
Whenever I couldn't decide what sort of syntax to use I copied C
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hello,
I really like how this group responds quickly. Here is another minor problem I am
facing.
My programmers are in Romania and have shut down shop for the weekend. Well, I am in
somewhat of a dilema. I have a MySql database and php enhanced admin.
section on my site. The problem I am
ahhh... sorry.
i thought the history of PHP was a bunch of perl scripts
that were used to keep track of website statistics or
somethign guess i was wrong.
but since you replied, can i ask what influenced you most
when developing PHP?
personally, i see perl influence everywhere in PHP,
but
Perl to PHP is proving to be no big deal for me. I've only just started
looking at PHP 3 days ago, and am already generating production code. PHP
to Perl would most likely be a harder move since you'd have to add quite a
few new concepts to your knowledgebase.
In general, I'd have to say that PHP
> PHP was started as a suite of perl programs... it is heavily
> influenced by perl. if you understand PHP and are comfortable
> with it, you should not have any problems learning Perl.
Not quite. I prototyped the initial parser with a Perl program (pre
version 1), but the "suite" as you call i
rawurlencode() - http://php.net/rawurlencode
';
$enc = rawurlencode($str);
print $enc . '';
?>
-dan
Previously, Floyd Piedad said:
>
> I discovered a bug in my program for uploading files, which stores the
> filename in the database in order to create a link for it on the web page in
> th
i program in both PHP/Perl, and the concepts are
extremely similar...
granted, there are some similarities to C++,
but by far, the largest contributor to PHP's
language design has been Perl.
> -Original Message-
> From: Steve Lawson [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] PERL
On Sáb 21 Abr 2001 00:27, Boget, Chris wrote:
> > I wasn't able to find this in the docs, so could someone
> > tell me exactly how --enable-trans-sid is supposed to work
> > behind the scenes?
> > Why would this option work and transmit the SID for
> > this url:
> > while it won't for this url:
>
On Vie 20 Abr 2001 18:15, Wade wrote:
> I am registering a number of variables. Can I combine them into one
> session_register, such as session_register("one", "two" ... "n")?
Well, the manuals say YES!
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
PHP was started as a suite of perl programs... it is heavily
influenced by perl. if you understand PHP and are comfortable
with it, you should not have any problems learning Perl.
there are some very important differences between the two
languages that you need to keep your eyes open for,
thing
> I wasn't able to find this in the docs, so could someone
> tell me exactly how --enable-trans-sid is supposed to work
> behind the scenes?
> Why would this option work and transmit the SID for
> this url:
> while it won't for this url:
> It makes no sense to me...
> Any help would be greatly app
I wasn't able to find this in the docs, so could someone
tell me exactly how --enable-trans-sid is supposed to work
behind the scenes?
Why would this option work and transmit the SID for
this url:
" target="_top">here
while it won't for this url:
here
It makes no sense to me...
Any help would
maybe for basics but in general no way, I think going the other way, from
Perl to PHP is a much easier transition.
- Shaun
On Friday 20 April 2001 17:10, Jason Caldwell wrote:
> If I know PHP will I *basically* know PERL? Looking at some PERL code...
> it looks nearly identical.
>
> Thanks.
>
No, you won't.
PHP is has very similar syntax to c/c++ and perl but the concepts are
extremely different.
SL.
- Original Message -
From: "Jason Caldwell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 3:10 PM
Subject: [PHP] PERL vs. PHP
> If I know PHP will
If I know PHP will I *basically* know PERL? Looking at some PERL code... it
looks nearly identical.
Thanks.
Jason
--
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
Does anyone know of a way to use sessions and still be able to redirect with
the header function. In the code below I test for the existence of the
PHPSESSID and send the user to register if it doesn't exist. If it does
exist I start a session to retrieve the session variables then call a class
th
php-general Digest 20 Apr 2001 20:25:39 - Issue 639
Topics (messages 49531 through 49595):
Re: Using mogrify ..
49531 by: Mathur
Credit Card Class...how do u access?
49532 by: Dhaval Desai
49535 by: elias
Credit Card easy script ..how 2 get results?
49533 b
I posted about this same problem over a year ago. I finally gave up and
reverted back to PHP 3 techniques of 1)generating a sessid, 2)registering
the session by storing the sessid and the variables in a mysql database and
3)passing the sessid in the url. This works like a charm.
I'd be curious if
andrei Fri Apr 20 13:08:24 2001 EDT
Modified files:
/php4 NEWS
Log:
Let people know what the heck I was up to.
Index: php4/NEWS
diff -u php4/NEWS:1.634 php4/NEWS:1.635
--- php4/NEWS:1.634 Fri Apr 20 09:56:55 2001
+++ php4/NEWS Fri Apr 20 13:08:2
andrei Fri Apr 20 12:33:22 2001 EDT
Removed files:
/php4/ext/wddx setup.stub
Modified files:
/php4/ext/wddx config.m4
Log:
Enabling WDDX by default.
Index: php4/ext/wddx/config.m4
diff -u php4/ext/wddx/config.m4:1.6 php4/ext
This function:
http://www.php.net/manual/en/function.fflush.php
Has no example on how you would code with it. Does anyone know?
It mentions "buffered output" how do you buffer output?
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angs
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("yanto") wrote:
> (eregi("([0-9][a-z][A-Z]\.[0-9][a-z][A-Z]", $myArray[x]))
>
> and don't use character '^' in front of the pattern.
(Note that since the parentheses are unbalanced, the above will thorw a
parse error.)
Since it's eregi, you
At 09:52 PM 4/19/01 -0400, Shawn Reed <[EMAIL PROTECTED]> wrote:
>However, it occurred to me that there isn't really a way (that I know of)
>to directly address a specific filename on a Macintosh as there is in
>other operating systems. For example, in Windows I could type
>C:\WINDOWS\SYSTEM
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Nicholas Pappas) wrote:
> When I check a variable (say, in a if() statement) via !$var, I get a
> Warning message printed saying that it is not initialized (if that is
> the case)... well, that's part of the reason why I bloody doing the
I'm needing to have a form that pulls a bunch of database fields into it and
then allows you to modify the fields and does the subsequent update in the
database. This seems like something that has to be done all the time. Is
there a right way to go about doing this? Some kind of class library o
I've heard a lot of people asking for info on imagemagick & php. I've created
a small class that resizes images, gets info, and stamps images. It's nothing
to call home to mom about, but it works.
http://www.miester.org/software/convert.php.asc
--Joe
/* Joe Stump
* Sr. PHP Developer
* http:/
The is no function that i know specific to do that. But you can work it out
with a RegExp. Try:
$fileName=ereg_replace("_", "[^A-Za-z0-9_%]", $fileName);
Cheers!!
-Original Message-
From: Floyd Piedad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 April, 2001 11:24 PM
To: [EMAIL PROTECTE
Hello,
Vox2Vox needs 2 developers for a short project. They don't need to work on
site. The company is in Miami/FL and the developers can be anywhere. Please
send Curriculum Vitae with your answer... Contact me directly.
Pre-requisites:
- Availability: NOW
- 3 years experience minimum pr
Actually did that... plus sacrificed several small rodents, rubbing their
internal organs all over the manual... in hopes that the PHP Gods would be
kind and giving went into a cave for 12 years, then came back out ...
having learned and understood much... but still no SET or ENUM.
I've since
Ahh It makes more sense now.
Thanks.
Jason
"Brian Clark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Jason,
>
> @ 3:08:06 AM on 4/20/2001, Jason Caldwell wrote:
>
> > Sorry if I seem dense. Your answer (although probably right on target)
> > leave
check php.ini file for "allow fopen" I think.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: ~~~LeoN~ [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Site Sear
Hi,
Use the dom xml function privided with the --with-dom=/usr/local/libxml
(witch is the path to the libxml library). There is a good tutorial about
DOM at www.phpbuilder.com.
Enjoy!
Sebastien Roy
[EMAIL PROTECTED]
Serge Vleugels wrote:
> hi,
>
> I've got to change a XML document,
> so read
andrei Fri Apr 20 09:56:55 2001 EDT
Modified files:
/php4 NEWS
Log:
That made it into 4.0.5.
Index: php4/NEWS
diff -u php4/NEWS:1.633 php4/NEWS:1.634
--- php4/NEWS:1.633 Mon Apr 16 18:09:32 2001
+++ php4/NEWS Fri Apr 20 09:56:55 2001
@@ -39,8 +3
andrei Fri Apr 20 09:55:14 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 NEWS
Log:
This actually made it in.
Index: php4/NEWS
diff -u php4/NEWS:1.611.2.3 php4/NEWS:1.611.2.4
--- php4/NEWS:1.611.2.3 Thu Apr 5 19:09:43 2001
+++ php4/NEWS Fri Apr
I deleted php4 and downladed the software again from the cvs and compiled
it.
This is the error message when executed ./make
gmake: *** [zend_language_parser.c] Violación de segmento
pablo@pablito:~/php4/Zend > cd ..
pablo@pablito:~/php4 > gmake
Making all in Zend
gmake[1]: Entering directory `/h
On 19 Apr 2001 13:25:09 -0700 impersonator of [EMAIL PROTECTED] ("Steve
Lawson") planted &I saw in php.general:
>fopen("http://localhost/name-of-file") will return the rendered page instead
Sounds good (theoretically:). Hovever, in practical attempt on my remote
server it gave:
Warning: fopen
Maybe I'm wrong on this, but could this regex also be used like this?
if(eregi("^[a-zA-Z0-9]+\.[a-zA-Z0-9]+$", $myArray[x]))
--Chris
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 1:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Regu
> Maybe someone remembers my post about my session-problem.
> Pretty much the same
> type. session gets registered just fine, but the var's are
> not being serialized()
> and put into the session-file. I never really relized that
> this only happens if I
> work at home, which is with a netscape
When using php as a FastCGI, do the database persistent connections work
in the same way that they would under mod_php? Do they work at all? or
are persistent connections only a feature under mod_php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Is there a down side to registering a var with the session more than
once? I.e. which would be preferred and why in a frequently accessed
page in a web application:
session_register('var');
or
If (!session_is_registered('var') session_register('var');
FWIW - either wa
On Fri, Apr 20, 2001 at 08:58:24AM -0600, Johnson, Kirk wrote:
> I have also seen this problem with one of my sites, but only *occasionally*.
> I have no clue as to what the problem is. Anyone else have any ideas?
Maybe someone remembers my post about my session-problem. Pretty much the same
typ
I do.
Kirk
> -Original Message-
> From: Wade [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 9:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] session_register()
>
>
> I am registering a number of variables. Can I combine them into one
> session_register, such as session_regis
I am registering a number of variables. Can I combine them into one
session_register, such as session_register("one", "two" ... "n")?
Thanks
Wade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
I have also seen this problem with one of my sites, but only *occasionally*.
I have no clue as to what the problem is. Anyone else have any ideas?
Kirk
> -Original Message-
> From: Luke Muszkiewicz [mailto:[EMAIL PROTECTED]]
>
> Hey Folks:
>
> I am using PHP sessions in IE 5.5 and NN 6
I don't know if I'm wording this right.
I have a display_error function in PHP that I want to generate a screen with
some information about the error, send us email, etc. The problem is that
sometimes it's called after the headers have been sent and in the middle of a
page. Is there a way to 'c
Thats very interesting. I normally use Netscape 4.7 myself, I find 6 to
be a resource hog and just plain slow. I tried your site and as you
pointed out, with 4.7 the registered var does not show. Yet, when I fire
up IE all works fine. I guess what I find strange is that I am using
sessions
> I just installed PHP4 on a Windows 2000 box (tried it
> both as CGI and
> ISAPI) and am getting a very annoying behavior from it, that I do not
> see on my installation in Linux.
> When I check a variable (say, in a if() statement) via
> !$var, I get a
> Warning message printed
Rasmus, thanks a lot!! Your information has been very helpful because now I
know more ways to play with the headers!.
Still, I am almost sure that it's possible to do what I want to do because I
think I've seen such behaviour in other websites, for example Yahoo! Mail
(note that the site does not
I just installed PHP4 on a Windows 2000 box (tried it both as CGI and
ISAPI) and am getting a very annoying behavior from it, that I do not
see on my installation in Linux.
When I check a variable (say, in a if() statement) via !$var, I get a
Warning message printed saying that
hi,
I've got to change a XML document,
so read the file, display it, provide a way to modify it and then write
the modifications.
has anyone done this allready or has any experiance ?
thx
Serge "Zeddicus Zu'l Zorandre" Vleugels
-- freedom is the wizard's only choice --
--
PHP General Mail
Right on. That did it. I probably should have been RTFM'ed for that one
:) I knew there was a simple solution.
Joe
Alexander Wagner wrote:
>
> Joseph Koenig wrote:
> >
> > Well, obviously there's a problem with that. The form field will show
> > "Here's the text " and then thinks it ends. Is t
Matthew Luchak wrote:
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
Hey, great idea. Wish I had thought of it : )
Actually, I did. And I sent the mail for both this list and the Dev
list but the admin server does not seem to be doing its job.
I don't use ereg(i)? much myself but for a perl compat regex I would:
/^(([0-9a-z](\2*))\.([0-9a-z](\2*)))/i
the \# refer to parenthized matches starting at 1 and counting left parens.
The match array index you will want is $myArray[1].
if you don't mind matching
1a2.1a2 you can use
/^(([0-9a-z]+
Boget, Chris wrote:
> > http://php.net/htmlentities
>
> Or, even better, just use addslashes();
>
> $query = "INSERT INTO table VALUES = ( " . addslashes( $formField ) .
> " )";
>
> That way the quotes will remain in the value to display.
This isn't the Problem. The string was cut in the input fi
> >
> > Well, obviously there's a problem with that. The form field will show
> > "Here's the text " and then thinks it ends. Is there any way to get
> > around this, other than stripping out her quotes? Thanks,
> http://php.net/htmlentities
Or, even better, just use addslashes();
$query = "INS
replace " with " before using it as an initial form value.
works in IE I am not sure if netscape interprets these codes in form fields
though
morgan
At 09:57 AM 4/20/2001, Joseph Koenig wrote:
>I have a client who insists on being able to put quotes into one of the
>fields of the database. Tha
Joseph Koenig wrote:
>
> Well, obviously there's a problem with that. The form field will show
> "Here's the text " and then thinks it ends. Is there any way to get
> around this, other than stripping out her quotes? Thanks,
http://php.net/htmlentities
regards
Wagner
--
"A conference is a gat
On Thursday 19 April 2001 21:48, Steve Lawson wrote:
> Personally, I hate trailing {'s
Personally, I hate having the {'s on the next line. I always trail them in
others code when they have them on the next line :)
and there are thousand of ways that the people here displays textblocks. some
I have a client who insists on being able to put quotes into one of the
fields of the database. That's fine with me, however, when editing
records, anything in the quotes won't show up on the admin page.
Essentially what happens is this:
Well, obviously there's a problem with that. The form field
1 - 100 of 138 matches
Mail list logo