php-general Digest 20 Apr 2006 10:36:31 - Issue 4082
Topics (messages 234316 through 234345):
Query for two fields with the same name
234316 by: Kevin Murphy
234318 by: Jochem Maas
234321 by: admin.ensifex.nl
234323 by: Richard Lynch
Re: session_destroy
I've written my first external Module for PHP: perror
It provides functionality I've always felt was missing in PHP.
I'm particularly interested in feedback from anybody who has written
PHP extensions of their own -- I'm sure there's room for improvement
in my very rusty C skills!
Here's why I
Maybe something like this :
$connection = SELECT t2.id AS idtwo, t1.id AS idone FROM connection AS
t1, pr AS t2 WHERE t1.area_id
= '$gateway_link' AND t1.pr_id = t2.id;
This is probably a simple question, but I can't seem to find the
answer online.
I'm using this query:
$connection =
On 19/04/06, Matt Todd [EMAIL PROTECTED] wrote:
I know that PHP is a functional language, and secondly, an OO
language, but I think that you can blend these things better and have
the OO brought to the forefront a bit more.
PHP is not a functional language, it's an imperative language.
On Wed, April 19, 2006 5:55 pm, Kevin Murphy wrote:
$connection = select * from connection, pr WHERE connection.area_id
= '$gateway_link' and connection.pr_id = pr.id;
Both tables have a field called ID but they have different
information in them. $row['id'] gets me the one from the table
On Wed, April 19, 2006 4:55 pm, Yannick Warnier wrote:
for. From the type of errors (very unclear and undetailed) that I get,
my first guess would be that one function declaration in php_mnogo.c
or
php_mnogo.h would not be recognized anymore (because it used a funny
declaration?).
Call me
On Wed, April 19, 2006 3:01 pm, Jeff wrote:
I'm running PHP Ver 4.4.1 on a redhat ES3 system. It appears that the
CLI is not running or not present. I thought it was installed by
default in versions = 4.3.x.
If I run /usr/local/bin/php -v at the command line I get nothing.
How do I get
Hi,
I'm trying to run a MySQL Procedure from one of my PHP page.
1. the procedure works perfectly under MySQL (it gives the correct results),
so no issue from this side.
2.user is able to connect without any issue to MySQL RDBMS, so no issue from
this side.
Here is what i've as error message
I don't know if MS Access will behave the same, but in MySQL you can
have a query like so:
SELECT *, DATE_FORMAT(end_date, '%d %m %Y') as end_date_formatted FROM projects;
And it will retrieve all columns from your projects table, plus the
extra one you've created on the fly, and it will be
Richard Lynch wrote:
On Wed, April 19, 2006 1:36 am, Chris Grigor wrote:
Richard Lynch wrote:
On Tue, April 18, 2006 10:05 am, Chris Grigor wrote:
Was wondering if there is an easier way to get returned variables
into
the $_SESSION rather than going through each one??
On Wed, April 19, 2006 9:42 am, Matt Todd wrote:
Honestly, I'd love to see basic variables be objects, as models of
real world data with properties for the data such as a $number-length
or $word-as_array() giving you letters.
I think you might want to consider using Common Lisp, then.
Cuz
Chris Grigor wrote:
The method behind the madness here, is that I am only pulling the data
once from the db throughout the whole session. This means that all the
user info is available on every page they visit. I can also
then identify on each page that loads if a user has signed in and a
Best groupmember,
I have a form that is being filled out. This is the process:
1. Fill out form and click submit
2. Script validates data
3. Data is being sent to external source via Web Service
4. A file is being downloaded (redirects to files location)
The problem
Peter Lauri wrote:
Best groupmember,
I have a form that is being filled out. This is the process:
1. Fill out form and click submit
2. Script validates data
3. Data is being sent to external source via Web Service
4. A file is being downloaded (redirects to files
On Wed, April 19, 2006 9:58 am, bruce wrote:
i'm looking for opinions on the worth of programming contests as a
way of
judging the talent of potential software developers...
any thoughts/pros/cons would be appreciated..
and yeah.. i know this is a little off topic.. but some of us here
On Wed, April 19, 2006 9:38 am, Bing Du wrote:
Do the search as Richard suggested.
MS Access might have a similar function you can use, but you'll need
to do some searching yourself to find the answer.
Sure. I always appreciate various opinions. I've checked with an
Access
expert. It
On Wed, April 19, 2006 3:17 am, James Nunnerley wrote:
Thanks for everyone's replies - but I'm a little uncertain as to what
the
reasons for not running the pcntl functions under the web browser are
- is
it down to security?
I could be wrong, but I believe the correct response is:
No, it's
$image_file = 'foo.jpg';
$random = mt_rand(1, 20);
$url = http://example.com/program/$random/$image_file;;
echo img src=\$url\
In program, if you echo out $_SERVER['PATHINFO'] you will see:
/454398574395/foo.jpg
The number will change, of course.
You can tear that apart and get the
On Wed, April 19, 2006 9:11 am, Paul Waring wrote:
setcookie(session_name(), '', (time() - 86400), /);
/ should be in quotes or apostrophes.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, April 20, 2006 2:23 am, Peter Lauri wrote:
1.Fill out form and click submit
2.Script validates data
3.Data is being sent to external source via Web Service
4.A file is being downloaded (redirects to files location)
The problem is that #3 is taking around 15 seconds to
That was a smart solution. However, my client have not given me access to
the MySQL database at this stage (just doing a small side project of the
clients web site). If you could not take advantage of database and cron job,
what would you do?
PS! I am not sure that my clients host supports cron
On Thu, April 20, 2006 1:55 am, Alain Roger wrote:
I'm trying to run a MySQL Procedure from one of my PHP page.
1. the procedure works perfectly under MySQL (it gives the correct
results),
so no issue from this side.
2.user is able to connect without any issue to MySQL RDBMS, so no
issue
Hello Everyone!
What would be the best way to start a PHP Script via CRONJOB?
Should i use the 'php' command or use curl or lynx or something to
open that URL?
The Script does a MySQL query, collects data and sends it via E-Mail
every monday morning to the recipient.
Any help will be
Barry a écrit :
Hello Everyone!
What would be the best way to start a PHP Script via CRONJOB?
Should i use the 'php' command or use curl or lynx or something to
open that URL?
Hi,
unless you need to be sure the http server is up and running, it's a
better way to run your script via a
I run several PHP scripts via CRON in the following way:
put the following in the top of the php script:
#!/usr/local/bin/php -q (linux system - location of php bin)
and in the CRONTAB I have the following:
10 1 * * * root /usr/local/bin/php -q /script/CRONexport.php
the -q supress HTML
Pure Web Solution wrote:
I run several PHP scripts via CRON in the following way:
put the following in the top of the php script:
#!/usr/local/bin/php -q (linux system - location of php bin)
and in the CRONTAB I have the following:
10 1 * * * root /usr/local/bin/php -q /script/CRONexport.php
Hello,
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with this:
input type=hidden name=arr_siirt_jouk value=?php echo $arse;?
And print there with:
William Stokes wrote:
Hello,
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with this:
input type=hidden name=arr_siirt_jouk value=?php echo $arse;?
William Stokes wrote:
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with this:
input type=hidden name=arr_siirt_jouk value=?php echo $arse;?
And
No other way?
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with
On 4/20/06, William Stokes [EMAIL PROTECTED] wrote:
Hello,
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with this:
input type=hidden
William Stokes wrote:
No other way?
Over sessions or saving as file and loading it in the following page.
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can someone help me to get started with serializing? I think I did'nt quite
understand the manual here...
How to post to $PHP_SELF and read this simple array?
?
//print the posted array here
print_r($arr_siirt_jouk);
//create the array and post it in another name
$arr_siirto = array(1,2,3);
William Stokes wrote:
Can someone help me to get started with serializing? I think I did'nt quite
understand the manual here...
How to post to $PHP_SELF and read this simple array?
Why do you want to post it to itself? Why not use a session instead?
It's a lot more efficient.
?
William Stokes a écrit :
Can someone help me to get started with serializing? I think I did'nt quite
understand the manual here...
serialize and unserialize don't modify your variable, but the return
value is a string or a mixed (which means it can be a very complicated
structure, or a
Hi
I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to
file.
I can see all of the direct errors but when I have an error inside an
include
file the script fails and the error is not shown in the log. I have to
guess
Where the error is.
Any idea what I'm missing.
Thanks
Have a look at :
http://www.weberdev.com/AdvancedSearch.php?searchtype=titlesearch=serializ
berber
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 1:17 PM
To: php-general@lists.php.net
Subject: Re: [PHP] POST arrays?
Can someone help me
When you go to http://www.weberdev.com you need to create an account
For some of the options. IF you go to http://www.weberforums.com you
Need to create a 2nd account cause there is no connection between
The two sites.
I'm looking for a script (I found something on phpbb.com but it's not
Working
Why do you want to post it to itself? Why not use a session instead?
-I dont know. Never tried session
It's a lot more efficient.
-OK. Is it more complicated to write?
-Will
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
Can someone help me to get
Actually, you can even use less code to do exactly the same thing
(since you can EITHER make an excutable file with the shebang, which you
start doing, but never actually do, OR call php to just read the file
and execute the code inside it, which you in the end do).
Basically, either:
Google was the 1st place I looked.
I have been on this list since 1998. Looking at some of the
answers on this list lately it must be a real disappointment for
many people. There are many people that like to help but then
there are those that just love to open the joke threads.
If everything
Mohsen Pahlevanzadeh wrote:
Dear all,
I remember that i use a func that it return an array what it consist of
result of my sql query.
Please name me that.
Yours,Mohsen
it's called RTFM
glad to be of help,
- tul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
William Stokes wrote:
Why do you want to post it to itself? Why not use a session instead?
-I dont know. Never tried session
It's a lot more efficient.
-OK. Is it more complicated to write?
session is great, gets me high every time. See your local supplier or
go to
Weber Sites LTD wrote:
When you go to http://www.weberdev.com you need to create an account
For some of the options. IF you go to http://www.weberforums.com you
Need to create a 2nd account cause there is no connection between
The two sites.
I'm looking for a script (I found something on
OK. Must try that.
BTW theres something odd about my serialize. I got it return something but
not quite what was expected :) Here's the result a:3:{i:0;s:1:
-W
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
Why do you want to post it to itself? Why not use
William Stokes wrote:
OK. Must try that.
BTW theres something odd about my serialize. I got it return something but
not quite what was expected :) Here's the result a:3:{i:0;s:1:
You need to use htmlentities() (http://php.net/htmlentities) on the
serialized data when putting it into the
Is it bad just to remove the single quotes [ ' ] ?
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
OK. Must try that.
BTW theres something odd about my serialize. I got it return something but
not quite what was expected :) Here's the result a:3:{i:0;s:1:
William Stokes wrote:
Is it bad just to remove the single quotes [ ' ] ?
From what? In fact, yes, almost certainly bad.
-Stut
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
OK. Must try that.
BTW theres something odd about my serialize. I
Hi gang:
While looking for a solution to the Date time Comparison post, I
came across a function that looked interesting, namely gregoriantojd
-- see:
http://www.weberdev.com/gregoriantojd
Everything I've read about it says that it works for PHP 3-5.
However, I'm working in PHP 4.3.1 and
From here:
$arr_siirto = array((serialize('1','2','3'));
after removing the single quotes it started to work.
-W
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
Is it bad just to remove the single quotes [ ' ] ?
From what? In fact, yes, almost certainly
William Stokes wrote:
From here:
$arr_siirto = array((serialize('1','2','3'));
after removing the single quotes it started to work.
Yes, the quotes here are not needed because they're numbers. If they
were not numbers then the quotes would still be needed.
-Stut
--
PHP General Mailing
tedd wrote:
Everything I've read about it says that it works for PHP 3-5. However,
I'm working in PHP 4.3.1 and calls to that function give me:
Fatal error: Call to undefined function: gregoriantojd()
What's up with that?
That function is part of the calendar extension. Check that this
You're right.
BTW, can sessions and $POST be mixed? If yes is there any reason what so
ever to do that?
-W
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
From here:
$arr_siirto = array((serialize('1','2','3'));
after removing the single quotes it started
Pure Web Solution wrote:
I run several PHP scripts via CRON in the following way:
put the following in the top of the php script:
#!/usr/local/bin/php -q (linux system - location of php bin)
^^^ If you're going to use this
and in the CRONTAB I have the following:
10 1 * * * root
William Stokes wrote:
You're right.
I'm also shocked, but only mildly.
BTW, can sessions and $POST be mixed? If yes is there any reason what so
ever to do that?
Your question indicates that you don't understand what sessions are.
Please read
Here's an invitation to take this off-list. I've posted my thoughts
on my (currently design-less and under massive construction
relocation) website.
Direct link to post:
http://s153531379.onlinehome.us/index.php/journal/the-clash-of-the-php-mailing-list-and-the-proverbial-web-2-0-iceberg
Not exactly, we are talking about two different sites with two different
Databases. Each site has it's own userbase and authentication will
Still be against the respected DB. I just want the account to be ready
For the user if he already opened it.
Obviously I can reverse engineer the phpBB2 code
Weber Sites LTD wrote:
Google was the 1st place I looked.
Maybe the phpBB site/forums would have been a better choice.
I have been on this list since 1998. Looking at some of the
answers on this list lately it must be a real disappointment for
many people. There are many people that like to
Weber Sites LTD wrote:
Not exactly, we are talking about two different sites with two different
Databases. Each site has it's own userbase and authentication will
Still be against the respected DB. I just want the account to be ready
For the user if he already opened it.
Are both sites on
True. I'm not famiar with sessions. I have always used $POST to transmit
variables.
-W
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
You're right.
I'm also shocked, but only mildly.
BTW, can sessions and $POST be mixed? If yes is there any reason
So. If large amount of variables are needed to be preserved in arrays or
otherwise is session the (normal)way to go?
-W
Stut [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED]
William Stokes wrote:
You're right.
I'm also shocked, but only mildly.
BTW, can sessions and $POST be
Notice that instead of helping, you too, are telling me
to go look for a PHP script somewhere else than the
PHP mailing list where so many php people that may
Have used php to write this script are reading. Why
Is that?
It's not about being overly sensitive, it's about
The kind of answers that
At 3:55 PM +0300 4/20/06, William Stokes wrote:
BTW, can sessions and $POST be mixed? If yes is there any reason what so
ever to do that?
Yes, you can use sessions, post, get, and cookies all in the same
script if you want.
Yes, there can be reasons to do that.
tedd
--
Weber Sites LTD wrote:
Notice that instead of helping, you too, are telling me
to go look for a PHP script somewhere else than the
PHP mailing list where so many php people that may
Have used php to write this script are reading. Why
Is that?
I can't speak for John, but I pointed you at
Yes, both sites are on the same server but weberdev was built by me
And weberforums is phpBB2. No sense in writing my own forums application.
WeberDev is the main site and has it's own user base and phpBB2 is
Pretty complex and I didn't have the time to create a single logon. It
Will not be
Hi all, I AM a PHP developer and I KNOW this is off topic, so apologies, but
don't respond if you don't feel like it. One of my clients has a poker site
which we have to move to an offshore dedicated server located in Cyprus,
Malta, Isle Of Man, Alderney or Costa Rica. I am finding it hard to find
I don't know if MS Access will behave the same, but in MySQL you can
have a query like so:
SELECT *, DATE_FORMAT(end_date, '%d %m %Y') as end_date_formatted FROM
projects;
And it will retrieve all columns from your projects table, plus the
extra one you've created on the fly, and it will
Matt Todd wrote:
There's nothing wrong with staying true to the philosophy at all, I
just think that it may well be detrimental in the end. And that is
what I said in the (toilet)paper, that there will be (emphasis on the
eventuality, not on the present actuality) a time that PHP will become
Weber Sites LTD wrote:
Notice that instead of helping, you too, are telling me
to go look for a PHP script somewhere else than the
PHP mailing list where so many php people that may
Have used php to write this script are reading. Why
Is that?
Actually, saying to go look at the phpBB
Hi everyone.
I hope someone here can help me.
When i start a session in a php page, this session receives an unique id.
If you think about this, if i call a session_destroy() in any page and in
the other paga call a session_start() again, it'll receive other unique id.
But it isn't working.
Maybe it is just me, but I think these types of discussions/debates
concerning opposing view points on the direction of web programming is
as imperative to the general PHP community (i.e. this list) as the
dangers of register globals and magic quotes etc
At least more relevant then the
OK, so maybe this just seems moot, but...
Weber Sites LTD wrote:
Yes, both sites are on the same server but weberdev was built by me
And weberforums is phpBB2. No sense in writing my own forums application.
Same server means you can look at the database
WeberDev is the main site and has it's
Hello,
Try generating your own session id and the problem will be solved ;)
cheers,
João Cândido de Souza Neto wrote:
Hi everyone.
I hope someone here can help me.
When i start a session in a php page, this session receives an unique id.
If you think about this, if i call a
Weber Sites LTD wrote:
Yes, both sites are on the same server but weberdev was built by me
And weberforums is phpBB2. No sense in writing my own forums application.
WeberDev is the main site and has it's own user base and phpBB2 is
Pretty complex and I didn't have the time to create a single
Martin Alterisio El Hombre Gris [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
Matt Todd wrote:
snip
Have you stop to think what the efficiency cost would be to make
everything an object? We're already suffering much to avoid the waiting
2.5 second it's way too much cutline
Why couldn't you use your login (weberdev). I.E. when a user creates an
account you also push this data onto the phpBB2 db. Find where phpBB is
creating a user, analyze the encryption method use, modify your login to
create both entries.
Jeremy Schreckhise
-Original Message-
From:
I'd try this:
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
Foreach($arr_siirto as $value){
echo input type=text name=\arr_siirto[]\ values='$value';
}
?
And when submit do this:
?
$arr_sirto = $_REQUEST['arr_siirto'];
Print_r($arr_sirto);
Jeremy Schreckhise wrote:
Why couldn't you use your login (weberdev). I.E. when a user creates an
account you also push this data onto the phpBB2 db. Find where phpBB is
creating a user, analyze the encryption method use, modify your login to
create both entries.
snip
Gee, I wish I would
You should set a name to your session:
Index.php:
?
session_name(mySession);
session_start();
$_SESSION['myVar'] = something;
?
LogOff.php
?
session_name(mySession);
session_start();
Session_destroy();
Print_r($_SESSION);
?
++
| ISC Edwin Cruz [EMAIL
Hi
My 1st thought was to look at the mysql query log and see what it takes
To create a user. After looking at the set of queries I understood that I
Didn't want to go directly to the DB and bypass the phpBB logic.
I managed to find a script that uses the minimum phpBB internal
functions to
João Cândido de Souza Neto wrote:
Hi everyone.
I hope someone here can help me.
When i start a session in a php page, this session receives an unique id.
If you think about this, if i call a session_destroy() in any page and in
the other paga call a session_start() again, it'll receive
Are you using the constants predefined?
__FILE__ __LINE__
Or also try using backtrace,
http://mx.php.net/debug_backtrace
Regards!
Edwin.
-Mensaje original-
De: Weber Sites LTD [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 20 de Abril de 2006 07:43 a.m.
Para:
Wasn't trying to steal anyone's thunder. Created the response, went to
work, then sent it later. Your response adequate and complete. Sorry to
intrude.
Jeremy Schreckhise, M.B.A.
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 9:37 AM
Jeremy Schreckhise wrote:
Wasn't trying to steal anyone's thunder. Created the response, went to
work, then sent it later. Your response adequate and complete. Sorry to
intrude.
Guess I should have added a ;)
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of
As I said, I could but then I would be bypassing all of the phpBB logic
And chances are that I may miss something.
-Original Message-
From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 4:34 PM
To: 'John Nichel'; php-general@lists.php.net
Subject: RE: [PHP]
It's really that hard to read the whole manual page about session_destroy()?
Quoting the php manual:
In order to kill the session altogether, like to log the user out, the
session id must also be unset. If a cookie is used to propagate the
session id (default behavior), then the session cookie
What's there to miss. The create user logic is centralized and fairly easy
to follow. If this is too hard for your current situation, you might just
want to pass your user information to the phpBB .php file that processes
user input. Just another option.
(I know these aren't the
Please, explain how are you logging the errors.
Weber Sites LTD wrote:
Hi
I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to
file.
I can see all of the direct errors but when I have an error inside an
include
file the script fails and the error is not shown in the log.
Run the include file separately and see if it produces an error. Also
make sure that if you have short open tags=OFF that your include file
uses normal tags.
Code normally helps.
Wolf
Weber Sites LTD wrote:
Hi
I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to
file.
Hello All,
I'm using a single development server to host multiple client
projects, many of which require session management. I've noticed that
sometimes when I test these various web apps (which are simply in
separate sub directories) I get session leakage where logging in and
establishing a
On Thursday 20 April 2006 1:18 am, Richard Lynch wrote:
Is 5 longer than 4?
Size doesn't matter. At least that's what I've been told. ;)
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually I'm not looking for help with the code.
The problem is more of a principle problem.
Because I don't want users to see errors and warnings
When there is a problem all of the errors go to a log file
Instead of the standard output.
As long as the error (any error) occurs in the file I'm
On 20/04/06, Ben Liu [EMAIL PROTECTED] wrote:
Hello All,
I'm using a single development server to host multiple client
projects, many of which require session management. I've noticed that
sometimes when I test these various web apps (which are simply in
separate sub directories) I get
Thanks for the response Robin, I'm reading up on session.cookie_path
now. It seems that this would require creating separate php.ini files
for each application.
On 4/20/06, Robin Vickery [EMAIL PROTECTED] wrote:
On 20/04/06, Ben Liu [EMAIL PROTECTED] wrote:
Hello All,
I'm using a single
The idea of creating a phpBB user when a weberdev one is created has merit, but
I'm not sure I saw anyone recommend doing the opposite?
Since you have a fair idea of how weberdev creates users (since you created it)
why not insert some PHP code into phpBB to create a weberdev account when
Hi Dave,
Thanks, I think the method recommended by Robin using the function
ini_set() would work, but somehow I think this could be done in
simpler fashion by setting separate session names for each app, unless
I am misunderstanding the use of session_name(). Trying this out
now...
- Ben
On
Ben Liu wrote:
Hi Dave,
Thanks, I think the method recommended by Robin using the function
ini_set() would work, but somehow I think this could be done in
simpler fashion by setting separate session names for each app, unless
I am misunderstanding the use of session_name(). Trying this out
William Stokes wrote:
Hello,
How to post an array with associated values?
This works ok
?php
$arr_siirto = array(1,2,3);
print_r($arr_siirto);
$arse = $arr_siirto;
print_r($arse);
?
But if I post it to another form with this:
input type=hidden name=arr_siirt_jouk value=?php echo $arse;?
It's possible and I may do that however, weberdev, by far
Has much more traffic so it's the side that I want to start
With.
Thanks
berber
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006 6:25 PM
To: php-general@lists.php.net
Cc: [EMAIL
[EMAIL PROTECTED] wrote:
The idea of creating a phpBB user when a weberdev one is created has merit, but
I'm not sure I saw anyone recommend doing the opposite?
Since you have a fair idea of how weberdev creates users (since you created it)
why not insert some PHP code into phpBB to create a
1 - 100 of 142 matches
Mail list logo