On Sunday 09 June 2002 12:49, John Taylor-Johnston wrote:
? echo date (l., .F. .d., .Y); ?
Sunday, June 09, 2002
But I would use:
?php echo date (l., .F. .d., .Y); ?
or simply:
echo date (l F d, Y);
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems
Hey all,
I recently installed Apache2, PHP4.2 on my win2k box as a module. It
works fine however say a script has a syntax error all that happens is a
blank screen is displayed. No errors are shown and thus it is very hard
to debug when I don't know what the error is, and what line it occurs
Gaylen Fraley wrote:
I am in need of a function/script that will take a directory and search all
filenames, recursively down, for a given file. Can anyone point me to a
source? Thanks.
$result=`grep -r 'expression' ./`;
--
PHP General Mailing List (http://www.php.net/)
To
hi i am populating a list menu with mysql , i would like to find a way to
populate a form with more than one of the same list menus in a for loop
select name=type[]
?
while ($sample = $result-fetchRow(DB_FETCHMODE_ASSOC)) {
$typeID=$sample[typeID];
On Monday 10 June 2002 09:42, Scott 'INtense!' Reismanis wrote:
Hey all,
I recently installed Apache2, PHP4.2 on my win2k box as a module. It
works fine however say a script has a syntax error all that happens is a
blank screen is displayed. No errors are shown and thus it is very hard
to
I've been looking for a way to work with stdin/stdout for a mod_rewrite's
rewritemap.
There's a working example in Perl, (just returning the input)
#!/usr/bin/perl
$| = 1;
while (STDIN) {
print $_;
}
I've been trying to achieve this with fopen() read and write the
php://stdin
On Sunday 09 June 2002 17:17, Austin Marshall wrote:
Gaylen Fraley wrote:
I am in need of a function/script that will take a directory and search
all filenames, recursively down, for a given file. Can anyone point me
to a source? Thanks.
$result=`grep -r 'expression' ./`;
This
As a result of my original request, I now have half a dozen ways of doing
this using php, perl, python and tr :)
I guess this is sort of on topic because there may be PHP
programmers who want to do this without writing a PHP script that
probably has to be run by a web server.
Anyway, someone
does someone have an example of a _working_ PUT-script?
i was trying $PHP_PUT_FILENAME and even trying to dump all the GLOBALS
but i couldnt find a filename which points to the PUT'-filename
how does it work? obviously not as it is in the manual :-(
copy( $PHP_PUT_FILENAME , $PATH_TRANSLATED
seperate your layers. Create a database, display and action layer. For
example:
include qry_users.inc;
include dsp_users.inc;
in qry_users.inc get your data and store them into an array var:
while($row-user)
user[] = $row-user;
}
Then in dsp_users get them out again:
foreach ($user AS
maybe you do not have the propper rights set. Check your grant privillegs on
the db.
Andy
--
http://www.globosapiens.net
Global Travellers Network!
César l . aracena [EMAIL PROTECTED] schrieb im Newsbeitrag
Have you got a link for somewhere to look for a base set of functions for me
to build on?
Thx,
Justin
on 08/06/02 5:39 PM, Miguel Cruz ([EMAIL PROTECTED]) wrote:
On Sat, 8 Jun 2002, Justin French wrote:
When you say serve the files through a script, I assume you mean
download.php
php-general Digest 9 Jun 2002 15:11:40 - Issue 1395
Topics (messages 101306 through 101330):
Re: Removing ^M
101306 by: Miguel Cruz
101326 by: Michael Hall
Re: how to test if rewrite rule is working
101307 by: Miguel Cruz
Function needed
101308 by: Gaylen
$result=`ls -R | grep 'expression' ./`;
HTH
Chris
Jason Wong wrote:
On Sunday 09 June 2002 17:17, Austin Marshall wrote:
Gaylen Fraley wrote:
I am in need of a function/script that will take a directory and search
all filenames, recursively down, for a given file. Can anyone point me
to a
This resricts to *nix and can be disallowed due to security constraints, but
thanks anyway. I just wrote my own PHP routine.
--
Gaylen
PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/
Chris Hewitt [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Hello,
I have been working with XML in the recent weeks and I have recently come
across the need to format some of the data in my XML. For example I might
have a large XML file and I would like some of the text to be bold, or maybe
I would like to insert a hyper-link. Unfortunately it does not
? echo date(l, F j, Y); ? works just fine for me.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 11:50 PM
To: [EMAIL PROTECTED]
I would like some of the text to be
bold, or maybe I would like to insert a hyper-link. Unfortunately it
does not seem I can do this with ordinary HTML tags because they will
be interpreted as XML tags. I am sure, however that there is another
way of doing this. Does anyone know how?
Have a
Hello All,
I was working on a little php today and I remembered that I had another
project that I wanted to do. I have a fairly complicated excel spreadsheet
that helps me price a service I provide and I would like to be able to have
fields on my website that can be filled in and the data passed
No. There is, however, a function that'll tell you how many columns are
in a result set. So, if you select all columns, then you can use that
function to find out how many columns are in the table.
www.php.net/mysql_num_fields
---John Holmes...
-Original Message-
From: [EMAIL
It would be better to just have PHP do the calculating for you, instead
of trying to figure out how to pass data back and forth between a
spreadsheet. You can maybe use COM for passing the data, if you still
need to do it that way.
---John Holmes...
-Original Message-
From: Jeremy
On Sunday 09 June 2002 23:08, Justin French wrote:
Have you got a link for somewhere to look for a base set of functions for
me to build on?
Search the archives, I'm sure I've posted some download code on the list
before, as have others.
--
Jason Wong - Gremlins Associates -
On Sunday 09 June 2002 17:27, electroteque wrote:
hi i am populating a list menu with mysql , i would like to find a way to
populate a form with more than one of the same list menus in a for loop
select name=type[]
?
while ($sample = $result-fetchRow(DB_FETCHMODE_ASSOC)) {
Hi!
Say, has anybody re-written the date funtions so they work with any date and
not be crippled by the unix timestamp range limit?
I am looking for a function which will do the equivalent of
date(w,mktime(0,0,0,8,30,1934))
but that will actually *work*.
Does anybody know a way to return
Speaking of which. I was thinking about this this morning.
Is there a part of the Unix timestamp that tells php what timezone to
report.
Reason why I ask, is I would like to offset the unix timestamp relative
to where a server is to a particular user.
So lets say the user is in Europe, and the
Is there a way to do this with PHP? I couldn't find it in the online
docs and the archive search is offline :(
thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 9 Jun 2002, John Taylor-Johnston wrote:
? echo date (l., .F. .d., .Y); ?
Sunday, June 09, 2002
But I would use:
?php echo date (l., .F. .d., .Y); ?
Don't know why, but someone told me once it had something to do with versions.
date() just wants a plain ordinary string for the
On Sun, 9 Jun 2002, Tom Ray wrote:
Is there a way to do this with PHP? I couldn't find it in the online
docs and the archive search is offline :(
Use JavaScript to detect it, and then you can set a cookie or add it to a
request posted to the server. In either case your PHP program can then
On Sun, 9 Jun 2002, Tom Ray wrote:
++Is there a way to do this with PHP? I couldn't find it in the online
++docs and the archive search is offline :(
oh..You couldn't?
echo 'form action=index.php
pWhat's your monitor size? input type=text name=size
p
input
June 9, 2002
RELEASE ANNOUNCEMENT
phpDocumentor version 1.1.0rc1
http://www.phpdoc.org
Download: http://phpdocu.sourceforge.net/downloads.php
The phpDocumentor Development team would like to announce the release of
phpDocumentor version 1.1.0rc1. This is a release candidate for 1.1.0 to
ensure
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Hi!
Say, has anybody re-written the date funtions so they work with any date and
not be crippled by the unix timestamp range limit?
I am looking for a function which will do the equivalent of
date(w,mktime(0,0,0,8,30,1934))
but
Currently, I'm developing a site that makes full use of a 1024 x 768 display
since 90% of my users have that config.
In the off chance they have a smaller display, I have this in the header of
my HTML template:
SCRIPT LANGUAGE=JavaScript
var smallver = {SCREEN_SIZE};
if(!smallver screen.width
Speaking of which. I was thinking about this this morning.
Is there a part of the Unix timestamp that tells php what
timezone to
report.
You could use the gmt-based date manipulation to do this.
Reason why I ask, is I would like to offset the unix
timestamp relative
to where
I know I've asked this before but I don't believe I asked the question
correctly.
I have a flat file database that is delimited with colons. This file
will have new records added to it on a regular basis. What I want to do
is be able to search that file based on a keyword that is inputted by
Ill look into gmdate. I was going to get the timezone from the user to
store in the database..
David Freeman wrote:
Speaking of which. I was thinking about this this morning.
Is there a part of the Unix timestamp that tells php what
timezone to
report.
You could use the gmt-based
He asked about detecting monitor size, not screen resolution. I don't
think any javascript will ever be able to do this.
On Sun, 09 Jun 2002 20:42:58 -0400, Miva Guy wrote:
Currently, I'm developing a site that makes full use of a 1024 x 768
display
since 90% of my users have that config.
In
Hey guys and gals,
I have the following function which accesses the following tables, now i want to
know if there is a way to get the quiz_id from table quiz without runnning both
these queries...
thanks,
Jule
--tables--
mysql describe user;
php-general Digest 10 Jun 2002 03:28:04 - Issue 1396
Topics (messages 101331 through 101354):
Re: Function needed
101331 by: Chris Hewitt
101332 by: Gaylen Fraley
Formatting XML Data
101333 by: Sebastian A.
101335 by: Dan Hardiker
Re: Date?
101334
Read the JOIN chapter of the MySQL manual and it'll tell you how to do
it. It's not a PHP issue.
(watch for line wrapping)
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html
#JOIN
---John Holmes...
-Original Message-
From: Jule Slootbeek [mailto:[EMAIL
SELECT
quiz_id
FROM
$table_quiz AS q,
$table_user AS u
WHERE
q.user_id=u.user_id AND
u.username='$valid_user' AND
u.password='$valid_password';
Bogdan
Jule Slootbeek wrote:
Hey guys and gals,
I have the following function which accesses the following tables, now
i want to know
JavaScript's getTimezoneOffset seems to be working just right, as shown
here: http://www.tyzo.com/tools/timezone.html
I think assuming that the user's computer has the correct time zone set
shouldn't be too far-fetched - and you can always provide the user with
a way to override that default.
Hi all,
I'm having some trouble getting my basic news script to work. Here is the
code:
$fp = fopen(data/prev.txt,r);
while (!feof ($fp)) {
$pr = fgets($fp, 4096);
}
fclose($fp);
$fp = fopen(data/news.txt,r);
while (!feof ($fp)) {
$ag = fgets($fp, 4096);
}
fclose($fp);
$fp
Hi
Why not just do it in one call?
$fp = fopen(data/news.txt,w);
$np = fputs($fp,$pr.$ag);
fclose($fp);
Tom
At 04:17 AM 10/06/2002, Kris wrote:
Hi all,
I'm having some trouble getting my basic news script to work. Here is the
code:
$fp = fopen(data/prev.txt,r);
while (!feof ($fp))
I'm wondering how PHP handles result sets and other info gathered from
MySQL.
The reason I ask is I've been messing with mysql_connect() functions all
day, finally found a solution (or so I thought), then a couple hours later I
returned to my site and got an Unable to connect error.
When I make
On Sun, 9 Jun 2002, Tom Ray wrote:
I have a flat file database that is delimited with colons. This file
will have new records added to it on a regular basis. What I want to do
is be able to search that file based on a keyword that is inputted by a
user, then it will search that database
On Sun, 9 Jun 2002, Jason Soza wrote:
When I make a change to the mysql_connect() function in my PHP script,
then save and reload that page, it doesn't seem to have any effect at
the time. For example, I don't allow any anonymous access to my MySQL
server, but I can take out host, user, and
On Sun, 9 Jun 2002, Greg Beaver wrote:
June 9, 2002
RELEASE ANNOUNCEMENT
phpDocumentor version 1.1.0rc1
http://www.phpdoc.org
Best of all, with OSX IE 5.14, the page comes up completely blank.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am very new to PHP, Sablotron, XSLT, and MySql.
Right now I have created a web page that is the
result of a transformation (through php) of an
xsl and xml file.
What I would like to do is run a PHP script so
that the result is displayed within a table on my
web page. How do I do this? Here is
48 matches
Mail list logo