php-general Digest 19 Jun 2006 15:16:58 - Issue 4194
Topics (messages 238258 through 238287):
Re: Mail in Spam Box - my code
238258 by: kartikay malhotra
Re: Ok next php problem
238259 by: Chris
Re: Want some PHP e-book
238260 by: Ligaya Turmelle
Compare data
is there an example of the correct code?
On 6/19/06, eqla3.com eqla3.com [EMAIL PROTECTED] wrote:
is there an example of the correct code?
is my messege get in the right place?
===
web archive
a href=http://7b99.com/;./a
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 mailing list I would like to suggest blocking all
messages containing such
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
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 mailing list
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 that
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ó:
--
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 request
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
PHP tends to send output in content transfer encoding chunked (I think
this is true when output buffering is on). ?php ? 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
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 file in
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 ?
Thanks
--
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.
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
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
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
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
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
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
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()
I get
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 up procmail
snip
just wait till we have spambots with AI and emotion subroutines ;-)
/snip
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
$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 to
[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
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
td colspan=5?php $userid ? ?php $_SESSION['username'] ?/td
that should be ?= $_SESSION['username'] ? or ?php echo
$_SESSION['username']; ?
its all in how you call the variables.. ?php $somevar ? isint telling the
variable to do anything.
-phpninja
-Original Message-
From: Alex
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
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 with AI and emotion subroutines
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
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:
?php
// 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_result =
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 something
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. So
Alex Major wrote:
Thanks for pointing that out, however I've changed the code to:
?php
// 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'].';
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'].'
Maybe I'm all wet
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 mailing lists,
not
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
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
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)
I know that
[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,}.*?)\)/, Upper
[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
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
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
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 (ATT) phone, it is my [EMAIL PROTECTED]
Where the X's
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 Lynch
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
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
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 and
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:
snip
echo 'option value=',$port,'',$port,'/option';
snip
2. try to output something that resembles proper HTML (an option without a
closing tag sucks)
P I never close my option tags that way
option value=foo /Bar
:-p
--
John C. Nichel IV
John Nichel wrote:
P I never close my option tags that way
option value=foo /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.
|option /*t*est|
You have used
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 h1Search Results/h1;
$WORDS = $_POST['words'];
$search1 = BODY \$WORDS\;
$SEARCH = @imap_search($conn, $search1, SE_UID);
$arrData = $SEARCH;
$mailHeader =
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('.',
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 h1Search Results/h1;
$WORDS = $_POST['words'];
$search1 = BODY \$WORDS\;
$SEARCH = @imap_search($conn, $search1, SE_UID);
$arrData = $SEARCH;
$mailHeader =
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
option value=foo /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
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:
snip
echo 'option value=',$port,'',$port,'/option';
snip
2. try to output something that resembles proper HTML (an option
without a closing tag sucks)
P I never close my option tags that way
option value=foo /Bar
but that's
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
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
Yep, and still nothing output's.
- Original Message -
From: Xavier Casto [EMAIL PROTECTED]
To: 'Rob W.' [EMAIL PROTECTED]
Cc: php-general@lists.php.net
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
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
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 question,
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: php-general@lists.php.net
Sent: Monday, June 19, 2006 4:05 PM
Subject: Re: [PHP] Still trying to figure this out...
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.. Now
--- 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
Japanese spam
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: php-general@lists.php.net
Sent: Monday, June 19, 2006 6:34
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
Rob W. wrote:
Nope, I still dont get anything back from that.
it will AT THE VERY LEAST return the string:
'select name=port/select'
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
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?
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 find it
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
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 in turn
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
Nope, still does nothing.
- Original Message -
From: Xavier Casto [EMAIL PROTECTED]
To: 'Rob W.' [EMAIL PROTECTED]
Cc: php-general@lists.php.net
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
$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
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
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
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
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 assured
1 - 100 of 115 matches
Mail list logo