On Mon, Aug 13, 2001 at 03:38:50PM -0700, John Telesh wrote:
I have created a form which I cannot duplicate the error which is coming up
only sometimes. An affiliate to my client had received emails regarding the
following error:
The requested method POST is not allowed for the
Piotr Dubla wrote:
Fatal error: Unsupported operand types in
/usr/local/apache/htdocs/debit.php on line 51
Now at line 51 there is a statement which says $day1 = $day1 - 1;
Hi,
look at line 50, maybe you forgot a ;.
bert
cenes data gmbh
berlin
germany
www.cenes.de
--
PHP Database
I'm not sure what the hell a Pearson Corilation is but it sounds
statistical, so using Excel/Access should do the trick.
Use MyODBC from mysql.com to connect your local copy of access to your
remote MySQL database. You can then export fron Access to Excel and do
all sorts of analyses on your
Hi,
what about other possibilities to do this ?
Tom
Other possibilities? Why not just utilize the second argument of the LIMIT function
with a fairly simple SQL query?
Here's a portion of a script I wrote, modified to be an example on this matter:
?php
$articles_display_limit = 5; //
G'Day,
My environment is as follows:
- MS-SQL 2k on Win32 box
- PHP 4.xx, TDS x.xx on Linux box
If I have the following stored procedure:
CREATE PROCEDURE MyProc AS
BEGIN
PRINT 'Hello World'
SELECT * FROM tblMyTable
END
GO
And I am using the mssq_* functions. How do I get to see any
check that you have either specified
[mail function]
; For Win32 only.
SMTP = mail.myserver.com
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
or the sendmail path here;
; For Unix only. You may supply arguments as well (default:
'sendmail -t -i').
;sendmail_path = /usr/bin/sendmail
Hi crew:
I want to delete material from a database if it is older than say one
month since its insertion. However I don't want to have to run a
cron-job or something, as there must exist a way for a script to
execute itself periodically or to have the MySQL database tell *itself*
to execute
On Mon, 13 Aug 2001, Phillip Bow wrote:
I can't think of a simple way to do it off of an include, but off the top of
my head:
?php
$file = file(data.txt);
for($x=0; $xcount($file); $x++){
$temp = str_replace(%, , $file[$x]);
print $temp\n;
}
unset($file, $temp);
?
--
Few
Schleipp [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi everybody,
I have created a webpage with two frames. One of this frames is a form
in which the user can change some data, which you can see in the other
frame. I want the latter frame being updated as
I just needed a similar thing to occur in my app!
Just reload the page using the header function:
Once submit has been hit in one frame, pass a hidden value from Frame1
to frame2:
input type=\hidden\ name=\refresh\
Then detect for it in the 2nd frame and refresh the page using the
header()
Russ Michell [EMAIL PROTECTED] wrote in message
news:SIMEON.10108141609.F@k1c. anglia.ac.uk...
I just needed a similar thing to occur in my app!
Just reload the page using the header function:
Once submit has been hit in one frame, pass a hidden value from Frame1
to frame2:
input
I don't see what this gains you.
Well you asked if there was a way to refresh your target frame once a
submission was made from an origin frame. This method would do that.
Then again, why does the second frame not already display the results
of the submission?? As it get's called from the
Russ Michell [EMAIL PROTECTED] wrote in message
news:SIMEON.10108141754.G@k1c. anglia.ac.uk...
I don't see what this gains you.
Well you asked if there was a way to refresh your target frame once a
submission was made from an origin frame. This method would do that.
The question was
Actually... it's not a bad idea to refresh a page once it's been
submitted, even if that frame could be displaying the results with only
one hit. We do it around here on quite a few things simply because it
prevents accidents from happening on the user's end.
If you redirect back to $PHP_SELF
Hi! I got a configure error when trying to install PHP 4 on the AIX
machine. As I looked around on the website and foudn that I would need to
have flex and bison installed. So, I am looking for them and will download
them. I have a question.
Is flex built into the bison? Or is it a
Have a working Oracle installation (8.0.5)
Have all my ORACLE_HOME/SID/BASE and so on corectly set up.
Configures apache
Configures php with --with-apache --with oracle . .. . . ..
Works just good. Oracle are found and right version are found in the
Configure output.
make and make install
Sounds like you might be working with 2 different versions of php:
Mod-php for Apache in the web environment, stand-alone php operating in
the shell. You might want to start by ensuring that the stand alone
version is compiled -with mssql. Try running phpinfo() in the shell?
Richard
Erik
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Scott Fletcher) wrote:
P.S. the php.general php.version4 newsgroup is now closed!
No they're not. I just accessed both lists (via news server) without
difficulty. Maybe something's funky with your newsreader config?
--
CC
--
PHP
I wrote a script (? phpinfo(); ?) and executed it from the commandline
(php script.php test.txt)
turns out text.txt doesnt have sybase support listed at all - which the
apache version of phpinfo has.
could this be the problem? and if so, how do i enable sybase support for the
commandline php?
or
You are using phoneinfo both as a table name and a datasource name.
You *could* do that, but I don't think it's what you're trying for :)
Go back to your control panel and see what you named the ODBC you
created (datasource name, or DSN). You use that name for the first
parameter for your ODBC
hi,
has anyone ever sent SMIME Encrypted mail from a PHP4 script using the
Mail() function to an MS OUTLOOK EXPRESS user?
from a linux/apache/mysql/PHP4 Server?
I would like to be able to send Secure emails (from within my PHP scripts)
to the members of my site. After these members have gotten
I'm relatively new to MySQL and am drawing up some ideas for writing a
support/trouble tracking database for my company. I envisioned a single
database with seperate tables for various data I would be storing
(IP/Connection info table, Machine Inventory Table, etc). Each table would
have data for
First of all, search the web for a tutorial on basic SQL and database
design. There are lots out there, and most are good. It's important to work
through this stuff and get a handle on it. I believe there are good ones at
DevShed and WebMonkey.
Secondly, this is really a MySQL question and
Erik,
Having only set up PHP once on Windoze and once with Apache on Linux, I
would have to reference the installation docs on php.net. On Windoze,
you edit the php.ini file-- maybe that's also true for the stand-alone
on Linux? You need the stand-alone version if you want to bypass the
Has anyone done anything with Windows 2000 Active Directory from PHP? I'd
quite like to try this out but I haven't been able to get anything to work!
To begin with I'd like to query basic attributes like user name, phone
number, email address
Any info/pointers whatsoever would be
Hi.
This is my setup. I have a PHP file that pulls in two includes - content and footer.
content is done with readfile() since no processing done (in most cases). footer in
done with include() - or will be once i find an answer to my question.
currently the footer is exactly the same for
[EMAIL PROTECTED] wrote:
Has anyone done anything with Windows 2000 Active Directory from PHP? I'd
quite like to try this out but I haven't been able to get anything to work!
To begin with I'd like to query basic attributes like user name, phone
number, email address
Well, having
I have compiled php-4.0.6 from source with --enable-track-vars and
--enable-trans-sid options (--with-mysql and --with-apxs).
I use RH7.1 and mysql-3.23.41.
In my /usr/local/test/connect.inc I use the following code
?php
$login = $HTTP_SESSION_VARS[login];
$passwd =
When I run main.html, I get the following error message :
Warning : Cannot send session cookie - headers already sent by (output
started at /var/www/html/main.html: 10) in /var/www/html/main.html on
line 11
Where could I be wrong ?
Raju
You must make sure that in pages where you use
29 matches
Mail list logo