> It was probably the last thing you looked for there. I know I
> constantly go back to look up Date() placeholders.
I know the feeling! In the end I printed the Date page out, folded it up and
stapled it into my PHP pocket ref book
--
Jon Farmer
Systems Programmer, Entanet www.enta.n
', '" .
$filesrc[$h] . "', '$filetype[$h]', '$fileencoding[$h]')";
//echo $sSQL;
$result = mysql_db_query($dbname, $sSQL);
}
}
$bodytext = "Thank you for your support request\n\n";
$bodytext = $bodytext . "We have assigned the following ti
> I have moved my php files to linux system.
> Now it z showing (control+M)(^M) characters in the file.
> How can I remove those characters?
/usr/bin/perl -i.bak -npe 's/\r\n/\n/g' filename
where filename is the file with he ^M line endings.
Regards
jon
--
Jon Farmer
> How can I echo some text such as "Processing, please wait..." whilst the
PHP
> script runs. Rather than displaying a blank screen with the results being
> echoed once the script has fully completed.
echo ("\"Processing, please wait...\"");
flush();
//
ss and use mysqlimport to import into MySQL.
3. Use the MySQL ODBC driver to link the MySQL tables into Access and run a
query to copy the records over.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send P
One you have the IP you need to do a whois on the RIPE database to work out
who the IP is assigned to and which country they are in.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
- Original Message
> note that www.mynewdomain.com CAN be a valid domain also.
Err... sub-domain.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
and
NSLookup.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> can anyone tell me how I can retrieve attributes of a node using SAX
parser
> in PHP??
Yes use a Start Element Handler. The attribues are passed to it as a
associative array.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send
> With ASP the only cost is the OS.
>
> Clint
ASP = Cost of hardware + Cost of OS + Cost of 3rdParty components.
PHP = Cost of hardware.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP
--
this in ASP.
I would be interested to hear what your friend has to say to this, I would
appreciate if you would drop me his/her reaction..
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
--
PHP Gener
m not that much of a unix-guru...)...
ImageMagick will do this AFAIK. However you have to compile with the Mpeg
libraries to achieve it.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing
mote server or PHP to MSSQL Server?
See above answer. Also you have any TCP/IP overhead to add on.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http:
c) and d) are clientside functions if you have already outputted data to the
browser so use Javascript to do them
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From
introduced an ATT01583.ATT
> file, which I do not understand.
> Any guidence would be very useful,
Forget classes and PHP code.. install mutt (assuming you are on a *nix) and
call exec() to send via mutt.. You can do it all in one line of code, it
works great and not a class or include ins
Hi all! I want to develop a search engine in PHP for a portal that I'm
working on at the moment, and I'd be glad if someone could please show me
how to do it, or if anyone knows of a link where i can find a tutorial for
that.
Use htdig
--
Jon Farmer
Systems Programmer, Entanet ww
if it has any headers attached
etc and then stuff it into the parser.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
an you be more specific. Do you mean you want to send SMS, receive SMS or
do both?
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
being used for spam and also to overload
the network.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
.
I dont mind writing a tutorial on what I did, it works well but not sure how
proficient it was in using XML.
--
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://
under user nobody.
>
> looks like you try to open a file outside the allowed direcory tree.
> check your "open_basedir" setting in php.ini config file.
Nope it was the /home/jon did not have execute permission for the httpd
user. Fixed now. Thanks to all that responded.
Reg
Supplied argument is not a valid File-Handle resource in
/home/ethiorg/public_html/test.php on line 4
from the following script:
the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and
group is nobody. Apache runs under user nobody.
Any ideas?
--
Jon Farmer
Systems
P do a RIPE lookup at www.ripe.net and that will
tell you who the IP is assigned to and where in the world they are. Of
course if its a ISP in Maryland, USA they could have a dialup user from
Australia connected so it only gives limited information.
Regards
Jon
--
Jon Farmer
Systems Programmer, E
which authentifies >it and responses back in
XML format...
> >
> >any suggestions??
Well that would suffice if he just wanted to display the raw XML in the
broswer. However if he wanted to parse the XML he needs to open a socket on
port 80 or use a http class.
Regards
jon
--
Jon
The -z option allows you to pass the passphrase on the command line
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: "Brian Clark" <[EMAIL PROTECTED]
I 266Mhz machines to accomplish this. If you think someone is going
to want your data and has those kinda resources available then yeah go for
higher. However if thats your worry where are you going to stop in the
length of your key? If your that paranoid then it shouldn't be using public
network
to the backup
location. Then cron it to run as often as you want backups. To keep on topic
you can use PHP as the scripting language to do this.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP K
I presume you are sending the details to verisign by posting the info from
the directly to versign. If this is the case the post to a local php
script, do the validation and then use the http_post class from
http://phpclasses.upperdesign.com/
to send it to verisign
Regards
Jon
--
Jon
use
> gmdate() on the difference, that way you don't have to worry about
> differences in excess of 60 secs...
and what if the difference between timestamp1 and timestamp2 is > 86400 ?
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Ke
by 60 and the remainder is your seconds.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message - >>
--
PHP General Mailing List (http://www.php.net/)
To un
> Yeah.. code to divide the message into multiple parts, base64_encode the
> file, and attach it that way.
>
> I suggest looking for some kind of Email class that can do that for you.
> Try http://phpclasses.upperdesign.net/
>
> Mike
if you are on *nix used mutt from th
ssing the contents of the
textbox in the querystring.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
> I get:
>
> unable to select database
>
> when I visit my guestbook.php
>
> The user trying it is set in the mysql.user (without any perms) and in
the
> mysql.db (with all perms).
>
> Do I have to set all perms to this user in the mysql.user table?
Did yo
> The timeout is set in php.ini
Only change it in php.ini if you want it to be serverwide. For a specific
script use set_time_linit().
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP
http://www.php.net/manual/en/function.set-time-limit.php
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
> Parse error: parse error in /home/sites/site139/web/EIA/sessionstart.php
on
> line 10
>
> It's strange that line number 10 doesn't exist!
Do you have an include statement in sessionstart.php?
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mo
ect. Or the username does not have
permission to log on from localhost
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
mail?>
Compile PHP as a binary and pipe the email directly from sendmail into PHP
on STDIN
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To
I routinely use \n \t in php just so that the html outputed is formated
nicely and is easy to read when view source
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From
> Hello world!
> I'm using php 4.0.6 to work with MsSQL (FreeBSD 4.4, Apache 1.3.20).
> How should i compile php to enable mssql functions?
Exactly as described here:
http://www.php.net/manual/en/ref.mssql.php
RTFM
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01
so the way i would go is use a
hidden frame and onClick of the button refresh the page in the hidden frame.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General
STMP host it
will reject it.
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
email
are ignored.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: "Chamarty Prasanna Kumar" <[EMAIL PROTECTED]>
To: "Johan H
yeah good call on a type it should of been \s not \S
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: "Jim Musil" <[EMAIL PROTECTED]>
To: "
Actually the sql statement you want is
select whatever from articles where textlines regexp "^\Sbingo\S$"
regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Origin
of the script dieing on timeout for it to go and do something else. Ideally
it will redirect to another php script which will check for the entry in the
database. Can this be done? Any pointers?
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
Well telling us what the errors are would be a start :-)
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
From: "Stephen Phillips" <[EMAIL P
ange its contents
based
>on another form object.
Instead of referring in javascript to the select by name refer by reference
ie:
document.form[0].elements[1].selected
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, sen
rted by business name as well as last name and then first name. At
> the moment this query is resulting in all business names (sorted) and
> then, following all business names, all last/first names (also sorted).
SELECT Concat(First_Name, " ", Last_Name, Business_Name) as Name From
. Should be fairly
straightforward to pull the info using php and right to Excel file using the
class
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
--
PHP General Mailing List (http:
ovember 01, 2001 9:57 AM
Subject: RE: [PHP] Week of month
> How about;
> echo "It is week ".((int)(date("j")/7)+1)." of the month.";
>
> > -Original Message-
> > From: Jon Farmer [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 1 Novemb
d their code for this purpose or write your own.
Remember the actual first day of a week can be country specific.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Ma
Yeah just call flush() when you want whats been parsed so far to go to the
client..
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
- Original Message -
From: "Daniel Alsén&quo
back.. As soon as all the results have
been returned the message "Checking..." changes to "Finished" even if all
the images etc have not loaded yet...
All done with PHP and a one line javascript call.
Regards
jon
]
--
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel
> I'm running PHP v4.0.7RC3 (from package php4-cgi) on Linux 2.4.10-ac11.
> Distribution debian unstable.
I would recommend 4.0.6 compiled from source. Thats what I use and its very
stable.
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 0
> And then the spammers can use NNTP again. I think it goes both ways.
> NNTP <> LIST
>
> A good spam filter (blacklist) would be a good option.
Yeah thats what i said
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available
list is mirrored to a newsgroup they could use that instead.
I agree filter software is needed to junk the spam.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General M
> I have yet another PHP question! =)
>
> How do i open a window in PHP and how do i insert information in it?
Actually you have a javascript question!
check out window.open() in the javascript docs
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 4
Budweiser
if ( A != 10 or A != 9 )
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
> This is a pretty funny article:
>
> http://www.bbspot.com/News/2000/6/php_suspend.html
Yes, and its also a very old story... been doing the rounds for months.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key availa
move the Ctrl-M characters for you. You could call it straight after
the line that generates the file.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List
plus a whole lot of other functions that can be selected without a table
name.
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
No, we would have to spend around £24,000 sterling to get the modules. We
already have modules that allow importing of order, etc from txt files. I
could write a PHP XML parser to interface into this.
What I am not sure is how acceptable it will be to our customers
--
--
Jon Farmer
Systems
/pointers?
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Ignore my previous post it is incorrect
Sorry
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
- Original Message -
From: "Jon Farmer" <[EMAIL PROTECTED]>
To: "
You can't set a cookie for a different domain or subdomain. If you set a
cookie for a domain and then goto to SSL then the cookie will still be
presented.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank ema
For perl look at
http://www.cpan.org/modules/by-category/19_Mail_and_Usenet_News/Mail/Mail-Ch
eckUser-1.02.readme
As for php you would need to open a socket connection.. My advice would be
to use the perl module and call a perl script from php.
Regards
Jon
--
Jon Farmer Õ¿Õ¬
Systems
Yes but you would have to dynamically build the javascript statement up
using php with the query string you wanted and use
window.parent..location.href="index.php?">
--
Jon Farmer Õ¿Õ¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP
done
HTH
Regards
Jon
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 15:08
To:
If you are on a unix box you might want to use the tail command... if you
use exec() the output will be in an array...
--
Jon Farmer Õ?Õ?
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED
Well I guess Rasmus is the guy who knows but as I understand it, it was
originally
Personal Home Pages
and became
PHP Hypertext Preprocessor later
Regards
jon
--
Jon Farmer Õ¿Õ¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send
Ermm you are missing SSL encryption. You can't just try and talk to port
443! You have to use something that talks SSL to talk to port 443.
fsockopen() does not talk SSL.
Regards
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PG
Shell PHP scripts will start with the line
#!/path/to/php -q
Regards
Jon
--
Jon Farmer O?O¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: George E. Papadakis
I dont think you read the original post correctly. Obviously you would use
SSL to get the info form the browser to server. What the poster was asking
was how does he securely get the information from the server to the people
using the PDQ machine.
Regards
--
Jon Farmer O?O?
Systems Programmer
header("location: redirect.php");
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: 24 August 200
and randseed files are readable by the apache
user.
4. Have fun
I have successfully got this working and if you need any help let me know
Regards
jon
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL
gout. If the cookie is not present when they
go back to the page that needs login then it presents a login box to a realm
that contains the current date and time in it.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, se
--
while you are looping through the date jump in and out of php like this to
populate the javascript array
are
passed to the script. How do I get the client to forget the previous login
details?
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: 14 August 2001 15:53
To: [EMAIL PROTECTED]
Subject: [PHP] Select
Hi
thats because mysql_fetch_row only returns one row.
to get all the rows do
while ($row = mysql_fetch_array($result) {
//processing code here
}
This will run through all the rows putting the colums into the array $row[]
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet
if you mean how do you get mysqld to startup automatically then you need to
call
mysql.server start
at bootup
Regards
Jon
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
-Original Message-
From: Roman [mailto:[EMAIL PROTECTED
Hmm well I has this problem on a FreeBSD box and as soon as I moved it to a
RedHat7 box it worked.
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: 12 August
You need to make sure that what ever user the webserver/php runs under has
permissions to read from the source folder/file and write permission for the
destination folder/file.
Common users for apache/php are "nobody" or "apache"
regards
Jon
Jon Farmer
Systems Programmer
E
as requested.
To do this you would need to find the 100th space in the string and use
everything before that. I would probably explode the string and loop through
the first one hundred elements to reconstruct the string with the first one
hundred words.
Regards
Jon
Jon Farmer
Systems Progra
le?
>Bjorn's method is much better, and you're better off getting into good
>practice early.
Who mentioned anything about typing? In the example given it was a hardcoded
string.
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
>How can i take a dump of first database (which is about 1MB) and restore
>that dump on the second one?
If you have Telnet access use the mysqldump and mysql clients to export then
import.
Regards
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
This is a real strange one. I am writing a shell script in PHP which I am
cronning to run every 5 mins. Basically it downloads email via imap. Splits
it up into it relevant sections and adds it to a database. It does multiple
inserts, and update and multiple selects. The problem I have is tha
You could either
Compile PHP as a command line executable
or
Use Lynx to call a php page through HTTP.
either wat cron is the way to go
Regards
--
Jon Farmer
www.workcam.co.uk
+44 (0)7968 524175
2001 should be pronounced twenty o one not two thousand and one
"Jason Murray&quo
89 matches
Mail list logo