Hi there,
Is this what you want?
$a = chr(23);
which should give you ctrl+W in $a.
Rudolf Visagie
QEDI
-Original Message-
From: Wee Chua [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2001 08:08
To: PHP (E-mail)
Subject: [PHP] Decimal to Ascii
Hi all,
Can i convert decimal 23 to ascii in P
hello.
i read from a text file a line like: "Key=$value"
so, i do like:
$lines = join('', file("myfile.txt"));
echo $lines;
// output= Key=$value
Now how can i replace the values in the $lines variables?
i want like:
$value = "test";
echo $lines;
and i want ouput like: Key=test
any idea?
I have a shopping cart that allows decimal points for quantities.
I like it like that, but would like to remove any trailing zeros
and if the quantity is not a fraction I would like to remove the
decimal point too.
What would be the easiest way to do this? I don't see any
function that would mak
Warren Vail wrote:
>
> When the session_register is executed the session contents are partially
> updated.
> Your first test actually executed the session_register that posted the
> variable with 0 string length, because the variable had not yet been
> initialized (the bad return is the only in
On Thursday 03 May 2001 09:55, Jorge Amaya wrote:
> I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
> I have a problem, My navigator doesn't recognize the files of php3, that
why install php3, not php4 ?
> is to say it doesn't work me php in the navigator, I have co
Jennifer,
I could be wrong but this is what I think you have;
When the session_register is executed the session contents are partially
updated.
Your first test actually executed the session_register that posted the
variable with 0 string length, because the variable had not yet been
initialized
Hello Michael,
> I am wondering if a website planning/production tool exists already in
> PHP? This would be something that the agency and the client could use as
> a central "meeting" place about the project, with deadlines, comps,
> project brief, etc...
maybe you want to have a look at th
> I had some code that was working nicely. In it, I was assigning values to
> a
> multidimensional array like:
>
> $array_name[0] = array(
> key1 => 'val',
> key2 => 'val',
> key3 => 'val');
>
> I added a function that directly assigns vars to the same array like:
>
> $array_name[0
I am behind a LAN and i would like to know to use PHP's get_meta_tags
function though a proxy.
Can someone write me the help or write me the code
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail
"Johnson, Kirk" wrote:
>
> > -Original Message-
> > From: Jennifer [mailto:[EMAIL PROTECTED]]
> > Do you need to register a variable with the session before you
> > assign it a value?
>
> Not in my experience.
>
> > session_register should return true if the variable was
> > successfull
> and the line 236 is: $url=ereg_replace("&","&",$url);
BADPAT probably means "Bad Pattern".
Try:$url=ereg_replace("\&\;","&",$url);
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
php-general Digest 3 May 2001 05:13:37 - Issue 663
Topics (messages 51169 through 51214):
Re: Managing Multiple Conditions in a MySQL Query
51169 by: Sam Leibowitz
Re: String Type Unknown
51170 by: Nathan Cook
51178 by: Nathan Cook
Website production tool in PHP
I got this error:
Warning: REG_BADPAT in /usr/home/64.157.1.190/public_html/test/segrabs.php on line 236
and the line 236 is: $url=ereg_replace("&","&",$url);
Sometime, the number of the line on which the error happen change, but it is always a
ereg_replace function call..
what is that error
you need to tell apache that .php3 or .php or whatever extension you're
using is a web file.
this is done in the httpd.conf file.
Jorge Amaya wrote:
> Jorge Amaya wrote:
>
> > Hello All
> >
> > I am new user of php, I have installed apache 1.3.x, php3 and mysql,
> > but I have a problem, My nav
Hello,
If you have segfault, compile PHP with debug option and backtrace with gdb, then
send the backtrace and short script that causes segfault.
Instruction can be found at
http://www.php.net/bugs-dos-and-donts.php
Regards,
--
Yasuo Ohgaki
"Darron Froese" <[EMAIL PROTECTED]> wrote in messag
sounds like you're wanting to do this :
// get mode from url or preferences or somewhere
$mode = strtolower($HTTP_GET_VARS['mode']);
if ($mode == 'text') {
include 'txt_template.php';
} else {
include 'img_template.php';
}
include 'content_page.html';
now :
index.
Chris Anderson wrote:
> Personally I prefer to do the following:
> -Include things like navigation, banners, etc in a nav.inc file. Since
> this is loaded first
> I include meta tags for search engines in here
> -My content goes in individual files, that can be dynamically loaded
> -I have a thir
I had some code that was working nicely. In it, I was assigning values to a
multidimensional array like:
$array_name[0] = array(
key1 => 'val',
key2 => 'val',
key3 => 'val');
I added a function that directly assigns vars to the same array like:
$array_name[0][key4] = 'val';
If thi
Try it again, but make the employee.dbf free table, or just making it
foxplus.
-Mensaje original-
De: Benny [mailto:[EMAIL PROTECTED]]
Enviado el: Miércoles, 02 de Mayo de 2001 07:03 a.m.
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: [PHP-DB] open foxpro database
I used function db
I used function dbase_xxx to access foxpro database (.dbf) but it's not
work.
Here is my code :
\n";
}
}
}
?>
Everytime I call this page there's a message :
Warning: unable to open database /home/benny/test/employee.dbf in
/home/benny/htdocs/foxpro.php on line 2
I used php
Another good place that explains how to roll your own is:
http://www.fluidthoughts.com/howto/config-webserver/
Keith
* Andrew Hill ([EMAIL PROTECTED]) wrote:
> Date: Wed, 2 May 2001 20:00:37 -0400
> From: Andrew Hill <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> To: [EMAIL PR
Hi Luis,
I recommend you 'roll your own'. There are some straightforward steps
for a install on Unix in the manual:
http://www.php.net/manual/en/install.unix.php
Best regards,
Andrew
Andrew Hill - OpenLink Software
Directory of Technology Evangelism
This might be a useful link for some people who are having problems with the
combination of apache + ssl / php / mysql. I've used it and I had a couple
problems, but after I actually read the README, everything was smooth :)
www.apachetoolbox.com
--
PHP General Mailing List (http://www.php.net
Hi all I was wondering if someone could help me out with a little problem
I'm having ..
I donwloaded the php tarball today. I will be installing it on my linux bo
x.
But the problem is that I already have apache running on my box. (
I installed the rpm apache-1.3.12-25 a while back. I just ran
I didn't see that anyone had responded to your question. You need to install
OpenLDAP. It is the only opensource one that I know.
Mike
> From: "Walgamotte, David" <[EMAIL PROTECTED]>
> Date: Tue, 1 May 2001 15:03:25 -0500
> To: [EMAIL PROTECTED]
> Subject: [PHP] LDAP support for 4.0.5
>
> Can a
Personally I prefer to do the following:
-Include things like navigation, banners, etc in a nav.inc file. Since
this is loaded first
I include meta tags for search engines in here
-My content goes in individual files, that can be dynamically loaded
-I have a third "footer" file which includes anyt
I've always had problems with the php-sessions too.
I think it's far easier and more effective and flexible, if you use
a mySQL database to do your own session handling.
This is actually very easy to do.
> -Original Message-
> From: r.gelstharp [mailto:[EMAIL PROTECTED]]
> Sent: Donnerst
try something like splitting the keywords using the php-command split(...)
using a space as a separator
and then search for a string matching all the words using
"SELECT from table WHERE string LIKE "%foo%" AND string LIKE "%bar%";
> -Original Message-
> From: Jens Kisters [mailto:[EMAIL
I'm trying to figure out what's the best way to do something that
may be simple, however I can't for the life of me envision it.
I want to have three files as follows:
[ NOTE: I may be thinking of this the wrong way (by thinking up
three files.) If someone has a better sugges
Jorge Amaya wrote:
> Hello All
>
> I am new user of php, I have installed apache 1.3.x, php3 and mysql,
> but I have a problem, My navigator doesn't recognize the files of
> php3, that is to say it doesn't work me php in the navigator, I have
> configured such and like says the manual in ph
Hello All
I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
I have a problem, My navigator doesn't recognize the files of php3, that
is to say it doesn't work me php in the navigator, I have configured
such and like says the manual in php.ini and also in the directives o
Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Where can I find detailed info on creating websites
> using php templates.
> Hardcopy or online
I would reccommend fasttemplates, more information here:
http://www.thewebmasters.net/php/FastTemplate.phtml
--
Henrik Hansen
--
PHP General Mai
"Brandon Orther" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have recently been using the ftp functions in php to get a lot of stuff
> done. My question is when I exit; a php script does it close the ftp
> connection for me? I thought it would since the script is completely
> closing also.
And how exactly is this the fault of PHP? It's the browser doing the
actual upload, all PHP does is receive the file after the browser has
uploaded it, sending the name to the script so it knows where it is
At 04:25 PM 5/2/01 -0400, Jason Lam wrote:
>I am wondering if there are any plans
I have an privat apache win32 1.3.14 server ,
an Win ME at time..
I like to use the cURL funktions , to use PHP to make an HTTP post
background , an small form where you chose an search engine , post the
search word and the engine you chose to target new , my find.php .
there he chose t
I am wondering if there are any plans to fix the file upload performance problem.
Try uploading a 200M file by post to a PHP script, you'll notice how slow it is. Even
having enough RAM doesn't seems to help very much.
Jason Lam
"Jens Kisters" <[EMAIL PROTECTED]> wrote:
> Hi there, is there a possibility to use MySQL's MATCH ... AGAINST to
> look for a string like "foo bar" ?
>
> if i MATCH keyname AGAINST ('foo bar') i get resuts that match foo or
> bar, but not both of them separated by a space.
>
> My guess is that t
The reason I ask is not for a way to close an ftp connection but because I
want to know if close closes it.
thank you
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 12:53 PM
To: PHP User Group
Subject: [PHP] Closing a FTP connection
Hel
Where can I find detailed info on creating websites
using php templates.
Hardcopy or online
Thanks in advance
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
--
PHP General Mailing List (ht
Hello,
I have recently been using the ftp functions in php to get a lot of stuff
done. My question is when I exit; a php script does it close the ftp
connection for me? I thought it would since the script is completely
closing also.
If anyone knows please let me know thanxZ
Brandon
--
PHP
Hi folks,
I have to make several conversions from / to timestamp (seconds in the
UNIX-Epoche)
here you see two snippets of my code
File1 the testfile
setTimeStamp($wert);
?>
File2 the Classfile
";
}
$this -> TS = mktime(12,00,00,$pieces[1],$pieces[3],$pieces[0]);
echo "T
Hi,
search google or have a look at http://sourceforge.net/
http://www.phpgroupware.org/
maybe you find something
and dont need to start from zero
greetings
andreas
p.s: nice page ;-)
- Original Message -
From: "Michael O'Neal" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]
You might want to forget the exec and write direct to the file as in this code gallery
item:
http://www.zend.com/codex.php?id=521&single=1
> From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 1:40 PM
> I'm attempting to streamline my work by writing a script that
>
For IE 5 and NN 4.7 at least,
I made it work like this:
for(var i = 0;i
etc.
It works well
>>> "Diego Fulgueira" <[EMAIL PROTECTED]> 05/02/01 09:14AM >>>
After several tries, I am convinced there is no way to do it. I went around
the problem by using dinamic field names (var1, var2, var3, et
In article ,
[EMAIL PROTECTED] (Anuradha Ratnaweera) wrote:
> > Is there a method of extracting rows from a MySQL table Uniquely (as in only
> > once) ?. For example, when a user performs a search, using two words,
> > it may return the same r
Hi there, is there a possibility to use MySQL's MATCH ... AGAINST to
look for a string like "foo bar" ?
if i MATCH keyname AGAINST ('foo bar') i get resuts that match foo or
bar, but not both of them separated by a space.
My guess is that the organization of the index doesn't allow this kind
of
Hi all,
Can i convert decimal 23 to ascii in PHP? Thanks.
Calvin Chua
Systems Analyst
InterClean Equipment, Inc.
734-975-2967
www.InterClean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
My code looks very similiar to Tyrone's...here's what I'm using. When
I'm on command line I'm the same user as the web server is running as.
$username = "test2";
$password = "test";
$passfile = "/usr/home/myuser/etc/.htpasswd";
$addpass = "/usr/local/apache/1.3.12/bin/htpasswd -mb $passf
Thank you, for your help it works great!
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Rudolf Visagie" <[EMAIL PROTECTED]>
To: "Nathan Cook" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 4:47 AM
Subject: RE: [PHP] String Type Unknown
Nathan,
Anot
Hi to all,
I am working on i60086 environment with php-4.0.4pl1, mysql-3.23.36,
Linux 7 and apache_1.3.19 (on the same computer).
I can't connect to mysql with user and password i use in command line.
This is what i do:
this program is called when i submit my form () and i have the follow err
I do this exact thing on my system, here is the code I use:
$update = exec ("/usr/local/apache/bin/htpasswd -b ./.htpasswd $username $password");
My guess is you are dealing with a permissions issue. Like Jack says, try 'su nobody'
(or whatever your webserver runs as) and then try the command..
Hi,
Not sure if this is the right place to post this (only joined list today) so
accept apologies if hugely-OT. I need to add true-colour support to some code I'm
writing, so want to build gd-2.0.1as an extension to PHP4 (currently have 4.0.4pl1). I
have the gdlib building as a .so but don'
what user are you running the command on the the command line, and what user
is php running it as? if you're root for the first one, but nobody on the
second, that would be your problem...
-jack
-Original Message-
From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 20
I'm attempting to streamline my work by writing a script that will add a
user to the .htpasswd file. If echo the command I'm sending (via exec())
and run it on the command line, it works fine. From php though, it does
nothing. All paths are full paths starting at server level. Is there
anything th
I too had to downgrade to PHP 4.0.4pl1. Version 4.0.5 would not let me
load my extensions(dynamically).
PHP+Apache
Win 98
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, a
Hi,
I am wondering if a website planning/production tool exists already in
PHP? This would be something that the agency and the client could use as
a central "meeting" place about the project, with deadlines, comps,
project brief, etc...
Unix based, PHP/MySQL setup is preferred.
I thought I
>From a field in an instantdb database (http://instantdb.enhydra.org)
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Anuradha Ratnaweera" <[EMAIL PROTECTED]>
To: "Nathan Cook" <[EMAIL PROTECTED]>
Cc: "Php List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 11:03 PM
Subject: R
Well, first of all, you can start by getting friendly with "print
mysql_error();", which will tell you if you have any syntax errors in your
SQL statement. =D
And I think you do. That should be:
...WHERE Public='yes' AND Verified='yes'...
As opposed to:
...WHERE Public='yes',Verified='yes'.
php-general Digest 2 May 2001 16:43:59 - Issue 662
Topics (messages 51077 through 51168):
Re: a bit off the list but
51077 by: Donald Goodwill
51083 by: B. van Ouwerkerk
PDF online
51078 by: Chris Schneck
Managing Multiple Conditions in a MySQL Query
5
¸Û¼°~
ÁܽжQ¤½¥q«e©¹§K¶O¥Zµn¤½¥q¦æ¸¹
Åwªï¼t°Ó«e©¹¬d¸ß¡B¥Zµn§Y®É¶R½æ
´x´¤§ó¦hªº°ê»Ú¶R½æ¥D!
¨È¬wºô http://Asianweb.com.tw
B¦¹·q´_ ¨Ã¯¬¡G
¥Í·N¿³¶©!
°]·½¼s¶i!
¨È¬wºô ·s»D¬¡°Ê²Õ ·q±Ò
==
¨È¬wºô http://Asiaweb.com.tw ^¤åª©
¨È¬wºô http://Asianweb.com.tw
Hi all,
I'm having a strange problem. I volontary create an infinite loop in one
of my PHP script. I was just wondering how Apache and PHP will react and
if the "max_execution_time" directive would trap the loop. I was
agreably suprised to see that the opera browser give me an error message
"Fata
On 5/2/01 10:16 AM, "John Huggins" <[EMAIL PROTECTED]> wrote:
> If I were you I would let the PHP guys figure this out. I am sure they read
> messages here so stick with 4.04p11 and live on. I was just about to
> download 4.0.5, but I want your issue to be addressed before I waste my time
> wit
If I were you I would let the PHP guys figure this out. I am sure they read
messages here so stick with 4.04p11 and live on. I was just about to
download 4.0.5, but I want your issue to be addressed before I waste my time
with a recompile.
John
> -Original Message-
> From: Darron Froes
I compiled and installed PHP 4.0.5 onto our development server (Mandrake
Linux 7.1 w/kernel 2.2.17) today and tried to access one of our php
intensive sites on it - most of the pages wouldn't respond.
This is how 4.0.5 was compiled:
./configure \
--with-apxs=/usr/local/apache_1.3.19/bin/apxs \
-
Its supposedly faster and generates a "more" random number than rand() so I
don't see why not to use it.
--
phill
"Jon Haworth" <[EMAIL PROTECTED]> wrote in message
67DF9B67CEFAD4119E4200D0B720FA3F13B733@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3F13B733@BOOTROS...
> The manual also says:
> m
>I have PHP 4.0.4 on Win98, PWS PC and I would like to install 4.0.5 but is
>only for CGI ? I installed PHP 4.0.4 with an exe file...I didn't
>nothing..only double-click.. I need that file again but with PHP 4.0.5
>version..Thanks !!!
The installer version you used when you installed 4.0.4 instal
> -Original Message-
> From: Jennifer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 2:51 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] session_register()
>
> Do you need to register a variable with the session before you
> assign it a value?
Not in my experience.
> session_
Hi all !!!
I execute a page php with a simple code..the page appears in white..and when
I oppress the right click to see the source I obtain this result.
_
Untitled
___
Everything was working well until I installed the new version for win32 PHP
4.0.5
After several tries, I am convinced there is no way to do it. I went around
the problem by using dinamic field names (var1, var2, var3, etc) and then
reading them using $HTTP_POST_VARS["var".$i], where $i would be your former
index to the array. For example:
The form coud have HTML code like this
http://apollo.spaceports.com/~refcentr/index_auth.html
This script work with Unix, not with WinNT.
Is there something to do with cookie on WinNT ?
Help Please
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Ohhh!!!I installed the last version..and now ..this simple code
I can't see nothing...
--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]
-Original Message-
From: Iriton Jonath P. Andrade [mailto:[EMAIL
Is there any way to see my errors on he screen. The server has error
reporting turned off.
Ive tried setting error_reporting()function setting it to E_ALL etc. It still
does not work.
Does any one know what I can do?
Clint
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
Hi
I got the same setup as you with safe_mode = On and I try to use the copy
function between 2 virtual host. When I copy from one virtual host to another,
I got an error message telling me that the copy function is not allowed :
Warning: SAFE MODE Restriction in effect. The script whose uid is
Hi Richard,
Thanks for the advise. I was just wondering what other people do.
I don't think I'll worry about it too much ;-)
Cheers,
Jord
On Wednesday 02 May 2001 3:49 am, you wrote:
> > If I'm doing more than one query on a page what is the best way to check
>
> if
>
> > they all succeeded wi
> this is taken straight from phpinfo(), as you can see
> its all there except for type. I was wondering why
> wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1
> know what the file type was...
Because your browser didn't tell it?
I'm pretty sure that info comes *from* the browser...
PHP really ha
> I was going through this fantastic tutorial on HTTP
> Authentication at Zend.com! It mentioned that to have
> this working, PHP must be "Installed as a Module" and
> NOT as "CGI Version". Because it will not work in CGI
> version.
> Tell me something, how and from where can i install
> PHP as a
> What are benefits and losses of having a PHP module for apache instead of
of a C module if PHP modules are without xml and mysql support.
For starters, it's way easier to develop a web application in PHP than in C.
Not even sure I'm understanding the question properly... There are a *LOT*
mor
> Happy %2/$d'th birthday %1/$s.
>
> like the docs says your supposed to do it doesn't work and all you see is:
> Happy $d'th birthday $s.
>
> What is up with this.. if you use %2/%d it sort of works, but it throws
all
> my other variables out of whack.. any help with this would be
appreciative.
> I have the following case. I am working on a PHP script which contains an
> array. Now I want to include a PHP created picture, which is a .php file
> (gd, now further called as the picture.php file). Till so far, everything
is
> ok. The picture is created following as wished.
>
> Now , I want t
> I am doing a dir list of an ftp and using sort to sort the dir list
> alphabetically. What I am using now sorts it alphabetically but it sorts
> the capital letters then the lower case so a capital "Z" would come before
a
> lower case "a"
>
> The Code I am using is:
>
> sort($complete_list);
>
> If I'm doing more than one query on a page what is the best way to check
if
> they all succeeded with out using transactions?
You can check each query as it executes, and (perhaps) have your program
logic do something intelligent in the case of individual failures.
Another possbility is to do
Hi Arteaga,
Instead of using that functions, use the new one shown bellow:
For instantiate an COM object in PHP:
$obj = new COM("ApplicationName.ClassApplicationName");
For properties and methods access:
$obj->property_name;
$obj->method_name;
I have used and tested this function and I have
Hi Arteaga,
I have tested COM objects using PHP Version 4.0.4pl1 on Windows 2000 Server.
The COM function mentioned here were implemented recently in PHP engine, so
use this version of PHP or later. Of course, your VB COM component must be
registered, so "Has.HasClass" must be a valid "OLE progra
Hi,
What are benefits and losses of having a PHP module for apache instead of of a C
module if PHP modules are without xml and mysql support.
Opinions!
- Surinder
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
PHP General Mailing List (http://ww
There is an ISAPI module version of PHP but it is very creaky on anything
less than Windows 2K, however if you are prepared to change from PWS to
Apache, the PHP module for that server API is much more robust.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
At 5/2/2001 12:46 PM, Anuradha Ratnaweera wrote:
>Most of your guidelines match with our practices. Here are some comments.
Thanks for the comments.
> > 1.4 Whitespaces
> >
> > - No whitespace after function or method name. Example:
> >
> > exit()
>
>We also use this. But I have s
Thanks Tomasz,
I believe that this will work just fine! :)
Mike
Tomasz Abramowicz wrote:
>
> echo "Recent Signatures\n";
> $query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE
> Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5";
> $result = mysql_query( $query )
>
Never tried what i'll write you, but it should work though!
for ($i=0;$i<2000;$i++)
{
$lines = join('', file(http://www.mysite.com/generator.php?id=$i));
// save $lines to a file.
}
-elias
http://eassoft.cjb.net
"Kraa de Simon" <[EMAIL PROTECTED]> wrote in message
C1EBEEBBB842D411B4120
try this,
line1
line2
line3