ailinglist anymore??
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nd of package available??
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
system, I am account 'snoopy', and password 'isadog'.
In PHP, I prompt for the account, and if the user enters snoopy:isadog,
can I verify this from the /etc/passwd and /etc/shadow???
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Using phpinfo() I can see that the header "Last-Modified" exists.
How do I go about accessing the header??
Thanks,
Paul
--
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 administr
Hi,
I have a text file, which is acting as a template for apache config.
I open the file, and read it in using this bit of code:
$filename = DIR_TEMPLATES."/apache/subdom.txt";
$fd = fopen ($filename, "r");
$template = fread ($fd, filesize ($filename));
fclose ($fd);
However, the fi
Thanks Andrew... I basically tried that, but without the ampersand symbols.
I'll give that a try
Many thanks,
Paul
"Andrew Kirilenko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello!
>
> Try to declare CheckBannedUser as "function CheckBannedUser ($foo, &$db)"
> and call i
I did have a look in the manual, but I got lost half way through!
I always think it's a good idea to describe the problem well :)
Thanks,
Paul
"Andreas Landmark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sun, Nov 11, 2001 at 06:09:40PM -, PaulC wrote:
> > I'm hopin
y("SELECT user FROM banned_users");
> }
> } // end class
>
> hope it help,
> py
>
>
> - Original Message -
> From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 09, 2001 11:26 AM
> Subje
I'm hoping somebody has the answer to this!
I have 3 pages, one a normal PHP page, and 2 which are classes.
One class, is a MySQL class I have written to connect/update users, etc
And the other is the manage users on the system.
Is there a way I can get the "users" class to talk to the "mysql"
Can you use and directives under directive??
>From the apache manual, and directive can be used under
virtualhost directives
It can control the uid and gid of the running httpd process, with different
uid and gid...
Right, you can try it.
"Adam Plocher" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL
I know that, this is a newsgroup for PHP, but can I ask some SQL question
here?
Or, would you mind point me to a suitable newsgroup for SQL question?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
T
Right, there is a COM module in the PHP. But it must be used with win32
platform.
Is there any alternatives for linux platform?
--
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 ad
s:[EMAIL PROTECTED]...
> Use $fp = fopen($file, "r+");
>
> PHP Manual would have told you this.
>
>
> Niklas
>
> -Original Message-
> From: Zenith [mailto:[EMAIL PROTECTED]]
> Sent: 22. elokuuta 2001 12:39
> To: [EMAIL PROTECTED]
> Subject
I orginal have a function like the following...
$fp = fopen ( $HTTP_SERVER_VARS['DOCUMENT_ROOT']."/log/debug_message.txt",
"a" );
fputs ( $fp, "\nDebug message from : $PHP_SELF\n" );
fputs ( $fp, "\t$message\n\n" );
fclose ( $fp );
But I found that, the result is, all message is append t
How can I use exec() to create user account?
I try to use exec("useradd testusr");
but nothing happens,
I have set the permission of useradd to (chmod useradd) but still
can't do the desired operation!!
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsu
How to create some thumbnail, from orginally a GIF image, to a GIF
thumbnail.
I dun't the libgd 1.6 or before.
Or can we just use libgd1.8 , open a GIF image, and create a thumbnail with
PNG format?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
IF:
$2D[] = array ( 'name'=>"Jacky", 'year'=>"2001", 'tel'=>"982736",
'gender'=>"Male" );
$2D[] = array ( 'name'=>"Jessica", 'year'=>"1999", 'tel'=>"349291",
'gender'=>"Felmale" );
How can I sort the array by 'name' or 'year', or other key efficiently?
--
PHP General Mailing List (http://www.
If one of the script ( abc.php ) will generate a pop up (browser) windows,
asking for user confirmation,
then, if the user click on the form button inside that pop up windows,
the form data will submit to also ( abc.php ), then, does the session data
share among this two windows?
Zenith
other instance process know that the record is using by
some other . So that
the script can warn the user not to edit the record.
Thanks!
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
How can I insert time and date into mysql table,
if the table i have to insert has a field of type time, and a field of type
date.
Then how can I insert it in PHP, if I use time() function??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
, but I have to make sure
this.
And, can I shared the segment ( the data stored inside ) with different
user session.
Would you show me how.
Lastly, is there any further information about using this? the manual
only take a little bit!!
Thanks
Zenith
--
PHP General Mailing List (http://www.php.net
uld 'global'
it, if I use some module functions,
Is there any convient way to do so???
Zenith
--
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]
As I want to make my application more similar to those linux application, I
am going to see that, is it possible for logging information via syslog or
similar stuff??
I will happy, if you can also give me advice or comment on the efficiency
aspect!!
Thnks
--
PHP General Mailing List (http://
Hello everbody, if a have HTML document lik this:
How can know whether the user is pressed on the "action1" or "action2" image
button??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
In a self defined function, a one dimension or two dimension array may be
passed,
How can I check that, the passed in array is a one dimension array or a two
dimension array?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Consider the following code:
$ary1 = array ("one","two");
$ary2 = array ("three","four");
$2d_Dimension[] = $ary1;
$2d_Dimension[] = $ary2;
// is $2d_Dimension a 2 dimensional array?
// and the next question, how to get out content of the $2d_Dimension[]
array
while ( list ( $rec_no, $ary ) =
In main.php,
then I use include("xxx.php"), in which, there is a function called temp();
If I use session_start() at the beginging of main.php, after include
statment,
and I cal the temp(), will the temp() function can get the session variable
I have?
Or I need to import it by using "global" in th
Though I have read the manual about these two things, include() and
require(), but I still not very clear about the difference between these??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
Thanks you very much!!
--
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]
I have readying "web application develoment with PHP4.0" by Tabias
Ratschiller and Till Gerken at these days!
In chapter 3, I have talk about creating a IRC client with phpIRC and HTML
streaming,
but it hasn't talk too much about the implementation, also, it haven't talk
much about HTML streaming.
I installed my php + apache in my linux box, with compiled the php as an
apache module. any my web server is run as nobody ( by default ).
I try to write some php script in my home directory, in which, I use the
fopen call.
However, I was warned with "fopen("tester.db","w") - Permission denied"
When I first meet PHP, it still in 3.0 version. just after I bought a book
abuot PHP3, for a few weeks, PHP4 is released.
for now, I have fimilar with some basic of PHP, and I try to find some
useful tutorial about the PHP4, I fail.
I have look about the PHP manual (pdf version), I find that, th
I have a question about session_register(), and the following is the
background
When I read a tutorial about session. I know that, once the
"session_start()" is called, it will check the session id. If it's not
valid, create a new one, and it will responible to retrieve the variable.
I also l
Thanks very much.^^
""Zenith"" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
942grb$ted$[EMAIL PROTECTED]">news:942grb$ted$[EMAIL PROTECTED]...
> ... may be I have use a wrong subject, but I can't think a more suitable
one
> sorry first!
>
> say, I have a
... may be I have use a wrong subject, but I can't think a more suitable one
sorry first!
say, I have a function like this
function foo()
{
babababa...
/*at this point, I want to output a lot of html, can I use a ':' to escape
from there?*/
/*I know I can do this is a if construct or for... const
35 matches
Mail list logo