Hi,
can you tell me how is it possible to connect to a linux shell via PHP?
Greetz
Dennis
Hi php-general,
I have followig error reported:
Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line 235
What is the trouble here? If I would have trouble because of
delivery, normally mail would return false. But here...
I have php4.3.1 running on linux. I
* Thus wrote Dennis Jacobfeuerborn ([EMAIL PROTECTED]):
Hi!
The connection_* function don't seem to work for me and I can no longer
determine when the user has aborted the script. When I close the browser
window the script just keeps running. (see bug #23163)
The body of the script
* Thus wrote Dennis Dujan - Partycult.de ([EMAIL PROTECTED]):
Hi,
can you tell me how is it possible to connect to a linux shell via PHP?
Ok, i suppose I should reply to this before you ask the same
question with less details, again.
Please be a little more specific in your question, like what
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]):
Hi php-general,
I have followig error reported:
Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line
235
What is the trouble here? If I would have trouble because of
delivery, normally mail would
Access is a pc database. It doesn't run on unix. Why people insist on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few simple forms that will allow him to
Iam currently writing some Scripts in PHP for a Webappliance.
And now I have the problem that I have to connect with
a PHP Script to a Shell that is located on another Server.
But I don't know how to do this... :-/
Perhaps you can help me with an example or a Page with a Tutorial.
Greetz
Dennis
Ok thank you very much
-Ursprungliche Nachricht-
Von: Chris Kay [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 25. August 2003 01:37
An: 'Dennis Dujan - Partycult.de'
Betreff: RE: [PHP] php NEWBIE Question
Try http://au.php.net/manual/en/function.fsockopen.php
If your looking for a
Better to do this in an .htaccess file, so you don't incur PHP
processing overhead on the entire server (if there are others using
it).
Apache suggests not using .htaccess files at all because they require a
recursive traversing of directories looking for .htaccess files, because
some
Hallo Curt,
am Montag, 25. August 2003 um 01:35 hast Du Folgendes gekritzelt:
I have followig error reported:
Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line
235
What is the trouble here? If I would have trouble because of
delivery, normally mail
* Thus wrote Giz ([EMAIL PROTECTED]):
Access is a pc database. It doesn't run on unix. Why people insist on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few simple
* Thus wrote Giz ([EMAIL PROTECTED]):
Access is a pc database. It doesn't run on unix. Why people insist
on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few simple
What is on line 235?? That would help us -
SDP
On Mon, 25 Aug 2003 01:09:29 +0200 Matthias Wulkow [EMAIL PROTECTED]
writes:
Hi php-general,
I have followig error reported:
Fatal error: Call to undefined function: mail() in
/usr/local/www/login.php on line 235
What is the trouble
Hi,
The simplest way i know of to use access from linux is to use mdbtools
(a free download at sourceforge). Haven't tried to invoke this from PHP
but it would not be all that difficult to create a MDB module.
Curt Zirzow wrote:
* Thus wrote Giz ([EMAIL PROTECTED]):
Access is a pc
Hi,
One of these ' tricky' windows linux bridging techniques is with JDBC.
But that only works for sql server and not for access. This works like a
dream if you are on J2EE. can be used with php as well if you don't mind
mixing java and php classed. I have also had success with 'ODBC socket
* Thus wrote David Otton ([EMAIL PROTECTED]):
On Sun, 24 Aug 2003 14:54:41 -0400 (EDT), you wrote:
I'm building a small web application for a friend using PHP. He'd like to
use MS Access to keep the data in, and update the data on the site by FTP'ing
Suggestion: go backwards. Set up the
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
Hi,
The simplest way i know of to use access from linux is to use mdbtools
(a free download at sourceforge). Haven't tried to invoke this from PHP
but it would not be all that difficult to create a MDB module.
yeah, I saw a reference to
On Mon, 25 Aug 2003 01:09:29 +0200 Matthias Wulkow [EMAIL PROTECTED]
writes:
Hi php-general,
I have followig error reported:
Fatal error: Call to undefined function: mail() in
/usr/local/www/login.php on line 235
What is the trouble here? If I would have trouble because of
On Sunday, August 24, 2003, at 05:31 PM, Giz wrote:
Access is a pc database. It doesn't run on unix. Why people insist on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few
* Thus wrote Mike Migurski ([EMAIL PROTECTED]):
Better to do this in an .htaccess file, so you don't incur PHP
processing overhead on the entire server (if there are others using
it).
Apache suggests not using .htaccess files at all because they require a
recursive traversing of
Murugesan,
Ok lets say you want every user to login before they can access other parts of your
site.
index.php:
?
session_name(mysessionname);
session_start();
session_register(s_authed);
$s_authed = 0; // initialize session flag
if ((!$passwd) || (!$username)) // user hasnt logged in
{
//
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]):
Hallo Curt,
am Montag, 25. August 2003 um 01:35 hast Du Folgendes gekritzelt:
I have followig error reported:
Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on
line 235
What is the trouble here? If
Hi,
again this line is causing problems:
$h =
mysql_connect('localhost',constant(mysql_user),constant(mysql_password))
;
Aparantly a parse error. Idaes?
Thanks,
Mjec
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mjec wrote:
Hi,
again this line is causing problems:
$h =
mysql_connect('localhost',constant(mysql_user),constant(mysql_password))
;
Aparantly a parse error. Idaes?
Is there a reason you're using constant()??
Try: $h = mysql_connect('localhost', mysql_user, mysql_password);
One thing to
on 25/08/2003 12:11 PM, John W. Holmes at [EMAIL PROTECTED] wrote:
Mjec wrote:
Hi,
again this line is causing problems:
$h =
mysql_connect('localhost',constant(mysql_user),constant(mysql_password))
;
Aparantly a parse error. Idaes?
Is there a reason you're using constant()??
Hi
I'm trying to build a program using PHP to increase the performance of Qmail.
I'm trying to use PHP to send an email qmail-remote which connects directly to the
recipients mail server.
If this fails it will then add it to the queue normally so it can retry later.
Here is what I have so far
Hello,
On 08/25/2003 12:43 AM, Kris Reid wrote:
I'm trying to build a program using PHP to increase the performance of Qmail.
I'm trying to use PHP to send an email qmail-remote which connects directly to the
recipients mail server.
If this fails it will then add it to the queue normally so it
Hello all,
[snip]
//Page0.php
a href=page1.php?empid=1Enter/a
//page1.php
script language=javascript
function submitform()
{
//Check for empty values in text
This is working for me.
---
define('db_host','localhost');
define('db_name','mydb') ;
define('db_user','use1') ;
define('db_pass','pwd1') ;
$h = @mysql_pconnect(db_host,db_user,db_pass);
if($h)
mysql_select_db (db_name) or die (could not select db);;
Manuel
Thanks for the advice however I want to use qmail-remote as I believe it
will suit my needs better.
I have been reading a great deal about tweaking qmail. I run a newsletter
and the fastest way is to try remote deliveries and only add them to the
queue if this fails.
The function that I
--- murugesan [EMAIL PROTECTED] wrote:
a href=page1.php?empid=1Enter/a
...
input type=hidden name=empid value=?php echo $empid;?
http://www.php.net/register_globals
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing
Hello,
On 08/25/2003 01:34 AM, Kris Reid wrote:
Thanks for the advice however I want to use qmail-remote as I believe it
will suit my needs better.
I have been reading a great deal about tweaking qmail. I run a newsletter
and the fastest way is to try remote deliveries and only add them to the
Thanks for the information.
In the code you provided
if ((!$passwd) || (!$username)) // user hasnt logged in
{
.
Actually I have implemented this in a separate page.
That is upon sign up of the form in the index page
I call a new page auth.php
In that file
I have done this
- Original Message -
From: Thomas Hochstetter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 24, 2003 12:54 AM
Subject: RE: [PHP] 2 questions
The register globals is on with the live server, and off at home (my
version
is 4.3.2, the other is 4.1.2). does that matter?
Murugesan,
I'll assume your redirecting the user to main.php because (s)he has passed the
authentication routine... in that case just store the username and password as a
session variable that way you wont need to pass the username and password via the url.
auth.php, [just before the call to
hi,
i have installed drupal 4.2.0 without any problems. but when i try to
connect to
my local webserver i get errors: notice : Undefined index
i couldnt get any reply to my messages from drupal.com.
i think i have a configuration problem. but i couldn't find any
solution. i can run the same
* Thus wrote Kris Reid ([EMAIL PROTECTED]):
Hi
I'm trying to build a program using PHP to increase the performance of Qmail.
I'm trying to use PHP to send an email qmail-remote which connects directly to the
recipients mail server.
If this fails it will then add it to the queue normally
* Thus wrote fatih olcer ([EMAIL PROTECTED]):
hi,
i think i have a configuration problem. but i couldn't find any
solution. i can run the same code without any problems on win98 (phpdev5
installed)
i have changed some php.ini settings like display_errors = off
but still getting
Really thanks for the support. It worked well.
-regards,
Murugesan
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 11:06 AM
Subject: RE: [PHP] How to open random Flash page with hyperlink?
Murugesan,
I'll assume your
I did as what you said. But the problem now is that I am not able to get the
values in the next page.
index.php
--
session_name(mysessionname);
session_start();
---
auth.php
-
$failed=yes;
session_register('failed');
header (Location: /main.php);
main.php
-
echo $failed;// this is null here
-
did you start the session in main.php before echo $failed;? eg
?
session_name(mysessionname);
session_start();
?
-Original Message-
From: murugesan [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 August
php-general Digest 25 Aug 2003 06:56:24 - Issue 2257
Topics (messages 160599 through 160644):
Probably has already been asked... Remote commands
160599 by: Richard D. Marriner II
Re: Reading an MS Access Database file on *NIX platform using PHP
160600 by: Travis Kroh
Thanks for the reply.Actually I don't know that I have to include the
start_session in every page.
I GOT it ATLAST.
Regards
-murugesan.
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 12:26 PM
Subject: [PHP] RE: Unable to
NP.
You only have to start a session if you want to access any session variable. You could
always including the code in a header.inc file that gets included in every php script,
that way you wont forget to start the session.
-Original Message-
From: murugesan [mailto:[EMAIL
Hello,
This question has been lingering in my mind for some time -
Say we have a function such as MD5, which is available on both PHP and MySQL? Which is
faster - the PHP version or the MySQL one. Have any benchmarks been made on this? We
can use the same question for say... arithmetic
Hi,
When I run the line:
include (fnord.php);
with the file looking like:
?php
define (fnord_included, true);
function fnord ($arg = true) {
// 450 lines
return $msg;
}
?
it prints out the return of fnord() (i.e. $msg). I've checked, and there's
no echo or print
At 03:18 25.08.2003, Weston Cann said:
[snip]
I share a low regard for Access, and I've got a set of standard
forms/code I use to set up a nice interface to MySQL, and I showed it to
my friend. He likes that, but there's a problem:
He wants to be able to
i've got a wamp with php5. is there any possibility to activate or
reinstall, etc. the mysql extension?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I have a proble in showing the window message
[snip]
echo a class=MEDIUMFONTB href='/list.php
onmouseover=\javascript:window.status='hai'\ Click here /a;
Here on mouse over it is not displaying hai message in the status bar.
Instead when I move the mouse on the link and then
Hello all,
I have cleared the stage of changing the window status on mouse over
and on mouse out.
echo a href='/list.php' onmouseover=\window.status=' '; return true;\
onmouseout=\window.status=' '; return true;\Click here/a;
When I keep on pressing my left mouse button it is displaying
I thought of including the script in all the files.Thanks for the message.
Regards,
Murugesan
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 12:50 PM
Subject: RE: [PHP] RE: Unable to get the values in next page
NP.
You
Hi
I have a problem with the date function
?
$theday = date(Y-m-d, time());
echo date((w), $theday);
?
should print 1 if today is monday, 2 if today is tuesday ...
though it's printing 4 and today is monday !
any idea ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
I use PHP with apache on two systems..
(linux and windows)
when I use PHP on linux, it is ok.. I get Unix end of line, when I write to the file
with fwrite function...
when I run the same script on windows machine, I get Unix end of line too, but I need
there windows end of line,...
is it
Thanks for the help.
I got it worked. The mistake I did was that I failed to call session_start()
in the next page.
-Murugesan
- Original Message -
From: Burhan [EMAIL PROTECTED]
To: murugesan [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 3:29 PM
Subject: Re: [PHP] Unable to get the
=
This message is for the benefit of new subscribers and those new to PHP.
Those who do not want to be bothered just filter out the [Newbie Guide]
mails. Please feel free to add more points and send to the list.
[snip]
I have a friend who have paid a developper to build him a CMS. This
honest
programmer did that (supposedly developped it on his own), encoded the
CMS
with Ioncube and did some other unethical activities as well. To make a
long
story short, I have read some articles about decoding and
56 matches
Mail list logo