emile Tue Mar 6 00:12:52 2001 EDT
Modified files:
/php4/ext/midgard sitegroup.c
Log:
Bug #123
Index: php4/ext/midgard/sitegroup.c
diff -u php4/ext/midgard/sitegroup.c:1.6 php4/ext/midgard/sitegroup.c:1.7
--- php4/ext/midgard/sitegroup.c:1.6Tue Feb 2
Hi
You will need to kill the session data on the exit of your failed login not
on entry to the login page as the data will already be overwritten by the
previous session value.
I use
unset($name);
unset($password);
...
Tom
At 04:24 PM 6/03/01 +0900, Yasuo Ohgaki wrote:
>Do you use custom sess
Darren Ward wrote:
>
> ...
>
> The file looks like:
>
>
>
> Any ideas on what i should be looking at or for?
>
Try phpinfo().
:)
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Do you use custom session handlers?
Try session_unset() also. It may help.
Regards,
Yasuo Ohgaki
> Got a problem with sessions.
>
> On my index page, there's a place for people to login. Well, when I test
> with two different user names (ie: mike and jlo) it reverts to the first
> one when l
Yes.
> Did you try escaping it with the \?
>
>
> At 04:51 PM 3/6/01 +1000, Murray Shields wrote:
> >For data validation, I am using the following regex:
> >
> >$Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$",
$String,
> >$List));
> >
> >This works perfectly for the moment. Howeve
Hi Guys,
Newbie to the list and the world of PHP.
I'm having a LOT of trouble getting PHP to work.
The PHP and Apache installs have gone well as evidenced by:
# ./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_in
> For data validation, I am using the following regex:
>
> $Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,
> $List));
>
> This works perfectly for the moment. However, I need to add both square
> brackets [] to the list of allowed characters above.
This is JavaScripts R
Did you try escaping it with the \?
At 04:51 PM 3/6/01 +1000, Murray Shields wrote:
>For data validation, I am using the following regex:
>
>$Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,
>$List));
>
>This works perfectly for the moment. However, I need to add both sq
For data validation, I am using the following regex:
$Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,
$List));
This works perfectly for the moment. However, I need to add both square
brackets [] to the list of allowed characters above.
But when I add the closinjg brack
Any easy way to make this script take it's input from the command line like
so:
./porter_stemming.pl string
where string is the argument?
#!/usr/bin/perl -w
# Porter stemmer in Perl. Few comments, but it's easy to follow against the
rules in the original
# paper, in
#
# Porter, 1980, An algo
I'm stumped. I've searched all over and can't figure this one out.
I have a perl script that waits for input on the command line. You type in a string
and it returns a string.
I'd like to be able to this via php, since I can't rewrite the script in php, since
it's a little over my head.
So, h
ok ... I have been doing some more reading... the file uploads are limited by
a directive in php.ini, upload_max_filesize.. and it defaults to 2 meg. If
it is large it will act like nothing was uploaded.
At 03:46 PM 3/6/01 +1030, Tyson Lloyd Thwaites wrote:
>Funny, because I can upload stuff tha
I have just started with php a few days ago but in the book that I am
reading it
uses a foreach loop that is specifically for arrays.
foreach($Area as $key=>$value)
{
your concatination string here
}
Rick
At 04:45 PM 3/6/01 +1030, you wrote:
>On Tue, 6 Mar 2001 15:50, [EMAIL PROTECTED] wro
Does anyone have a sample shopping basket class they could show me,
I tried to use one of the phpbuilder site but could not get it working ?
Sean Weissensee
ION Solutions
On Tue, 6 Mar 2001 15:50, [EMAIL PROTECTED] wrote:
> A problem of inexperience...
>
> I am trying to store an array in mysql. I obtain the array like so--
>
> $partcount = count($Area);
> reset($Area);
> for ($i = 0; $i < $partcount; $i++){
>$key = key($A
Got a problem with sessions.
On my index page, there's a place for people to login. Well, when I test
with two different user names (ie: mike and jlo) it reverts to the first
one when login fails. For example:
I enter in the username "myuen" and a wrong password. I get my
"Password/Username in
A problem of inexperience...
I am trying to store an array in mysql. I obtain the array like so--
$partcount = count($Area);
reset($Area);
for ($i = 0; $i < $partcount; $i++){
$key = key($Area);
$val = $Area[$key];
$string1 .= $val . "\') o
Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from [EMAIL PROTECTED] Mon, 5 Mar 2001 20:00:47 EST
>
> My server admin is being stupid... magic_quotes_gpc have been turned off
> unexpectadly so phpMyAdmin aint working, as well as half my scripts. He says
> no
Addressed to: "Boget, Chris" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Boget, Chris" <[EMAIL PROTECTED]> Mon, 5 Mar 2001 08:25:25
-0600
> > This is pretty much acceptable to search engines. Even better add:
> >
> > ForceType application/x-httpd-php
> >
> > to
Hi,
I am having a problem with is_uploaded file returning false if the
file
uploaded is over a certain size.
I have used ini_set("upload_max_filesize", "8M"), as well as setting
MAX_FILE_SIZE like this:
(ie real big :)
Still, if I try to upload a file over about 2mb, is_uploaded_file
returns f
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Jeff Oien") wrote:
> if (preg_match("/[a-Z],[a-Z]/",$text)) {
>
> Can you tell me where I'm failing here. I want to do something
> if the string has commas in between words with no spaces.
> Like:
>
> blah,blah,blah
"Does it have *any insta
elixer Mon Mar 5 20:42:04 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
Typo.
# I don't know where I got 4.02 from
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.146 php4/ext/standard/file.c:1.147
--- php4/ext/standard/file
elixer Mon Mar 5 20:34:06 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
get_meta_tags now allows attributes that are not quoted as well as those
that are. It follows the HTML 4.01 specification for attribute values
outlined here -> http://www.w3.
if (preg_match("/[a-Z],[a-Z]/",$text)) {
Can you tell me where I'm failing here. I want to do something
if the string has commas in between words with no spaces.
Like:
blah,blah,blah
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
I am having trouble installing php4.
When I try to compile, it stops with the following error:
In file included from /usr/src/php4/ext/standard/fsock.h:43,
from /usr/src/php4/ext/standard/php_standard.h:43,
from main.c:52:
/usr/include/sys/socket.h:48: conflicti
I found 0.002 for the first include, and 0.0001 second for a refresh not to bad.
PIII-500 512mb ram
PHP-4.0.4pl1
no zend-optimizer, no zend-cache
the refresh is less because linux caches the file in it internal buffer. I wouldnt
consider 0.002sec that bad of a hit. you could have 50hit/
andrei Mon Mar 5 17:26:41 2001 EDT
Modified files:
/CVSROOTcvswrappers
Log:
Recognize .png as binary files.
Index: CVSROOT/cvswrappers
diff -u CVSROOT/cvswrappers:1.2 CVSROOT/cvswrappers:1.3
--- CVSROOT/cvswrappers:1.2 Tue Nov 2 10:01:35 1999
+++
phpinfo() and if you want it to work now, you'll want to create a
.htaccess and put this in it :
php_flag magic_quotes_gpc on
and kindly ask them why it's been turned off and plan accordingly.
regards,
Philip Olson
http://www.cornado.com/
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote:
>
An example of $$variables:
Returns:
wimpymeat
smelly
ditto
wimpymeat
smelly
Now, why anyone would want to write a script that returns words like
"wimpymeat" is beyond me.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a di
On Tue, 6 Mar 2001 11:30, [EMAIL PROTECTED] wrote:
> My server admin is being stupid... magic_quotes_gpc have been turned
> off unexpectadly so phpMyAdmin aint working, as well as half my
> scripts. He says nothing has been changed so it must be my fault, is
> there a command in php to displays t
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote:
> Date: Mon, 5 Mar 2001 20:00:47 EST
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [PHP] config question
>
> My server admin is being stupid... magic_quotes_gpc have been turned off
> unexpectadly so phpMyAdmin aint working, as
My server admin is being stupid... magic_quotes_gpc have been turned off
unexpectadly so phpMyAdmin aint working, as well as half my scripts. He says
nothing has been changed so it must be my fault, is there a command in php to
displays the PHP config options so i can show this mofo that th
I've submitted a proposal for a tutorial for the PHP conference and it says
that you'll be notified on the 1st of March...but I haven't heard
anything...has anyone else that submitted something heard anything?
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
A few months ago I modified PHP 3.0.16 to add an optional fourth
parameter to the mysql_connect() functions. The parameter specifies
a timeout (in seconds) on the connect(). The patch simply uses the
existing mysql_options() function in the MySQL library so it's
quite stable code.
I'm in the pr
Hi.
I'm using FastTemplates for a little project of mine and I want to include
several translations for that. Have any of you made translations with
templates? I don't know were to start. HELP!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
That wasn't it :< & if i use any other headers .. ie
$mailheaders .= "X-Priority: 1\n";
they work .. its just with the CC that wont work :<
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 10:45 AM
To: 'Peter Houchin'
Subject: RE: [PHP] mai
Hiya,
am near completeion of a site only i can't get any mail to send to multiple
recipients at all .. either in the "To:" section or having on email in "To"
and one email address in "CC" section.. and i need to be able to do this ...
can any one offer any suggestions ...( I'd prefer to have one i
On Mon, 5 Mar 2001 18:27, Paul wrote:
> below is the code I am using, $sourcefile is a url var
> for example http://url/?sourcefile=/this/path/to/whatever.php
>
> $filelist = array("",
> "db_auth.conf",
> "config.php",
> "master.functions.inc"
> );
I am trying to protect a folder with an htaccess file which pulls the
username and passwords out of a db but I cant get it to work Can someone
have a look at the code below from the htaccess file.
TIA
george
AuthName "Admins Only"
AuthType Basic
require valid-user
Auth_MySQL_Host
Auth_MySQL_
Augusto Cesar Castoldi [[EMAIL PROTECTED]] wrote:
> I have a html form and his "action" is a php file.
>
> this is the php file:
>
>function checasenha($ID) {
^^^
> $as="\"";
> global $ID, $limite, $cdusuario, $usuario, $s
Greetings PHP Developpers.
I am presently making a web based application that will be able to add nodes
as well as update and remove them from XML documents. I saw in my
researches, up to now, That XMLDOM does not support update and delete of
nodes. I just wanted to know if someone is presently w
Hi all,
I am looking for some big name sites using PHP.
I will be doing a presentation next month and would like to show a list of
sites that are using PHP.
Thanks for your Help
___
Send a cool gift with your E-Card
http://www.bluemountain
I have a html form and his "action" is a php file.
this is the php file:
function checasenha($ID) {
$as="\"";
global $ID, $limite, $cdusuario, $usuario, $senha;
.
.
.
}
checasenha($ID);
---
Hello everyone. :)
I am attempting to construct a query with PHP and MySQL based on user input from a
referring form page. Here is an example of what I need this to do:
This will involve multiple variables, but I will just use 2 here:
if ($dig== "1") {
$qual1 = "WHERE (track >= 0)";
}
if (
Now if i include
$headers .= "Cc: [EMAIL PROTECTED] " . " , ";
$headers .= "[EMAIL PROTECTED]\n";
My page won't load at all apart from the first include i have on my page..
does any one have any idea's?
Hiya,
am near compl
> I need some help with a program, I need to get every
> instance of text between GET TEXT HERE
> and save the results in a variable. Does anyone
> have some example code of how to do it along with how
> to put the results into just one variable?
Try with:
$string = "GET TEXT HERE";
$string =
An app I am currently developing has grown a lot. It currently
handles aproximately 12 includes, more or less 13 thousand lines
of code.
By doing some benchmarks, i realized that the bottleneck is the include()
payload.
How can I optimize a program like this one ?
thanks in advance
--
PHP Ge
I need some help with a program, I need to get every
instance of text between GET TEXT HERE
and save the results in a variable. Does anyone
have some example code of how to do it along with how
to put the results into just one variable?
__
Do Yo
php-general Digest 5 Mar 2001 21:48:18 - Issue 549
Topics (messages 42593 through 42676):
Re: function questions
42593 by: Tim Ward
Is it possible to get call stack information?
42594 by: Neil Kimber
Re: Get remote IP ot Host
42595 by: Michael Meinl
Re: help gurus
Addressed to: <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from <[EMAIL PROTECTED]> Mon, 5 Mar 2001 14:10:28 -0600
>
> This is just a guess but wanted to take a shot at it.
>
> Something like
>
> SELECT EventID, EventName, EventDescription,
> EventStartDate, EventEndDate
>
Clever. For those of us unfamiliar with bitwise ops, here's how this works:
The bitwise and op (&) works on bits like this:
dig1 dig2 Result
000
010
100
111
An even number's binary representation always ends with 0 (ie 12 = 1100)
while an odd ends with 1 (ie 13
this is caused by netscape receiving no data. ie.
will product no data, because nothing is echo'd. netscape hates this, and will display
a warning. the other reason could be there is something wrong with a funky function
your using. ie. if pdflib isnt compiled properly with TTF then when
At 02:39 PM 3/5/01 -0500, Chris Poirier wrote:
>There is a suggestion in the PHP online documentation that has worked for
>me (except in Opera 5, which seems to ignore the Realm). Add a timestamp
>to the Realm that changes with each new session. IE 5.0 will prompt for a
>different password, beca
even the simplest forms product a 0x013 0x10 imediatly after the I wish there
was a way to control this behaviour. I thought it was normal, and anoying.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Jef
We've just moved to a new server and I'm running into an odd problem. The
code is below. On my old server it correctly returns:
[test]
t 116
e 101
s 115
t 116
But on my new server I get:
[ test]
13
10
t 116
e 101
s 115
t 116
Has anyone else run into this?
";
while ($action){
> Color me confused because I though true was any non zero
> value and false was zero.
Right. And
if( $num % 2 ) {
echo "it's odd";
}
means that the operation returned a remainder - a non zero value.
> I know I am using the following code:
> if (!($num % 4){ do something}
> and it does s
Hi!
As I wrote before, I don't have .htaccess nor access to the apache-conf!!!
michi
> How bout an Apache redirect for .inc files to go to denied.htm or
> something? PHP scripts could get to them, but they wouldn't be accessible
> via http.
>
>
>
> At 08:01 PM 3/3/01 +0100, [EMAIL PROTECTE
You all are a bunch of un-optimizing novices. Just do some bit banging.
i.e.
if(1 & number){
echo "$number is odd";
}else{
echo "$number is even";
}
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 12:18 PM
To: PHP User Gro
Color me confused because I though true was any non zero value and false was
zero.
I know I am using the following code:
if (!($num % 4){ do something}
and it does something when $num is evenly divisible by 4 (ie. $num % 4 = 0).
If I were testing for odd vs even I'd do the following:
if (!($n
Use the modulus operator
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 05, 2001 3:18 PM
> To: PHP User Group
> Subject: [PHP] Is it odd or even???
>
>
> Hello,
>
> Is there an easy way to check and see if a number is odd or even?
>
>
> That won't work. % returns the remainder from a division of
> the number divided by the mod number.
Yours:
> if($num %2 == 0){
> echo "even";
> }else{
> echo "odd";
> }
Mine:
> > if( $num % 2 ) {
> > echo "Odd";
> >
> > } else {
> > echo "Even";
> >
> > }
Ours are identical, just the
use the modulus operator:
($number % 2) returns 0 if the value is even
Larry Jeannette
MIS Director, e.Republic
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 12:18 PM
To: PHP User Group
Subject: [PHP] Is it odd or even???
Hello,
Is
You could divide it by 2, odd numbers will always have a remainder even
umbers never will.
here are math functions, but none for odd/even that i see.
Jon
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Monday, March 05, 2001
> Is there an easy way to check and see if a number is odd or even?
if( $num % 2 ) {
echo "Odd";
} else {
echo "Even";
}
Chris
Hello,
Is there an easy way to check and see if a number is odd or even?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
--
PHP Ge
This is just a guess but wanted to take a shot at it.
Something like
SELECT EventID, EventName, EventDescription,
EventStartDate, EventEndDate
WHERE EventStartDate > CURRENT_DATE
ORDER BY EventStartDate ASC
LIMIT 5;
How did I do?
Jeff Oien
> I have a mysql database of events. It contains the f
How bout an Apache redirect for .inc files to go to denied.htm or
something? PHP scripts could get to them, but they wouldn't be accessible
via http.
At 08:01 PM 3/3/01 +0100, [EMAIL PROTECTED] wrote:
>Hi!
>
>as I wrote in my mail:
>1.
>I won't name them ".inc" but ".inc.php" (so *I* know, it
> I have a mysql database of events. It contains the following fields:
>
> - EventID
> - EventName
> - EventDescription
> - EventStartDate
> - EventEndDate
>
> I would like to query the database for the next 5 events from the current
> date (today). Any ideas?
works if EventStartDate is a timest
I have a set of pages I've been working on to do address entry for
registered users to a MySQL database. I'm running up against a wall that
I've been fighting for two days...
process is thus:
checks session vars to see if user is logged in. if not, present login screen.
if logged in:
see if t
I have a mysql database of events. It contains the following fields:
- EventID
- EventName
- EventDescription
- EventStartDate
- EventEndDate
I would like to query the database for the next 5 events from the current
date (today). Any ideas?
Regards,
Matthew Delmarter
Web Developer
--
PHP Ge
Hi,
We are currently running the following configuration on our server:
Linux Red Hat 7.0
PostgreSQL 7.1beta4-1
PHP 4.0.1pl2
I need to add some RPM package (or perhaps an apache module) to enable PHP
to access PostgreSQL via ODBC.
In order to have PostgreSQL native access support we installed
> I want to delete everything after a tab (or space) on each line of
> a text file and can't figure it out.
>
> An example line is
> ARIA 5.19 -0.0625 -1.19 5.25 4.5 48.5 100300
>
you can explode on a tab $arrlines = explode("\t", $the_line);
then save $arrlines[0] from every line.
Don't kno
I want to delete everything after a tab (or space) on each line of
a text file and can't figure it out.
An example line is
ARIA5.19-0.0625 -1.19 5.254.5 48.5100300
I want to the output to be
ARIA
Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To un
Hi Ken,
> At 10:56 AM 3/5/01 -0600, John Henckel wrote:
> >1. open mytest.php and when the password prompt appears, I enter a userid/password.
> >2. I see the "Hello" page with my userid and password.
> >3. close IE and reopen mytest.php, again the prompt appears -- this is good.
> >4. close IE
Hi,
I've released Pam Auth 0.2 after many months :) Pam Auth is a php4
extension that allows simple pam authentication. Possible uses for this
include using php to authenticate against local password files
(dangerous!), samba/nt domains, ldap, mysql databases, and anything else
which pam support
ltrim removes spaces on the left
rtrim removes spaces on the right
trim removes spaces on both the left and right
Larry Jeannette
MIS Director, e.Republic
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 11:08 AM
To: PHP User Group
Subject:
> Hello,
>
> Is there a way to remove all the spaces in the beginning of a string?
>
> Example:
>
> " 45 fasfda asdfasf" would be "45 fasfda asdfasf"
>
> and
>
> " 45 fasfda asdfasf" would be "45 fasfda asdfasf"
>
look at http://www.php.net/manual/en/function.ltrim.php
or maybe
http://w
trim()
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
Is there a way to remove all the spaces in
Hello,
Is there a way to remove all the spaces in the beginning of a string?
Example:
" 45 fasfda asdfasf" would be "45 fasfda asdfasf"
and
" 45 fasfda asdfasf" would be "45 fasfda asdfasf"
No matter how many spaces in the begging in I just want it to delete the
first spaces.
I hope you
Hi my name is bruno from Brazil.
I have a linux server with Apache and PHP 4 running.
What i wanna do is upload a file.
Look the problem:
I have a lan.(local Network)
Consider this:
Network server running apache : 6.6.6.6
Network client station : 6.6.6.5
If The apache server executes t
I feel dumb...
$string="rpm -qd $rpmname 2>/dev/null |head -1 |sed s?\"$documentdir\"?\"\"? |cut
-d\"/\" -f2";
On Monday, March 5, 2001, at 09:33 AM, Michael A. Peters wrote:
> I have the following php function-
>
> function doclink ($documentdir, $rpmname, $doc_file) {
> $string="rp
header()
http://$SERVER_NAME/$PHP_SELF");
exit();
}
?>
i your using sessions without coookies.
header("Location: http://$SERVER_NAME/$PHP_SELF?PHPSESSID=$PHPSESSID");
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.55
U just have to add global $PHPSESSID
to make the session variable global;
>From: "Tobias Talltorp" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [PHP] Verify session in function
>Date: Mon, 5 Mar 2001 18:30:00 +0100
>
>I am building my first basic function to verify a session.
>If the ver
> Is there a way for me to tell my php script to start over? I
> want to have an if then statement to check if something is
> done. Then if it isn't I want the php script to start over.
header( "location: $PHP_SELF" );
OR
header( "location: $REQUEST_URI" );
if you are using a query string/G
Since its the last element, just pop it out:
array_pop()
--- kaab kaoutar <[EMAIL PROTECTED]> wrote:
> Hi!
> how can i decrement the length of an array!
> In fact i'm trying to delete an element from an
> array , i'v put the content
> of i in i-1 (loop) and i tried to decrement the
> array legnt
I have the following php function-
function doclink ($documentdir, $rpmname, $doc_file) {
$string="rpm -qd $rpmname |head -1 |sed s?\"$documentdir\"?\"\"? |cut -d\"/\"
-f2";
$rpm_installed=exec($string);
$DOC_ABSOLUTE="$documentdir/$rpm_installed";
if (file_exists
Hello,
Is there a way for me to tell my php script to start over? I want to have
an if then statement to check if something is done. Then if it isn't I want
the php script to start over.
Thank you,
Brandon Orther
WebIntellects Design/Development Man
I am building my first basic function to verify a session.
If the verification is not in the function it works...
What am I missing?
(I couldn“t find anything about this in the mailing list archive)
-- This works -->
session_start();
if (isset($PHPSESSID)){
echo "ok";
At 10:56 AM 3/5/01 -0600, John Henckel wrote:
>1. open mytest.php and when the password prompt appears, I enter a userid/password.
>2. I see the "Hello" page with my userid and password.
>3. close IE and reopen mytest.php, again the prompt appears -- this is good.
>4. close IE and Restart Windows
ok, here we go. imap functions seem tobe funny. I could not get php to compile with
the latest imap, I was getting errors about xml, go figure. and
could not not like lib/yes
go figure.
I downloaded php 4.0.5dev all compiled well, but I get strange things happening, like
imap functions
On Mon, 5 Mar 2001, kaab kaoutar wrote:
> I'm using a variable!
> >
Quote the value:
\">
Greets,
Batonik
--
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,
On Monday 05 March 2001 17:43, you wrote:
> using PHP 3.x on Linux, I've always been able to pass along a variable
> like http://www.domain.com/index.php3?foo=bar
>
> and then I could print out this with something like
> echo $foo;
> would print out "bar"
>
> I've recently installed the latest PH
On Monday 05 March 2001 17:29, you wrote:
> I'm using a variable!
> >
Well, you *still* need to have quotes around it:
> >Make sure you have quotes around the value.
> >
> >
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...to paraphrase Churchill, while representative demo
At 09:51 PM 3/4/01 -0500, Ken wrote:
>Anyway, can someone please test to see if this doesn't happen in IE5.0?
>
>I really hate this situation, yessir.
I have installed IE 5.00.2614.3500 (that's what came with Win 98 2nd
edition CDROM vers 4.10.A) and it does NOT have the problem you have
d
using PHP 3.x on Linux, I've always been able to pass along a variable like
http://www.domain.com/index.php3?foo=bar
and then I could print out this with something like
echo $foo;
would print out "bar"
I've recently installed the latest PHP4 onto a Windows2000 server, I'm
trying the same thing h
kaab kaoutar [[EMAIL PROTECTED]] wrote:
> Thanks! but i know this function!
> i can't do that cause my varibale is multidimenssional, and i don't want to
> update all that ! for one element !
> we can't decrement the length of the array ?! no way ?
Here's an example of a multidimensional array -
On 4 Mar 2001 04:17:18 -0800, Thomas Edison Jr. <[EMAIL PROTECTED]>
wrote:
>The Internet Explorer converts the spaces in a query
>string into it's hexadecimal value of "%20"
>automatically, but netscape is not doing so. It's not
>reading the space and thus not displaying the page at
>all and givin
I'm using a variable!
>
>From: "Brad S. Jackson" <[EMAIL PROTECTED]>
>To: "kaab kaoutar" <[EMAIL PROTECTED]>
>Subject: Re: [PHP] input textfield value cat!
>Date: Mon, 5 Mar 2001 10:08:21 -0600
>
>
>
>Make sure you have quotes around the value.
>
>
>
>
>Hi!
>i'm storing values in session vari
rjs Mon Mar 5 08:18:50 2001 EDT
Modified files:
/php4/ext/pdf pdf.c
Log:
fixed bug in PDF_getbuffer (happend only on Windows)
When using PDFlib V4.0 the pdf_set(grey/rgbcolor) functions are replaced
by the PDFlib V4.0 function pdf_setcolor
Ind
On 3 Mar 2001 17:17:15 -0800, Brett <[EMAIL PROTECTED]> wrote:
>I want to send a confirmation email upon receiving an order, and would like
>to send the page that I display on the browser to the user.
ob_start();
// do something
mail('confirm@somewhere', 'confirmation', ob_get_contents());
ob_e
1 - 100 of 140 matches
Mail list logo