--- Richard Lynch <[EMAIL PROTECTED]> wrote:
> What regular expression does one use when there really isn't a
> whole lot you can say about the text?...
>
> I mean, say for a guestbook or bulletin board or for a person's
> Bio or...
>
> You can limit it to a certain number of characters in length
Karl James wrote:
Team
I am trying to teach myself php through a book I got at the store.
Its kinda rough with limited programming experience.
I was wondering if you could take a look at my code and tell me or write the
code so it Will work and make comments in it so I know what I did wrong.
Here
Hi List,
Is there a way of checking a list of say 10, 100, 1000 domain names to see
if they actually point to our nameservers and report back which ones are not
?
I would really appreciate any help you may give with this enquiry and I
thank you fully in advance
Dave C
--
No virus found in th
Hello
If this is an inappropriate place to seek help, many apologies, and where might
I try?
I have a PHP 4.1.2 script on Red Hat (Apache 1.3.27) which calls an external
script (Tidy, from tidy.sourceforge.net). It is called via popen() so that I
can pipe through some arguments and receive th
Hello,
This question could be seen as a general programming question, but
because PHP is what I know best, I'll ask it here.
A good friend of mine is the person who got me more interested in
programming as a career. She's a professional COBOL programmer, and
works for a large bank. She once
W Eakin wrote:
Hello,
This question could be seen as a general programming question, but
because PHP is what I know best, I'll ask it here.
A good friend of mine is the person who got me more interested in
programming as a career. She's a professional COBOL programmer, and
works for a large
Good question.
Personally, I think I tend to write more new code than reworking old
code. However, I have taken on numerous projects where I've been
required to port ASP to PHP and MSSQL dbs to Postgre or MySQL... but
these projects also require a fair bit of new code.
There are *so* many legacy
Jason Barnett wrote:
> Symbulos Partners wrote:
>> Has anybody implemented an object oriented database in PHP yet?
>
> Boy you are new ;)
>
> Check out the PEAR DB package for several OO implementations.
Is PEAR DB not a OO DB API?
Is there a OO DB embedded?
--
symbulos partners
-.-
symbulos
Brandon Thompson wrote:
> We use Propel for all of our development.
Where can we find more about it?
--
symbulos partners
-.-
symbulos - ethical services for your organisation
http://www.symbulos.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hello all,
I've a table in my database with 1 lakh records using a disk space of around
50Mb. I wanted to download the records. I used phpmyadmin (coz my hosting
provider doesnt allow remote access to my db) to export the database but its
not working for larger databases. I thought that it migh
What we would like to achieve?
If a malicious user finds a way of entering of accessing the docroot (rwx)
of a website with CMS (PHP + MySQL), we would like to have further barrier
to him accessing the Mysql database.
We had some problem with one hacker using the database of a website with
PhpBB
Jason Barnett wrote:
Jason Morehouse wrote:
Sorry for the lame question... but I prefer to read and reply to
messages via the news server. However, I can't seem to post to
news.php.net. I'm using thunderbird, and have tried a few different
outgoing servers, including news.php.net. Is the news
symbulos partners wrote:
Brandon Thompson wrote:
We use Propel for all of our development.
Where can we find more about it?
Google is your friend.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On 21/12/2004, at 9:41 PM, Eakin, W wrote:
The question is, how much of your time (you, the professional PHP
coder reading this), is spent rewriting/repairing old code vs. writing
new code.
When I'm working on a new project, my time is generally spent hooking
into my existing framework with new
Bruce, that is the typical answer when someone has a God complex and feels
is his duty to teach everyone to be like him... Don't worry just feel sorry
for him.
QT, take a look at these links
http://www.zend.com/store/products/zend-safeguard-suite.php
http://www.sourceguardian.com/
just some of t
Hello
First try to ask what permissions you have on your server. After that if
you have permissions you can using system() command to emulate some
functionality.
Regards
Bogomil Shopov
http://purplerain.org
Adwin Wijaya wrote:
Hello all..
Since my webhosting didnt provide me with telnet access,
Bruce Douglas wrote:
and this response was helpful to the guy who asked the original question, how
i mean, aside from showing that you know how to do a link, what did you show
peace...
You have shown that you are a newby to mailing lists.
--
Raditha Dissanayake.
---
Paul Aviles wrote:
Bruce, that is the typical answer when someone has a God complex and
feels is his duty to teach everyone to be like him... Don't worry just
feel sorry for him.
Your sympathy is misplaced.
--
Raditha Dissanayake.
--
Paul Aviles wrote:
Bruce, that is the typical answer when someone has a God complex and
feels is his duty to teach everyone to be like him... Don't worry just
feel sorry for him.
QT, take a look at these links
http://www.zend.com/store/products/zend-safeguard-suite.php
http://www.sourceguardian.
[snip]
Bruce, that is the typical answer when someone has a God complex and
feels
is his duty to teach everyone to be like him... Don't worry just feel
sorry
for him.
[/snip]
So, if I teach everyone to be like me, which includes the following
traits;
a. I RTFM
2. I STFW and STFA
III. I try to a
Her is the code (not mine) what I am trying to so is cut out all the header
info that is included in the message as shown here
http://supercool-74.com/sms/liveticker.php
The message is supposed to be terminated by the "xx" string which is defined
in config.php but it just continues and prints a
> when someone has a God complex
I always thought that was a basic requirement for being a programmer.. *shrug*
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
the delivery is the problem not the thought process.
people are trying to find answers not being lectured and reprimanded. Many
people are getting into the field and are new and may not have the "wisdom"
or experience other people have. Think about it
How many times have you been dealing wit
no sympathy, reality.
So, if someone asks how to past the max_upload size limit will you send them
to google or maybe point them to your web site how-to?
hmmm.
be kind, is free, and people will respect you more.
- Original Message -
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
Cc:
It's sad to see how the quality of the help you can get in this list has
dropped of late. It's not because of the people who post off topic
messages or don't bother to read the FAQ or RTFM before posting. It's
because of the people who immidiately spring to the defence of the off
topic posters.
> symbulos partners wrote:
> > Brandon Thompson wrote:
> >
> >
> >> We use Propel for all of our development.
> >
> >
> > Where can we find more about it?
>
> Google is your friend.
http://propel.phpdb.org
It requires PHP 5, plus it requires additional tools like Creole and Phing
(similar to
[snip]
the delivery is the problem not the thought process.
people are trying to find answers not being lectured and reprimanded.
Many
people are getting into the field and are new and may not have the
"wisdom"
or experience other people have. Think about it
How many times have you been dea
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie to
compiling and have no idea where to start, so any links to guides and/or
other useful info would be much appreciated.
My reason is that I need MySQL 4 support, but I would like to get a
general overview of compiling a pr
[snip]
no sympathy, reality.
So, if someone asks how to past the max_upload size limit will you send
them
to google or maybe point them to your web site how-to?
hmmm.
be kind, is free, and people will respect you more.
[/snip]
Nope, because the question requires more than a "yes" or "no" a
some people will never get it.
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Paul Aviles" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 10:41 AM
Subject: RE: [PHP] can I compile php source
[snip]
no sympathy, reality.
So, if someone asks
[snip]
It's sad to see how the quality of the help you can get in this list has
dropped of late. It's not because of the people who post off topic
messages or don't bother to read the FAQ or RTFM before posting. It's
because of the people who immidiately spring to the defence of the off
topic p
Raditha Dissanayake wrote:
I see that many people who used to make valuable contributions in this
list an year ago no longer make any posting. No doubt they are fed up.
Others make fewer contributions than they used to. The way things are
going pretty soon it will be a case of blind leading the
On Tue, 2004-12-21 at 10:53, Jay Blanchard wrote:
> [snip]
> It's sad to see how the quality of the help you can get in this list has
>
> dropped of late. It's not because of the people who post off topic
> messages or don't bother to read the FAQ or RTFM before posting. It's
> because of the pe
Paul Aviles wrote:
some people will never get it.
Yeah, I said I wasn't going to reply to this thread, but since you're
not going to let it die...
You said that I have a 'God' complex, yet you sit here and try to impose
your political correctness on us; sitting up there on your high and
mighty
Donald Tyler wrote:
I am looking for a guide on compiling PHP 4. I am a complete newbie to
compiling and have no idea where to start, so any links to guides and/or
other useful info would be much appreciated.
PHP is a scripting language, no need to compile it.
If you're really new, 2 links from t
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie to
compiling and have no idea where to start, so any links to guides and/or
other useful info would be much appreciated.
My reason is that I need MySQL 4 support, but I would like to get a
general overvi
after looking at the msgs on this list for this thread...
i'm curious. if you see an email that you don't want to respond to, why can't
you simply choose not to respond to it, and ignore the msg.
peace..
-Original Message-
From: Paul Aviles <[EMAIL PROTECTED]>
Sent: Dec 21, 2004 7:48
[snip]
some people will never get it.
[/snip]
Can we vote someone off of the island? He's a little too grouchy for
being this close to Christmas.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I promised myself that I wouldn't get in the middle of any flame wars but
I just had to say something about my experience.
The day I stopped looking for free handouts and became self-sufficient in
my ability to find the answers myself was the day someone told me to RTFM
a few years ago. It was a
I'm working on a script that will parse through a long string using
regexs to pattern match a certain format. I'm having an issue with a
'?>' in a string being picked up as an end-of-code character, but only
if the line before it is commented out. If the line before is NOT
commented out, PHP proc
Raditha Dissanayake wrote:
It's sad to see how the quality of the help you can get in this list has
dropped of late. It's not because of the people who post off topic
It's probably just because it's the holiday season and/or people working
feverishly to meet year-end deadlines. I know I don't l
On Tuesday 21 December 2004 07:44, Sagar C Nannapaneni wrote:
> I've a table in my database with 1 lakh records using a disk space of
> around 50Mb. I wanted to download the records. I used phpmyadmin (coz my
> hosting provider doesnt allow remote access to my db) to export the
> database but its
John Nichel wrote:
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie to
compiling and have no idea where to start, so any links to guides
and/or other useful info would be much appreciated.
What OS are you using? I have found compiling on Windows to be
Honestly, I think it does depend a lot on the language you are using.
>From my experience, most people who work in PHP tend to write more new
code than those who use COBOL.
[snip]
There are *so* many legacy COBOL applications though that, yeah, I think
a COBOL programmer will very rarely get to wr
The day I stopped looking for free handouts and became self-sufficient in
my ability to find the answers myself was the day someone told me to RTFM
a few years ago. It was a friend of mine and it was a little hurtful. But
he was right! The answer was right in the man page.
Then I felt stupid for as
On Tuesday 21 December 2004 20:06, symbulos partners wrote:
> What we would like to achieve?
>
> If a malicious user finds a way of entering of accessing the docroot (rwx)
> of a website with CMS (PHP + MySQL), we would like to have further barrier
> to him accessing the Mysql database.
Like I sai
On Wednesday 22 December 2004 01:00, Bruce Douglas wrote:
> after looking at the msgs on this list for this thread...
>
> i'm curious. if you see an email that you don't want to respond to, why
> can't you simply choose not to respond to it, and ignore the msg.
It's probably because they *do* want
> Subject: [PHP] This list is dying:
Wait.. has Netcraft confirmed it?
FYI, I don't think the list is any different... ups and downs...it's always the
same questions, flamers, newbies, etc. All that changes are the names.
Whoever this "John Nichel" character is though should be banned... ;)
Guys, this is trivial. It takes the same effort to provide the answer to
whoever this guy was, than to lecture him on how to think.
"this question has been answered before, use google and do a search for
" and "follow this link before posting as it may help you in the future"
I am not tryi
Hi folks,
according to this old message
[http://www.mail-archive.com/php-general@lists.php.net/msg87293.html]
it's not possible to use "php_value disable_functions" on Apache's vhost.
Since this message is two years old I would like to know if it's still
being true.
I have to allow system() f
On Tuesday 21 December 2004 23:34, Jay Blanchard wrote:
It seems either Paul responded directly (and only) to Jay or I missed this
message (by Paul):
> the delivery is the problem not the thought process.
>
> people are trying to find answers not being lectured and reprimanded.
> Many
> people a
Ross Hulford wrote:
> Her is the code (not mine) what I am trying to so is cut out all the
> header
> info that is included in the message as shown here
> http://supercool-74.com/sms/liveticker.php
Granted, it's 5 hours later, but I'm not seeing anything much at that URL...
> The message is suppo
> From: Steve Brown <[EMAIL PROTECTED]>
> Unexpected results:
> If line 16 (indicated below) is commented out, the '?>' in the string
> on line 17 makes PHP stop parsing and the rest of the script is simply
> dumped to stdout. If line 16 is NOT commented out, the '?>' is NOT
> picked up as being
Is there a simple way to send the results of a form to an email address? I
have created a form with multiple categories of radio boxes and I have
created a response PHP file that will give the user a confirmation. I'm just
not sure how to send the results through email. I've checked the
documentati
symbulos partners wrote:
> What we would like to achieve?
>
> If a malicious user finds a way of entering of accessing the docroot (rwx)
> of a website with CMS (PHP + MySQL), we would like to have further barrier
> to him accessing the Mysql database.
>
> We had some problem with one hacker using
Ken Bolton wrote:
Is there a simple way to send the results of a form to an email address? I
have created a form with multiple categories of radio boxes and I have
created a response PHP file that will give the user a confirmation. I'm just
not sure how to send the results through email. I've check
On Tue, 2004-12-21 at 11:41 +0100, Eakin, W wrote:
> Hello,
> This question could be seen as a general programming question, but
> because PHP is what I know best, I'll ask it here.
>
> A good friend of mine is the person who got me more interested in
> programming as a career. She's a profe
Sagar C Nannapaneni wrote:
> I've a table in my database with 1 lakh records using a disk space of
> around 50Mb. I wanted to download the records. I used phpmyadmin (coz my
> hosting provider doesnt allow remote access to my db) to export the
> database but its not working for larger databases. I
On Tue, 2004-12-21 at 12:26, Christopher Fulton wrote:
> Anyways, to answer your question, I spend about 30% of my time writing
> new code and about 70% of my time working on legacy code. Of course,
> often due to lacking comments most of the time spent with old code is
> just trying to figure out
May I suggest that you use PHP's mail() function and avoid the problem
altogether.
The format is much the same as the one you are using.
Alberto Brea
[EMAIL PROTECTED]
-Original Message-
From: "Paul Aviles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 20 Dec 2004 20:00:22 -0500
While "Yes" may be a technically accurate answer to a question like
"Can I ..." or "Can anyone ...", a couple of points must be
acknowledged:
1) Such an answer doesn't help the original poster. Period. And the
purpose of a resource like this is to help, right? Even a "RTFM" or
"search Google"
Eakin, W wrote:
> Hello,
> This question could be seen as a general programming question, but
> because PHP is what I know best, I'll ask it here.
>
> A good friend of mine is the person who got me more interested in
> programming as a career. She's a professional COBOL programmer, and
> works
On Wednesday 22 December 2004 01:12, Steve Brown wrote:
> I'm working on a script that will parse through a long string using
> regexs to pattern match a certain format. I'm having an issue with a
> '?>' in a string being picked up as an end-of-code character, but only
> if the line before it is
Wow I just wasted 10 minutes of my day reading half these post. This is
one long thread. And man is it hard to follow.
Dan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 22 December 2004 01:37, Paul Aviles wrote:
> Guys, this is trivial. It takes the same effort to provide the answer to
> whoever this guy was, than to lecture him on how to think.
"Teach a person to fish ..."
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Softwa
John Holmes wrote:
Whoever this "John Nichel" character is though should be banned... ;)
I've been banned from a barroom here and there...does that count?
BTW, since you only post once in a blue moon these days, you've dropped
back down to newbie status. ;)
--
John C. Nichel
ÜberGeek
KegWorks.co
Chadwin Tom wrote:
> If this is an inappropriate place to seek help, many apologies, and where
> might I try?
>
> I have a PHP 4.1.2 script on Red Hat (Apache 1.3.27) which calls an
> external script (Tidy, from tidy.sourceforge.net). It is called via
> popen() so that I can pipe through some argum
> with anything else. Has anyone run across error 127 from system, or
> have any idea what's going on?
For future reference, find a convenient way to look up 127 error code
number in your OS.
"man errno" is sort of okay in most Un*xes, except then you have to count
127 lines down to get the right
On Wednesday 22 December 2004 02:42, Eduardo M. Bragatto wrote:
> according to this old message
> [http://www.mail-archive.com/php-general@lists.php.net/msg87293.html]
> it's not possible to use "php_value disable_functions" on Apache's vhost.
> Since this message is two years old I would like t
>> I have found some code and set up a test bed for it, but it fails to
> return
>> the same value after the 26th item. I was hoping someone could take a
>> look
>> and maybe tell me why? There is very little help out there for
>> encryption.
>> If you know of a working example/tutorial, can you pl
I saw a post at http://www.php.net/manual/en/ref.curl.php where it says:
"Using the customrequest for a complete post is wrong. Libcurl will add
a partial url, the http version and the standard headers after the post
data - while this works with a non-persistent connection and an apache
web server
> http://www.theufl.com/php/wrox_php/movie_details10.php
Copy movie_details10.php into movie_details10.phps (with an 's' on the
end) and then we can surf to your source and tell you something useful.
Or, copy and paste your soure up to the line with the error to the list.
We sure can't help you
> Quote: The one-line comment styles actually only comment to the end of the
> line or the current block of PHP code, whichever comes first. This means that
> HTML code after // ?> WILL be printed: ?> skips out of the PHP mode and
> returns to HTML mode, and // cannot influence that. If asp_tag
adwin wijaya wrote:
> Since my webhosting didnt provide me with telnet access, I would like to
> have a small software that created by php to do some bash function such
> as lynx, ls etc ?
If a new host is not possible for political or other reasons, and if your
host wasn't smart enough to turn it
Paul Aviles wrote:
> Hello, I am having problems with this code below. The system is a FC1
> server
> and it is supposed to send an email collecting some information of a
> computer. The problem I am having is with the "<" and ">" characters. When
> the $header variable is created, it does not work
There's a cool utility at: http://freespace.sourceforge.net/errno/index.html
Of course, errno 127 is 'unknown error', so it wouldn't have been a huge help.
On Tue, 21 Dec 2004 11:00:05 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> > with anything else. Has anyone run across error 127
Anthony Baker wrote:
> I often use PHP includes in my files to pull in assets, but I hard code
> the relative path to the root html directory for the sites that I'm
> working on in each file. Example below:
While I happen to think using include_path and $_SERVER is a better
solution to setting up
http://www.php.net/mail
-phpninja
-Original Message-
From: Ken Bolton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] email form results
Is there a simple way to send the results of a form to an email address? I
have created a for
Sebastian wrote:
> i have an upload form which i would only like to allow compressed zip
> files
> and rar files to be uploaded. currently i use
>
> if ($_FILES['userfile']['type'] != 'application/x-zip-compressed')
>
> which only seems to work in IE, doesn't work in mozila (haven't tried
> oth
Matthew Sims wrote:
> I promised myself that I wouldn't get in the middle of any flame wars but
> I just had to say something about my experience.
>
> The day I stopped looking for free handouts and became self-sufficient in
> my ability to find the answers myself was the day someone told me to RTF
Assemble all of your data into the message body (see $message below) and
mail it to yourself.
How you trigger this processing and the call to the mail() function depends
on how you've constructed your logic.
$message .= $name ."\n";
$message .= $phone . "\n";
$message .= $email;
mail( "[EMAIL P
Steve Brown wrote:
> I'm working on a script that will parse through a long string using
> regexs to pattern match a certain format. I'm having an issue with a
> '?>' in a string being picked up as an end-of-code character, but only
No need to run it.
?> can be caught by PHP as the end of PHP mo
I know that "register_globals = on" is not secure. But one program
requires to use register_globals=on. So in php.ini register_globals is
set to on.
I have PHP 5.1, is it possible in the code set register_globals=off
for specific scripts.
So I want to keep PHP register_globals=on in php.ini, but
Ken Bolton wrote:
> Is there a simple way to send the results of a form to an email address? I
> have created a form with multiple categories of radio boxes and I have
> created a response PHP file that will give the user a confirmation. I'm
> just
> not sure how to send the results through email.
Larry E. Ullman wrote:
While "Yes" may be a technically accurate answer to a question like "Can
I ..." or "Can anyone ...", a couple of points must be acknowledged:
1) Such an answer doesn't help the original poster. Period. And the
purpose of a resource like this is to help, right? Even a "RTFM
So, seriously, if you don't feel like helping or you don't believe that
a message should be posted here because it's off topic or you don't
believe that a question was phrased properly, wouldn't it be better for
everyone if you just didn't respond? It'd certainly be easier.
I can agree with you
Eduardo M. Bragatto wrote:
Hi folks,
according to this old message
[http://www.mail-archive.com/php-general@lists.php.net/msg87293.html]
it's not possible to use "php_value disable_functions" on Apache's vhost.
Since this message is two years old I would like to know if it's
still being
Jerry Swanson wrote:
I know that "register_globals = on" is not secure. But one program
requires to use register_globals=on. So in php.ini register_globals is
set to on.
I have PHP 5.1, is it possible in the code set register_globals=off
for specific scripts.
So I want to keep PHP register_globals=
Any idea how to sort an array by string length?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> On Wednesday 22 December 2004 01:37, Paul Aviles wrote:
>> Guys, this is trivial. It takes the same effort to provide the answer to
>> whoever this guy was, than to lecture him on how to think.
>
> "Teach a person to fish ..."
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
You kn
Guys, this is trivial. It takes the same effort to provide the answer
to
whoever this guy was, than to lecture him on how to think.
"Teach a person to fish ..."
That's a good and true adage and certainly a philosophy to be put forth
by this list. But, the question is, does an answer of "Yes" teac
Team,
Ok I will try the links again, sorry about the hassel, gee do I sound like a
rookie coming up
>From the minor leagues or want.
Anyway,
Here are the links.
Phps file
http://www.theufl.com/movie_details.phps
website
http://www.theufl.com/php/wrox_php/movie_details.php
on my
Yes and no...
Here's what the manual has to say about this...Basically, you can't do
it using ini_set, but you can do it using an htaccess file.
http://us2.php.net/manual/en/ini.sect.data-handling.php#ini.register-globals
register_globals boolean
Whether or not to register the EGPCS (Enviro
> From: "Larry E. Ullman" <[EMAIL PROTECTED]>
> Do you honestly think people are learning __anything__
> when you reply with a "Yes"?
Yes.
---John Holmes...
UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
On Tue, 21 Dec 2004 14:56:03 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote:
> I know that "register_globals = on" is not secure. But one program
> requires to use register_globals=on. So in php.ini register_globals is
> set to on.
>
> I have PHP 5.1, is it possible in the code set register_globa
> I know that "register_globals = on" is not secure. But one program
> requires to use register_globals=on. So in php.ini register_globals is
> set to on.
>
> I have PHP 5.1, is it possible in the code set register_globals=off
> for specific scripts.
>
> So I want to keep PHP register_globals=on
if the script isn't that big you can probably use extract() in most cases..
is the script in its own directory? if so you can turn register globals on
just for that one directory..
create an .htaccess file and add:
php_value register_globals on
then place the .htaccess in the directory where the
> From: Jerry Swanson <[EMAIL PROTECTED]>
> I know that "register_globals = on" is not secure.
bah... you can write secure scripts with it on or off. having it off by default
simply helps to lessen some of the security issues that new programmers may not
be aware of.
> But one program
> requ
From: Jason Barnett <[EMAIL PROTECTED]>
> Jerry Swanson wrote:
> > I have PHP 5.1, is it possible in the code set register_globals=off
> > for specific scripts.
>
> You can change this, and other php.ini directives, with the PHP function
> ini_set
No, you can't. register_globals cannot be set wi
Jason Barnett wrote:
>> So I want to keep PHP register_globals=on in php.ini, but in local
>> files set to off?
>>
>> How I can do this?
>
> You can change this, and other php.ini directives, with the PHP
> function ini_set
register_globals cannot be changed with ini_set(). It is of type
"PHP_IN
1 - 100 of 143 matches
Mail list logo