On Fri, May 21, 2004 at 08:16:30AM -0700, jon wrote:
Nah... Maybe we're both confused. Is this a java app you wrote or one
that you found somewhere? If you know how to control the camera from
java and you know how to work in java, you could build yourself a quick
and dirty command-line java
Am I? I thought that applets were allowed to connect to the same host they were loaded
from. Which is what I'm trying to do.
Nice site BTW, useful for a few other things I'm working on, thanks.
Tom
On Sat, May 22, 2004 at 07:46:21AM +0600, raditha dissanayake wrote:
Tom Playford wrote:
[EMAIL PROTECTED] (Dan Phiffer) writes:
I'm using PHP 5 these days, so I guess I'm looking for some way to
tell a DomDocument to prettify its save() output.
I don't remember any more where I found this, but with
?php
$dom = new DomDocument();
$dom-formatOutput = true;
?
you get what you ask
Hi Dsx,
If you're unable to use classes from PHPLIB, I suggest you learn PHP first.
Using objects for the first time is very confusing, but there are some
excellent guides on the internet. I suggest you spend a couple of days just
experimenting, writing your own classes to do menial tasks, etc.
Hello,
I have a table in a database that holds begin and end dates...I would like
to select all the begin and end dates for a certain id, then add those
dates, plus the dates between them to an array...example.
Begin date 2004-07-04
End date 2004-07-09
I want the array to hold,
Edward Peloke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I have a table in a database that holds begin and end dates...I would like
to select all the begin and end dates for a certain id, then add those
dates, plus the dates between them to an array...example.
Begin
$start = '2004-07-04';
$end = '2004-07-09';
$check = '2004-07-06'; // the date you want to check
$timestampStart =
mktime(0,0,0,substr($start,5,2),substr($start,8,2),substr($start,0,4));
$timestampEnd =
mktime(0,0,0,substr($end,5,2),substr($end,8,2),substr($end,0,4));
$timestampCheck =
In case anyone cares, here is a site that gives away a free zip code
database that's complete and current, and includes latitude and
longitude so you can do distance calculations:
http://www.zipwise.com/free-zip-database.php
Hope it's useful to someone,
- Brian
--
PHP General Mailing List
[EMAIL PROTECTED] wrote:
Hi~robi!
Thank you,troby,my friend!
With your guidance I found first time that PEAR is a very good coding tool which
I'd like to learn later.But my server provider do not have it;fortunately,I
overcomed the difficultys of PHPLIB by debugging and
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to xsl:fo using xslt
but I can't find information for the last step (XSL:FO to PDF)
I just know that a formatter is needed but all what I found where java, jade
or .net based
I have a form and the people who submit are likely to include a bunch
of ¶ characters. (That's a paragraph symbol in case it doesn't come
through the list correctly.)
However when I read it out of MySQL it comes back as ¶. What can I
do about this? Thanks!
- Brian
--
PHP General Mailing List
I have a form and the people who submit are likely to include a bunch of
¶ characters. (That's a paragraph symbol in case it doesn't come
through the list correctly.)
However when I read it out of MySQL it comes back as ¶. What can I do
about this? Thanks!
Looks like UTF-8. Make sure your
Can somebody tell me the best place to look for free or purchase pre-made
solutions/templates in PHP/mySQL ... (that can be fully modified and
editable)?
I am looking for solutions/templates that do the following:
- full robust shopping cart
- membership database
- various content galleries:
Domains4Days wrote:
Can somebody tell me the best place to look for free or purchase pre-made
solutions/templates in PHP/mySQL ... (that can be fully modified and
editable)?
I am looking for solutions/templates that do the following:
- full robust shopping cart
- membership database
- various
I would recommend
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html
Warren Vail
-Original Message-
From: Domains4Days [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 11:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Finding Pre-Made Solutions/Templates
Can somebody
I came across an interesting problem today which I have found a work
around but was wondering if anyone on the list had a better way to solve
this problem.
Been writing some php scripts on a Linux system using PHP 4.2.2. Basic
script works just fine there and does what is needed.
Moved this
Scot L. Harris wrote:
I came across an interesting problem today which I have found a work
around but was wondering if anyone on the list had a better way to solve
this problem.
Been writing some php scripts on a Linux system using PHP 4.2.2. Basic
script works just fine there and does what is
On Mon, 2004-05-24 at 10:53, juan vazquez wrote:
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to xsl:fo using xslt
but I can't find information for the last step (XSL:FO to PDF)
I just know that a formatter is needed but all what I
From: Scot L. Harris [EMAIL PROTECTED]
I came across an interesting problem today which I have found a work
around but was wondering if anyone on the list had a better way to solve
this problem.
Been writing some php scripts on a Linux system using PHP 4.2.2. Basic
script works just fine
the tricky part is I could have fifteen rows in the db all with different
start and end dates that I need to check each day against.
-Original Message-
From: Michal Migurski [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 10:18 AM
To: Torsten Roehr
Cc: [EMAIL PROTECTED]
Subject: Re:
I am using phpmyadmin to backup my mysql database. I have it setup to
backup all databases and at the bottom there is this foot note . . .
* Use __DB__ for database name, __TABLE__ for table name and any
strftime http://www.php.net/manual/function.strftime.php options for
time specification,
I've written a script that displays a graph of some data from a text file.
Beneath each bar in the graph is a text label. I read the php.net
documentation and it seemed that imagettftext() was the easiest function to
get text in an image with, so I used that. Here is the text-display code
(syntax
On Monday 24 May 2004 04:04 pm, Chris W wrote:
It sounds like this is for adding the date and time to file name for the
backup but I can't figure out how it works.
Maybe an email to the phpMyAdmin list will get you an answer faster than in
here?
James
--
PHP General Mailing List
What's the best way of replacing every ocurrence of a substring in a LARGE
string by another (longer) substring?
Specifically, I have read the contents of a file into a tring with fread,
and now I want to replace all \n with br
Thanks in advance
Nicolas Sanguinetti
--
PHP General Mailing List
From: Chris W [EMAIL PROTECTED]
I am using phpmyadmin to backup my mysql database. I have it setup to
backup all databases and at the bottom there is this foot note . . .
* Use __DB__ for database name, __TABLE__ for table name and any
strftime
Normally, I would say str_replace(), but for converting \n to br,
use the nl2br() function.
On May 24, 2004, at 4:28 PM, GodFoca wrote:
What's the best way of replacing every ocurrence of a substring in a
LARGE
string by another (longer) substring?
Specifically, I have read the contents of a
In this special case you would even use 'file' to read the content
of the file into an array and use 'implode' to replace every \n with
br
$content = implode( br , file ( './my_file.txt' ) );
-- red
Brent Baisley wrote:
Normally, I would say str_replace(), but for converting \n to br,
use the
the tricky part is I could have fifteen rows in the db all with
different start and end dates that I need to check each day against.
Then do the data comparison in the DB --
SELECT * FROM your_table
WHERE {$check_time} = start_time
AND {$check_time} = end_time;
hi, i need some code to find out the ip address of a server. just a simple
dns query.
how do i do that? i'm a beginner, please help.
thanks in advance
tobes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the tips...
Has anyone had any experience with:
http://www.oscommerce.com/
- can you recommend anything better for php/mysql shopping cart
solutions...?
I want to end up with a modifiable Robust / PRO solution that can grow
with my needs...
--
Thanks - RevDave
[EMAIL PROTECTED]
Tobes mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:09 PM said:
hi, i need some code to find out the ip address of a server. just a
simple dns query.
how do i do that? i'm a beginner, please help.
are you saying you already have the FQDN (Fully Qualified Domain Name)?
or are you
On Mon, 24 May 2004 23:09:04 +0200, Tobes hath writ:
hi, i need some code to find out the ip address of a server. just a simple
dns query.
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
Jonesy
--
| Marvin L Jones | jonz | W3DHJ | OS/2
Is there a shortcut way to turn an subelement
in a multi-dimensioned array into a regular array.
For example, here's my array:
// print_r($users)
Array
(
[1] = Array
(
[name] = John
[email] = [EMAIL PROTECTED]
)
[2] = Array
(
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
wow. that's the weirdest looking php i've ever seen. is that a beta or
something?
chris.
--
PHP General Mailing List
hi, i need some code to find out the ip address of a server.
just a simple dns query.
how do i do that? i'm a beginner, please help.
$ip = gethostbyname( www.php.net );
http://www.php.net/manual/en/function.gethostbyname.php
--Rick
--
PHP General Mailing List (http://www.php.net/)
To
In my continuing efforts to actually get sessions to work, I upgraded
to PHP 4.3.6 and apache 1.3.31. This did not make the slighest
difference.
So, does ANYone have ideas of how to debug this? Or is PHP simply
broken and no longer able to maintain sessions?
/\/\ \/\/
--
PHP General
I went ahead and just wrote a quick function. If there is an easier
way, please let me know. Thanks.
function multi_pick($multi_array, $return_key) {
$ret_array = array();
foreach ($multi_array as $key=$sub_array) {
if (isset($sub_array[$return_key])) {
On Sun, May 23, 2004 at 09:00:41PM +0200, Maarten Weyn wrote:
It worked for 5 minutes after a reboot, but now i get the same problem
what happens is that on every session_start();
a new sessid is created how comes it doesn't use the old one
I am starting to believe that session support is
LOL :-)
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
wow. that's the weirdest looking php i've ever seen. is that a beta or
something?
chris.
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
wow. that's the weirdest looking php i've ever seen. is that a beta or
You need the pear packadge XML_fo2PDF
http://pear.php.net/package/XML_fo2pdf
Yann
On Mon, 2004-05-24 at 15:22, Ray Hunter wrote:
On Mon, 2004-05-24 at 10:53, juan vazquez wrote:
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to
I can't see it.
Maybe other eyes will help. :-)
Why does search_username.1 show the data that was posted with the form
but search_username.2 is empty?
$search_usename = $_REQUEST[search_username];
echo search_username.1='$_REQUEST[search_username]';
echo
$search_usename $search_username
you're missing an r
On 5/24/2004 5:55 PM, Bob Lockie wrote:
I can't see it.
Maybe other eyes will help. :-)
Why does search_username.1 show the data that was posted with the form
but search_username.2 is empty?
$search_usename =
On Mon, 2004-05-24 at 16:55, Bob Lockie wrote:
I can't see it.
Maybe other eyes will help. :-)
Why does search_username.1 show the data that was posted with the form
but search_username.2 is empty?
$search_usename = $_REQUEST[search_username];
--^ need an r
Curt Zirzow mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 3:55 PM said:
wow. that's the weirdest looking php i've ever seen. is that a beta
or something?
what ya talking about?
i was pointing out that the user explained he was a beginner and that he
was looking for code. so for the
I am getting the following problem with trying to install from source
PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2
recently upgraded from 7.3.x and it is up and running fine. I also have
Heimdal 0.6 installed and PostgreSQL was built with that support. Is the
error below
Thanks to all who responded.
Doh to me. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
why not use nl2br() ?
At 01:28 PM 5/24/2004, GodFoca wrote:
What's the best way of replacing every ocurrence of a substring in a LARGE
string by another (longer) substring?
Specifically, I have read the contents of a file into a tring with fread,
and now I want to replace all \n with br
Thanks in
hello everybody, I need help for using imap functions in php
I refer the imap functions from the book Professional PHP4
it introduces the imap server from telnet it to writing a brief scripts
it teach me that type telnet localhost 143 behind prompts
and I got the right response from my imap
===
This message is for the benefit of new
subscribers and those new to PHP. Please
feel free to add more points and send to the
list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en
Hello,
Is it possible to have an alias so that bots will index the page instead of a redirect.
--
Thanks,
Jake Johnson
[EMAIL PROTECTED]
__
Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices
on rings, earrings,
LINK TO THE LIST OF EDITORS CORRECTED
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use
52 matches
Mail list logo