... 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...
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 function like this
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
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,
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"
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
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]
, in the 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
of package available??
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anymore??
Zenith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can you use group and user directives under virtualhost directive??
From the apache manual, group and user 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
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 to the
Niklas
-Original Message-
From: Zenith [mailto:[EMAIL PROTECTED]]
Sent: 22. elokuuta 2001 12:39
To: [EMAIL PROTECTED]
Subject: [PHP] How can I insert the data into the begining of a text
file
I orginal have a function like the following...
$fp = fopen
$HTTP_SERVER_VARS['DOCUMENT_ROO
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
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]
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
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
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
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 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,
Hello everbody, if a have HTML document lik this:
form action = "submit_to.php"
input type="image" src="xxx" name="action1"
input type="image" src="xxx" name="action2"
/form
How can know whether the user is pressed on the "action1" or "action2" image
button??
--
PHP General Mailing
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
o use some
variables, whose scope is originally on only the upper most level.
If using these way (global all var in each function, even not the
modules functions),
it is very inconivent, as I need to know which variable, should 'global'
it, if I use some module functions,
Is there any convient way to do so?
, 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
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
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
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
om: Paul - Zenith Tech Inc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 09, 2001 11:26 AM
Subject: [PHP] Classes Question
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
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 hoping
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 first
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
31 matches
Mail list logo