I'm too! :(
-Original Message-
From: Denis Gerasimov [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 1:23 PM
To: php-general@lists.php.net
Subject: [PHP] A way to stop spam on this list
Hello List Members,
I am very tired of deleting spam messages received from PHP mailing
lis
On Mon, 2006-06-19 at 02:23, Denis Gerasimov wrote:
> Hello List Members,
>
>
>
> I am very tired of deleting spam messages received from PHP mailing lists
> and I think we all are.
>
>
>
> As I can see most of the spam messages are in Chinese / Japanese. Since
> this is an English-only ma
Hello Robert,
> I think you should quit whining like a spoilt brat *lol*. I get
> something like 3 a day. Big fricking whoop.
I am subscribed to most of the PHP mailing lists, not only to PHP general.
There is the same problem too. So receive something more than just "3 a
day".
Also I remember t
Do you know who the list admin is?
php-general has been traditionally "admined" by users flaming people posting
"bad content".
This doesn't work for spam.
Having that said, feel free to set up procmail or something like that, to
block message with chinese/japanese characters.
Excuse me... in which scenarios isn't fork() available? As far as I
know, it even works on Windows (albeit slower... not that you'll be
gaining any performance by curl'ing your URL - that's actually slower
than fork()).
El vie, 16-06-2006 a las 11:25 -0300, Martin Alterisio escribió:
>
>
--
P
El vie, 16-06-2006 a las 15:54 -0500, Richard Lynch escribió:
> On Fri, June 16, 2006 9:25 am, Martin Alterisio wrote:
> > You can fork a new process a run the other script in the child
> > process. But
> > forking is not always available so I also use another approach:
> > emulate a
> > web page r
Hi Folks,
Bit of an unusual question here, which is basically as a result of my lack
of understanding as to how Sessions work.
I've created a Captcha image solution for an application I look after, and
when we came to look into something that required debugging, I realized I'm
using session
PHP tends to send output in content transfer encoding "chunked" (I think
this is true when output buffering is on). blocks usually have
their output sent in one chunk. The browser renders the chunks as they
come, but oftentimes they delay rendering until a sensible number of
HTML closing tags ha
James Nunnerley wrote:
> ...
>
> It works a treat, however what I want to understand is how the session is
> kept relevant to that particular user's session - mainly because my boss
> wants to check there's no security implication.
>
> ...
>
The session is stored on the server, typically in a
Hi all ,
Any php calendar out there, search google , most of them are
javascript calendar ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Strange... all I wrote was "php calender" on google
and i got a whole bunch of results...
guess i am using special version of google...
-Ryan
--- weetat <[EMAIL PROTECTED]> wrote:
> Hi all ,
>
> Any php calendar out there, search google , most
> of them are
> javascript calendar ?
>
> Tha
Hi
I have this code (PHP5) as part of a class to do some LDAP stuff...
public function connect()
{
$this->ds = @ldap_connect( $this->server, $this->port ); ###
This seems to return true no matter waht
if ( $this->ds ) {
// A successful connection was made
Greetings all,
I have a situation that I'm not sure how it can be done with PHP. I have
written a web-application that produces
a monthly statement for our customers. Now, I need to automate the
printing of these monthly statements.
The way I was thinking of doing this was through Perl. Howe
If you cron job the script file and perhaps convert it to something like
PDF then you could feed it to the printer through the shell script...
I'm sure there are other ways, just one suggestion from the top of my head..
-brad
Jef Sullivan wrote:
Greetings all,
I have a situation that I'm n
I believe the manual says that ldap_connect doesn't actually make the
connection but rather it just simply sets up the connection
parameters. The actual connection doesn't happen until ldap_bind is
executed.
- or so I recall reading some where ;-)
On Jun 19, 2006, at 9:06 AM, Steve Turn
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the drivers has no value.
I am now trying to in
Jochem Maas wrote:
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the d
Richard Harding wrote:
> I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
> installed php5, php5-dev, etc and have php5 working with no problems. I
> then did a pecl install pdo and that installed ok. When I run phpinfo()
> I get that PDO is activated and the drivers has no va
Jochem Maas wrote:
Richard Harding wrote:
Jochem Maas wrote:
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok.
Richard Harding wrote:
> Jochem Maas wrote:
>> Richard Harding wrote:
>>
>>> I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
>>> installed php5, php5-dev, etc and have php5 working with no problems. I
>>> then did a pecl install pdo and that installed ok. When I run phpinfo
Rory Browne wrote:
> Do you know who the list admin is?
>
> php-general has been traditionally "admined" by users flaming people
> posting
> "bad content".
>
> This doesn't work for spam.
just wait till we have spambots with AI and emotion subroutines ;-)
>
> Having that said, feel free to set
just wait till we have spambots with AI and emotion subroutines ;-)
It'll be worse if we get spammers with actual intelligence...
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version:
$query="SELECT switchport FROM network";
$result=mysql_query($query);
$sql_range=array($result['switchport']);
Anybody tell me what i'm doing wrong and why this isnt going in to an array?
Jochem Maas schrieb:
Rory Browne wrote:
Do you know who the list admin is?
php-general has been traditionally "admined" by users flaming people
posting
"bad content".
This doesn't work for spam.
just wait till we have spambots with AI and emotion subroutines ;-)
Oh yeah then i will have it
[snip]
$query="SELECT switchport FROM network";
$result=mysql_query($query);
$sql_range=array($result['switchport']);
Anybody tell me what i'm doing wrong and why this isnt going in to an
array?
[/snip]
Use mysql_fetch_array()
$sql_range = mysql_fetch_array($result);
--
PHP General Maili
Your result variable is a result identifier, not the actual data...
check out:
http://www.php.net/manual/en/function.mysql-fetch-row.php
or something similar...
-Brad
Rob W. wrote:
$query="SELECT switchport FROM network";
$result=mysql_query($query);
$sql_range=array($result['switchport'])
Hi there.
I'm working my way through a new script, but I've stumbled into a problem.
Some data that I've set into a session, won't be processed by part of my php
code, but then later on in the page I can get the session value to output.
Also, just so that its clear, the mysql code is correct (I ca
that should be or
its all in how you call the variables.. isint telling the
variable to do anything.
-phpninja
-Original Message-
From: Alex Major [*mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]>]
Sent: Monday, June 19, 2006 8:26 AM
To: php-general@lists.php.net
Subject: [PHP
Rob W. wrote:
$query="SELECT switchport FROM network";
$result=mysql_query($query);
$sql_range=array($result['switchport']);
Anybody tell me what i'm doing wrong and why this isnt going in to an array?
Because you're not understanding what the function mysql_query() is
doing. Look at
At 10:04 AM +0100 6/19/06, James Nunnerley wrote:
>Hi Folks,
>
>-snip-
>
>Are we missing something, or is it really magic?
It's really magic.
I've written a very simple example (code included) at:
http://www.weberdev.com/get_example-4349.html
and demo at:
http://xn--ovg.com/session
As for CAP
At 5:10 PM +0200 6/19/06, Barry wrote:
>Jochem Maas schrieb:
>>Rory Browne wrote:
>>>Do you know who the list admin is?
>>>
>>>php-general has been traditionally "admined" by users flaming people
>>>posting
>>>"bad content".
>>>
>>>This doesn't work for spam.
>>
>>just wait till we have spambots wi
Richard Harding wrote:
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have
installed php5, php5-dev, etc and have php5 working with no problems. I
then did a pecl install pdo and that installed ok. When I run phpinfo()
I get that PDO is activated and the drivers has no value.
I want to run filters on an pop3 inbox.
I have the following arrays which I'll get from the database-
$subject
$email
$body
$subject_like
$email_like
$body_like
I then go through each email in turn using this loop-
$popy = "{".$pop3."/pop3:110}INBOX";
$mailbox = imap_open($popy, $un, $pw);
Thanks for pointing that out, however I've changed the code to:
Food:
Wood:
Stone:
Gold:
Session user_id is:
And I'm still not getting the output correctly.
I don't think that the SELECT query is working properly, is there problem
with how I've put:
At 10:05 AM +0200 6/19/06, Rory Browne wrote:
>Do you know who the list admin is?
>
>php-general has been traditionally "admined" by users flaming people posting
>"bad content".
That works surprisingly well. :-)
>This doesn't work for spam.
>
>Having that said, feel free to set up procmail or som
On Mon, 2006-06-19 at 03:34, Denis Gerasimov wrote:
> Hello Robert,
>
> > I think you should quit whining like a spoilt brat *lol*. I get
> > something like 3 a day. Big fricking whoop.
>
> I am subscribed to most of the PHP mailing lists, not only to PHP general.
> There is the same problem too.
Alex Major wrote:
Thanks for pointing that out, however I've changed the code to:
// Lets see how much the person has at the moment.
$current_resource_query = "SELECT food, wood, stone, gold, population
FROM game_resources WHERE user_id = '".$_SESSION['user_id']."'";
$current_resource_r
Manuel:
Thank you for your most detailed explanation -- I must admit most of it is over
my head. However, I shall study the concept further and place your email in my
"to learn" collection (I have one and it's growing faster than I can keep up).
But as of now, I can now run one php application
IG wrote:
I want to run filters on an pop3 inbox.
I have the following arrays which I'll get from the database-
$subject
$email
$body
$subject_like
$email_like
$body_like
I then go through each email in turn using this loop-
$popy = "{".$pop3."/pop3:110}INBOX";
$mailbox = imap_open($popy,
Alex Major wrote:
>And I'm still not getting the output correctly.
>I don't think that the SELECT query is working properly, is there problem
>with how I've put:
>WHERE user_id = '".$_SESSION['user_id']."'
Maybe I'm all wet here, but what's the the periods?
Why isn't it:
WHERE user_id
At 12:27 AM +0700 6/20/06, Gmail nya Suprie wrote:
>tedd wrote:
>>Alex Major wrote:
>>
>>>And I'm still not getting the output correctly.
>>>I don't think that the SELECT query is working properly, is there problem
>>>with how I've put:
>>> WHERE user_id = '".$_SESSION['user_id']."'
>>>
Hi there,
I'm writing some code that looks at a video file given to it and writes up
the correct embed html and outputs it to the browser. I though that I would
use mime_content_type() function to detect the type of each video, but after
enabling it, I found that it doesn't have the mime type for
--- Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Mon, 2006-06-19 at 03:34, Denis Gerasimov wrote:
> > Hello Robert,
> >
> > > I think you should quit whining like a spoilt
> brat *lol*. I get
> > > something like 3 a day. Big fricking whoop.
> >
> > I am subscribed to most of the PHP mailin
Hmpf, well I feel like a real tit now.
I tried all the posted suggestions, and still couldn't figure out why it
wasn't working.
I went back to re-code the whole page from scratch, started off with include
'connection.php', then it hit me...i hadn't included the connection file in
the parent file t
I have a field that contains a value in parenthesis', but also contains
other text, for instance; (it is a legacy app that I am working with,
and by legacy I am saying pre-1980)
Upper voltage (124.1)
I know that \([0-9]*\) will get me (124.1), but I am totally forgetting
how to get 124.1 without
Jay Blanchard wrote:
I have a field that contains a value in parenthesis', but also contains
other text, for instance; (it is a legacy app that I am working with,
and by legacy I am saying pre-1980)
Upper voltage (124.1)
I know that \([0-9]*\) will get me (124.1), but I am totally forgetting
ho
On Mon, 2006-06-19 at 14:42, John Nichel wrote:
> Jay Blanchard wrote:
> > I have a field that contains a value in parenthesis', but also contains
> > other text, for instance; (it is a legacy app that I am working with,
> > and by legacy I am saying pre-1980)
> >
> > Upper voltage (124.1)
> >
>
[snip]
\(([0-9]*)\)
[/snip]
I had done this before and still get the parenthesis...
ereg("\(([0-9]*)\)", "Upper Voltage (124.1)", $regs);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
You won't match the dot btw:
\(([.0-9]*)\)
Which is crude since it will match more than one dot :)
[/snip]
Typo on my part \(([0-9\.]*)\)...but still gets parenthesis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
\(([0-9]*)\)
[/snip]
I had done this before and still get the parenthesis...
ereg("\(([0-9]*)\)", "Upper Voltage (124.1)", $regs);
Anot PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "U
[snip]
Anot PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "Upper Voltage (124.1)", $regs );
[/snip]
Still returns parentheses
ereg("[^\(][0-9\.]*" , "Upper Voltage (124.1)", $regs );
gets rid of opening bracket, but
e
Jay Blanchard wrote:
[snip]
Anot PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "Upper Voltage (124.1)", $regs );
[/snip]
Still returns parentheses
ereg("[^\(][0-9\.]*" , "Upper Voltage (124.1)", $regs );
gets rid of
[snip]
Do you have to use ereg? The preg_match pattern I posted works fine.
It will return an array, first element being the whole string it
matched, next element will be what it matched _inside_ the parentheses
(less the parentheses) (if it matches anything that is).
[/snip]
Thanks Johnth
Dear Denis and List members,
> I am very tired of deleting spam messages received from PHP mailing lists
uu...I was tired more than you are,Denis,undoubtedly.
Because I am a Japanese.I think that the person who can not read
Japanese spam is fortunate.
> As I can see most of the spam messages a
For what it's worth, most cell phone providers have an email gateway which
works just as good as an SMS message (and it's free!).
Just find the email address to send to for each carrier and store in a
table.
For example, for my Cingular (AT&T) phone, it is my [EMAIL PROTECTED]
Where the X's repre
http://www.php.net/manual/en/function.unset.php
So if you had:
$foo = Array ( [0] => 2, [ID] => 2, [1] => asdasd, [CategoryName] => asdasd
) );
unset($foo[0]);
unset($foo[1]);
Yields:
$foo = Array ( [ID] => 2, [CategoryName] => asdasd ) );
DÆVID
> -Original Message-
> From: Richard
Ok, I am still trying to get this figured out from what I tried doing last
night. If anybody wants to try it, please be my guest. This is the deal. Create
an INTEGER table. Put the numbers 1 - 24 in it. Leave out like number 8, 9, 22,
23 ect.. Now create a php statement that will take and pull t
Hi all,
ok, have a relatively complicated architecture of php scripts in place,
and after reading more about SQL injection, want to make sure that I
clean my data completely before I enter it into a MySQL db.
I tend to clean the data on the way into the app, which has many
subroutines that p
Rob W. wrote:
> Ok, I am still trying to get this figured out from what I tried doing last
> night. If anybody wants to try it, please be my guest. This is the deal.
> Create an INTEGER table. Put the numbers 1 - 24 in it.
> Leave out like number 8, 9, 22, 23 ect..
I'll assume the DB creation
Tim Traver wrote:
Hi all,
ok, have a relatively complicated architecture of php scripts in place,
and after reading more about SQL injection, want to make sure that I
clean my data completely before I enter it into a MySQL db.
I tend to clean the data on the way into the app, which has many
Jochem Maas wrote:
echo '',$port,'';
2. try to output something that resembles proper HTML (an without a
closing tag sucks)
P I never close my option tags that way
Bar
:-p
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.
John Nichel wrote:
P I never close my option tags that way
Bar
:-p
I didn't think this would compute as proper XHTML...Sure enough
validator.w3c.org says:
Error /Line 10 column 10/: character data is not allowed here.
|*t*est|
You have used character data somewhere it is not
On Jun 17, 2006, at 12:06 PM, a couple of guys wrote:
header("Content-type: image/jpeg");
notice "jpeg" - not "jpg".
Thanks all - this was indeed the problem. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I am having a problem trying to get the subject corenspond with the
message ID on a search.
here is my code so far:
echo "Search Results";
$WORDS = $_POST['words'];
$search1 = "BODY \"$WORDS\"";
$SEARCH = @imap_search($conn, $search1, SE_UID);
$arrData = $SEARCH;
$mailHeader = @imap_he
Hello again,
Here is another problem I am having. I would like to setup multiple pages on
a IMAP archive reader I am working on.
I cannot seem to get the multiple pages working right.
Here is my code.
$threads = imap_thread($conn);
foreach ($threads as $key => $val) {
$tree = explode('.', $key)
Hello all,
I am having a problem trying to get the subject corenspond with the
message ID on a search.
here is my code so far:
echo "Search Results";
$WORDS = $_POST['words'];
$search1 = "BODY \"$WORDS\"";
$SEARCH = @imap_search($conn, $search1, SE_UID);
$arrData = $SEARCH;
$mailHeader = @imap_he
> http://www.hudzilla.org/phpbook/
WOW! That online book is awesome. I consider myself an expert at PHP/mySQL
and there were some things in there that I didn't know.
Thanks Ligaya,
DÆVID
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 5:48 PM -0400 6/19/06, Jon Anderson wrote:
>John Nichel wrote:
>>P I never close my option tags that way
>>
>>Bar
>>
>>:-p
>>
>I didn't think this would compute as proper XHTML...Sure enough
>validator.w3c.org says:
>
>Error /Line 10 column 10/: character data is not allowed here.
At 3:17 PM -0700 6/19/06, Daevid Vincent wrote:
> > http://www.hudzilla.org/phpbook/
>
>WOW! That online book is awesome. I consider myself an expert at PHP/mySQL
>and there were some things in there that I didn't know.
>
>Thanks Ligaya,
>
>DÆVID
Same here and I'm not an expert. :-)
tedd
--
-
John Nichel wrote:
> Jochem Maas wrote:
>
>> echo '',$port,'';
>
>> 2. try to output something that resembles proper HTML (an
>> without a closing tag sucks)
>>
>
> P I never close my option tags that way
>
> Bar
but that's different, you have your official dr. Evil's certifi
Of all the functions to use @ with, and to ignore error messages and
warnings, IMAP is the *last* one you want to do that with.
Add some error checking, and just forget using @
Meanwhile, both your questions didn't actually have a question, nor
any explanation of what was going wrong or right or.
This also didnt work, Still giving me no output just like the last try.
- Original Message -
From: Xavier Casto
To: Rob W.
Cc: php-general@lists.php.net
Sent: Monday, June 19, 2006 4:33 PM
Subject: Re: [PHP] Still trying to figure this out...
Have you ever thought of doi
Yep, and still nothing output's.
- Original Message -
From: "Xavier Casto" <[EMAIL PROTECTED]>
To: "'Rob W.'" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, June 19, 2006 6:20 PM
Subject: RE: [PHP] Still trying to figure this out...
You did make sure to assign a numerical value to $maxport?
I finally broke down and reinstalled PHP using the info from the site below,
but GD is still not working. Phpinfo() shows it is enabled, as are the other
libraries. So I'm lost as to what I am missing?
http://tanksoftware.com/tutes/installingphp.html
Any help is appreciated.
B
--
PHP General M
On Mon, June 19, 2006 7:12 pm, Richard Lynch wrote:
> Of all the functions to use @ with, and to ignore error messages and
> warnings, IMAP is the *last* one you want to do that with.
>
> Add some error checking, and just forget using @
>
> Meanwhile, both your questions didn't actually have a ques
Nope, I still dont get anything back from that.
So i'm still stuck in the mud.
- Original Message -
From: "Jochem Maas" <[EMAIL PROTECTED]>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Monday, June 19, 2006 4:05 PM
Subject: Re: [PHP] Still trying to figure this out...
Rob W. wrote:
On Mon, 2006-06-19 at 16:39, Rob W. wrote:
> Ok, I am still trying to get this figured out from what I tried doing last
> night. If anybody wants to try it, please be my guest. This is the deal.
> Create an INTEGER table. Put the numbers 1 - 24 in it. Leave out like number
> 8, 9, 22, 23 ect.. N
--- MOKULEN_IMADICA <[EMAIL PROTECTED]> wrote:
> Dear Denis and List members,
>
> > I am very tired of deleting spam messages received
> from PHP mailing lists
>
> uu...I was tired more than you
> are,Denis,undoubtedly.
> Because I am a Japanese.I think that the person who
> can not read
> J
Yeah, that's what i'm trying to print is the missing numbers in the db.
That's what I've been trying to figure out this whole time.
- Original Message -
From: "Xavier Casto" <[EMAIL PROTECTED]>
To: "'Rob W.'" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, June 19, 2006 6:34 PM
Subject: RE: [PH
On Mon, June 19, 2006 3:39 pm, Rob W. wrote:
> $query="SELECT switchport FROM network";
> $result=mysql_query($query);
//If you wanna use fetch_array or whatever, fine.
//But I dunno how to use it and don't care to learn.
//And haven't felt the need for a decade now.
//So there :-)
while (list
Rob W. wrote:
> Nope, I still dont get anything back from that.
it will AT THE VERY LEAST return the string:
''
do you have any idea what you have in your database???
and have you ever heard of print_r() or var_dump()? you can use them
to *investigate* your problem.
...
>> $sqlRange
On Mon, June 19, 2006 5:43 pm, Beauford wrote:
> I finally broke down and reinstalled PHP using the info from the site
> below,
> but GD is still not working. Phpinfo() shows it is enabled, as are the
> other
> libraries. So I'm lost as to what I am missing?
>
> http://tanksoftware.com/tutes/instal
Honestly, just connect to the database earlier in your code...
if you insist on not doing that, use mysql_escape_strign and just
forget ever moving to Unicode data.
On Mon, June 19, 2006 3:58 pm, Tim Traver wrote:
> Hi all,
>
> ok, have a relatively complicated architecture of php scripts in
>
On Mon, June 19, 2006 10:26 am, Alex Major wrote:
> Hi there.
> I'm working my way through a new script, but I've stumbled into a
> problem.
> Some data that I've set into a session, won't be processed by part of
> my php
> code, but then later on in the page I can get the session value to
> output
CodeHeads wrote:
...
>
> U, you referred me to a page about smart questions..what about
> your TOP posting?
Richard has more than enough karma on this list to get away with a top-post
every half hour or so.
>
> Nevermind, I see the PHP list is filled with smart asses so I will fin
Hi again,
I started again to see if I could get it to work. I first removed everything
(libpng, libjpeg, zlib, and PHP). Then as before I followed the info in the
link below. Now I get the following when I run make for PHP. Note also that
I can not compile gd on it's own, I had to find a Slackware
On Mon, June 19, 2006 8:32 am, Jef Sullivan wrote:
> I have a situation that I'm not sure how it can be done with PHP. I
> have
> written a web-application that produces
>
> a monthly statement for our customers. Now, I need to automate the
> printing of these monthly statements.
>
> The way I was
On Mon, June 19, 2006 11:05 am, IG wrote:
> I want to run filters on an pop3 inbox.
You may want to just use IMAP protocol...
> I have the following arrays which I'll get from the database-
>
> $subject
> $email
> $body
> $subject_like
> $email_like
> $body_like
>
> I then go through each email i
Mark Steudel wrote:
> Hi there,
>
> I'm writing some code that looks at a video file given to it and writes up
> the correct embed html and outputs it to the browser. I though that I would
> use mime_content_type() function to detect the type of each video, but after
> enabling it, I found that it
Hello all. I'm the webmaster and developer of all the software and content
at SweetPHP.com. I have a few ideas for some new scripts that I would love
to work on, but don't have enough time to fully commit. I would love to
start up a group effort for a few things and be part of a development t
Nope, still does nothing.
- Original Message -
From: "Xavier Casto" <[EMAIL PROTECTED]>
To: "'Rob W.'" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, June 19, 2006 6:49 PM
Subject: RE: [PHP] Still trying to figure this out...
I think the problem is I forgot to reset $result to 0
for
$range = array_flip( range( 1, 24 ) );
$query = "SELECT switchport FROM network ";
if( ($result = mysql_query( $query )) !== false )
{
while( ($row = mysql_fetch_array( $result )) !== false )
{
unset( $range[$row[0]] );
}
}
foreach( $range as $sw
Matt Palermo wrote:
Hello all. I'm the webmaster and developer of all the software and content
at SweetPHP.com. I have a few ideas for some new scripts that I would love
to work on, but don't have enough time to fully commit. I would love to
start up a group effort for a few things and be pa
Beauford wrote:
Hi again,
I started again to see if I could get it to work. I first removed everything
(libpng, libjpeg, zlib, and PHP). Then as before I followed the info in the
link below. Now I get the following when I run make for PHP. Note also that
I can not compile gd on it's own, I had t
Manuel Amador (Rudd-O) wrote:
Excuse me... in which scenarios isn't fork() available? As far as I
know, it even works on Windows (albeit slower... not that you'll be
gaining any performance by curl'ing your URL - that's actually slower
than fork()).
It's (probably) not that the fork() etc comm
On Sat, June 17, 2006 1:25 pm, Ben Ramsey wrote:
> Using $_REQUEST is similar to using register_globals. You simply
> cannot
> trust the origin of the data. It's possible that a variable by the
> name
> of "foo" exists as a cookie, POST value, and GET value. If you use
> $_REQUEST, you cannot be as
On Mon, 2006-06-19 at 21:09, Rob W. wrote:
> $range = array_flip( range( 1, 24 ) );
>
> $query = "SELECT switchport FROM network ";
> if( ($result = mysql_query( $query )) !== false )
> {
> while( ($row = mysql_fetch_array( $result )) !== false )
> {
> u
On Mon, June 19, 2006 8:13 pm, Chris wrote:
> Manuel Amador (Rudd-O) wrote:
>> Excuse me... in which scenarios isn't fork() available? As far as I
>> know, it even works on Windows (albeit slower... not that you'll be
>> gaining any performance by curl'ing your URL - that's actually
>> slower
>> t
Richard Lynch wrote:
On Mon, June 19, 2006 8:13 pm, Chris wrote:
Manuel Amador (Rudd-O) wrote:
Excuse me... in which scenarios isn't fork() available? As far as I
know, it even works on Windows (albeit slower... not that you'll be
gaining any performance by curl'ing your URL - that's actually
On Sun, June 18, 2006 2:19 am, Satyam wrote:
> - Original Message -
> From: "Rory Browne" <[EMAIL PROTECTED]>
>
>>
>> Good code won't be vulnerable to register_globals either, but having
>> register_globals on is a security problem because there are security
>> flaws
>> that can only be exp
1 - 100 of 116 matches
Mail list logo