I can't seem to get safe_mode working the way I need it to. I'm
trying to allow users to include PEAR from their local webspace
without disabling safe_mode. The docs tell me to simply use the
safe_mode_include_dir directive, but php does not seem to be using
it. Here's my config, set up in
I just wanted to add that if you don't need all the information in
MaeSocio or MaeSeguro when doing a select, it is best to use:
SELECT NroSocio, whatever else you need FROM MaeSeguro;
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 25 September 2003 02:21, Ryan A wrote:
> > If your "poll" is really so important that you need to limit people from
> > voting twice, then make them log in and only allow one vote per username.
>
> I thought of that, I am making them login before voteing but whats to stop
> them from c
--- Dan Joseph <[EMAIL PROTECTED]> wrote:
> Another way to restrict them to one vote is to set a cookie.
> Although not completely full-proof, its a method I've seen a lot
> of them use.
That's way too easy to avoid. You might rule out the bottom 50% of the computer
illiterate, but these are proba
On Thursday 25 September 2003 02:13, Dan Joseph wrote:
> Another way to restrict them to one vote is to set a cookie. Although not
> completely full-proof, its a method I've seen a lot of them use.
This is probably the easiest 'security' measure to circumvent. How hard is it
to delete a c
Hi all,
I am trying to create an automatic email composing script, but I have
one big problem here. The message composing method I'm using is the
following:
/* message */
$message = '
Solicitud de Presupuesto
Hi,
> > Another way to restrict them to one vote is to set a
> cookie. Although not
> > completely full-proof, its a method I've seen a lot of them use.
Ok, let's examine the part where I said its not full-proof...
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
T
On Thursday 25 September 2003 03:48, Cesar Aracena wrote:
[snip]
> And after a while, I have to know which are the options the visitor has
> selected. The options might vary depending on two different selections,
> which are "guided" using arrays. What I've done so far, and doesn't work
> is:
>
>
On Thursday 25 September 2003 03:52, Dan Joseph wrote:
> Ok, let's examine the part where I said its not full-proof...
I believe you mean fool-proof? Actually it *is* pretty fool-proof, because
hopefully fools aren't smart enough to delete said cookies ;-)
--
Jason Wong -> Gremlins Assoc
Instead of putting your message in your code like that, why not just put
it in a seperate text file and do: $message = implode(" ",
file("./message")); ? This will make your code look cleaner. So you
could create something like:
$message = implode(" ", file("./message1"));
if (isset($checkbox[0
Hey John,
Thats already done, the user has to authenticate his address by clicking on
the link which contains his $CNO and $random_number
But the rateing system is for webhosts, and webhosts usually have a catch
all email address so they can use n number of email addresses
Cheers,
-Ryan
> So
Hey,
> You could take it further and only allow one vote per user and then log
> their IP address as well.
Thats exactly what i am trying. First it will check on $username, if that
passes then it checks on $IP if that passes, allow the vote if not
> There won't be many people who are determin
I am trying to install php-5.0.0b1 on a Red Hat 9.0 box. I had recently had
it installed with apache but did not have gd support. Now that I need it I
can't get it reconfigured.
### ORIGINAL WORKED ###
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-oci8=$ORACLE_HOME \
--with-apxs
Now THERES an idea, if 2 people are willing to vote am going on the PHP
cruise :-D
Cheers,
-Ryan
>
> Charge them a thousand dollars for each vote. That should cut down on some
of
> the fraud.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
I'm trying to rename some variables.
first I have a function -
randomize (3,4); //has created unique $numbers
then I want to create a function for the renaming:
renameit($sculp); //sends $sculp for the new variable name
and this function (and variations)
function renameit($var){
$z = 1;
foreach
> I'm trying to rename some variables.
>
> first I have a function -
> randomize (3,4); //has created unique $numbers
>
> then I want to create a function for the renaming:
>
> renameit($sculp); //sends $sculp for the new variable name
>
> and this function (and variations)
>
> function renameit($v
Global works...
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Boyd Pearson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 3:44 PM
Subject: RE: [PHP] rename variables
> > I'm trying to rename some variables.
> >
> > first I have a fun
On Thursday 25 September 2003 04:25, Donaldson Sgt Michael J wrote:
[snip]
> If configure fails try --with-jpeg-dir=
> configure: error: png.h not found.
>
> saw this in a post
> --with-jpeg-dir=/usr/local/src/php-5.0.0b1 \
> --with-png-dir=/usr/local/src/php-5.0.0b1 \
> --with-zlib-dir=/us
On Thursday 25 September 2003 04:03, Ryan A wrote:
> Thats already done, the user has to authenticate his address by clicking on
> the link which contains his $CNO and $random_number
> But the rateing system is for webhosts, and webhosts usually have a catch
> all email address so they can use n n
Its already a bit of a pain in the ass, the user has to login to his email
and confirm his address by clicking on a link that has his $cno and
$random_word before being allowed to vote...unless he/she already has a
"mylist" account and is logged in.
Cheers,
-Ryan
>
> > Thats already done, the us
On Thursday 25 September 2003 05:14, Ryan A wrote:
> Its already a bit of a pain in the ass, the user has to login to his email
> and confirm his address by clicking on a link that has his $cno and
> $random_word before being allowed to vote...unless he/she already has a
> "mylist" account and is
Hey,
Thanks for the suggestion, didnt know it can be so automated.
Can you give me any links for generating blurry images that can be human
identified quickly but not so easy by automation?
Thanks,
-Ryan
> On Thursday 25 September 2003 05:14, Ryan A wrote:
>
> > Its already a bit of a pain in the
--- Ryan A <[EMAIL PROTECTED]> wrote:
> Can you give me any links for generating blurry images that can be
> human identified quickly but not so easy by automation?
http://www.captcha.net/
Hope that helps.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httph
On Thursday 25 September 2003 05:44, Ryan A wrote:
> Can you give me any links for generating blurry images that can be human
> identified quickly but not so easy by automation?
There's a class in www.phpclasses.org which help you generate such images,
I've no idea how good it is.
It's pretty s
Hey,
Went there, but the program just generates some clear alpha numeric
images...i want something blurred or distorted like the samples there have
there.
Cheers,
-Ryan
>
> http://www.captcha.net/
>
> Hope that helps.
>
> Chris
>
> =
> Become a better Web developer with the HTTP Developer's Ha
If I understood the question wouldn't this work???
if (!is_null($int) && $int < 1)
{
// do some foobar
}
Carl Furst wrote:
IF $int is null and I have a test
If($int < 1) {
//do some foobar
}
will $int be evaluated as a zero? IF I cast (int) $int.. will that turn a
null $int into a zero??
Docum
On Wed, 24 Sep 2003 07:35:15 +0100
Duncan Hill <[EMAIL PROTECTED]> wrote:
> On Tuesday 23 Sep 2003 19:59, Joe Harman wrote:
> > Is there a CSV file out there for this
> >
> > Does anyone know where I can aquire a file that has IP address
> > with the corresponding Postal Code?
>
> How do you hand
Hey,
Tried it...not too good :-(
-Ryan
> On Thursday 25 September 2003 05:44, Ryan A wrote:
>
> > Can you give me any links for generating blurry images that can be human
> > identified quickly but not so easy by automation?
>
> There's a class in www.phpclasses.org which help you generate such
* Thus wrote Carl Furst ([EMAIL PROTECTED]):
> IF $int is null and I have a test
>
> If($int < 1) {
> //do some foobar
> }
>
> will $int be evaluated as a zero? IF I cast (int) $int.. will that turn a
> null $int into a zero??
0
Curt
--
"I used to think I was indecisive, but now I'm not so
--- Ryan A <[EMAIL PROTECTED]> wrote:
> Went there [http://www.captcha.net/], but the program just generates
> some clear alpha numeric images...i want something blurred or
> distorted like the samples there have there.
What program? There are a few there, and they all generate images that are
blu
Search the archives for Turck and MMcache, yes they work, the degree
differs depending on how much the database is used but you will see a
performance increase. Turck is open source and very good, I wrote a web
based encoder front end to it http://phpcoder.shadonet.com or you can
use the inclu
--- Ryan A <[EMAIL PROTECTED]> wrote:
> WHERE?? Can you point me to them?
I had a tough time myself. I just went to this page:
http://www.captcha.net/cgi-bin/ez-gimpy
And, when I view source, I see the following in an HTML comment:
The following versions are available for download:
EZ-Gimpy,
Gi
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> I had a tough time myself. I just went to this page:
>
> http://www.captcha.net/cgi-bin/ez-gimpy
I meant to say that this page has the HTML comment:
http://www.captcha.net/captchas/gimpy/
Chris
=
Become a better Web developer with the HTTP De
Hey,
Thanks dude, have downloaded both will see if i understand them now :-D
cheers,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Ryan A" <[EMAIL PROTECTED]>; <[EMAI
Can anyone either recommend a good mailing list to discuss CSS style
sheets or answer the following question?
When I call BACKGROUND-COLOR: #??; and COLOR: #??; on a file
input: () both the part which shows the file
and the "Browse" button get colored. Is there any way to specify
"Button
Sorry for the delay in responding. I do not want to run PHP client side. I
would rather not deal with the security and install issues. Also the users
need to be able to use any browser on any machine.
Here is a more detailed description of what I am trying to accomplish:
I am making a CRM web ap
>The only part i am having trouble with is making the remote script
>automatically look into the local computer's hard drive and grab the .txt
>file.
>The problem with the code above is the path to the file does not show up
>in the , and the user would still need to click on the
>'submit button'
this is supposed to any occurrence of *something* into
something
$str = preg_replace("!\*(.*?)\*!"," \\1\\2",$str);
it works fine on single lines, but it breaks when there's a \n (and
perhaps other white spaces?) in the string, eg:
*something with
a newline*
I think this is because .*? doesn't
Justin French wrote:
this is supposed to any occurrence of *something* into
something
$str = preg_replace("!\*(.*?)\*!"," \\1\\2",$str);
it works fine on single lines, but it breaks when there's a \n (and
perhaps other white spaces?) in the string, eg:
*something with
a newline*
I think this i
Mike Migurski wrote:
The only part i am having trouble with is making the remote script
automatically look into the local computer's hard drive and grab the .txt
file.
The problem with the code above is the path to the file does not show up
in the , and the user would still need to click on the
IonCube Encoder looks like it has some potential. I haven't had an opportunity to
play with the demo yet, but the feature list is impressive. More info can be found
below.
http://www.ioncube.com/sa_encoder.php
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message ---
Greetings,
Could I use the PHP to maintain a persistent connection with MySQL database?
My persistent connection here should work in this way: -
1) Using the .php file the retrieve data from Table_A that contain 2 fields
'Field_A' and 'Field_B', with the value 'Value_A' and 'Value_B' respective
--- ascll <[EMAIL PROTECTED]> wrote:
> Could I use the PHP to maintain a persistent connection with MySQL
> database?
Yes:
www.php.net/mysql_pconnect
> My persistent connection here should work in this way: -
>
> 1) Using the .php file the retrieve data from Table_A that contain
> 2 fields 'Fi
quoted from http://archivist.incutio.com/viewlist/css-discuss/1222
"It is not possible to style the button on a 'file' input. This form element
uses the operating system of the client machine to generate the 'browse'
button. It is a total pain in the a*** I know but it just can't be
done...sorry
Since the release of Flash MX, using Flash for data-driven applications is actually
quite easy. You can find a number of tutorials on DevShed regarding integration with
PHP, all of which should prove helpful.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
Hello to all.
I'm creating a site using php with database MsSql, when i test in my server
using Win XP x php 4.3.2 it's all ok, but when i send to server with linux x
php 4.3.3 i can't to save accented words in database.
When i try to save, i receive this error message:
Warning: mssql_query(): m
* Thus wrote João Cândido de Souza Neto ([EMAIL PROTECTED]):
> Hello to all.
>
> I'm creating a site using php with database MsSql, when i test in my server
> using Win XP x php 4.3.2 it's all ok, but when i send to server with linux x
> php 4.3.3 i can't to save accented words in database.
>
> W
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Ryan A <[EMAIL PROTECTED]> wrote:
> > Went there [http://www.captcha.net/], but the program just generates
> > some clear alpha numeric images...i want something blurred or
> > distorted like the samples there have there.
>
> What program? The
Hello to all.
I'm creating a site using php with database MsSql, when i test in my server
using Win XP x php 4.3.2 it's all ok, but when i send to server with linux x
php 4.3.3 i can't to save accented words in database.
When i try to save, i receive this error message:
Warning: mssql_query(): m
First of all, thank you for your reply.
I have tried to use 'mysql_pconnect()' to connect to my database, but what I
want to achieve are these:
1) Value for "Field_A" is "Value_A" and value for "Field_B" is "Value_B",
by default
2) I load my "getData.php" page and get the values ("Valua_A, Valu
* Thus wrote ascll ([EMAIL PROTECTED]):
>
> [...]
>
> Question:
> =
> Could my .php page ALWAYS get the latest values WITHOUT reload the page?
no.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
=
This message is for the benefit of new subscribers and those new to PHP.
Those who do not want to be bothered just filter out the [Newbie Guide]
mails. Please feel free to add more points and send to the list.
===
Hello,
I am using strpos function for finding the string position in a
particular string .If the string value is equal to zero or greater
than zero some steps to be executed. If the position is empty it is taking
as zero value and executing the steps under equal to zero loop..Is there
any
Could anybody show me how to configure it? Thanks!
Hi,
Thursday, September 25, 2003, 3:18:19 PM, you wrote:
UST> Hello,
UST> I am using strpos function for finding the string position in a
UST> particular string .If the string value is equal to zero or greater
UST> than zero some steps to be executed. If the position is empty it is taking
On Thu, Sep 25, 2003 at 10:48:19AM +0530, Uma Shankari T. wrote:
:
: I am using strpos function for finding the string position in a
: particular string .If the string value is equal to zero or greater
: than zero some steps to be executed. If the position is empty it is taking
: as zero val
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> Could anybody show me how to configure it? Thanks!
You'll find the information you need under the sections
'Requirements' and 'Installation'
http://php.net/gd
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP Gen
Does anyone know how Netcraft queries a webserver to get the info it
does (OS, web server software, uptime, etc.)?
--
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.net/unsub.php
--- John Nichel <[EMAIL PROTECTED]> wrote:
> Does anyone know how Netcraft queries a webserver to get the info it
> does (OS, web server software, uptime, etc.)?
http://uptime.netcraft.com/up/accuracy.html
Please try to stick to PHP queries as much as possible. Thanks.
Chris
=
Become a bet
Maybe if I add a second question, which I figure didn't have to be
asked, since I'm asking a PHP list, would make it all better
"Does anyone know how Netcraft queries a webserver to get the info it
does (OS, web server software, uptime, etc.)?" Can this be
done with PHP
But thanks for the
I have a quandary and I hope I can explain myself well enough that someone
may understand and enlighten me.
I am in the middle of building a (largish) Class. It is done for the most
part, at least all pieces are there. Now I'm just trying to put the pieces
together in a logical order.
This is my i
On Thursday 25 September 2003 12:08, ascll wrote:
> Question:
> =
> Could my .php page ALWAYS get the latest values WITHOUT reload the page?
That would be magic.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * In
101 - 162 of 162 matches
Mail list logo