having using
>
> if ($update) {
> $result=foo;
> echo "";
> }
>
> but to no avail ..
>
> any suggestions ?
>
> Peter Houchin
if ($update) {
$result=foo;
header("page.php");
}
and make _absolutely_ sure that your script doesn
On Tue, 27 Feb 2001 15:15, David Robley wrote:
> On Tue, 27 Feb 2001 14:58, Peter Houchin wrote:
> > > can some one offer a suggestion please ... i have a
> >
> > if ($update) {
> > $result=foo;
> > }
> >
> > in that if statement i want to redirect
davidg Tue Feb 27 17:00:40 2001 EDT
Modified files:
/php4/ext/midgard article.c attachment.c calendar.c element.c
event.c eventmember.c file.c group.c host.c
image.c mail.c member.c mgd_article.h
davidg Wed Feb 28 07:50:06 2001 EDT
Modified files:
/php4/ext/midgard attachment.c
Log:
function reference: attachments
Index: php4/ext/midgard/attachment.c
diff -u php4/ext/midgard/attachment.c:1.6 php4/ext/midgard/attachment.c:1.7
--- php4/ext/midgard/a
lity with the library's existing naming
convention?
David
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
rying
ALL of this data with each user is a waste of resources, and will require
more database calls than needed.
If anyone has ANY ideas, PLEASE share them! :)
Regards,
Michael
---
Michael David
The Miller Group
Web-based software for Schools
http://www.miller-group.net
--
PHP General Mailing
Php is not parsing .data files, I have the following in Apache config.
AddType application/x-httpd-php phtml php php3 data
Thanks,
David
use the dos2unix utility
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 11:43 AM
To: PHP User Group
Subject: [PHP] strip ^M's ??
Hello,
I am making a PHP script that upload formmail into people web directory with
all the settings easily
kies in php? Or can you
point me to a link on how to do this.
Please note that I am not asking how to set client side cookies.
Thanks,
Jeff
---
Michael David
The Miller Group
Web-based software for Schools
http://www.miller-group.net
--
PHP General Mailing List (http://www.php.net/)
To uns
stems may be Windows
clunkers, where SHMEM isn't an option.
I'm going to have to send a message/feature request to the developer list as
well.. maybe they'll have more insight, or will be able to run with my
request/tell me why it's bad.
---
Michael David
The Miller Group
Web-b
Try this... You need to set a variable for the connection. Also you might
be careful when sending examples of your code as you have given everyone on
this list your username/password to your database.
";
exit;
}
?>
-Original Message-
From: Shaohua Qu [mailto:[EMAIL PROTECTE
Quick example...
CREATE TABLE user (
userid int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
usergroupid smallint(5) unsigned DEFAULT '0' NOT NULL,
username varchar(50) NOT NULL,
password varchar(50) NOT NULL,
email varchar(50) NOT NULL,
parentemail varchar(50) NOT NULL,
gt; erdinc..
Have a look in the String Functions section of the manual. In particular,
substr_replace, str_replace or strtr. Also the Regular Expressions
section if you want more complex replacement capabilities.
--
David Robley| WEBMASTER & Mail List Admin
lain; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" );
> <--- end of snip--->
>
>
> any help would be greatful :)
> Peter Houchin
> Sun Rentals
> [EMAIL PROTECTED]
>
Two things that may or may not be part of your problem;
first, if there is already
uff...to display record found
> ...
> ***
> what am I suppose to do if I also want the code to be able to deal with
> the case that no record found and redirect user to other page? Jack
$query="select name from foo";
$result= mysql_query($query);
if(mysql_num_row
>
> check_hackers($sourcefile, $filelist);
>
> Can somebody tell me why this is not return $sourcefile = "source.inc"
> what am I doing wrong.
> Can you please reply to [EMAIL PROTECTED] PLEASE PLEASE PLEASE
Um, you aren't assigning the result of the function t
to displays the PHP config options so i can show
> this mofo that they are off
>
> - Peter
phpinfo()
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet
ate.
>
> Thanks,
> Robert
> p.s.-- I have ordered the Friedl book on Regular Expressions. Hoping it
> will enlighten me for the future
My suggestion would be to not create the empty reference in the firast
place :-)
Before starting your loop (but after checking there is somethin
davidg Tue Mar 6 09:56:17 2001 EDT
Modified files:
/php4/ext/midgard mgd_internal.h midgard.c
Log:
added ability to break tree walking
Index: php4/ext/midgard/mgd_internal.h
diff -u php4/ext/midgard/mgd_internal.h:1.8 php4/ext/midgard/mgd_internal.h:1.9
s URL is an index of all the RFCs (big document ~400Kb)
http://mirror.aarnet.edu.au/pub/rfc/rfc-index.txt
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| htt
files in the particular directory or
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH
at you don't get
that stuff by default - there is another RPM with mysql source and
library stuff in it.
If you don't need any other mysql related stuff you could try using the
php builtin mysql support by using just --with-mysql and not specifying a
path.
--
David Robley
ckRman2"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I wrote a small script like a email list only when I run it with 3 emails.
The first record gets his info, 2nd get his plus first, 3rd get his plus 2nd
and 1st. Why is it doing this?
Da
pient = "$email <$email>";
$subject = "$subject";
$message = "$message";
$headers = "From: David Smith <[EMAIL PROTECTED]>\n";
mail($recipient, $subject, $message, $headers);
echo "Message Sent to $email!";
}
}
Try this:
-Original Message-
From: Jason Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 4:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] htaccess
Hey folks. I have another htaccess question. I have an entire folder set
up to require authentication. It's in an htacces
hile ($i = $i);" and everything worked fine. What am I
doing wrong?
Thanks,
David Minor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
o
> to figure this one out?
The directory functions - there are some simple samples in readdir() -
and is_file and is_dir may be useful
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.
variables.
while ($row=mysql_fetch_array($sql_result))
{
extract($row);
echo "";
echo "$field"; \\ or whatever the field is called
echo "";
echo "Get it";
echo "";
echo "";
}
--
David Robley| WEBMASTE
appropriate places.
>
> Yasuo Ohgaki
It _is_ mentioned on the support page, just below the mailing list
information - at least on the new site and I'm sure it was there before.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES
On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote:
> this is a test for echo.
this is a test for echo. .ohce rof tset a si siht
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
A
the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://w
tra1, string extra2,
Index: php4/ext/midgard/session.c
+++ php4/ext/midgard/session.c
/* $Id: session.c,v 1.1 2001/03/08 10:25:15 davidg Exp $
Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]>
Copyright (C) 2000 The Midgard Project ry
Copyright (C) 2001 David Guerizec, Aurora SA <[EM
davidg Thu Mar 8 02:39:32 2001 EDT
Added files:
/php4/ext/midgard session.modules.c README.session
config.m4.session
Log:
More on session installation.
Index: php4/ext/midgard/session.modules.c
+++ php4/ext/midgard/session.mo
davidg Thu Mar 8 02:42:33 2001 EDT
Modified files:
/php4/ext/midgard README.session
Log:
Corrected the README.session
Index: php4/ext/midgard/README.session
diff -u php4/ext/midgard/README.session:1.1 php4/ext/midgard/README.session:1.2
--- php4/ext/midg
davidg Thu Mar 8 02:44:27 2001 EDT
Modified files:
/php4/ext/midgard README.session
Log:
Forgot to talk about the session table
Index: php4/ext/midgard/README.session
diff -u php4/ext/midgard/README.session:1.2 php4/ext/midgard/README.session:1.3
--- php
davidg Thu Mar 8 02:49:18 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
Midgard experimental functions support was not displayed correctly in ./configure
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.10 php4/ext/midga
shouldn't that be php-windows-subscribe?
On Thu, 8 Mar 2001, Zeev Suraski wrote:
> zeev Thu Mar 8 02:43:52 2001 EDT
>
> Modified files:
> /php4/win32 README.txt
> Log:
> Point people to the Windows mailing list...
>
>
> Index: php4/win32/README.txt
> diff -u php4/win3
$ ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 23 Aug 28 2000 /usr/sbin/sendmail
-> /var/qmail/bin/sendmail*
~$ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 18 Jul 12 2000 /usr/lib/sendmail
-> /usr/sbin/sendmail*
sendmail_path = /usr/sbin/sendmai
davidg Fri Mar 9 04:06:27 2001 EDT
Modified files:
/php4/ext/midgard article.c
Log:
Fixed typo.
Index: php4/ext/midgard/article.c
diff -u php4/ext/midgard/article.c:1.12 php4/ext/midgard/article.c:1.13
--- php4/ext/midgard/article.c:1.12 Thu Mar 8 0
davidg Fri Mar 9 04:16:58 2001 EDT
Modified files:
/php4/ext/midgard article.c
Log:
still a typo
Index: php4/ext/midgard/article.c
diff -u php4/ext/midgard/article.c:1.13 php4/ext/midgard/article.c:1.14
--- php4/ext/midgard/article.c:1.13 Fri Mar 9
davidg Sun Mar 11 06:36:43 2001 EDT
Modified files:
/php4/ext/midgard sitegroup.c
Log:
Added missing parameter.
Index: php4/ext/midgard/sitegroup.c
diff -u php4/ext/midgard/sitegroup.c:1.7 php4/ext/midgard/sitegroup.c:1.8
--- php4/ext/midgard/sitegroup.c:
davidg Sun Mar 11 07:40:03 2001 EDT
Modified files:
/php4/ext/midgard attachment.c
Log:
added missing conversion.
Index: php4/ext/midgard/attachment.c
diff -u php4/ext/midgard/attachment.c:1.8 php4/ext/midgard/attachment.c:1.9
--- php4/ext/midgard/attachm
davidg Sun Mar 11 15:30:36 2001 EDT
Modified files:
/php4/ext/midgard attachment.c config.m4 config.m4.session
Log:
added PHP_SUBST(MIDGARD_SHARED_LIB) to dynamically link against libmidgard in
config.m4
removed debug info in attachments
Index: php4/ex
davidg Sun Mar 11 15:45:58 2001 EDT
Modified files:
/php4/ext/midgard config.m4 config.m4.session
Log:
fixed misplaced PHP_SUBST
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.12 php4/ext/midgard/config.m4:1.13
--- php4/ext/midgard
the list:
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
o:
$month = substr($filename,0,2);
$year = substr($filename,4,2);
Then you have the string values for month and year in the respective
variables.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://w
inks page and scroll down til you
find PHP Scripts and Programs - follow the link for editor information by
the ton.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http:
davidg Mon Mar 12 02:19:37 2001 EDT
Modified files:
/php4/ext/midgard article.c
Log:
added NULL-check
Index: php4/ext/midgard/article.c
diff -u php4/ext/midgard/article.c:1.14 php4/ext/midgard/article.c:1.15
--- php4/ext/midgard/article.c:1.14 Fri Mar
ook at the array functions, it seems like array_splice
might do the trick. It's PHP4 only, though.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://au
che\htdocs\bkhtml\movies.php on line 22
> >
> > This is line 22 of movies.php:
> >
> > print " > action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\">\
> >n";
>
> are you sure your variable is capitalized previously?
Check th
On Mon, 12 Mar 2001 19:41, Peter Sabaini wrote:
> On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote:
> > On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote:
> > > Ok, I've tried time and time again to unsubscribe from php.net's
> > > mailing list uni
d fgets to read from the file.
>
> include() will parse it and execute it.
>
> All I want to do is include it raw... any ideas?
>
> Rick
Readfile() might do what you want.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDI
xtra moment or two and use mysqldump
just in case the data files aren't exactly the same.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.fl
tual content of the file, for whatever
reason. Say one were building a routine to do a showsource, for instance.
That's not what you are doing, is it Rick?
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinde
ur case. Note that you are going to have to strip the
slashes when displaying data from the DB - the command is not
surprisingly called stripslashes.
What has possibly happened is that you have different settings in the ini
file on your current server for one of the magic-quotes settings.
--
ions\;C:\jdk1.3\jre\bin\"
> java.library=C:\jdk1.3\jre\bin\classic\jvm.dll
> extension=php_java.dll
Check your log files, especially the error file as there may be clues
there.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJU
davidg Tue Mar 13 00:03:08 2001 EDT
Modified files:
/php4/ext/midgard preparser-scanner.l
Log:
Fixed a bug that prevented the preparser to expand any Midgard syntax formatter
after a //-style comment anywhere in the page.
Index: php4/ext/midgard/preparse
davidg Tue Mar 13 04:19:41 2001 EDT
Modified files:
/php4/ext/midgard preparser-scanner.l
Log:
fixed bug http://www.midgard-project.org/bugs/?id=135
Index: php4/ext/midgard/preparser-scanner.l
diff -u php4/ext/midgard/preparser-scanner.l:1.6
php4/ext/mi
've tried using 'unset($HTTP_POST_VARS[update]);' at the end of the script
after the var has been used and reprintingg the HTTP_POST_VARS array which
shows that it was unset, but on resubmission of the form, it reappears!
losing hair,
David Minor
on 3/8/01 5:45 PM, [EMAIL PROT
D is 2 and
PriceID is 3 AND (only) where the facilityID is 1 or 5..
But you want everything with CountryID is 2 and PriceID is 3 OR when the
facilityID is 1 or 5
Hope this helps..
Bye Bye
David
> Hya'll,
>
> I've got a lit
ay? Anyhow, see the example for
readdir; you just need to expand the second example with a test (regex,
substr, whatever) that tests for .txt on the end of the filename.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://w
assign values to
the Submit button as required and check the value of the Submit variable
to determine what your next action might be. Couple this with some
includes also based on the Submit value and voila.
--
David Robley| WEBMASTER & Mail List Admin
ndler imap-file map'
which apparently allows you to use server-parsed imagemap files.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu
IL PROTECTED]
Check out this link - may be the answer you are looking for.
http://http://mirror.aarnet.edu.au/pub/mysql/doc/C/a/Cannot_initialize_character_set.html
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES |
t have to play around with assigning all the
elements bar the last of your original array to a new array.
--
Please don't hit Reply to respond - use this address instead:
[EMAIL PROTECTED]
Local SMTP server is creatively munging domains!!!
David Robley| WEBMASTER &am
the webserver user to read and write if
you wish to create files. Also the directory structure must at least
allow access down the tree to the point where you are working.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://
Try using
which formats the same as MySQL...
-Original Message-
From: Dhaval Desai [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 2:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php or Mysql for DATE?
I want to have a posting column wherein people can
post their messages an
hat
as a variable you may get unexpected results? I think that $answerFile
might contain the value '.txt' Try echoing it and see
[I'm off home now.]
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://w
s_result);
>
> ?>
>
>
> $invoices["date"] ?>
> $invoices["amount"] ?>
> SIZE="2">
>
Check out the example in the manual for mysql_fetch_array, using a while
loop. Also see extracrt to save a bit of
es
and how some can be automatically updated.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAI
davidg Thu Mar 15 01:09:58 2001 EDT
Modified files:
/php4/ext/midgard snippet.c
Log:
Snippet author is a string.
Index: php4/ext/midgard/snippet.c
diff -u php4/ext/midgard/snippet.c:1.7 php4/ext/midgard/snippet.c:1.8
--- php4/ext/midgard/snippet.c:1.7
sult for both cases.
I'm using the php4.0.5 release from www.php4win.de along with an Apache
server on Win2K. I was also seeing this bug in a previous php4 stable
release and thought it had been fixed. Perhaps not...
-david
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
d then follow the link
PHP Editors List
A comprehensive list of editors you can use to edit PHP programs
It would probably be nice if this were in the FAQ - if anybody ever read
the FAQ :-)
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES |
list
like that. If the 'newbies' all go to the 'inexperienced' list, from
whence do they gain wisdom? And then the 'newbies' learnn about the
'experienced' list and go there and we're back to square one. :-)
Check the archives for _extended_ discussion
value doesn't seem to be set. And its not in any of the
> HTTP_ENV_VARS or HTTP_SERVER_VARS.
>
> I know the answer will be something simple but I cant seem to find much
> help anywhere. Any help or push in the direction of a useful web page
> would be nice.
>
> Paul
Chec
b site, some URLs have been
changed. Try
using the Quick Search option above or our Search Page
to locate the document you are seeking.
';
}
else {
echo '';
}
?>
Program and proceedings of the 3rd International Conference on Injury
Control and
Prevention (3I
dy
On which machine? Under how much load? Using what operating system?
Write a script that does what you want and put a timer on it.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet
aised.
>
> How can I revert PHP behavior to 'no-error' with undeclared variables?
>
> Many thanks in advance,
>
> Jorge Alvarez
> PHP4 new user
You may need to play around with the value of error_reporting in your
php.ini file.
--
David Robley
ng to
the manual. So you could do something like
$mail = mail(values);
if ($mail){
do this
}
else {
error
}
But as has been pointed out above, a return of TRUE only means that
mail() has handed the data off to something else, which something else
may or may not succeed
This would be because his email shows [EMAIL PROTECTED] Hint
the -nospam at the end. I don't know why people do this and then ask for
help because when someone offers the help the email bounces...
David Smith
-Original Message-
From: Henrik Hansen [mailto:[EMAIL PROT
her an Apache question, but. It will depend on how you
configured Apache as to where or even whether you will find the htdocs
directory. For clues, check your httpd.conf file and look under
ServerRoot and DocumentRoot.
--
David Robley| WEBMASTER & Mail List Admin
RE
eans that newly created DB's should later be added..
This is though very secure, but I am wondering if there is a way to: allow
EVERYTHING but the following in stead of allow NOTHING but the following
Bye Bye
David
> have you tried the GRANT syntax?
> maybe this helps
> take a look a
davidg Mon Mar 19 03:54:31 2001 EDT
Modified files:
/php4/ext/midgard php_midgard.h.in
Log:
fixed bad #endif syntax
Index: php4/ext/midgard/php_midgard.h.in
diff -u php4/ext/midgard/php_midgard.h.in:1.2 php4/ext/midgard/php_midgard.h.in:1.3
--- php4/ext/m
davidg Mon Mar 19 04:38:35 2001 EDT
Modified files:
/php4/ext/midgard config.m4
Log:
fixed a compatibility problem with 4.0.4
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.16 php4/ext/midgard/config.m4:1.17
--- php4/ext/midgard/co
davidg Mon Mar 19 04:41:20 2001 EDT
Modified files:
/php4/ext/midgard config.m4.session
Log:
fixed compilation with php-4.0.4
Index: php4/ext/midgard/config.m4.session
diff -u php4/ext/midgard/config.m4.session:1.6 php4/ext/midgard/config.m4.session:1.7
-
problem here.
-david
""David Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> This would be because his email shows [EMAIL PROTECTED] Hint
> the -nospam at the end. I don't know why people do this and the
recently
posted and answered.
Thanks,
david
--
In a Norwegian cocktail lounge: Ladies are requested not to have
children in the bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
word not found where
> expected -- while processing OCI function OPARSE) in test2.php on line
> 40
>
> line40 is parse line
>
> plaese help is very urgent
> rudi
I'm not an Oracle person, but it sounds like you may have a syntax error
in your SQL. Try echo-ing $query and see
davidg Mon Mar 19 15:37:03 2001 EDT
Modified files:
/php4/ext/midgard config.m4 php_midgard.h
Log:
Fixed the build (hope so).
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.19 php4/ext/midgard/config.m4:1.20
--- php4/ext/midgard/co
davidg Mon Mar 19 15:39:10 2001 EDT
Removed files:
/php4/ext/midgard php_midgard.h.in
Log:
deleted unneeded file
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
$table WHERE id=$id");
Then you can use mysql_fetch_array to get row[s] containing an array of
all the fields (one!) in your query, and then use extract to put the
field values in a variable named as the field. (The example for
mysql_fetch_array shows another way of displayin
value to the other php page through get/post again.
>
> Can I turn off this feature?
Yes, but you risk unexpected results by not escaping. It is controlled by
the value of magic_quotes_gpc in yor php.ini file.
Consider instead using stripslashes to remove the slashes
se title tag is spread over multiple
lines */
$title = eregi_replace(10, "", $title);
$title = eregi_replace(13, "", $title);
if( (empty($title)) || (strtoupper($title) == "")):
$title = 'Research Centre for Injury Studies';
ne) then you can do
/path/to/php.cgi [file]
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University,
file
Then you might copy the temp file over the original, or whatever else you
want to do with the files.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet|
_array[ be $sameIP_array[ ? Consider using extract;
if nothing else it makes code easier to read :-)
> If the database already has entries which have been submitted from the
> same IPAddress, I'd like to have those names and numbers listed.
>
> The previous version of this code
On Wed, 21 Mar 2001 16:15, Mike Gifford wrote:
> Hi David,
>
> I counted the number of rows using mysql_numrows(), but I've been told
> that count() is way faster. Unfortunately, I can't seem to get count
> working.. Any ideas?
>
> echo mysql_numrows(mysql_query
u could use your database to build a 'subscription list'
for something like majordomo.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.
://marc.theaimsgroup.com/?l=php-general&m=97813345106366&w=2
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Can you open a simple text file and store each line of that file in it's own
part of an array?
-David Serrano
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
1201 - 1300 of 4608 matches
Mail list logo