On Sunday 28 September 2003 14:26, Adam Whitehead wrote:
> I'm having a problem using the mail() function of PHP. It seems to vary
> between platforms (ie. this problem doesn't not occur on my Win32
> development platform, but does on my Linux production server).
>
> I'm sending mail using the ma
Hi All
I'm having a problem using the mail() function of PHP. It seems to vary
between platforms (ie. this problem doesn't not occur on my Win32
development platform, but does on my Linux production server).
I'm sending mail using the mail() function and including a "From:" and
"Reply-To:" heade
On Sat, 27 Sep 2003 20:05:10 -0400
"Damon Kohler" <[EMAIL PROTECTED]> wrote:
> Well, it does turn off. At least phpinfo() says that it's off.
> However, PHP is acting as though it's still turned on. The source
> code for the page I'm using to test this odd result is:
>
>
> I'm running PHP 4.3.3
Ok. I'll get around to that sometime. But I think to start, I'll use that
code from php|a that unregisters globals and such. Guess that is a smart
thing to do. Never know when it's gonna fail like that.
Thanks for your help all,
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
Hi,
I would try recompiling PHP with the bare minimum, and see if you can
reproduce the behavior. If not, then add in extensions one by one. If
you still see the behavior, modify a value in php.ini, and make sure you
see it show up in phpinfo() (don't forget to restart Apache). If
changes d
I added the error_reporting line and it doesn't seem to make any difference
actually. No warnings or notices. Yes, I can recompile PHP.
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> if you append ?test=foo to the url you supplied, it will print "foo" -
Hi,
Sunday, September 28, 2003, 12:36:19 PM, you wrote:
DK> Don't know anything about an auto_prepend_file. There is no .htaccess file.
DK> Beside, phpinfo says register_globals is off both globaly and localy.
DK> Damon
DK> "Greg Beaver" <[EMAIL PROTECTED]> wrote in message
DK> news:[EMAIL PROTE
Hi,
if you append ?test=foo to the url you supplied, it will print "foo" -
register_globals is definitely on, perhaps you could add this to the
start of the file:
ini_set('error_reporting', E_ALL);
so we can see the result? You should also be seeing a notice of an
undefined variable. It's p
Don't know anything about an auto_prepend_file. There is no .htaccess file.
Beside, phpinfo says register_globals is off both globaly and localy.
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Damon,
>
> Do you have an auto_prepend_file? Also, check the cont
I don't think so... You have something particular in mind? You can check out
the page itself at http://my.innermetrix.cc/test.php
Damon
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Are you using third party code that might be doing the export to global
> space i
Hi Damon,
Do you have an auto_prepend_file? Also, check the contents of
.htaccess, make sure register_globals is not set to on there.
Greg
Damon Kohler wrote:
Well, it does turn off. At least phpinfo() says that it's off. However, PHP
is acting as though it's still turned on. The source code f
Are you using third party code that might be doing the export to global
space itself?
Rob.
On Sat, 2003-09-27 at 22:21, Damon Kohler wrote:
> No, it's not cached. I can type in anything to the input and it'll show up.
> As in, if I type "test" into the form, it prints test. Then if I type "hello
I changed the code to the snippet below. It displays register globals off.
Damon
";
$register_globals = (bool) ini_get('register_gobals');
print "register globals: " . ($register_globals ? "on" : "off");
phpinfo();
?>
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
No, it's not cached. I can type in anything to the input and it'll show up.
As in, if I type "test" into the form, it prints test. Then if I type "hello
world" it'll print hello world. So I'm pretty sure caching isn't the
problem.
Damon
"Cristian Lavaque" <[EMAIL PROTECTED]> wrote in message
new
What does it say at script level?
$register_globals = (bool) ini_get('register_gobals');
"Damon Kohler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well, it does turn off. At least phpinfo() says that it's off. However,
PHP
> is acting as though it's still turned on. The source
I don't know much about this, but could it have been cached?
Cristian
Damon Kohler wrote:
> Well, it does turn off. At least phpinfo() says that it's off.
> However, PHP is acting as though it's still turned on. The
source
> code for the page I'm using to test this odd result is:
>
>
>
>
>
>
Well, it does turn off. At least phpinfo() says that it's off. However, PHP
is acting as though it's still turned on. The source code for the page I'm
using to test this odd result is:
I'm running PHP 4.3.3 on RH7. When the form is submited, the value is
printed despite the fact it's p
Hey,
Yes, i have noticed that problem with words over or around 7 chars, so will
shorten all words to around 5 to be totally safe.
Heres another good example with a differient effect:
http://bestwebhosters.com/captcha/3/test.php
Ignore the words over 6 chars as they will either be shortened out o
One of the words had the last letter out of the picture, so it
gave me an error when I typed the incomplete word. After going
back and guessing the complete word (there was a tiny fragment of
the last letter visible), it passed. You should make sure that
the whole word will always be in sight.
Cri
Hey,
Thanks for replying.
One of the main problems i faced was that GD does not have the same
flexability of GIMP (for now anyway) but have made up partly for it in
another way...
Have a look at this graphic, it loads fast, is clean and still confusing
enough...IMHO but if you think differiently o
Very nice! Thank you Jon! =)
Cristian
Jon Kriek wrote:
> Serence KlipFolio
>
http://www.serence.com/site.php?action=ser_products,prod_klipfoli
o
>
> php.general Klip
> http://www.klipfarm.com/farm.php?page=info&klip=1767
>
> Pulling from the experimental web interface
> http://news.php.net/group
Looks good. You should use nonsense words too, including numbers.
You could also change the patter, not just move it. Also,
changing the font used, not just for the whole word, but mixing
fonts in the string could be good. Good job :)
Cristian
Ryan A wrote:
> Hey everyone,
> Please visit my cap
http://www.php.net/manual/en/language.types.array.php
If you mean having an array inside an array, of course . There you have an array inside another
one, 'data' will be here $var['0']['0'].
If you meant using an array item as the key in another array,
then you do it as with a normal var .
Rememb
yeah, i found 'logrotate.conf' in the etc/conf/ folder. Thanks, I would
never have found it, only messed around with the apache httpd.conf file!
Thanks again
"Jason Sheets" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If you are running Linux/Unix check /etc/newsyslog.conf as well
The point is get a "good" firewall, doesn't matter which one.
Personally I prefer Sygate Personal Firewall PRO
http://smb.sygate.com/products/pspf/pspf_ov.htm
--
Jon Kriek
http://phpfreaks.com
"Jason Sheets" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Install ZoneAlarm, and c
If you are running Linux/Unix check /etc/newsyslog.conf as well, this is
a program run from cron that rotates the systems and other daemon log files.
Jon Kriek wrote:
Rob is aspsoletly correct; this has to be a rotation called from crontab.
Jon Kriek
http://phpfreaks.com
"Robert Cumming
Install ZoneAlarm, and configure your web server to listen to IP
127.0.0.1. If you aren't using ASP and you are using PHP you might
consider installing Apache for Windows. If your brother is attempting
to exploit you from your LAN set the LAN trust level in Zone Alarm lower
so that it is the
Serence KlipFolio
http://www.serence.com/site.php?action=ser_products,prod_klipfolio
php.general Klip
http://www.klipfarm.com/farm.php?page=info&klip=1767
Pulling from the experimental web interface
http://news.php.net/group.php?group=php.general
--
Jon Kriek
http://phpfreaks.com
--
PHP Genera
I'm not sure where he tried to find the ports that were open but I'd guess
from his apartment in Lafayette.
We have a hardware firewall protecting the entire network. We're connected
with a cable line and I'm really clueless as to what to do. I run windows
update every day to make sure I'm not lag
LMAO!
--
Jon Kriek
http://phpfreaks.com
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> But mostly, I was trolling.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2003-09-27 at 16:50, Mike Brum wrote:
> Yes and no - even with Linux you still need to know HOW to lock down the
> machine and without doing so, there are still exploits that can be as, or
> more, dangerous than some Windows exploits (take the SSH exploit recently
> found that can give an i
can't you just beat up your brother? It won't fix your pc but it will probably make
you feel better. :o)
Chances are your bro is no genious and just using scripts (script kiddie) that other
people write for known exploits. If this is the case, then you probably haven't been
keeping up with y
Rob is aspsoletly correct; this has to be a rotation called from crontab.
Jon Kriek
http://phpfreaks.com
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You sure you don't have a cron that run every night and rotates the log
> files such that the previous day
You sure you don't have a cron that run every night and rotates the log
files such that the previous day's is archived?
Rob.
On Sat, 2003-09-27 at 16:49, John Ryan wrote:
> for some reason, my apache log files reset every night at 12, whihc i dont
> want. how do i change this in the apache httpd.
Yes and no - even with Linux you still need to know HOW to lock down the
machine and without doing so, there are still exploits that can be as, or
more, dangerous than some Windows exploits (take the SSH exploit recently
found that can give an intruder root access!).
Bottom line is that any OS has
for some reason, my apache log files reset every night at 12, whihc i dont
want. how do i change this in the apache httpd.conf file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, any service that listens for external access requires certain ports to
be open. Basic web traffic is listened for on port 80 for example. If you
get a personal (software) firewall application (ZoneAlarm for example), then
you can block access to these ports. I'm not sure how well the XP firew
The short answer (and a good way to start a flamewar ;) install linux :)
Cheers,
Rob.
On Sat, 2003-09-27 at 16:31, Stephen Craton wrote:
> This is kind of off topic but kind of not, it's your call. My brother came
> home this weekend from college this weekend acting all cool since he has
> been
This is kind of off topic but kind of not, it's your call. My brother came
home this weekend from college this weekend acting all cool since he has
been learning to hack. He was telling us (the family) how he did random port
penetration on the home network and he said my computer was the most
vulne
On samplePost.php simply lower your error reporting level. If you do not
have access to your php.ini (not everyone does), then can you can amend this
directive in either .htaccess or even on a per script basis by using the
error_reporting() function like so.
error_reporting(2039);
(Equivalent to
You're missing the image "attention.gif." Also, if a user directly loads
samplePost.php, your script generates the following error: "Notice: Undefined index:
captcha in /usr163/home/b/e/bestweb/public_html/captcha/samplePost.php on line 12
It's not a bad little script. I would recommend adding
Hey everyone,
Please visit my captcha program here and tell me if its good or if you think
i need to make some changes in text,color or anything.
http://bestwebhosters.com/captcha/test.php
Reload the page a couple of times and see.
Do you think its good enough for most uses or should i add "nons
Patrik Fomin wrote:
Hi, does anyone know how to transfer a variable in wml to php?, i got this
script that i made and i cant transfer the wml info to php.
the problem is: $latnum2 = "$(nummer)";
if i do a echo $latnum2 it prints out the desired number that was typed in,
Does it really? $latnum2 sho
Thanks Edward, I would appreciate any feedback you might have.
"Becoming Digital" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Nice site, Jon. I haven't seen it before but I'll be sure to give it a good
look-through.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- O
Nice site, Jon. I haven't seen it before but I'll be sure to give it a good
look-through.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Jon Kriek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 27 September, 2003 13:11
Subject: [PHP]
Hi, does anyone know how to transfer a variable in wml to php?, i got this
script that i made and i cant transfer the wml info to php.
";
?>
http://www.phone.com/dtd/wml11.dtd"; >
Ladda ner mobillåtar
Låtnummer:
Hämta
the problem is: $latnum2 = "$(nummer)";
if i do a echo
Also in a link
Go Back
Jon Kriek
http://phpfreaks.com
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> More of a JavaScript question
>
>
> history.back(1)
>
> "Karina S" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello,
> >
> > how can I go back to
More of a JavaScript question
history.back(1)
"Karina S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> how can I go back to the previous php page from where the actual page was
> called? I want to know not only the file name but the parameter list too.
> (I mean I want
Hello,
how can I go back to the previous php page from where the actual page was
called? I want to know not only the file name but the parameter list too.
(I mean I want "demo.php?p1=1&p2=2&p3=s" and not only "demo.php" from
"second.php" which was linked on "demo.php?p1=1&p2=2&p3=s")
Thanks!
--
On Saturday 27 September 2003 02:43 am, ascll wrote:
> Greetings,
>
> I'm newbie in php and I would like to develop a .php
> page that constantly retrieves data from MySQL
> database, but I having difficulties to doing so.
> Please show me the complete code, if possible.
This has nothing to do wit
http://www.php.net/manual/en/function.str-pad.php
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Chris Grigor" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, 25 September, 2003 09:17
Subject: [PHP] Fw: Am stuck
Sorry maybe I s
GD Library Tutorial
http://www.phpfreaks.com/tutorials/105/0.php
Thumbnail Creation Using GD LIBRARY
http://www.phpfreaks.com/tutorials/111/0.php
Hope this helps!
Jon Kriek
http://www.phpfreaks.com/
"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey guys,
> I want to get
> There are also plenty of subscription type email-fax gateway services that you
> can integrate with PHP.
Jason touched on the easiest solution: email to fax. You can use PHP to send the
email, at which point it will be converted to fax. Simply add a layer of code such
that if your user choo
It sounds to me like you are having them update their information on a
central admin control panel for their site.
There are a couple problems with your proposed method, first the .php
file by default will get parsed by their server before it is sent to you
so you will not be able to include it
On Saturday 27 September 2003 11:18, Robin Kopetzky wrote:
> Good morning all!!
>
> Can you nest an array within an array??
>
> Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
Yes, but like this
$array['aCheckBoxes'][] = $iIndex['sName']
This means:
$array is an array
aCheckBoxes is a item in $
On Sat, 2003-09-27 at 12:18, Robin Kopetzky wrote:
> Good morning all!!
>
> Can you nest an array within an array??
>
> Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
You mean can you retrieve an array entry by giving a key defined by a
value in another array? To do so remove the outer quotes
Creating An Online Photo Album with PHP and GD
Part 1 - http://www.devarticles.com/art/1/642
Part 2 - http://www.devarticles.com/art/1/644
Part 3 - http://www.devarticles.com/art/1/646
Part 4 - http://www.devarticles.com/art/1/648
DevArticles, DevShed, HotScripts, etc, are all fantastic re
Good morning all!!
Can you nest an array within an array??
Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
Thank you in advance.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi guys,
I am have created several websites(flash) with admin areas so that the
clients can update sections of there site.
I have created a little admin section on my own site(yet to be published).
there is a client login area for client who's site's i have built. Here they
have the option to chan
Yes,
http://www.php.net/manual/en/function.memory-get-usage.php
Jason
Decapode Azur wrote:
Hi, is it possible to get, from a php script, the memory size it takes ?
Is there documentations explaining how to manage resources in php ?
thanks
--
PHP General Mailing List (http://www.php.net/)
Hey guys,
I want to get into some image manipulation especially skewing images via php
of courseanybody know a good GD
resource/tut or starting place?
Thanks in advance.
Cheers,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com
--
PHP General
Hi again!
I tried installing SQLite again using PHP 4.3.2. Following output is
generated:
+ tmp dir created at /tmp/tmp2nSYln
downloading SQLite-1.0.tgz ...
...done: 354,024 bytes
+ tmp dir created at /tmp/tmpg2IgXR
+ cp /tmp/tmpg2IgXR/SQLite-1.0/CREDITS
/usr/share/pear/doc/SQLite/.tmpCREDITS
m
> Can't you let me have a shred of programming self-respect?
>
> Rich (I should have cracked the book) Fox
Get out! No soup (or respect) for you! ;)
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Rich Fox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
http://www.google.com/search?q=%3Ciframe%3E+refresh
You should be able to find all your answers there, and it's much more concise than
posting a bunch of URLs. :)
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "ascll" <[EMAIL PROTECTED]>
To: <[EMAIL
Hi, is it possible to get, from a php script, the memory size it takes ?
Is there documentations explaining how to manage resources in php ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
> How can I get the values of 'max_execution_time',
> 'max_input_time' and 'memory_limit' from my php script ?
Use the ini_get function:
http://php.net/ini-get
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 27 Sep 2003 10:44:06 - Issue 2321
Topics (messages 164072 through 164085):
Re: What is the proper way to use mysql db on a multipage site?
164072 by: Chris Shiflett
164077 by: Jackson Miller
Re: mail(); and embedding pictures
164073 by: Jay Blancha
hi the list,
How can I get the values of 'max_execution_time', 'max_input_time' and
'memory_limit' from my php script ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all!
I tried installing SQLite on my home server after it ran perfectly on our
developement servers in my company.
My system is Debian 3, running PHP 4.3.3. I get the following error:
48 source files, building
building in /tmp/tmpMEQdng/SQLite-1.0
running: phpize
autoconf: Undefined macros:
69 matches
Mail list logo