Yes :-)
http://www1.dshield.org/pipermail/vuln/2002-February/07.html
http://developers.slashdot.org/article.pl?sid=02/02/27/1845238mode=threadt
id=169
http://security.e-matters.de/advisories/012002.html
http://www.newsbytes.com/news/02/174818.html
Doesn't affect Windows, right?
--
maybe your code is inside a function. If this is the case set the var to
global.
Andy
Georgie Casey [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm trying to let users upload word files through a PHP form but its not
working! The script keeps telling
According to:
http://security.e-matters.de/advisories/012002.html
Finally I want to mention that most of these vulnerabilities are
exploitable only on linux or solaris. But the heap off by one is only
exploitable on x86 architecture and the arbitrary heap overflow in PHP3 is
exploitable on most
Does anyone have a good idea of how I can pull the info out of a conf
file setup like this? Maybe pull it into an array.
## Conf File ##
ServerName
domain.websites.com
/ServerName
ServerName
newsite.worldwideweb.net
/ServerName
So I would get the domain.websites.com and
On Wed, 2002-02-27 at 13:43, Brandon Orther wrote:
Does anyone have a good idea of how I can pull the info out of a conf
file setup like this? Maybe pull it into an array.
## Conf File ##
ServerName
domain.websites.com
/ServerName
ServerName
newsite.worldwideweb.net
/ServerName
In article 01af01c1bfd7$be373ed0$0200a8c0@wiaka,
[EMAIL PROTECTED] (Brandon Orther) wrote:
Does anyone have a good idea of how I can pull the info out of a conf
file setup like this? Maybe pull it into an array.
## Conf File ##
ServerName
domain.websites.com
/ServerName
ServerName
Scott,
I too am struggling with a similar problem. I've poured over freshmeat.net
and google.com looking for application frameworks for PHP that have this
functionality in them. The only thing I've found of note is Alex Black and
his crew over at www.binarycloud.com. This looks to be a great
Hi all,
First post to this list.
I am trying to do the following
***php file***
!--include virtual=/includes/header.html--
?php echo Hello; ?
!--include virtual=/includes/footer.html--
***end php file
In the php file the includes aren't parsed by the server, the
why don't you just do this?
?php
include includes/header.html;
echo Hello;
include includes/footer.html;
?
-Original Message-
From: Richie Chauhan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 6:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache Server Side Includes
Hi All,
First I would like to thank you all for help with my previous questions.
I am still newbie but I learning and hopefully one day, I will be able
to pay it back.
I am getting the REG_ECTYPE warning in the following line which verifies
email address:
If
Thanks Martin - that does work.
I was just thinking in ASP terms. But I am curious as to whether Server Side
Includes can work together with php.
Richie
Martin Towell [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
why don't you just do this?
?php
include
I didn't get a REG_ECTYPE warning but I did get a REG_PAREN type
warning. The curly bracket '}' near the '$' should be an close
parentheses ')'. :)
-Kevin
-Original Message-
From: Pax [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 3:33 PM
To: [EMAIL PROTECTED]
Thanks Kevin,
Actually - it is my mistake while retyping the text since my development
machine has no email - it is ) and I tried again and I do get this error
in this line :-(((
If
(eregi(^([[:alnum:]]|_|\.|-)+@([[:alnum:]]|\.|-)+(\.)([a-z]{2,4})$,$HT
TP_POST_VARS[email])) {
}
Paul
Hello folks
I have a virtual domain under Apache and do not have access to the global
php.ini file
Apache lets me set site-wide configuration in an /.htaccess file
Is there something similar for PHP? All the references I've been able to
find seem to refer to php.ini but do not say if I can
In article 009701c1bf5f$1057c370$846712cb@iceberg, [EMAIL PROTECTED]
says...
Question I have is, Anyway know of a better way to store temp
information?
I have a problem that a script I use, uses many pages and after each
page the information from the form
Is stored and the next page is
anyone else having issues with the 4.0.6 patch not downloading correctly. I
can't seem to extract it?
__
Mike Krisher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article Pine.WNT.4.44.0202271857090.3884-10@associate,
[EMAIL PROTECTED] (Timothy J. Luoma) wrote:
I have a virtual domain under Apache and do not have access to the global
php.ini file
Apache lets me set site-wide configuration in an /.htaccess file
Is there something similar
You sure Apache's still running ??
Here's a few things to check:
1. Check, that you still have the process running ? Processors dude.
2. Look at Apache's log files and see what happens after you try starting
it. Errors ??
3. Get to a prompt and type the command netstat -na, without the quotes
Hello,
I have a question regarding array_walk.. I couldn't find any help on
the website or on irc.. didn't know where else to look.
I want to call a method in an object(class) , I can't seem to get it to
work.
the name of the array is $fieldname,
when I run
Hello,
I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to
work. Who can help?
$user and $passwd are set well, my code:
--
$auth=base64_encode($user.:.$passwd);
$header=GET /pa2/ HTTP/1.0\r\n\r\n;
$header.=Accept: text/html\r\n;
$header.=Authorization: Basic $auth\r\n\r\n;
I will be hosting daily tech tips on www.sofast.net here shortly but
need a script (perferably php using mysql) that will allow me to store
about 3000 tips that he html based so that I can add pictures. If you
goto http://www.sofast.net/techtips/index.htm you can see exactly what I
need. I
Anybody know of a better script that Squirrel Mail?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone else having issues with the 4.0.6 patch not downloading
correctly. I can't seem to extract it?
__
Mike Krisher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Netscape opens the file as a text file. If
You should have only one \r\n pair after the HTTP request AFAIK - only
need two when the header ends.
Bogdan
Bas Jobsen wrote:
Hello,
I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to
work. Who can help?
$user and $passwd are set well, my code:
--
Hi
I am just starting to learn php. I'm using Larry Ullman's book in the
Visual Quickstart guide series.I have copied out of the book the
first example of a form in html and the corresponding php file to
display the info.
When I click submit in the html page, Konqueror (KDE) asks me where I
Are you trying this via HTTP or on the local file?
Bogdan
Bob Rea wrote:
Hi
I am just starting to learn php. I'm using Larry Ullman's book in the
Visual Quickstart guide series.I have copied out of the book the
first example of a form in html and the corresponding php file to
display the
On Wednesday 27 February 2002 07:04 pm, Bogdan Stancescu
wrote:
Are you trying this via HTTP or on the local file?
Bogdan
Oh sorry, running it on my linux box, SuSE 7.3, using
apache, files in the same directory. Other files wiht php
in them work well. This is my first try at forms and php
This made me so curious that I copied your code - works just fine over
here. What's the exact URL you're using to access this file (leave out
the sensitive data).
Bogdan
Bob Rea wrote:
On Wednesday 27 February 2002 07:04 pm, Bogdan Stancescu
wrote:
Are you trying this via HTTP or on the
I don't have any solutions but here are some comments that may be useful.
I would guess that your user agent (web browser) is not detecting the mime
type properly. This usually happens if the web server is not properly
configured to send .php files as text/html (see http.conf if applicable).
On Wed, 27 Feb 2002, CC Zona wrote:
I have a virtual domain under Apache and do not have access to the global
php.ini file
Apache lets me set site-wide configuration in an /.htaccess file
Is there something similar for PHP?
Forget similar, you can set PHP config options in the
On Wed, 27 Feb 2002, Richie Chauhan wrote:
!--include virtual=/includes/header.html--
?php echo Hello; ?
!--include virtual=/includes/footer.html--
FYI I think your SSI syntax is wrong, it should be
!--#include virtual=/includes/header.html --
TjL
ps -- I emailed Richie offlist
Yes, and don't put a space between hash (#) and INCLUDE.
I've been cought out before ;)
[TK]
-Original Message-
From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 February 2002 3:02 PM
To: Richie Chauhan
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: Apache Server
In article Pine.WNT.4.44.0202272245210.1448-10@associate,
[EMAIL PROTECTED] (Timothy J. Luoma) wrote:
I have a virtual domain under Apache and do not have access to the global
php.ini file
Apache lets me set site-wide configuration in an /.htaccess file
Is there something
I think I might be about to discover that our hosting company neither
supports the GD-related functions in php, nor has any plans to do so
Consequently, I may very well be looking for another hosting company,
and I'd be interested in any recommendations from the php community
at large,
Can anyone tell me a way I can prevent other users on my server from
viewing my php files? (I have mysql passwords in these files, and the way
it is now, anyone with an account on my server can cd to my www directory
and view my files)
I could do something like this:
-rw-r- me nobody
Hi,
First off, let me say thank you to all those who replied helping me get
magic quotes turned back on my server
Now that I'm fully able to enter quotes and such into my database and do
not need to put the addslashes() command in should I? Is it in a
better style to include the
Has anyone tried:
input type=\image\ name=\submit\ value=\submit\
src=\nextgif\ border=\0\ align=\ABSCENTER\
instead of :
input type=\submit\ name=\submit\ value=\\
I can't get this to work:
if(isset($submit))
with:
input type=\image\ name=\submit\ value=\submit\
src=\nextgif\ border=\0\
Hi all... I have a line in a page that should send me an email when the page
is loaded.
Here is the line i am using:
mail([EMAIL PROTECTED], worked, Line 1\nLine 2\nLine 3);
when i load the page...i get NO error msgs, but the function does not send
the mail. There is no record of any
Your smtp is valid? Try error checking for that? See you php.ini. If you are
running it on localhost you might try the same smtp that is used in your
emailer. I gaffed on that once. :)
Brad Wright wrote:
Hi all... I have a line in a page that should send me an email when the page
is loaded.
I used this code
form action=/inetpub/wwwroot/top.html method=get
input type=image src=none.gif width=125 height=25 name=submit
value=submit
/form
when I clicked on the image, I got this url
file:///C:/inetpub/wwwroot/top.html?submit.x=118submit.y=20
so php would get this as $submit_x and
I s'pose, but where/why are you getting submit.x=118submit.y=20
Martin Towell wrote:
I used this code
form action=/inetpub/wwwroot/top.html method=get
input type=image src=none.gif width=125 height=25 name=submit
value=submit
/form
when I clicked on the image, I got this url
it's a browser thing, i guess, when you use an image as a submit button
Martin
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] if(isset($submit))
I s'pose, but where/why are you getting
It's because when you submit using an image they submit the exact x and y
coordinates that were clicked on. Hope it helps!
Rick
We do not have to visit a mad house to find disordered minds; our planet is
the mental institution of the universe. - Unknown
From: jtjohnston [EMAIL PROTECTED]
Nope, not following.
:)
More particularily why will isset accept type=submit and not type=image ?
Martin Towell wrote:
I used this code
form action=/inetpub/wwwroot/top.html method=get
input type=image src=none.gif width=125 height=25 name=submit
value=submit
/form
when I clicked on the
So I can forget using type=image :(
Wah, it's not fair!
:) J
Martin Towell wrote:
I used this code
form action=/inetpub/wwwroot/top.html method=get
input type=image src=none.gif width=125 height=25 name=submit
value=submit
/form
when I clicked on the image, I got this url
I have a website with about 300 different pages Each of those pages has
a different titledescription/title I need to replace all of those
with one titledescription/title Is there a way to replace all
things within two different tags?
--
PHP General Mailing List (http://wwwphpnet/)
To
So what is the good of isset? What does if(isset($submit)) do
differently than if($submit) ??
J
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Yep sure is! Just use a grep multi-file replace in BBEdit, and you'll have
it! :) Just do some tests first with the grep to make sure you have it
right before you edit all those pages :)
Rick
Once my heart was captured, reason was shown the door, deliberately and with
a sort of frantic joy. I
or have a hidden field, maybe, called submit
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] if(isset($submit))
So I can forget using type=image :(
Wah, it's not fair!
:) J
Type image is great to use! Just make sure that when you are testing for
the image variable you test for the x and y coordinates.. So name_x and
name_y. Even better and a good habit would to make sure you have a hidden
field with the same name as your submit button, because a lot of people
On Wed, 27 Feb 2002, CC Zona wrote:
In that case, the auto_prepend_file config option may be of interest
It's described on the page previously mentioned
Awesome that was just what I needed I hadn't made the connection
before
Thanks
TjL
--
PHP General Mailing List (http://wwwphpnet/)
To
Over kill?
Martin Towell wrote:
or have a hidden field, maybe, called submit
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] if(isset($submit))
So I can forget using
testing, testing
_
Send and receive Hotmail on your mobile device: http://mobilemsncom
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
If $submit is 0/NULL/FALSE and you do if ($submit) you'll receive
FALSE.
With if (isset($submit)) you'll receive TRUE.
In other words, isset() checks if variable is set at all and is() checks
if the expression is true.
Niklas
-Original Message-
From: jtjohnston [mailto:[EMAIL
Hello Are there any conversion routines around for changing numeric
dollar amounts to spelled out strings for putting on checks? I wrote
a quick basic routine a long time ago It took any number such as
'12532' and created a string 'one hundred, twenty-five dollars and 32
cents' It works just
Thanks for the reply. This is what I came up with and it appears to work.
Thoughts?
Craig
[EMAIL PROTECTED]
$count = 1;
while ($data = mysql_fetch_array($results))
{
?
p?=$data[date]? - ?=$data[orangeprice]? -
?=$data[appleprice]? - ?=$data[pearprice]?/p
?
hi folks,
is it possible to limit the php file access functions to specific
directories (just like chroot) and disable all exec() stuff ?
~-n
--
Enrico Weigelt== meTUX IT services
software development, IT service, internet security solutions
www: http://www.metux.de/
Hi!
I have a product table and want to update the qty.
$insert = UPDATE products SET soldqty='$sqty' WHERE
articelno='$articleno';
$result = mysql_query ($insert);
I want the code to automatically add $sqty to soldqty and not overwrite it
like I do above.
Do I need to first make a separate query
Hi Everyone,
I'm new to PHP, and am learning a lot by reading posts here and two PHP
books
I'm going to be writing some content management scripts, and one thing I
want to do is allow writers to embed some simple codes in their text such
as:
[LINK=http://wwwmysitecom]Click here for
Check out :
http://www.weberdev.com/index.php3?GoTo=phenominet/prices.htm
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).
Hello guys,
anyone can help me with this kind of error log
tail -f /www/log/error_log
[ cut ]
PHP Warning: Failed to write session data (files) Please verify that
the current setting of sessionsave_path is correct (/tmp) in Unknown on
line 0
PHP Warning: Failed to write session data (files)
Hi Guys,
Any one know of any new zealand php mailing list. Please do let me know. Or any one on
this list working on php in New Zealand please let me know.
Thanks in advance.
Regards,
Neeraj Rattu
Hey all,
I'm been programming in php for a while, but I'm stumpt with this
one You know the funny thing? It's probably really simple Anyway
here it is Assume I have this query string:
ticket_id=3change_name=statuschange_value=3ticket_id=32=1=
And all I want is 2=1= Well, the closest I
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Paul A. Procacci) wrote:
ticket_id=3change_name=statuschange_value=3ticket_id=32=1=
And all I want is 2=1=. Well, the closest I came was :
$string = preg_replace(/[^0-9]+\=/, , $QUERY_STRING); Assuming
QUERY_STRING was the data.
hi folks,
is there a way for unsetting an global variable from an function ?
global $var; unset ( $var );
does not work since, unset only removes the reference in from
local namespace. but i need to remove it from the global one.
any chance to do it ?
~-n
--
Enrico Weigelt==
Try unset($GLOBALS[var]);
Best regards,
Andrey Hristov
- Original Message -
From: Enrico Weigelt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 9:44 AM
Subject: [PHP] unsetting global variables from an function
hi folks,
is there a way for unsetting
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Enrico Weigelt) wrote:
is there a way for unsetting an global variable from an function ?
global $var; unset ( $var );
does not work since, unset only removes the reference in from
local namespace. but i need to remove it from the
Hi guys,
is there a possibility to add a string in front of a veriable like the =
commands adds it to the end? I would like to create a 6 digit number out of
a eg 2 digit one Underneath is my not working code Maybe someone knows
how to solve that
Thanx Andy
# create topic number 6 digit
$leading_digits = '0' $leading_digits;
although what you probably want is strpad() or sprintf()
On Thu, 28 Feb 2002, Andy wrote:
Hi guys,
is there a possibility to add a string in front of a veriable like the =
commands adds it to the end? I would like to create a 6 digit number out of
a
This seems an endless loop for me. You do not alter the $myrowp[topic_id] so its
length is untouched = if it is 6 you will never
get away from the loop. May be you want this.
# create topic number 6 digit
$count=strlen($myrow[topic_id]) ;
while ($count-- 6){
$leading_digits .= '0';
101 - 170 of 170 matches
Mail list logo