Can list admin stop such spam mails? Is there any provision to ban such
users?
杨先生 wrote:
您好!
广东永兴代理有限公司:拥有多年工商财税代理经验,为企业谋取最大的经济利益。
[snip]
--
Sameer N. Ingole
Blog: http://weblogic.noroot.org/
---
Better to light one candle than to curse the darkness.
--
PHP General Mailing List
Sameer N Ingole wrote:
Can list admin stop such spam mails? Is there any provision to ban such
users?
list admin? php-generals?
didn't you know this is an entropic/runaway-train type list? :-)
(there are people with admin rights to the list - but nobody actively
doing anything, mostly
Dear Friend,
We are a professional digitizing company ,we have many years experience in this
area,if you need digitizing service .please email me
-We can provide many formats ,dst ,wilcom(emb),cnd,exp,dsb,,xxx,dat,dsz and so
on.
-Turnaround Time: 24 hrs.If it's urgent, the logo can be done in
This notification has been sent to inform you that a message has been deleted
by InterScan MSS.---BeginMessage---
***
A virus (HTML_Netsky.P) was detected in the file (no filename). Action taken =
remove
A virus (WORM_NETSKY.P) was detected in the file (message.scr). Action
On Tue, 2006-05-09 at 06:11 -0400, SPANISH SWEEPSTAKE LOTTERY wrote:
SPANISH SWEEPSTAKE LOTTERY
OK this is getting crazy. Is it Spam the list day today? Did I miss
the memo in the flurry of spam mails?
Looks like it time to tighten up the ol spam traps again...
--Paul
--
PHP General Mailing
IG wrote:
John Meyer wrote:
Is there anyway to make PHP normally suppress errors, but a piece of
code that would show errors on a particular page?
Sorry forgot to mention how you show errors on a particular page- you
would use-
ini_set('display_errors', '1');
But are you sure you want to
I have a realty site where people want to be able to save properties but
don't want to enter a username/password, etc. My first thought is just to
save the info to a cookie but am not sure if this is the best way. If
cookies aren't allowed, they will loose this functionality. I had thought
[snip]
I have a realty site where people want to be able to save properties but
don't want to enter a username/password, etc. My first thought is just
to
save the info to a cookie but am not sure if this is the best way. If
cookies aren't allowed, they will loose this functionality. I had
Chrome wrote:
Strange the spam email came to me from [EMAIL PROTECTED] Virtua is my host
Anyone else?
Dan
It came thru with an incomplete sender envelope, and most mail servers
will append it's own domain to that (hint: good way to configure your
mail server to catch this; don't allow
web site
probably know, must be underground before dawn, or they go back to the
stuff of the mountains they are made of, and never move again. That is
what had happened to Bert and Tom and William. Excellent! said
Gandalf, as he stepped from behind a tree, and helped Bilbo to climb
down
At 8:42 AM -0400 5/9/06, blackwater dev wrote:
I have a realty site where people want to be able to save properties but
don't want to enter a username/password, etc. My first thought is just to
save the info to a cookie but am not sure if this is the best way. If
cookies aren't allowed, they
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
$input{$key} = $cgi-param($key);
}
print qq{Content-type: text/html
htmlheadscript type=text/javascript
src=/domain.js/script/headbody
};
print qq{script
Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
snip perl
Can any one please help me in converting this to a php script
Which would be of great help
Try it yourself. If you have problems check the manual
(http://php.net/docs), STFW (http://www.google.com/) and if you can't
I am getting weird results with blowfish being different across platforms.
mcrypt requires me to recompile the windows binary
are there any other solutions out there for x-platform encrypt/decrypt?
tx!
/dc
--
___
David DC Collier
Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
$input{$key} = $cgi-param($key);
}
check out the superglobals $_POST, $_GET and $_REQUEST:
?php
var_dump($_POST, $_GET, $_REQUEST);
?
print
Paul Scott schrieb:
On Tue, 2006-05-09 at 06:11 -0400, SPANISH SWEEPSTAKE LOTTERY wrote:
SPANISH SWEEPSTAKE LOTTERY
OK this is getting crazy. Is it Spam the list day today? Did I miss
the memo in the flurry of spam mails?
Looks like it time to tighten up the ol spam traps again...
--Paul
I know I used to have an issue with some of that type of stuff, but I
also went in and did an output buffering at the beginning of the script,
ran everything, then output the buffer. That helped me to clear it up.
One of the pieces might be outputting something you just aren't seeing
yet...
Do you have short open tags allowed in this server setting?
why not just do
?php
print $_REQUEST[result];
?
Rolf Wouters wrote:
I know I used to have an issue with some of that type of stuff, but I
also went in and did an output buffering at the beginning of the script,
ran everything,
Do you have short open tags allowed in this server setting?
why not just do
?php
print $_REQUEST[result];
?
Yes, short open tags are allowed on this server. As mentioned before,
all instances of this app are running on the same server, using the same
configuration etc. Differences
The script behind the request does the following:
- delete some files
- copy files from dir A to dir B
- read some data from a database and generates some XML-files
(i.e. a basic publish procedure)
The problem isn't the script itself, nor the server. I know this,
because the same code is
I don't think it's a timeout issue on the server-side, because I've
already tried setting MAX_EXECUTION_TIME and MAX_INPUT_TIME to
extremly
high values, and got the same result (i.e. the blank page).
By setting them to extremly low values I was able to verify the
app/script/server 's behaviour
Does anyone know if it's possible to reference class constants or static
variables without having to use 'self::' all the time?
class A {
const MY_CONSTANT = true;
public function test() {
echo self :: MY_CONSTANT; // works
echo MY_CONSTANT; // doesn't work
}
}
I don't
General update...
We've finally isolated the real problem (or so we hope :-s) which is
copying the files from dir A to dir B.
After commenting out pieces of code in the script, it became clear that
the blank page only appeared when the copy operations were performed.
That's why I've started
On 5/9/06, Rolf Wouters [EMAIL PROTECTED] wrote:
General update...
We've finally isolated the real problem (or so we hope :-s) which is
copying the files from dir A to dir B.
After commenting out pieces of code in the script, it became clear that
the blank page only appeared when the copy
Have you tried tailing the error log on the server to see if it throws
any error messages that might be clues?
Yes, I have (although I only have limited access to the server) and
nothing of interest shows up :-(
I've also changed my code so PHP shows me all errors etc. but nothing
shows
Dan
--
http://chrome.me.uk
__ NOD32 1.1527 (20060509) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't been
configured properly yet.
I fear many will unsubscribe and the list will lose much of its utility
if it's
While I am by no strech of the imagination a ColdFusion expert, I
have built a couple of dozen CF sites over the past 5 years. Am
currently working on my first PHP site and am running into a problem
with the simplest little thing.
An index page is returning a list of active category names.
On May 9, 2006, at 2:05 PM, John Hicks wrote:
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't
been configured properly yet.
I fear many will unsubscribe and
John Hicks wrote:
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't been
configured properly yet.
I fear many will unsubscribe and the list will lose much of its
Cheat...
EasyPHPAlbum can be configured to do some of what you are looking to do,
probably more with a bit of tweaking to the text files for the photos..
http://www.mywebmymail.com/
Other then that, based off your code you are Not getting the ID from the
URL when you pass it through. Good job
On 5/9/06, David Doonan [EMAIL PROTECTED] wrote:
While I am by no strech of the imagination a ColdFusion expert, I
have built a couple of dozen CF sites over the past 5 years. Am
currently working on my first PHP site and am running into a problem
with the simplest little thing.
An index page
On May 9, 2006, at 3:27 PM, Wolf wrote:
$recordcatID = $_GET[ID]; //place before the query
Grazi!
da
On 5/9/06, Rolf Wouters [EMAIL PROTECTED] wrote:
Have you tried tailing the error log on the server to see if it throws
any error messages that might be clues?
Yes, I have (although I only have limited access to the server) and
nothing of interest shows up :-(
I've also changed my code so PHP
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Actually I don't believe this is exactly right from playing around
with Photoshop you can see that you change an image's resolution under
Image - Image Size and if you turn off Resample Image, it will retain
the same pixel
On 5/9/06, D. Dante Lorenso [EMAIL PROTECTED] wrote:
Does anyone know if it's possible to reference class constants or static
variables without having to use 'self::' all the time?
No, and the answer is actually in your example. Copy-and-paste all of
your example code into one file, and just
At 8:25 PM +0100 5/9/06, Rolf Wouters wrote:
Have you tried tailing the error log on the server to see if it throws
any error messages that might be clues?
Yes, I have (although I only have limited access to the server) and
nothing of interest shows up :-(
I've also changed my code so PHP
[EMAIL PROTECTED] said:
If somebody has more or better information on this, I'd love to hear
it but this is how it is as far as I know and have experienced.
Porpoise [EMAIL PROTECTED] answered:
First off, DPI is not a function within an image, it is a function
of output and is governed by a
Is it possible to create EPS or TIFF files with a image libraries like GD or
ImageMagik?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Is it possible to create EPS or TIFF files with a image libraries like
GD or
ImageMagik?
[/snip]
You Googled, right?
http://www.mcs.vuw.ac.nz/technical/software/PHP/ref.image.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I did, that link didn't seem to actually talk about the ability to create
new TIFF images and didn't mention EPS at all, did I miss something on that
page?
Thanks, Mark
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 2:14 PM
To: Mark
[snip]
I did, that link didn't seem to actually talk about the ability to
create
new TIFF images and didn't mention EPS at all, did I miss something on
that
page?
[/snip]
It talks about all the things you can do with the image library.
--
PHP General Mailing List (http://www.php.net/)
To
John Wells wrote:
On 5/9/06, D. Dante Lorenso [EMAIL PROTECTED] wrote:
Does anyone know if it's possible to reference class constants or static
variables without having to use 'self::' all the time?
No, ... Why? The reason is SCOPE.
As wonderful as PHP is, it can't read your mind. So if
D. Dante Lorenso wrote:
As an OOP programmer, I would expect the scope search to be as follows:
1. LOCAL: current method
2. THIS: current instance ($this)
3. SELF: current class parent classes, in order of inheritance
4. GLOBAL: globals
Actually, 2 and 3 are really the same but only
tedd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED] said:
Thanks for your explanation. Anyone who agrees with me, must be very
intelligent. :-)
IyamIyam. ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
All,
I have a file which I want to stream from PHP:
readfile($file_name);
However, this function has the problem that it reads the whole file into
memory and then tries to write it to output. Sometimes, you can hit the
memory limit in PHP before the file contents are completely output
D. Dante Lorenso wrote:
All,
I have a file which I want to stream from PHP:
it's not that relevant, but, I don't thinking streaming is the correct term.
your merely dumping a files' content to std output.
readfile($file_name);
the trick you need to employ involves opening the file and
Kaushal Shriyan wrote:
On 5/9/06, Jochem Maas [EMAIL PROTECTED] wrote:
Thanks Jochem Maas
Thanks a Lot
so it would look like below if i put in test.php
?php
var_dump($_POST, $_GET, $_REQUEST);
?
echo ul;
ksort($_GET);
foreach ($_GET as $key = $val) {
echo li{$key}: {$val}/li;
}
D. Dante Lorenso wrote:
John Wells wrote:
On 5/9/06, D. Dante Lorenso [EMAIL PROTECTED] wrote:
Does anyone know if it's possible to reference class constants or static
variables without having to use 'self::' all the time?
No, ... Why? The reason is SCOPE.
implicit scope sucks - it
Rasmus Lerdorf wrote:
John Hicks wrote:
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't been
configured properly yet.
I fear many will unsubscribe and the
Jochem Maas wrote:
Rasmus Lerdorf wrote:
John Hicks wrote:
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't been
configured properly yet.
I fear many will
On 5/9/06, D. Dante Lorenso [EMAIL PROTECTED] wrote:
All,
I have a file which I want to stream from PHP:
readfile($file_name);
However, this function has the problem that it reads the whole file into
memory and then tries to write it to output. Sometimes, you can hit the
memory limit in
D. Dante Lorenso wrote:
All,
I have a file which I want to stream from PHP:
readfile($file_name);
However, this function has the problem that it reads the whole file into
memory and then tries to write it to output. Sometimes, you can hit the
memory limit in PHP before the file contents
Jochem Maas wrote:
D. Dante Lorenso wrote:
All,
I have a file which I want to stream from PHP:
it's not that relevant, but, I don't thinking streaming is the correct
term.
your merely dumping a files' content to std output.
readfile($file_name);
the trick you need to employ
Eric Butera wrote:
On 5/9/06, D. Dante Lorenso [EMAIL PROTECTED] wrote:
To do this, I would think I need a function in PHP which will output a
buffered stream with blocking enabled. Can anybody point me in the
right direction?
I'm probably way off base on what you're trying to do, but maybe
Chris wrote:
readfile works by reading in the whole file at once - if you don't
want it to do that, you can't use readfile.
You don't need anything complicated, or am I misunderstanding the
question which is more likely..
$size = 1048576; // 1Meg.
$fp = fopen($big_file1, 'rb');
On Tue, May 9, 2006 11:11 pm, D. Dante Lorenso wrote:
Will 'echo' block until the client has consumed the whole $size amount
of data? If not, how fast will your while loop execute? If
file_size($big_file1) exceeds 1 TB, does your server end up sucking up
all available memory? Or does PHP
On Tue, May 9, 2006 2:15 pm, David Doonan wrote:
But I can't help but feel that I'm missing something in the PHP
syntax.
?php require_once('../Connections/connTrail.php'); ?
?php
mysql_select_db($database_connTrail, $connTrail);
$query_GetThumbs = SELECT Photos.Photos_ImagePath,
On Tue, May 9, 2006 12:42 pm, D. Dante Lorenso wrote:
Does anyone know if it's possible to reference class constants or
static
variables without having to use 'self::' all the time?
class A {
const MY_CONSTANT = true;
public function test() {
echo self :: MY_CONSTANT; //
On Tue, May 9, 2006 4:48 pm, D. Dante Lorenso wrote:
If
the search for my constant follows the search I've listed above, self
would never be necessary unless you wanted to pinpoint 3 directly.
Under this same line of thinking, though, '$this-' really shouldn't
be
be necessary either unless
On Tue, May 9, 2006 12:14 pm, Rolf Wouters wrote:
The script behind the request does the following:
Also, if the script terminated and Apache sent a non-200 return
code,
then the browser knows it never got the real page, and may be
trying
to help you by getting the true page when you do
Jochem Maas wrote:
D. Dante Lorenso wrote:
$x = ($y == self :: MY_CONSTANT || $y == self :: MY_CONSTANT2);
I hate the spaces around the '::' whynot self::MY_CONSTANT?
Stupid PHP Eclipse code beautifier ;-) It's what I use to beautify and
since it always does that, I've been forced to
On Tue, May 9, 2006 1:59 pm, Rolf Wouters wrote:
What are you looking at? Repeated calls to the same piece of
php-script.
If you look at the column labeled Content type, you see that there
are
2 results: text/html and application/x-unknown-content-type (the
ones
that are crossed-out should
Wild Guess:
?php
var_dump($_REQUEST);
var_dump($_ENV);
?
You're on your own for adding in the HTML and Javascript crap.
On Tue, May 9, 2006 9:36 am, Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
Richard Lynch wrote:
On Tue, May 9, 2006 11:11 pm, D. Dante Lorenso wrote:
will 'echo' block until the client has consumed the whole $size amount
of data? If not, how fast will your while loop execute? If
file_size($big_file1) exceeds 1 TB, does your server end up sucking up
all available
On Mon, May 8, 2006 1:42 pm, PHP wrote:
Normally I would, except that file does a lot of work, and it was too
much
to have on the same server. That is why I was including it remotely.
Unless the remote server is HUMUNGOUS compared to the original server,
or it just has nothing else to do but
On Wed, May 10, 2006 12:15 am, D. Dante Lorenso wrote:
Ok, so, from the looks of it, the server writer seems to block on
print
when 2MB have filled the output buffer. 2MB is a good number, so I
guess I don't need to do anything and everything magically works the
way
I would expect.
But
Richard Lynch wrote:
On Tue, May 9, 2006 4:48 pm, D. Dante Lorenso wrote:
If
the search for my constant follows the search I've listed above, self
would never be necessary unless you wanted to pinpoint 3 directly.
Under this same line of thinking, though, '$this-' really shouldn't
be
be
Richard Lynch wrote:
On Tue, May 9, 2006 12:42 pm, D. Dante Lorenso wrote:#1.
You might do:
define('MY_CONSTANT', true);
class A {
const MY_CONSTANT = MY_CONSTANT;
}
Then you can sort of have the best of both worlds...
Though in a hack sort of way. :-^
Hehe, nice. No thanks ;-) Keep yer
70 matches
Mail list logo