At 23:37 20.11.2002, Dennis Gearon said:
[snip]
Would this prevent other PHP users from including files in my include
directory?
[snip]
No - even if _they_ cannot read your include files, they add the include()
-- Virus Warning Message (on lakdiva)
Policy.scr is removed from here because it contains a virus.
-
In CLI you can use readline
See the readline section in the PHP manual at
http://www.php.net/manual/en
Jason
On Wed, 2002-11-20 at 06:42, Larry Brown wrote:
Does anyone know of a method to pause during the processing of a script to
prompt a user for information and then incorporate the user's
I'm making a module system. I need to make the actual module then a form to go along
with it. The only way I can think of doing this is makign a file and then sectioning
the file so that the first part is read and put somewhere on a page them the other
part is put on the same page later on or
Try:
$meat = testfunction ($var1, $var2, $var3, $var4);
echo $meat;
Or, alternatively,
print (testfunction ($var1, $var2, $var3, $var4));
hope this helps.
--t
On 11/20/02 8:40 PM, Beauford 2002 [EMAIL PROTECTED] wrote:
Hi,
I have form that a user would input information and that info
Hello,
working by an ISP, I'd like to force my users to use given databases -
force the hostname, user, password and database too.
I thought I can do that with defining sql.safe_mode On but as it seems
now, it is not possible to do this.
Any idea about how to do it?
--
Matus fantomas Uhlar,
You don't need the () around print.
print testfunction($var1, $var2, $var3, $var4);
Jason
On Wed, 2002-11-20 at 17:48, Tracy Finifter Rotton wrote:
Try:
$meat = testfunction ($var1, $var2, $var3, $var4);
echo $meat;
Or, alternatively,
print (testfunction ($var1, $var2, $var3,
Hello,
reading manual did not help me answering this question.
Where does PHP get the correst host/user/password when sql.safe_mode is on?
--
Matus fantomas Uhlar, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I don't wish to receive spam to this address.
Varovanie: Nezelam si na
Justin,
Creative thinking to a smart solution. I will keep that in mind for future
sites.
Peter
At 10:35 AM 11/21/2002 +1100, Justin French wrote:
If you know that your client base will ever only use IE, then go for
it. Otherwise, you'll have to avoid the iframe.
That sounds a little
What I'm doing is having a PHP part, let's say that it's a calculator that
adds module, that does the adding. The second part of the file is the form
that the user uses to put in the numbers. That's what I want to do...
- Original Message -
From: Matt [EMAIL PROTECTED]
To: Stephen [EMAIL
From: Stephen [EMAIL PROTECTED]
Cc: PHP List [EMAIL PROTECTED]
Sent: Wednesday, November 20, 2002 8:52 PM
Subject: Re: [PHP] Reading part of a file
What I'm doing is having a PHP part, let's say that it's a calculator that
adds module, that does the adding. The second part of the file is
Hello~.
I made a PHP script which resize GIF Image.
But, Animated GIF don't Animate ;-(
Manual says 'use imagecolortransparent() to format GIF89'.
But, I don't know how to use imagecolortransparent() ...
Somebody Help me~
My code likes follows
# cut here
That's what my alternative was if there wasn't a way to do it in PHP with
some special leet attack. :-)
Thanks!
- Original Message -
From: Matt [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]
Cc: PHP List [EMAIL PROTECTED]
Sent: Wednesday, November 20, 2002 9:27 PM
Subject: Re: [PHP]
I have a PHP script that logs someone in then takes them to
another page indicating their online status. However, when I try echoing out the
contents of the session variable, it says this:
Notice: Undefined
variable: _SESSION in c:\program files\apache
Hi,
I currently have a page divided into three areas, two of which are iframes.
The user selects a component out of part 1, which decides what is shown
in part 2. When something is clicked in part 2 the information updates
in the second iframe, or part 3. This is all working fine through
Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to
get some help.
1. How to solve the problem of nested include? That's mean A include B and B
include C.
2. Can I save the object in session?
Thanks for your great help!!
Regards,
Michael
--
PHP General Mailing List
1. see php.net/include_once
2. Yes
$_SESSION['foo'] = new foo();
$myFoo = $_SESSION['foo'];
$myFoo-var = 123;
/* page2.php */
$myFoo = $_SESSION['foo'];
echo $myFoo-var;
-js
Michael Wai wrote:
Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to
get some help.
Sorry, but I forgot to say the variables froming from part 2 to part 3 can be anything between 1 and 30 or any combination thereof. input type=hidden
will be no good here as it is too hard to pre-distringuish which variable names will be transferred
Thanks
Michael Benbow wrote:
Hi,
I
Using PHP and MySQL.
I have looked and can't find the answer to this problem. What I am trying
to do is to copy a mysql table to a new table name in a PHP script. The
reason for this is to keep the original table the way it is and editing the
copy. Now, I know that I can go through a loop
Hi,
I don't have the answer, but when that happens, the first thing I do is dig
around in phpMyAdmin(.org)... it's a web based GUI for MySQL, and most of
the time, when you do something (like copy a table), it shows you the query
used to do it... then you just need to copy it, and integrate it
GOLDEN BUSINESS OPPORTUNITY
I am an Attorney and close confidant of MRS. MARYAM
ABACHA, the former first lady and wife of the late
GEN. SANI ABACHA, the former head of state and
commander in chief of the armed forces of the Federal
Republic of Nigeria.
She (MRS. M. ABACHA), has
Sorry, I'm holding out for the 126 million. :)
-Original Message-
From: GEORGE EMEKA [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 10:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MY CLIENT
Importance: High
GOLDEN BUSINESS OPPORTUNITY
I am an Attorney
Thanks Ed! Yes, another member here told me to use fread(), which is what
your link led to if you're not using the CVS version of PHP. (whatever that
is)
I got it working with this:
?
$file = ../header.html;
$fp = fopen($file, r);
$header = fread($fp, filesize($file));
fclose ($fp);
echo
Try this:
$content = implode('', file('../header.html'));
Or if you're running php 4.3.0 or greater:
$content = file_get_contents('../header.html');
Can't get much easier than that :)
-Mark
PS: That was in the user contributed notes Ed mentioned :)
- Original message -
From: Troy May
Geez, how old is that one. Been receiving it for at least a year. And here is is, all
spammed up and everything! How did that creep in?
Troy May wrote:
Sorry, I'm holding out for the 126 million. :)
-Original Message-
From: GEORGE EMEKA [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
101 - 125 of 125 matches
Mail list logo