here is no character ( space
character or even empty lines) lying around outside PHP open/close tags.
Avoid putting new lines, spaces, etc.. outside PHP open/close tags
especially while writing library files which are meant for include-ing.
best
Anil
--
Linuxense Information Systems Pvt.
ay have similar situation.
>
Answer to the dump question (because none seems to give an answer :) ).
Run phpinfo() and you will get the original configuration command in its
output.
Anil
--
Linuxense Information Systems Pvt. Ltd., Trivandrum, India
http://www.linuxense.com/
--
PHP Ge
previous_page.php');
An "exit" statement after the first header will solve the problem. With
most browsers, if multiple redirect headers are received, the last
instruction is followed. I'm not sure what the RFC says about this.
Anil
On Thu, 12 Feb 2004, adwinwijaya wrote:
>
configured to do only that.
best regards.
Anil
On Wed, 3 Sep 2003, Jason Sheets wrote:
> More safely maybe, but even that solution could be exploited somewhat
> easily. The script that writes the file would be better off as a CGI
> than executed through the Apache module, this wo
t which is acceptable by date field of the mysql database.
Thanks and regards
Anil.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is exactly what you are looking for:
"The Open Web Application Security Project" http://www.owasp.org/
best.
Anil
On Wed, 28 May 2003, Tim Burgan wrote:
> Hello,
>
> I'm wondering if you can recommend any resources that discuss writing secure
> code and
his...in the from field..it says '[EMAIL PROTECTED]'
I just need the from field to show 'Web User' (instead of 'unprivilaged
user')
Can i do this!!
plz help
thanks and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
his...in the from field..it says '[EMAIL PROTECTED]'
I just need the from field to show 'Web User' (instead of 'unprivilaged
user')
Can i do this!!
plz help
thanks and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is it so that in php 4.2.3 we have to do both..."addslashes" and
"removeslashes" ?? coz in one of the older versions the things are goin fine
without using "removeslashes" but it doesnet seem to be the case in
php4.2.2.
thanx and regards
anil
--
moreover, the same code is working fine in some older version of php..(on
another machine)
what m i doing wrong here?
can someone give me some pointers.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reason are both the threads beings processed?(i
m asking this coz i want to know what will i be missing if i use 1.3.26
instead of 2.0.40.
Can u plz gimme some pointers.
Thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
i came to know from someone that i can *not* make php a shared module in
apache 2.x .It works only in
1.3x.
If thats true can someone point me to some link saying the same.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
hi,
Is there any version of php and apache for which there are no known
vulnerabilities??
regards
anil :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the mid of uploading my site.
Hope to get some solutions.
Thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
"Load module libphp.so.
..
Add module libphp.c"
..
I really got stuckcan someone plz tell me what probably i am doing
wrong.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
Can i get the ip-address of the machines who accessed my website??
Plz give the pointer that on what lines shall i start for doing so.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me page, and then look for links to the
information you want.
b.. If you typed the page address in the Address bar, make sure that
it is spelled correctly.
--
Can someone one tell me when this error comes.
Thanx and regards
anil
p.s. php,query,
--
PHP Gene
hi,
i am a newbie to php...
i have downloaded php-4.2.3.tar.gz from http://www.php.net/downloads.php
can someone please point me to the right documentaion from where i can know
what to do next..
I am using FreeBSD-4.2.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net
Hi,
i am using freebsd4.2
I couldnt find if the latest php-versiono 4.2.3 a stable version ?? i mean
shall i use 4.2.2 or 4.2.3 ?
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
i am using php.4.1.2. on freebsd 4.2
i want to upgrade from 4.1.2 to 4.2.2...
The problem is:
1. Is php 4.2.2 supported on freebsd-4.2 ?
2. Can this happen that after upgrade(of php).some code doesnt work on
4.2.2 which was working on 4.1.2.
thanx and regards
anil
--
PHP General
hi
What version combinations of php and mysql should be used?
regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
In a form i have several text area.when i submit the form, I need to
send a email at a particular id which contains the text entered in the text
area.
Can someone gimme a script which gives me and idea about how to do that...or
some link where i can find that.
Thanx and regards
anil
You can use the following pattern with preg_match:
"/([a-f0-9]+)((:[a-f0-9]+){7})/i"
I made an assumption that you are using the x:x:x:x:x:x:x:x address
format.
Anil
On Wed, 28 Aug 2002, Adam Alkins wrote:
> Hi Folks,
>
> Seeking some guidance here. My regexp kn
rest of the info can be pulled from the database.
Anil
On Wed, 21 Aug 2002, Mark McCulligh wrote:
> I have two server. One running PHP/Linux the other running ASP/2000.
> The user logins into the PHP server and session variables are made to hold
> their username, password, depart
HI,
Not being an expert in php..i couldnt understand the vulnerability.
Can someone shed some light here.
Regards
anil
- Original Message -
From: "Marko Karppinen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "PHP-DEV" <[EMAIL PROTECTED]>;
<[EMAI
thanx, its working perfect now
anil :)
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Anil Garg" <[EMAIL PROTECTED]>; "Martin Clifford" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 12, 2
off between
',",... and \ ?
Note: putting a \\ to add \ doesnt help coz for one time it works one i open
the entry in edit mode again i have to put \ before all the \.
please help
regards
anil
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To:
; (e.g. \')solves my problem...but when i open the same quesion to edit it,
again i have to put backslashes where ever i find " ' " in the quesion or
answer.
Can anyone please suggest a solution to this.
thanx and regards
anil
[please ask if i havent explained the problem fully]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
sorry for going a lil out of way of php.
can i hide a drop down menu.(as i always want to pass the default value
selected in the drop down.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ere i want to remove the html tags from $term and then print
it.(here it should print '.test')
}
else{
printf("not a html tag.");
}
?>
Thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
at this link:
http://www.php.net/manual/en/funcref.php
i can see the categories of the available functions, But
How can i see all the fucnctions in php together (in one screen)?
Is there a way to do that.
Thank You
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Can't you write it this way?
switch( $bar) {
case 2:
...
case 1:
...
case 3:
...
}
On Sun, 30 Jun 2002, Leif K-Brooks wrote:
> I have a switch in a script I'm working on. I need to have case 1 and 2
> both to to case 3, but without case 1 going through case 2. Is th
Also: http://www.mribti.com/barcode/
On Thu, 27 Jun 2002, Peter wrote:
> Read the stuff you find on google first though - there was an article I read
> about certain inks absorbing InfraRed light so barcodes printed in them will
> not work!
> The HP ink used in the Deskjet 693 and 660 seems to
hi
thanx for ur mail.
In fact i have to make changes in the code written by someone else.
I want to use debugger to know the path in which the files are called.
Which is the debugger for php?
thanx
anil
- Original Message -
From: "B i g D o g" <[EMAIL PROTECTED]>
To: &qu
hi,
in perl i used perldb for debugging.
whats to be used in php!!
thanx
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there's a couple problems with your question:
>
> we don't know what tool you're using,
> what database you're you're using,
> and most importantly,
>
>
> this is not a PHP question.
>
>
> please use a hammer for a nail, and a screwdriv
Hi,
for viewing long tables.
when i say SELECT * FROM abc
i miss the upper entries of the table as they scroll down.
is there something by which i can view a table page by page(as | more in
unix)
thanx
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi,
Is include_module() a predefined functioin of php. I couldnt find it in
documentaion.
Is there any way i can view all the functions availabe together??
thanks
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
This is a bit off topic but can anyone please point me to a link where i can
find a tutorial for setting multiple web server(by listening on different
ports) on one machine.
thanx
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
error_prepend_string = ""
; String to output after an error message.
;error_append_string = ""
; Log errors to specified file.
;error_log = Off
---
- Original Message -
From: "Ray Hunter" <[EMAIL PROTECTED]>
To: "Anil Garg" <
Hi,
sorry i forgot to mention that.
yes i restarted my webserver.
In fact the error messages are getting hidden(on setting display_errors =
Off) but the logs are not getting created:(log_errors =
/var/log/php-errors.log ) in php.ini file.
thanx
anil
--
PHP General Mailing
help me with this.
thanx
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it is being used.
thanx
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
%>
Welcome !
thanks
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am using php
In a html form m using:
When i submit the form and try to retrieve the path written in the text box
by using 'printf("%s",$file)' it returns a path "/var/tmp/trash" ...
How can i print the path selected by browse button.
Any ideas are app
Is there a func() that will let me break or skip to the END of the
code
snippet?
I have a file that contains both HTML and PHP.
I know there are several ways of attacking this. Including making a func()
that outputs the footer - skip() containing a bunch of print statements with
the
talled by
default; an option to disable it would definitely be good however.
Anil
--
PHP CVS 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]
avsmMon Apr 2 09:52:14 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/zlib zlib.c
Log:
MFH, rev 1.77
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.76 php4/ext/zlib/zlib.c:1.76.2.1
--- php4/ext/zlib/zlib.c:1.76 Wed Mar 7 09:23
avsmMon Apr 2 09:48:29 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/standard output.c
Log:
MFH, rev 1.53
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.48.2.2 php4/ext/standard/output.c:1.48.2.3
--- php4/ext/standard/ou
avsmMon Apr 2 09:45:27 2001 EDT
Modified files:
/php4/ext/standard output.c
Log:
Free the correct output buffer, to avoid a segfault on a HEAD request
when using output buffering with a custom handler (patch by zeev@)
Index: php4/ext/standard/output.
avsmFri Mar 30 09:44:09 2001 EDT
Modified files:
/php4/ext/zlib zlib.c
Log:
Send the correct Vary headers, if we negotiate a gzip/deflate session
via Accept-Encoding. This obeys a SHOULD directive in RFC2616
PR: 10070
Index: php4/ext/zlib/zl
avsmSat Mar 17 05:13:56 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 ltconfig
Log:
Update libtool to support OpenBSD 2.8+ wrt shared libraries and
library dependencies. Tested on i386/sparc.
Index: php4/ltconfig
diff -u php4/ltconfig:1.20
52 matches
Mail list logo