On Thu, 2003-10-02 at 01:57, Manuel Lemos wrote:
I suppose that you missed the point that the class provides you to do
both client side and server side validation in cases that it is possible.
[--CROPPED--]
I don't think that hardware speed will make the Internet connections any
--- Robert Cummings [EMAIL PROTECTED] wrote:
Personally I find Javascript validation intrusive and ugly. It
decreases my experience and IMHO makes the site less usable *grin*.
I was going to say the same thing. :-)
There are definitely benefits to saving the extra request and response
On Wed, 1 Oct 2003 09:10:05 -0700
Chris W. Parker [EMAIL PROTECTED] wrote:
- Edwin - mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 7:00 PM said:
What exactly do you mean by extended characters? And, do you
mean all *other* characters are inserted properly? Anyway,...
I
On Wed, Oct 01, 2003 at 02:46:14PM -0400, Gerard Samuel wrote:
:
: When I say that I don't know what characters Im expecting.
: Im not talking about normal html entities, like amp; nbsp lt;
: Im talking about chinese/japanese/korean/taiwanese alphabet, numbers
: (even punctuation if applicable).
Hi,
does anyone know how to handle file and directory paths on a IIS 5.0
server? Problem is that the server has multi-domain and each domain has an
associated 'root' dir below e:\webspaces.
So if one uses relative path strings, an opendir() for example will fail.
One has to use
with regard to register_globals being off, what kind of security
implications are there? And what would you define as badly/poorly written
php code?
brush your teeth?? =)
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 7:06 PM
To:
Hi,
On Thu, 2 Oct 2003 09:26:37 +0200
Angelo Zanetti [EMAIL PROTECTED] wrote:
with regard to register_globals being off, what kind of security
implications are there? And what would you define as badly/poorly
written php code?
Here's a (simple) example:
Hi,
On Thu, 2 Oct 2003 15:18:48 +1000
Stephen [EMAIL PROTECTED] wrote:
Does anyone know how to implement a treeview style display in PHP?
Hmm... what exactly do you mean by treeview? Anyway, *I think* this
is more of a Javascript/HTML question... So, find a site that uses
treeview then study
Hi,
On Wed, 1 Oct 2003 14:14:11 +0200
Yonatan Ben-Nes [EMAIL PROTECTED] wrote:
well when i try to work with curl through the shell it work fine
without any problems more then that when i use the curl with php
at my server to another page at my server its working fine also,
just when i
On Thu, 2 Oct 2003 01:54:43 -0500
Eugene Lee [EMAIL PROTECTED] wrote:
On Wed, Oct 01, 2003 at 02:46:14PM -0400, Gerard Samuel wrote:
:
: When I say that I don't know what characters Im expecting.
: Im not talking about normal html entities, like amp; nbsp lt;
: Im talking about
But,
On Wed, 01 Oct 2003 14:46:14 -0400
Gerard Samuel [EMAIL PROTECTED] wrote:
...[snip]...
When I say that I don't know what characters Im expecting.
Im not talking about normal html entities, like amp; nbsp lt;
Im talking about chinese/japanese/korean/taiwanese alphabet, numbers
(even
Am Donnerstag, 02.10.03 um 01:37 Uhr schrieb Cristian Lavaque:
doh, I now understand your question, you don't mean the asterisk
literally,
but as any character that follows a backslash... sorry -_-
that's right ;) -- anyway, thanks for your effort!
my problem was that i misunderstood the
Hi all,
I am getting some weird results when using the array_diff() function.
eg: $arrayResult = array_diff($array1, $array2);
When i use it the resulting array ($arrayResult) gets the correct number of
elements, however when I echo the elements in $arrayResult it contains some
blank values.
On Thursday 02 October 2003 12:52, So-Net wrote:
I'm using windows XP professional sp1 with IIS5.0
I installed PHP 4.3.3 with GD 2.0 already.
It is because I'm a Hong Kong people, so we required to draw some strings
that is chinese in language. However, imagestring() cannot show it
On Thu, Oct 02, 2003 at 05:15:32PM +0900, - Edwin - wrote:
:
: On Thu, 2 Oct 2003 01:54:43 -0500 Eugene Lee [EMAIL PROTECTED] wrote:
:
: There's two issues: input and output.
:
: HTML character references address the problem of displaying certain
: characters on a web browser. This is an
On Wed, Oct 01, 2003 at 07:50:10PM -0700, Richard Baskett wrote:
:
: Well I saw a post on a forum talking about a certain bug that PHP has for
: Mac OS X.. so I thought.. Im on OS X, I should see if that bug is real since
: on bugs.php.net they say it's bogus which you can view here:
:
:
On Thu, Oct 02, 2003 at 10:44:15AM +0200, Angelo Zanetti wrote:
:
: I am getting some weird results when using the array_diff() function.
:
: eg: $arrayResult = array_diff($array1, $array2);
:
: When i use it the resulting array ($arrayResult) gets the correct number of
: elements, however when
On Thu, 2 Oct 2003 03:58:48 -0500
Eugene Lee [EMAIL PROTECTED] wrote:
On Thu, Oct 02, 2003 at 05:15:32PM +0900, - Edwin - wrote:
:
: On Thu, 2 Oct 2003 01:54:43 -0500 Eugene Lee [EMAIL PROTECTED]
wrote::
: There's two issues: input and output.
:
: HTML character references address
thanx Eugene,
I know what the problem was, firstly that when doing an array_diff the keys
are preserved. Therefore If I was looping through $arrayResult for the count
of elements (in this case 2) then thats where the blank value comes in. SO
therefore if I wanted to get all the values out of the
Hello,
I have some files on a website which the user can download (e.g. pdf,
zip...). The files sould not bw displayes but the browser should aks the
user what to do (e.g. save it to disk, open it). My code look like this:
header(Content-type: application/octet-stream);
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:28 AM
To: Eugene Lee; [EMAIL PROTECTED]
Subject: RE: [PHP] array_diff
thanx Eugene,
I know what the problem was, firstly that when doing an array_diff the keys
are preserved.
On Thu, Oct 02, 2003 at 11:28:23AM +0200, Angelo Zanetti wrote:
:
: I know what the problem was, firstly that when doing an array_diff the keys
: are preserved. Therefore If I was looping through $arrayResult for the count
: of elements (in this case 2) then thats where the blank value comes in.
Hello... I am having just alittle trouble with this... I know it's
simple... Look at my comment for the problem I am having
?php
mysql_select_db($database_ideation, $ideation);
$query_rsLastL = SELECT * FROM logins WHERE user_id = '$UserID'
ORDER BY `date` DESC;
$rsLastL =
Either limit your query to return only the second row ( look in mysql
manual for the limit caluse), or you will need to move the array counter
forward one for the $row_rsLastL = mysql_fetch_assoc($rsLastL)
operation.(php manual under array functions)
On Thu, 2003-10-02 at 12:10, Joe Harman
Hey Thanks Petre
Cheers... And a big brain fart
-Original Message-
From: Petre Agenbag [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 6:17 AM
To: Joe Harman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL get second row problem
Either limit your query to return
Hi all:
I am doing a dynamic kinda timetable where all the cells are uniquely coloured.
And then for each cell, I would like to change its colour through a dropdown
menu. This dropdown menu should of course have a list of colours for me to
choose. Once I have selected the colour I want, the
One possible solution:
In the form create the dropdown menu with the colour name being displayed to the user
but the hexadecimal value of the colour being stored in the value field, i.e.
select name='colour'
option value='#ff'Red/option
/select
When user selects the colour this should give
pconnect vs connect: Isn't it what the apache project calls the
'stampeding herd' problem?
original question: Nicole one of the simplest, cheapest and best
solutions is to put your log files on a separate hard disk. you will be
amazed by the result. You would ofcouse get even better results
[EMAIL PROTECTED] wrote:
I do not want to it using
javascript as java script can only display data on the client side but not the
server side.
You can make the data available on the client side.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Pardon me, looks like i haven't answered the original question after
all. Need coffee.
Here is another attempt. Have you considered mysql replication? this is
an easy way of building both a fail safe system as well as to balance
the load. the drawback is that you need to pay for an extra
[snip]
I have a question concerning security of my file upload script. I'm
using
the php upload routines (move_uploaded_file,...) and variables ($_FILES)
to
upload images to a webdirectory. Everything works fine, meaning that I
can
upload images BUT only if I change the permission of the directory
On 01 October 2003 21:02, [EMAIL PROTECTED] wrote:
1. The PHP manual sais to escape the escape char, it has to
be written
twice*, but:
Yes, it does. But it also says that to put a \ into a string, you need to
write it twice (escape it) ***. So:
$term = preg_replace('/(\\)/', 'backslash
Ooops, forgot the footnote:
***
http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax
Cheers!
Mike
-
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning
Hi there,
I am pretty new in PHP coding. So for starters i want to know what is a good
php-editor?
I like them freeware for windows.
Greeting and thanks in advance,
Nico
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
you can either use the chown function in php syntax:
|int chown|(string filename, mixed user);
or use backticks (`) to call the system chown executable. The simplest
way however might be to ask your sysadmin to set the umask for you.
best regards
Cameron Metzke wrote:
Hi all,
I have a
[snip]
So I tried it out.. at first I created a loop that assigned $x = 1; a whole
bunch of times, but that didn¹t crash anything.. .. 7996
Well to make an already long story short.. it looks like after a couple of
hours bugs.php.net has removed my post.
My question to you is.. is there any
[snip]
We are facing some problems in using sessions in our applications.
Recently
we have moved our web site to a new Apache server (1.3). We have
installed
PHP on this server. But sessions are not working on this server. The
values
in the session variables are not carried forward to the
[snip]
I am pretty new in PHP coding. So for starters i want to know what is a
good
php-editor?
I like them freeware for windows.
[/snip]
EDIT for windows is great, it's free, it's already installed and it
requires that you do no additional searching of manuals, archives, or
the web to use.
Hi,
not sure if this is the right place to ask but does anybody have any ideas
how long it will be before PHP/Apache 2 is considered stable enough to be
used in a production environment ?. I set up a test box with them both on
nearly a year ago and the online documentation still cautions against
Hi all
Does anyone know if there is a date difference function in php? I have searched the
manual but found none. What im after is a function that will return the number of days
or seconds between a start date and a second date. Much like DATEDIFF in ms sql. Any
help or pointing to relevant
[snip]
Does anyone know if there is a date difference function in php? I have
searched the manual but found none. What im after is a function that
will return the number of days or seconds between a start date and a
second date. Much like DATEDIFF in ms sql. Any help or pointing to
relevant docs
[snip]
I have the Dutch translation of the php-bible and they write:
Use the right tool, don't let anybody tell you you need notepad or tools
like that, use a proper tool.
Are they dumm? Is it better to use a tool like emacs, notepad, edit or
someting like that?
The advice Visual Slickedit but
[snip]
Have you tried using the unpack() function ?
If you don't know the format of the original data it can be a long
process
undoing it :)
[/snip]
Thanks Tom, I was experimenting with the unpack() function...your stuff
definitely will help. I'll keep you updated if I run across anything
earth
Hi everyone,
I'm new to PHP and I'm trying to use the include function but with no
success... My server's ini file is set as (allow_url_fopen, 0) so I'm
having some trouble to pass different values for the php file I'm calling.
The address is: http://mydomain.com/forums/ssi.php?a=active
The
Gustave Bernier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everyone,
I'm new to PHP and I'm trying to use the include function but with no
success... My server's ini file is set as (allow_url_fopen, 0) so I'm
having some trouble to pass different values for the php file I'm
on 10/2/03 5:12 AM, Jay Blanchard at [EMAIL PROTECTED]
wrote:
[snip]
So I tried it out.. at first I created a loop that assigned $x = 1; a whole
bunch of times, but that didn¹t crash anything.. .. 7996
Well to make an already long story short.. it looks like after a couple of
hours
[snip]
Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is just
downright goofy! Did you happen to try it with 8000+ repeated blocks of any
other type? My bet is that it would quit then too.
Yeah no crash because that's only a couple lines of code :) And yeah it
doesn¹t
Hi everyone,
Anyone else here hosting with ADDR.com?
I am hosting with them and all of a sudden they seem to have disappeared!!!
When i type http://addr.com i go to verisigns damn search page
Both the domains with them still seem to be up and functioning but cant send
mail from my php scripts
On Thu, Sep 25, 2003 at 05:22:44PM +0700, Hung Cuong wrote:
I need an server to put my php file to post mail.
So anybody can introduce me some server
Thanks.
Check up http://www.nk.ca
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This should get you started...
http://www.sitepoint.com/article/1105/1
it is a great article assuming that you will be using a db to
store your data.
hth,
Craig
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: October 1, 2003 11:19 PM
To: [EMAIL PROTECTED]
Subject:
Hi,
I'm getting to their page ok. Nice page really. purple and green, has
their prices, etc.. they're probably hosting with Verisign, and Verisign
had an issue temporarily.
-Dan Joseph
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 10:10
Thanks guys,
Cant understand why i cant seem to get to them for the past 2 days.
Yes, very nice site and no problem with them so far except that they are
running an old version of MySql 3.xx instead of 4.
Any ideas please mail me.
Cheers,
-Ryan
We will slaughter you all! - The Iraqi
on 10/2/03 7:00 AM, Jay Blanchard at [EMAIL PROTECTED]
wrote:
[snip]
Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is
just
downright goofy! Did you happen to try it with 8000+ repeated blocks of any
other type? My bet is that it would quit then too.
Yeah no crash
Can this be done? How much $$$? Quality of PDF?? Thanks very much...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know how to implement a treeview style display in PHP?
PEAR has a treeview that I have used in the past and it works fine.
http://pear.php.net/package/HTML_TreeMenu
--
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Oct 02, 2003 at 01:36:04PM +0100, bob pilly wrote:
:
: Does anyone know if there is a date difference function in php? I have
: searched the manual but found none. What im after is a function that
: will return the number of days or seconds between a start date and a
: second date. Much
how many glasses of beer? apples or oranges? is it raining out side? you
are welcome.
Jeffrey Fitzgerald wrote:
Can this be done? How much $$$? Quality of PDF?? Thanks very
much...
--
Raditha Dissanayake.
Jeffrey Fitzgerald [EMAIL PROTECTED] wrote:
Can this be done? How much $$$? Quality of PDF?? Thanks very
much...
WTF are you talking about?
If you are talking about PDF: google is your friend.
--
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thu, 2003-10-02 at 10:36, Jeffrey Fitzgerald wrote:
Can this be done? How much $$$? Quality of PDF?? Thanks very much...
Yes it can. Depends on the chosen solution. Depends on the chosen
solution. An easy to use system is htmldoc which can convert HTML
content to a PDF. This
Mike --
...and then [EMAIL PROTECTED] said...
%
% I've just to put together my very first little web application project in
% PHP and I have a couple of questions.
Yay! Good for you :-)
%
...
% The second question is the real one. Because this site may eventually be
% put onto the web as an
Hey all,
I'm building a website that will pull data from mysql db. No problem
there. I've got a page to create users and store their info in a user
table on another db. What I want to be able to do is have a user log in
and then only have access to view information that his profile allows.
Hi all,
I'm using syslog() function to log messages. My problem is enough
typical. An example:
syslog ( LOG_DEBUG, The function output is: . very_slow_func () );
Since very_slow_func() is, as written, very slow, I would like to know
in advance if this message will be actually logged or not, so
-Original Message-
From: Dave Restall - System Administrator [mailto:[EMAIL PROTECTED]
how long it will be before PHP/Apache 2 is considered stable
enough to be
used in a production environment ?.
Below is how Rasmus answered this question back on 7/4/03.
Kirk
Apache2 has a
Hi,
I'm not quite sure how to do this however so I'm looking for advise to
point me in the right direction. I suspect, that once validated via the
login page, I need to store the users permissions in a session variable
and then before each page loads, check to see if the page's permission
Irin,
Quite a number of issues here, actually. We'll start with your question
and work from there. Using the checkbox input type=checkbox
name=Cheque value=Cheque as an example, the code you would use to check
if it was set is:
if($_GET['Cheque'] == 'Cheque') {
// The Cheque
Thanks for answering.
I'm trying to include that file because in my index page because it has many
functions I need to use in other pages... I'm on ADDR.com servers and I
can't set allow_url_fopen to 1 (it sucks!).
In ssi.php functions are called by accessing this address:
Dan,
That's great help and exactly what I'd like to do timeouts and all. I
now just need to figure out he mechanics of the code for it and get a
better understanding of sessions. I'm thinking in the user table I'll
have a bunch of boolean fields for different permissions that apply to
different
Are there other ways of embedding ?php ? or ? ? code into an HTML file? On one
project, when I try to upolad files with embedded PHP code, they actually filter for
those tags and won't permit the FTP transfer. Like reeeal paranoid. Any ideas?
John
I'm trying to include that file because in my index page
because it has many
functions I need to use in other pages... I'm on ADDR.com
servers and I
can't set allow_url_fopen to 1 (it sucks!).
In ssi.php functions are called by accessing this address:
Hi,
That's great help and exactly what I'd like to do timeouts and all. I
now just need to figure out he mechanics of the code for it and get a
better understanding of sessions. I'm thinking in the user table I'll
have a bunch of boolean fields for different permissions that apply to
Warning for server side purists: My php scripts use javascript to popup and
close windows. So this question, although posted to a php newsgroup, has
elements of javascript too. Gasp! No flames please.
I have a main window which I will refer to as mainwindow
(window.name='mainwindow' in the onload
Hi,
How do you check for idle? I suppose there is a built in variable that
you check against the value in the table. How do I pull up or refer to
session variables?
Additionally, I also check to see if the date_out column in my sessions
table is -00-00 00:00:00, if not, I boot
Current version of PHP cannot forsee the future, this will be worked on
when PHP5 is out and stabilized.
Untill then you have to make your own judgments, for example if the
array you feed into very_slow_func() has more then 1486 elements, your
code will time out.
Zak Mc Kracken wrote:
Hi
Thanks for the advise! It's a big help.
I'll go play now and come back with more intelligent questions later!
Jeff
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:32 AM
To: Jeff McKeon; Dan Joseph; php
Subject: RE: [PHP] User
What is stored in the date_out column? Is that one of the colums in
your own created table or a standard one?
Jeff
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:34 AM
To: php
Subject: RE: [PHP] User authentication
Hi,
* Thus wrote Dan Joseph ([EMAIL PROTECTED]):
Hi,
That's great help and exactly what I'd like to do timeouts and all. I
now just need to figure out he mechanics of the code for it and get a
better understanding of sessions. I'm thinking in the user table I'll
have a bunch of boolean
Hi,
What is stored in the date_out column? Is that one of the colums in
your own created table or a standard one?
That's the SQL table that I use to track sessions. Its one I created. I
have a functon that does a simple SQL query:
SELECT date_out FROM sessions WHERE user_id
Try
script language=php
//php Code here
/script
Or if you have asp tags turned on you can use
% %
Hth
-
Thank You
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
www.chieftain.com
1-800-279-6397
-
-Original
[snip]
Can this be done? How much $$$? Quality of PDF?? Thanks very
much...
[/snip]
You mean PDF creation on the fly using PHP? It's free. Start here ...
http://us3.php.net/PDF
There are some good PDF creation classes out there, such as FPDF
http://www.fpdf.org
--
PHP General
Output from action.php:
script
opener.location.reload();
close();
/script
Rich Fox wrote:
Warning for server side purists: My php scripts use javascript to popup and
close windows. So this question, although posted to a php newsgroup, has
elements of javascript too. Gasp! No flames please.
I have
This does not work, when I replace my header function with:
elseif (isset($_POST['btnSave']))
{
.. database update, then...
$ostr = OUTPUT;
script language=javascript
document.window.opener.reload()
self.parent.close();
/script
OUTPUT;
Hello to all I am receiving many virii through
the different PHP mailinglists I use to read
and post in.
Could the lists administrators please review
that problem?
i.e. my ISP told me that I receive quite a lot
Worm.Gibe.F and I see they seem to be coming
from PHP mailinglists.
If you would like
Chris Shiflett mailto:[EMAIL PROTECTED]
on Wednesday, October 01, 2003 11:18 PM said:
There are definitely benefits to saving the extra request and response
necessary to properly display errors, but I'm not so sure I would
count usability as one of them. In addition, the user's perception
Nico Berg mailto:[EMAIL PROTECTED]
on Thursday, October 02, 2003 5:09 AM said:
I am pretty new in PHP coding. So for starters i want to know what is
a good php-editor?
I like them freeware for windows.
HTML-Kit www.chami.com
c.
--
PHP General Mailing List (http://www.php.net/)
To
Ok,
I've got a login page that has these funtions to set the userid and
password to session variables
[code start]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
session_register(userid, userpassword);
$username =
Hi,
The problem is that the $_SESSION['userid'] doesn't return anything on
this page..
Am I not calling the session variable correctly or not storing it
correctly?
In my php.ini I have globals turned off. Does this effect it?
Hi, yeah, its my understanding (and someone can correct
Gustave Bernier mailto:[EMAIL PROTECTED]
on Thursday, October 02, 2003 6:20 AM said:
The address is: http://mydomain.com/forums/ssi.php?a=active
The code I'm trying now is:
$_GET['a'] = 'active';
include('forums/ssi.php');
You're including the parent file in itself. This could be the
On 02 October 2003 17:27, Jeff McKeon wrote:
Ok,
I've got a login page that has these funtions to set the userid and
password to session variables
[code start]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
-- snip --
From: Chris W. Parker [EMAIL PROTECTED]
The address is: http://mydomain.com/forums/ssi.php?a=active
The code I'm trying now is:
$_GET['a'] = 'active';
include('forums/ssi.php');
You're including the parent file in itself. This could be the problem.
--SNIP --
especially if the
Hi,
(1) I don't see a session_start() on the second page (unless it's in
register_functions.php?).
Old habbits die hard. You have no idea how many times I forget to put this
at the top of a page. Thanks for pointing that out.
-Dan Joseph
--
PHP General Mailing List
On Wed, 1 Oct 2003 21:17:09 -0700 (PDT)
Chris Shiflett [EMAIL PROTECTED] wrote:
--- Nicole [EMAIL PROTECTED] wrote:
So I switched to connect, with no luck in fixing the too many
connections problem.
Now that's some helpful information. The first thing you need to do is
forget about
How do I get my FULL path... I made a web-based installer and it uses a
path.
Ok, my path to where I need it is:
/home/jimbug/public_html/zavaboy/phptest/ZML
Using dirname():
/phptest/ZML
Why is that?
How can I get PHP to output '/home/jimbug/public_html/zavaboy/phptest/ZML'
automatically?
--
On Friday 03 October 2003 01:33, zavaboy wrote:
How do I get my FULL path... I made a web-based installer and it uses a
path.
Ok, my path to where I need it is:
/home/jimbug/public_html/zavaboy/phptest/ZML
Using dirname():
/phptest/ZML
Why is that?
If you're saying:
echo dirname();
$_SERVER['SCRIPT_FILENAME'] or $_SERVER['DOCUMENT_ROOT']
Justin
zavaboy wrote:
How do I get my FULL path... I made a web-based installer and it uses a
path.
Ok, my path to where I need it is:
/home/jimbug/public_html/zavaboy/phptest/ZML
Using dirname():
/phptest/ZML
Why is that?
How
Ok, thanks!
$_SERVER['DOCUMENT_ROOT'].dirname($PHP_SELF)
was just what I wanted!
J Morton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
$_SERVER['SCRIPT_FILENAME'] or $_SERVER['DOCUMENT_ROOT']
Justin
zavaboy wrote:
How do I get my FULL path... I made a web-based installer and
On 02 October 2003 17:27, Jeff McKeon wrote:
Ok,
I've got a login page that has these funtions to set the userid and
password to session variables
[code start]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
On Friday 03 October 2003 01:50, Jeff McKeon wrote:
(2) I would advise not mixing $_SESSION and
session_register() -- it's problematical in some situations.
Just stick to using the $_SESSION array.
I'm not quite sure what you mean here, can you give an example or
elaborate. Sorry, real
Hi,
What is stored in the date_out column? Is that one of the
colums in
your own created table or a standard one?
That's the SQL table that I use to track sessions. Its
one I created. I have a functon that does a simple SQL query:
SELECT date_out FROM sessions
Hi,
I am working a form to pass information from it to mysql data. I am
able to connect to the database. But nothing is being pass from the form
to the php page. This is my php code...
-form.html
html
head
On Friday 03 October 2003 01:59, Jeff McKeon wrote:
So when a user logs in you write a user_id and datestamp to a field in
your sessions table. Every time the person accesses a page you update
the datestamp in that record. Then you run a function that checks every
X minutes if the timestamp
1 - 100 of 160 matches
Mail list logo