Im trying to count the number of times a word occurs in a string - is the
only way to do this preg_match_all?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Im running PHP 4.2.2 on RedHat 9.0
Just using one of the many free Google API search scripts using nusoap or
pear::soap, I get no response.
When I run the same script on a different server (identical, just a later
version of PHP) it works like a charm.
Is there a syntax difference in 4.2.2 and >
I just need to make a duplicate copy of a mySQL database (I have to
reinstall some web software and I am afraid it will overwrite the existing
database, so i would like to make a backup of it)...
Any classes, scripts, etc out there to do this?
Russ
--
PHP General Mailing List (http://www.php.ne
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Any idea how to sort an array by string length?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So I populated a mySQL database but forgot to create random ids for each
record.
I have used phpmyadmin to add a varchar(15) column named "id" at the end
of the database for each record, but now am wondering if there is an easy
way to get random ID's into each of these...
The column values for ma
Is there any way to use fread() or a similar function to read a section of
a document NOT starting at the beginning...
for example, I can read the first 1000 bytes of a document with
fread($doc, 1000);
Is there any way to read the second 1000 bytes?
perhaps, fread($doc, 1000, 2000); who knows..
I have an array filled with CSV data...
array (
20040310, Title, Author
20041115, Title, Author
20040513, Title, Author
)
where each array element is 1 line from the csv. When I go to print it
out, Im going to explode each by , and then print it out the way I like
Whether we like it or not - whether it was the correct decision or not -
there is one certainty.
Bush's reelection will mean more war and, subsequently, more death. This
is not to say that such may not be necessary, but it is nevertheless
disheartening.
The re-election of President Bush means tha
Any ideas on easy ways to trouble shoot problems in XML. I keep getting
"invalid character" errors and I dont have a good way to find the problem
and correct it.
Russ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish this?
Russ
--
PH
I just want to print out a table from mySQL. Thats it. into an html table.
Column 1 | Col 2 | Col 3
-
Val 1| val 2 | val 3
Val 4| val 5 | val 6
any ideas on how to do this?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
http://www.networkeleven.com
I have been using these folks for about a year and a half now. They have
done numerous custom builds for me and will do it within 15 minutes of
your request. Pretty amazing customer service.
Russ Jones
On Mon, 19 Apr 2004, Daniel Clark wrote:
> I'm using www.phpwebh
How do i turn this...
[br]
[b]My Title [/b]
[br]
into
[br][b]My Title[/b][br]
--- I just need to have line breaks removed basically...
any ideas?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Basically there is a php page... lets say
http://www.myserver.com/outputpage.php
that picks up some info from a database and echos it out as plain text to
the browser.
I want to use php in a different file to go pick up whatever is printed
out to that file and save it to a variable..
basically
Is there any way to deal with PDFS using PHP and not installing PHPlib? I
simply need to pull the first page of a PDF document and print it out
using PHP. (Like a PDF preview of sorts)...
Any ideas?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I need to use PHP to pull the first page from a Word Document and then
print it to the screen. It doesnt have to be fancy, so even if just the
text is pulled that would be fine (although formatting would be grand
too).
Anyone got any ideas? I cant use the COM object since Im running this on a
linu
Im storing a lot of user-entered data in XML files but i have a problem
with folks submitting stuff just by copying and pasting from microsoft
word. "Smart Quotes" and other awkward text then gets submitted and ruins
the xml, meaning i am searching and replacing item by item to replace
stuff.
Does
Use XML to store all your data, and if you want an xml search mechanism, I
have a quick and dirty answer that runs client-side so you dont have to
worry about wearing down your server...
russ jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Agreed with John W. Homes regarding his method of website templating. It
is used in that fashion for all sites run by demcampaigns.com and
www.collegedems.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any idea on how to get rid of Windows chracters. I have paroblem with
users cutting and pasting out of Microsoft Word into textarea's and
input-boxes and the special characters like quotations and apostrophes
messing up the xml...
Thanks
Russ
--
PHP General Mailing List (http://www.php.net
Im using PHP to write to XML files, but I am having some problems. A lot
of users are cutting and pasting content from text editors like word,
which uses odd quotation marks, dashes, etc. which PHP writes to the XML
file, and then the XML parser does not under stand. Is there a
stripslashes() or ht
Is there any way to send mail blind carbon copy via PHP? Or do I need to
write some script that cycles through and sends a separate email for each
individual?
Im trying to write a script for personal use that allows me to send emails
straight from my active desktop, but I would like to allow bcc..
I recently hosted with a company called networkeleven
(http://www.networkeleven.com)...
I required a custom build of php because i use DOMXML to run most of
my site. They completed the task in literally under 15 minutes after my
request. Since then, I have had no service interuptions and continued
The best way I can see to answer this would be to use the http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My sysadmin just complied 4.2.3 on my Apache web server but is out of town
for the next few weeks. Problem is, all my PHP/domxml stuff is SHOT and
won't work at all anymore. Does anyone know where I can track down the
documentation for 4.2.3, specifically the code changes in domxml. The
changelog's
26 matches
Mail list logo