I believe according to Godwin's Law, Mr. Cummings has now lost the
argument.
That kind of thinking leads to things like Hitler :|
=
Mark Weinstock
[EMAIL PROTECTED]
***
You can't demand something as a right unless you are willing to fight to death to
Hi to all,
Just want to ask if PHP is capable of Parallel port interfacing?
If ever , can anyone give me a good tutorial or samples about this.
Thanks in advance.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How would you best describe a session id as a regex?
[a-z0-9]{32}
Just checking to see if any other characters can be in a session id.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings mailto:[EMAIL PROTECTED]
on Wednesday, August 06, 2003 12:27 PM said:
Your example is ridiculous -- it looks like you want a search egnine
to properly phrase the question for you.
No it's not and it should be apparent why.
I'll even search groups.google.com by asking my
OK Everyone... Isn't this a PHP list...
--
Best Regards, Phil
Phillip Blancher
Web Developer Lead Graphic Designer
http://www.ontarioweb.ca 1-866-209-0349
[EMAIL PROTECTED]
- Original Message -
From: Robert Cummings [EMAIL PROTECTED]
To: Chris Sherwood [EMAIL PROTECTED]
Cc: [EMAIL
100k = 100k records = 200 meg hehe
a sample from my db class, i had to store the total in a session as
calling the total on every page on a large database was painful doing
count(*) or even SQL_CALC_FOUND_ROWS, on a small database u just cant
tell but on a database of 100k + it was painful to
On Wednesday 06 August 2003 18:19, Dean Baldwin wrote:
I am porting a vb application across to php but have come up against a
small problem. The code uses the Mod calculation however I cannot find any
Mod in php. The line of code that uses it looks like:
Data = (index Mod 16)
Anybody have
thnx - I'll see if this help..
-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 7 August 2003 4:38 PM
To: 'Martin Towell'; [EMAIL PROTECTED]
Subject: RE: [PHP] error: cannot redeclare ()
Hi Martin... I am guessing you have a nested function that is being
skate wrote:
What are the possible values of $file? Are you looking to replace just a
specific occurance of a $file between item tags? Maybe this will help:
$contents = preg_replace(|item[^]*$file[^]*/item|si,,$contents);
or just use the 'U' modifier for ungreedy...
i'm looking to replace the
Thanks Alexandru,
I just picked PHP back up and am quite a bit rusty on where to find
information these days.
Jeremy
Alexandru Costin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Please take a look at http://php.weblogs.com/ their first article is
exactly about this
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
I'm bcc'ing this to [EMAIL PROTECTED], hopefully someone over there
can help the list out with this issue.
well, I guess we are on are own, the bcc bounced :/
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General
[snip]
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]):
GIS for send attachments with PHP mail()
GIS?
Google Search?
[/snip]
Information :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jennifer Goodie mailto:[EMAIL PROTECTED]
on Wednesday, August 06, 2003 11:27 AM said:
and in any event they're often things I
wouldn't have thought about looking up anyway.
I love how the argument for not doing research is not having the
time/not wanting to waste time. That is just
Ryan A mailto:[EMAIL PROTECTED]
on Wednesday, August 06, 2003 4:42 PM said:
for some reason over 90% of all posters to this list has been
blacklisted by spamcop...
And how do you know this?
any ideas on what we can do about it?
Dunno.
c.
--
PHP General Mailing List
It's not usless if you read the page.
[EMAIL PROTECTED]
As I said, the page is useless. This doesn't work either.
J.
On Sun, 2003-08-03 at 13:45, Joseph Bannon wrote:
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This page
Hi Jacob,
The script does indeed run, and I have since added the following :
$shell_return = shell_exec(./info.sh . 21);
This pointed out to me that the error was in the script itself, and not
the php...
I have now sorted this out so it works as expected...
Thanks for your time in
thanks for your help, I have already its 777
You need to chmod or chown the directory where the file is located.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Curt Zirzow [EMAIL PROTECTED]
well, I guess we are on are own, the bcc bounced :/
what about [EMAIL PROTECTED] or [EMAIL PROTECTED] ?
regards,
Juan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At the risk of starting a flame/religious/holy war I find the One True
Brace style to have some inconsistency if it is as above. The 'function'
does not open the curly brace at the EOL, but the 'if' does.
Yeah, that's pretty much the definition of the OTBS. :)
I'm not sure why I find it so
From: Chris Blake [EMAIL PROTECTED]
[snip]
//If Delete User is selected--
if ( $_REQUEST['useroption'] == 'delete')
{
[snip]
No matter which option I select I get the following output :
--
Parse error: parse error, unexpected $ in
/var/www/html/Sessions/userman.php on line 83
Sorry Jason, I didn't catch my typo about the echo program until
recently.
Regardless of that, do you know anything of how the piping mechanism
works?
Thanks for your time,
-Nick
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
On Tuesday 05 August 2003 13:25, Nicolas
That did it. Thanks.
Jason Wong wrote:
On Wednesday 06 August 2003 11:11, John Nichel wrote:
4.3.2
Try disabling output buffer in php.ini.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
look into executing your php script through cron. (Cron is a Unix schedular
and nothing to do with PHP). Or you can use Tash Schedular (on windows
servers, I guess).
Also, check the archives but I think this issue was answered as above.
Nabil [EMAIL PROTECTED] wrote in message
news:[EMAIL
Also look at
http://www.caravelcms.org
Quoting Matt Schroebel [EMAIL PROTECTED]:
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Best PHP CMS
I'm just looking for some opinions.
On Wed, 2003-08-06 at 16:36, Chris Sherwood wrote:
or what does it take to actually give a reasonable answer... if I am gonna
be rude I wont say anything... doesnt any one remember their mother telling
them if you dont have anything nice to say dont say anything at all?
That kind of
Robert and skate,
Thank you for your reponses. The problem is there are thousands of spots on
the plot.
The locations are random.
-MY
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 11:00 AM
To: skate
Cc: Yao, Minghua; [EMAIL
Try the zziplib library, http://www.php.net/manual/en/ref.zip.php
--
Adam Alkins
http://www.rasadam.com
Quoting Matt Palermo [EMAIL PROTECTED]:
Anyone know where I can find tutorials or examples on how to use the
gunzip, gzip, and other commands using PHP to work with compressed
files? I
--- Merlin [EMAIL PROTECTED] wrote:
What do you think? Maybe there is another possiblitiy=?
Are you certain the site in question doesn't simply parse the HTML files as if
they were PHP? Even so, I do not understand how you think one of these URLs is
more search optimized than the other:
Thanks greatly thats exactly what I was looking for.
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Jeremy Darling wrote:
This is driving me nuts. I know it can be done, cuz I've seen it done
before, but I can't figure it out.
I would like to have a php file
From: Martin Towell [EMAIL PROTECTED]
I'm getting the following error:
PHP Fatal error: Cannot redeclare () (previously declared in
/path/to/file/functions.inc:19) in /path/to/file/functions.inc on line 0
Anyone have any ideas how a no-name function could be generated?
Line 19 contains:
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
This is a very busy list, over 100 message in a quiet day and most
people are helpful and decent, don't mind reading and learning.
Unfortunately there are some who mostly post stuff like 'read the
manual' and other shit like that.
I have written as part of my CMS, an image upload system, now when the
images are placed in the destination folder, they are owned by httpd.root
and I need to get them to be owned by siteuser.sitegroup.
I have tried to chmod and chgrp it to siteuser.sitegroup but it gives
permission denied
From: Martin Peck [EMAIL PROTECTED]
That can generate an error if $Task was never assigned a value.
could you not do
if(@$Task == Add ){do something }
to suppress the error of the variable not being set?
I have never seen php give an error if $Task is not set to anything. I
I pity the poor sap who just joined the list and instead of finding php
topics discussed finds quotes,jokes,godwins laws, quirks laws,name calling,
referneces to Hitler and other topics...
Can we end this now please?
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
Looks good.
Cheers,
Rob.
On Thu, 2003-08-07 at 13:09, Christopher J. Crane wrote:
Is this the best way to do this?
if(isset($Task) $Task == Add) { Do something }
I want to check if the variable is set and if so, if it is Add.
--
PHP General Mailing List (http://www.php.net/)
Hey Everyone,
I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into something
interesting and I wanted to know if it was a bug, or actually supposed to be
that way. Given the following lines of code:
?php
session_start();
// lets say this equals bar and it was set on a previous page
I am trying to specify a single php file to contain all the
variables and I
just call this file where necessary. What I am running into is
that I want
to do this for all the built in functions (i.e. mssql_query) as
well. I've
tried numerous attempts but can't get it to operate without
Is this the best way to do this?
if(isset($Task) $Task == Add) { Do something }
I want to check if the variable is set and if so, if it is Add.
why don't just do:
if($Task == Add) { Do something }
regards,
Juan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I currently downloaded phpcalendar from..
http://www.cascade.org.uk/software/php/calendar/index.php
Im amaze how things goes with that software, i just couldnt figure out how
to link to a file for a specific date.
Can anyone suggest a similar program like this, that is simple and only an
admin
[snip]
Ah, this question again. Has it been four days already?
[/snip]
ROFLMFAO! I snorted coffee through my nose!!! :)
Eww I do not like coffee in my mouth.. but nostrils! Yuck!
PHPSpooky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Does anyone know of any module which can display an e-mail from it's source?
I mean, that it receives the mails source, and displays it as it is
displayed in a webmail for example..
It should be able to hand HTML messages and attachments
I searched the web and found nothing...
I could take code
** CORRECTION BELOW **
Hello,
This is a reply to an e-mail that you wrote on Tue, 5 Aug 2003 at
11:14, lines prefixed by '' were originally written by you.
$sFont =submit(font) ? SITE_ROOT . PROG_PATH .
submit(font) : ;
it is the same as:
if(submit(font)){
$sFont = SITE_ROOT . PROG_PATH;
$contents = preg_replace( |item.*?$file.*?/item|si, , $contents );
it's being run on an XML file, where each entry is item../item with
a $file pointer in there.
it works okay, except for the fact that it deletes that record, and every
record before it. i can't figure out why it's being
http://pear.php.net/XML_Parser
:)
Greg
--
phpDocumentor
http://www.phpdoc.org
Donald Tyler wrote:
Hi,
I am trying to create a Class that will parse an XML document. It all works
fine as individual functions but I cant get it to work as a class.
For example, when I do the following in my class:
PHP 4.3.3RC3 was just released, hopefully this will be the final release
candidate prior to the final release. Please test this release as much
possible so that any new/critical bugs maybe uncovered and resolved before
the final. If you do find such bugs (hopefully you won't) be sure to label
them
Quoting Ben C. [EMAIL PROTECTED]:
I am trying to sum a query of values from a MySQL table. The code I am
using is:
---BEGIN CODE #1--
$sql_2 = SELECT SUM(partpaidamount) as partpaid
FROM $tb_name
WHERE invoiceid = \$invoiceid\
;
$result_2 =
Hi List!
I know this is old history, but the archives has nothing, the manual is
so far away and google is kind of slow this morning, so...
Can somebody teach me how to compile php with fdf support in red hat
linux 8 as if I where a 5 year old? (which I am =)
Thanks.
PD. My mother will
And what about [^]* -if there are no html tags
skate wrote:
Do you need to use .*?? If there will be only white characters, use
\s* instead.
unfortunately there's some content either side of $file before item/item
this content is different for each item, so i can't define it in the
pattern.
Daevid Vincent [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm in search of an 'enterprise level' password storage system.
Try PMS: Password Management System. I believe it can be found on
sourceforge.
hth,
chris.
--
PHP General Mailing List (http://www.php.net/)
To
Hi
Maybe anybody has passed by this situation :
I have a webserver machine with linux apache 2.0 php 4.2.2 with wddx support
and a windows machine with iis server wich have a .Net system wich i need to use a
authentication system function .
I would like to receive information about what
Hi,
I'm running an UPDATE query on my table. After executing the query, I check
mysql_error() to see if there's any errors:
if (mysql_error() == ) {
// success
}
else {
// failure
}
mysql_error() is always empty even if the query didn't succeed. So it
always thinks it succeeds. I
Hi all,
You can probably tell I'm pretty new at this.
I need to grab five pages from a web site every day and then FTP those pages
to another site.
I was wondering if I should grab all five pages (and store them somewhere)
and then FTP all five.
Or if I could keep the FTP connection open while
* Thus wrote Christian Calloway ([EMAIL PROTECTED]):
Hey Everyone,
I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into something
interesting and I wanted to know if it was a bug, or actually supposed to be
that way. Given the following lines of code:
?php
session_start();
perhaps there should be two lists (novice and advanced), and the
advanced listed shouldn't
answer questions if it's considered trivial enough for the novice list
to answer.
Curt Zirzow wrote:
* Thus wrote andu ([EMAIL PROTECTED]):
This is a very busy list, over 100 message in a quiet day
Oh, yeah. Well, I just copied and pasted that from another form. Taken
out, it still doesn't work. Even the echo, which is on no way related to
the checkbox.
Thanks!
On Wed, 6 Aug 2003, Chris Sherwood wrote:
INPUT TYPE=checkbox NAME=? echo $search_result2['user_cd'];?
VALUE=?if
I am using php mail and setting all my $headers info to show From:, To:,
What does your call to mail() look like? How are you formatting you
headers?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is what my header look like:
$headers .= MIME-Version: 1.0\r\n;
$headers .= Content-type: text/plain;
charset=us-ascii\r\n;
$headers .= From: .$name. .$email.\r\n;
$headers .= To: .$myname.
From: Mark [EMAIL PROTECTED]
And as they say, Never argue with a fool. People will
not be able to tell the differnce.
I thought it was Never argue with an idiot. They drag you down to their
level and beat you with experience
:)
---John Holmes...
--
PHP General Mailing List
I just got two,
Expecting two more now
Joe Harman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey is every one getting a returned message from
[EMAIL PROTECTED]
Joe Harman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Cristiano Duarte [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I know there is no support for semaphores in Windows.
But does the Windows and Mac implement semaphores ? If they don't what is
used instead ?
they both support semaphores. its just that most PHP developers seem to be
Could this have anything to do with our being registered as spammers?
On Wednesday 06 Aug 2003 9:59 am, [EMAIL PROTECTED] wrote:
Do you recall during the height of the War in March?
I posted a simple joke - got one (positive) reply before getting kicked off
the list by Mr Lerdorf himself.
From: Boaz Yahav [EMAIL PROTECTED]
Can you fake a referrer by say, using fsockopen() and sending your
own headers?
Yep.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or access you variables via $_GET.
$varname = $_GET['varname'];
-Mike
On Thu, 7 Aug 2003, Ben wrote:
Date: Thu, 7 Aug 2003 10:25:57 +0100
From: Ben [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Can't Pass variable to other page
I had the same
63 matches
Mail list logo