Hello,
Can anyone please tell me is there any to display the mails like mailing
archieve, in one of the folder in Pine..
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"PHP Powers FreeMovie API for Flash"
http://www.oreillynet.com/pub/a/javascript/2002/05/09/freemovie.html
Jacek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've looked at a bunch of CMS(content management system)'s lately. There
are some good ones, and I like the directions they're going.
nadmin studio has the most incredible admin front end for midgard that
you would believe. It's at: http://cmsdemo.hklc.com just type in demo
for each of the blocks
On Saturday 11 May 2002 05:59, Dr. Shim wrote:
> I have a very nicely organized form, with a file field. The script can read
> all the fields, exepet for this one file field! I have no idea what is
> wrong. Maybe its scope? Well, anyhow, I could really use some help. The
> form's "enctype" is set
On Saturday 11 May 2002 12:17, Rasmus Lerdorf wrote:
> See DBG (http://dd.cron.ru/dbg/)
I think the OP has already looked at it, and wanted something better :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet
See DBG (http://dd.cron.ru/dbg/)
On Sat, 11 May 2002, Jason Wong wrote:
> On Saturday 11 May 2002 04:07, Austin Marshall wrote:
> > Jose Leon wrote:
> > >>php -l will let you know where your syntax errors are.
> > >
> > > What?
> > >
> > > Regards
> >
> > If you invoke the interpreter from the c
On Saturday 11 May 2002 04:07, Austin Marshall wrote:
> Jose Leon wrote:
> >>php -l will let you know where your syntax errors are.
> >
> > What?
> >
> > Regards
>
> If you invoke the interpreter from the command line (CGI). You can use
> the -l flag to enable lint mode... that will check your sc
On Fri, 10 May 2002, Phil Powell wrote:
> How do I fix this problem? I do not want to duplicate the PHP script per
> folder as there will be an enormous amount of dynamically-created subfolders
> and I will have to copy a version per folder. I want to be able to use the
> one PHP script in the DO
On Fri, 10 May 2002, Austin Marshall wrote:
>> I wonder if it matters from an overhead point of view, is PHP doing
>> more work than it ought to using " instead of ' because it's expecting
>> variables?
>
> I'd be interested to see if there were much a difference
> performance-wise though.
Quic
Phil:
On Fri, May 10, 2002 at 08:01:46PM -0400, Phil Powell wrote:
>
> How do I fix this problem? I do not want to duplicate the PHP script per
> folder as there will be an enormous amount of dynamically-created subfolders
> and I will have to copy a version per folder. I want to be able to use
I'm trying to install PEAR and having some problems.
What's the minimum PHP version for the current PEAR?
Cheers,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Addressed to: "Richard Davey" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Richard Davey" <[EMAIL PROTECTED]> Sat, 11 May 2002
01:54:43 +0100
>
> Hi,
>
> I am wondering if there is any tangible difference between the following two
> commands:
>
> $x = $foo["status"]
Richard Davey wrote:
> "Austin Marshall" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>>It all depends on what you use as a key... you just follow the normal
>>string standards. If you want a variable evaluated within the key, then
>>you must use "s if yo
Glenn Sieb wrote:
> Hi.. it's me again :)
>
> We have a few different servers here, most of which are FreeBSD,
> including our internal web server (Apache 1.3.24). We have PHP 4.2.0
> installed as well.
>
> Currently I'm running my MSSQL query scripts on a Win2k webserver, as I
> can't seem t
"Austin Marshall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It all depends on what you use as a key... you just follow the normal
> string standards. If you want a variable evaluated within the key, then
> you must use "s if you purely use text then you j
Richard Davey wrote:
> Hi,
>
> I am wondering if there is any tangible difference between the following two
> commands:
>
> $x = $foo["status"];
> $x = $foo['status'];
>
> The part in question being the use of ' or " around the "status" element of
> the array $foo.
> Both have the same end resu
David Duong wrote:
> To store large values (100k+) and load them as much as 6+ times within the
> same hour what would be better MySql or Flatfile?
>
>
I think it really depends on the content. If you are storing 100K+ per
entry it sounds like it is probably something along the lines of an
i
Hi,
I am wondering if there is any tangible difference between the following two
commands:
$x = $foo["status"];
$x = $foo['status'];
The part in question being the use of ' or " around the "status" element of
the array $foo.
Both have the same end result in my case, I'm just purely wondering wh
Hi again and sorry to pose same question, but I'm about to pull out my hair here.
There were some DOMXML questions in the past 24h but none replied to. Two of us till
now have had the same problem: compiled DOM just fine and see it is there with
phpinfo(); but cannot use its functions[1]. Can an
Jason Soza wrote:
> Hey all... I really do want to thank everyone for all the help and
> advice you give. I know my questions sometimes are probably more
> annoying than anything else, but your input really does help.
>
> Anyway, I have a stack of 76 playlists I need to consolidate and
> displ
That's strange..
I always compile in this order...
1. MySQL
2. PHP
3. Apache
- Original Message -
From: "Andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 9:10 AM
Subject: [PHP] Re: Apache is not rendering php pages. Config problem?
I did find the prob!
MySQL
- Original Message -
From: "David Duong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 10:29 AM
Subject: [PHP] MySQL or FlatFile
To store large values (100k+) and load them as much as 6+ times within the
same hour what would be better MySql or Flatfile
Hi all,
Since the hot topic of the last few weeks has definately been the new
register_globals deal, I thought the following article will be of huge
assistance to many.
http://www.WebmasterBase.com/article.php?pid=0&aid=758
It's short, to the point, explains why the old way is bad, explains why
> I have a group table with 16 items, and I want them to be
> randomly put in 4 different groups, with 4 in each group,
> I've seen the $rand(x,x) thing, but is there any way to
> limit to 4 in each group without 47839 rows of code? :P
Wouldn't you just randomise all 16 items and take the
> I've been asked if I can alternate the colors of the
> rows to make the report more legible.
What I usually do is something like this:
if ($colour == "blue") $colour = "red" else $colour = "blue";
Then the bit where you actually output display you use $colour to set
display attributes and
> Anyway, I have a stack of 76 playlists I need to consolidate and
> display. These are from radio shows, so each playlist has
> the date, the name of the radio show, and anywhere from 20 - 27
tracks,
> artists, and albums on them.
It's really more an sql question than a php question but.
To store large values (100k+) and load them as much as 6+ times within the
same hour what would be better MySql or Flatfile?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> So I should buy a commerical product from zend to
> protect my code but since my code will be reversed
> engineered anyways then what's the point of buying
> from zend?
That's your choice. It's also my point. If you can't be 100% secure
then perhaps you should be looking at what you're t
> I've only just picked up on this thread, but why not put
> each form inside a element?
>
> i.e.
>
>
> ...
> ...
>
> includes an implied so if you keep it inside your
you'll end up with extra space in your cell. If your table
has no dif
http://$HTTP_HOST/$path/menubar.cgi";, "r");
$menubar = fread($fileID, 100);
fclose($fileID);
return $menubar;
}
?>
This function exists in the file "menubar_functions.php" which is in the
docroot. I have a PHP script in a subfolder /chat that produces a Fatal
Error (call to undefine
Hey all... I really do want to thank everyone for all the help and
advice you give. I know my questions sometimes are probably more
annoying than anything else, but your input really does help.
Anyway, I have a stack of 76 playlists I need to consolidate and
display. These are from radio shows
Mike,
Both of your bit of code are not equal.
On my ISP in 4.0.6 isset returned false if the variable was not existing OR
empty
in 4.2 isset returns true if the variable exists but is empty, so you may
want to check with empty instead of isset
Luc
At 12:16 10/05/2002 +0100, Ford, Mike
Thanks for replying Miguel
I'm new to php and wonder how I would check if the first field is an IP
address. Do I open the file fget it and then use a regular expression to
check. Also if I want to break up the first line of my array what delimiter
do I look at as the fields in the log are sep
It will be really cool when we can do that (in PHP4.3) but until then you'll
have to make do with cURL (http://www.php.net/manual/en/ref.curl.php)
HTH
Danny.
- Original Message -
From: "Bert Buckley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 12:07 AM
Subje
On 10 May 2002 at 16:07, Bert Buckley wrote:
> I would like very much to retrieve data from an
> https server using the file function, but it only
> supports an http call.
>
> 1. Can someone suggest a good alternative
http://www.php.net/curl
--
Stuart
--
PHP General Mailing List (http://www
I would like very much to retrieve data from an
https server using the file function, but it only
supports an http call.
1. Can someone suggest a good alternative
2. I understand this will be in PHP 4.3. Does
anyone know a possible release date.
Thanks
Bert
--
PHP General Mailing List (h
I did find the prob!
So for all guys struggeling with the same one.. First install apache, then
php! I did reinstall apache after php.
After compiling php again it is up and running.
Thanx guys,
Andy
"Javier" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED
Re question 2:
You can set this using the php_value command in apache. I think you need to
have the SAPI version configured for this to work though. You might want to
check that out. I have only done this on XP, haven't tried it on linux yet.
ServerAdmin [EMAIL PROTECTED]
DocumentRoo
On 05:11 PM 5/10/2002 -0500, Shaun Thomas wrote:
>This could use a few tweaks.
Ok I got it now... This exhibits the behaviour I was looking for, and,
thanks to you, is much easier to read and maintain! :)))
Thanks, Shaun!
Glenn
$sPrevCompany = $sColor = '';
while ($aRow = mss
On Fri, May 10, 2002 at 11:34:28PM +0200, Andy wrote:
: "Eugene Lee" <[EMAIL PROTECTED]> asked:
: > On Fri, May 10, 2002 at 09:53:10PM +0200, andy wrote:
: > :
: > : I did just build abpache and php. Unfortuanatelly the http.conf
: > : looks quit different to one I did install last year. There is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What version of php and apache do you use?
Andy wrote:
| leider funktioniert das nicht. nach ausfuehren von configtest bekomme ich
| dann:
|
| Syntax error on line 953 of /usr/local/apache/conf/httpd.conf:
| Cannot load /usr/local/apache/libexec/libp
Thanks! I'll play with this!!! :)
Glenn
On 05:11 PM 5/10/2002 -0500, Shaun Thomas wrote:
>This could use a few tweaks. First off, putting mysql_num_rows in the
>actual for loop executes it every iteration. Bad. Second, consider
>giving your code some readability by returning an associative ar
On Fri, 10 May 2002, Glenn Sieb wrote:
> Thanks for all the hints--here's what my boss and I eventually came
> out with:
This could use a few tweaks. First off, putting mysql_num_rows in the
actual for loop executes it every iteration. Bad. Second, consider
giving your code some readability
On 04:58 PM 5/10/2002 -0500, Miguel Cruz wrote:
>But he's dealing with cases where the company name remains the same but
>other data in the row changes (for instance, a company with multiple
>offices, where you wanted to list the phone number and address for each).
>GROUP BY would discard that oth
leider funktioniert das nicht. nach ausfuehren von configtest bekomme ich
dann:
Syntax error on line 953 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: cannot open shared object file: No
such file or direct
Miguel Cruz wrote:
> On Fri, 10 May 2002, Austin Marshall wrote:
>
>>>This not only takes care of the table row colors, but also removes
>>>duplicate company names so it looks MUCH neater this way :
>>
>>Is there not a GROUP BY clause in MS SQL? I'm pretty sure there is. If
>>you group th
I have a very nicely organized form, with a file field. The script can read
all the fields, exepet for this one file field! I have no idea what is
wrong. Maybe its scope? Well, anyhow, I could really use some help. The
form's "enctype" is set to "multipart/form-data", so that can't be the
problem.
On Fri, 10 May 2002, Austin Marshall wrote:
>> This not only takes care of the table row colors, but also removes
>> duplicate company names so it looks MUCH neater this way :
>
> Is there not a GROUP BY clause in MS SQL? I'm pretty sure there is. If
> you group the query by company name
Glenn Sieb wrote:
> Hey everyone!
>
> Thanks for all the hints--here's what my boss and I eventually came out
> with:
>
> /* ##
> ## And for every row of data we pull, we create a table row...
> ## */
> $company = 0;
>
Look into Openlink.
We used, they still use, MSSQL with PHP running on Unix/Linux at my
last employer. I was a happy customer not a spokesperson. It worked
as advertised, no fuss, no problems. In a production environment that
is what you want.
DAve
> Hi.. it's me again :)
>
> We have a few
I agree. We have many out of states clients, and all were required to
(and have) sign a contract. There are many ways to deliver contracts, you
should not have to risk not getting paid because of delivery logistics.
You can use:
e-mail
fax
fedEx, Ups, or any other delivery systems.
-use
> There is no phpmodule in there, so I cant activate it. I did include
some
> lines from my old config:
>
> AddType application/x-httpd-php .php4 .php3 .php
> AddType application/x-httpd-php-source .phps
>
if you're using Apache 1.x you need to add:
LoadModule php4_modulelibexec/libphp
Hi.. it's me again :)
We have a few different servers here, most of which are FreeBSD, including
our internal web server (Apache 1.3.24). We have PHP 4.2.0 installed as well.
Currently I'm running my MSSQL query scripts on a Win2k webserver, as I
can't seem to get PHP to talk to MSSQL on the F
there is not much inside the log. (I do asume you mean the logs) Nothing
related to that prob.
What yould be a propper config command for apache to build. I would like to
run php as an apache module apxs
Thanx,
Andy
"Eugene Lee" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news
On Fri, 10 May 2002, Kevin Stone wrote:
> As we all know ARPA is thet university network, funded by the government
> to build an information infrastructure that eventually became the
> internet we have today. But the standards for text messaging within the
> ARPA net have been added to over the y
This is what I have used.
Here is an excellent article on Regular Expressions.
Learning to Use Regular Expressions by Example
http://www.phpbuilder.com/columns/dario19990616.php3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"1LT John W. Holmes" wrote:
>
> Read the code again, that's what I first thought, too. He's just not
> printing multiple values for the first table cell. So if the current row has
> the same company name, just print a blank cell, then print the rest of the
> data for that row.
In the words of a
Hello,
On 05/10/2002 04:15 PM, Jeff Bearer wrote:
> Does anybody know of a class, module, extension that caches database
> output?
>
> I've asked this before, and I've looked high and low to no avail. I've
> used APC cache to do caching and it works great, but it doesn't save
> database queries
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
> Glenn Sieb wrote:
> > $cname =
(strcmp($previous,$line[0])
> > ? $line[0] : " ");
> > print (" >
BGCOLOR=#$color>\n\t$line[2]\n\t$cname\n\t$line[3]
On Fri, May 10, 2002 at 09:53:10PM +0200, andy wrote:
:
: I did just build abpache and php. Unfortuanatelly the http.conf looks quit
: different to one I did install last year.
: There is no phpmodule in there, so I cant activate it. I did include some
: lines from my old config:
:
: AddType a
Hello,
On 05/10/2002 01:48 PM, Liam Gibbs wrote:
> Does anyone have a decent eregi statement for
> validating e-mail addresses? I've tried the ones on
> the site, but there seems to be small bugs with each
> of them. They tell me that [EMAIL PROTECTED] is an
> invalid e-mail address.
You may wan
Glenn Sieb wrote:
>
> Hey everyone!
>
> Thanks for all the hints--here's what my boss and I eventually came out with:
>
> /* ##
> ## And for every row of data we pull, we create a table row...
> ## */
> $company = 0;
>
Hey everyone!
Thanks for all the hints--here's what my boss and I eventually came out with:
/* ##
## And for every row of data we pull, we create a table row...
## */
$company = 0;
$previous = "";
for ($i =
> > php -l will let you know where your syntax errors are.
>
> What?
>
He said "php -l will let you know where your syntax errors are."
Helping out where I can,
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just another version.
the call
...
$RowColor = useColor();
...
echo '';
- Jp
At 15:46 10/05/02, you wrote:
>[snip]
>$rowcount = 0;
>while($dbrowa = mysql_fetch_object($dbseta)){
> $dbrowb = mysql_fetch_object($dbsetb);
>//change the color of alternating rows
>$rowcount ++;
>if ($row
Jose Leon wrote:
>>php -l will let you know where your syntax errors are.
>
>
> What?
>
> Regards
>
If you invoke the interpreter from the command line (CGI). You can use
the -l flag to enable lint mode... that will check your script for parse
errors. So in a way, PHP does have a "debug"
I was looking through the new php.ini file and was enabling the output
handler of ob_gzhandler then I saw the line about
zlib.output_compression. What's the diffrence between the two?
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
2002 EPpy Award, Best Online U.S. Newspaper
--
PHP General
> php -l will let you know where your syntax errors are.
What?
Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As we all know ARPA is thet university network, funded by the government to
build an information infrastructure that eventually became the internet we
have today. But the standards for text messaging within the ARPA net have
been added to over the years in order to accomodate ever expanding
requi
Hi there,
I did just build abpache and php. Unfortuanatelly the http.conf looks quit
different to one I did install last year.
There is no phpmodule in there, so I cant activate it. I did include some
lines from my old config:
AddType application/x-httpd-php .php4 .php3 .php
AddType applicatio
[snip]
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yet even more ways to do it:
$i = 0;
while ($row = mysql_fetch_assoc($result)) {
$bgcolor = ($i++ & 1) ? '#ff' : '#00';
}
Or more then two:
$colors = array('black','green','blue','yellow');
$i = 0;
while ($row = mysql_fetch_assoc($result)) {
$bgcolor = $colors[$i++ % 4]
for all of you that replied to my original post, thank you.
all of the suggestions worked and i learned a couple of new things along the
way.
scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
>
> The more generic approach:
>
> function getNextColour( &$lastIndex, $colourList )
> {
> return $colourList[(++$lastIndex % count( $colourList ))];
U... $lastIndex++, don't want to start on the second entry :)
Cheers,
Rob.
--
.-.
| Robert Cumm
The more generic approach:
function getNextColour( &$lastIndex, $colourList )
{
return $colourList[(++$lastIndex % count( $colourList ))];
}
$colours = array
(
'#ff',
'#00ff00',
'#ff'
);
$index = 0;
foreach( $rows as $aRow )
{
echo ''
.$aRow
.''."\n";
While everyone's kicking in ideas...
I don't think modulus (as someone else suggested) is that expensive, but I
think this is the cheapest:
$evenodd = 0;
$color[0] = '#cc';
$color[1] = '#99';
while ($row = mysql_fetch_row($st))
{
print "{$row['whatever']}";
$evenodd =
[snip]
Is there a way for me to do one of the following:
1) Test to see if $i is an even or odd number?
2) Grab more than one line from the database at a time, and just put in two
table rows at once?
[/snip]
\n");
}
elseif ($rowcount <> 1) {
print("\n");
Does anybody know of a class, module, extension that caches database
output?
I've asked this before, and I've looked high and low to no avail. I've
used APC cache to do caching and it works great, but it doesn't save
database queries, which easily becomes the bottleneck with highly
dynamic site.
Jose Leon wrote:
> Hello:
> I have been browsing the web for a good solution to debug php code, I
> have found several ones, but none of them meet my requeriments. I
> create a development tool for PHP (QaDRAM Studio) and I want to be able
> to debug php code with it, my question here is:
>
Hello Liam,
Friday, May 10, 2002, 9:31:45 AM, you wrote:
LM> Hi all,
LM> I need some opinions, what are some good modules to build into PHP?
LM> I'm starting a hosting service (properly)
Incule XSLT module. If I were your client I really needed it.
--
Best regards,
Olexandr
On 02:47 AM 5/11/2002 +0800, Jason Wong wrote:
> if ($i % 2) { odd; } else { even; }
Great! Thanks, Jason :)))
One thing I love about this list... you guys are more than helpful! :)
Glenn
---
Glenn E. Sieb, System Administrator
Lumeta Corp. mailto:[EMAIL PROTECTED]
+1 732 357-3514 (V)
+
Austin, you rock :) I've only just started with PHP recently, and was
introduced to the ternary operators by reading Rasmus' book (great job,
Rasmus!!!), so I'm learning as I go here :)
Thanks buddy!
Glenn
On 01:50 PM 5/10/2002 -0500, Austin Marshall wrote:
>$color=($i%2) ? "grey" : "white; wi
To tell you the truth, I can't read it.
Steve
At 01:32 PM 5/10/2002, Miguel Cruz wrote:
>On Fri, 10 May 2002, Steve Buehler wrote:
> >
>
>if(ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
>
>
>
>If I'm reading it
Glenn Sieb wrote:
> Hi everyone,
>
> I have a PHP script that reads data from an MS SQL server and outputs
> the data into a table. I've been asked if I can alternate the colors of
> the rows to make the report more legible. The relevant piece of code
> looks like:
>
> for ($i = 0; $i < mssql
On Saturday 11 May 2002 02:45, Glenn Sieb wrote:
> Hi everyone,
>
> I have a PHP script that reads data from an MS SQL server and outputs the
> data into a table. I've been asked if I can alternate the colors of the
> rows to make the report more legible. The relevant piece of code looks
> like:
>
Either Google is wrong (probably) or they are now allowing things like
spaces into an email address. There are actually several things that are
not allowed in a standard email address. Here is the code that I use.
ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}
Hi everyone,
I have a PHP script that reads data from an MS SQL server and outputs the
data into a table. I've been asked if I can alternate the colors of the
rows to make the report more legible. The relevant piece of code looks like:
for ($i = 0; $i < mssql_num_rows( $stmt ); ++$i)
Folks:
On Fri, May 10, 2002 at 01:27:45PM -0500, Steve Buehler wrote:
>
>
>if(ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
>
> $subarray)){
Those characters don't conform to the R
Hi there,
I do have some trouble installing gd2 and suse7.2 linux. I did already
compile freetype, but now I do get an error I can not handle.
Here is the message:
make install
gcc -I. -I/usr/local/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/inclu
de/X11 -I/usr/local/include -I/usr/lib png
On Fri, 10 May 2002, Steve Buehler wrote:
>
>if(ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
>
If I'm reading it correctly, this will let invalid addresses through. The
domain component (after the @ sign) can only
On Fri, 10 May 2002, Kevin Stone wrote:
> I had always been suspicious about email validators so I did a big long
> search on Google about standard address formats. It turns out that aside
> from the @ symbol emails have no standard format whatsoever. So ereg('@',
> $email) is really the only fu
function check_input($array){
global $HTTP_REFERER;
$valid = 1;
if(gettype($array)=="array") {
while (list($index, $subarray) = each($array) ) {
if(ereg("required_", $index) && (($subarray == "")
|| ($subarray == " "))) {
I am having similar difficulties with DOMXML in php4.2.0.
phpinfo() indicates all is well with the setup...
If you get some response, please share!
Thanks!
Mike
"Thalis A. Kalfigopoulos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to get DOMXML
I had always been suspicious about email validators so I did a big long
search on Google about standard address formats. It turns out that aside
from the @ symbol emails have no standard format whatsoever. So ereg('@',
$email) is really the only functional email validator.
You also have to thin
On Fri, 10 May 2002, Josh Edwards wrote:
> I'm working on using php to analyse an access log on an apache server.
>
> If a user inputs a file path I want to be able to use PHP to determine if
> it's a log file. Is there a function that will reject if it's not a binary
> file. If it's a binary fi
On Fri, 10 May 2002, Ford, Mike [LSS] wrote:
> Also, by using the $_POST, $_GET arrays, you know exactly where the
> input is coming from (even if register_globals is also on!). If you
> have register_globals set to on, and you just look to see if (say)
> $password has a value, whic
Well, first thing I notice is that in your form you name your file input as
"file", yet nowhere in your code do I see you getting any values from _FILES
or $file (depending on your version of PHP). So...how do you expect it to do
anything with your file if you don't tell it to?? Maybe you left out
On Fri, 10 May 2002, Jay Blanchard wrote:
> Just to clarify myself above...
> if ($var1 = $var2) { .
>
> In my crazy head, I see $var1 and $var2 to be in a sort of "read-only" state
> inside the () of the if statement. For a if statement to be able to change
> the values in that instance, wo
On Fri, 10 May 2002, Liam Gibbs wrote:
> Does anyone have a decent eregi statement for
> validating e-mail addresses? I've tried the ones on
> the site, but there seems to be small bugs with each
> of them. They tell me that [EMAIL PROTECTED] is an
> invalid e-mail address.
Well, it currently is
How can I disable the resend data feature when going back to an expired
page? If I return this page again by typing the URL, I won't be ask to
resend data. However, if I hit the back button and go back to the expired
page, I will be prompted to click on resend or not. I seem some sites
disable thi
1 - 100 of 153 matches
Mail list logo