- Original Message -
From: "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]>
To: "'Stefan Rusterholz'" <[EMAIL PROTECTED]>; "Johan Vikerskog (EMP)"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 9:07 AM
Subject: RE: [PHP] imageJPEG problem.
> Thanks for your answer
Yes you can.
It depends if you have a user name and password and access to access
abc.com's MySql server,
remember you do this:
see?
try http://freesql.org (it is a free mysql database provider!;))
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
010301c14508$864c8060$[EMAIL PROTECTED]">news:0
When trying to use a simple code like this below i receive an error which says that it
cant find the header.
It outputs the information in ascii and binary code. it doesn't show the picture
Thanks for all the help you can give me.
//Johan
--
PHP General Mailing List (http://www.php.net/)
T
On Tue, 25 Sep 2001 13:38, Maxim Maletsky \(PHPBeginner.com\) wrote:
> Don't do it with PHP. Instead use the native functions of mySQL itself.
>
> Use the combination of CONCAT(), some string and date functions of
> mySQL.
> Something like CONCAT(SUBSTRING(), SUBSTRING(), ...) so you end up in
> t
On Tue, 25 Sep 2001 12:56, Tshering Norbu wrote:
> Hi list,
> I can not get the form (from thesitewizard) working. When I submit the
> form, I get this error: "Warning: Failed to Connect in c:\Program
> Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on
> line 2." My PHP conf w
You need to echo it :)
Rick
> Hi,
>
> I was wondering is it possible to pass the values of PHP variables in a
> form. I have been trying, but without success.
>
> First I call the function to generate a password and store that value in
> a variable called $genpassword :
>
>
> $genpassword
Hi,
I was wondering is it possible to pass the values of PHP variables in a
form. I have been trying, but without success.
First I call the function to generate a password and store that value in
a variable called $genpassword :
Password:
For some reason the value inside $genpa
Look @ http://www.phpbuilder.com
There is/are article(s) about
sessions.
Andrey Hristov
- Original Message -
From: "nirat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 8:46
AM
Subject: [PHP-DB] sessions in
PHP
> can anyone guide me to using
session
You have a blank line before your mailto:[EMAIL PROTECTED]]
Sent: September 25, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] A simple PHP form not working
I did try that before too and here is what I got/get :
Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/d
I did try that before too and here is what I got/get :
Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2
Warning: Cannot add header information - headers already sent by (output
started at c:\Program Files\Apache
Group\Apache\ht
First of all, you need to type
header("Location: thankyou.html");
exit;
Try that...
-Jason Garber
deltacron.com
At 09:26 AM 9/25/2001 +0600, Tshering Norbu wrote:
>Hi list,
>I can not get the form (from thesitewizard) working. When I submit the form,
>I get this error: "Warning: Failed to Con
Don't do it with PHP. Instead use the native functions of mySQL itself.
Use the combination of CONCAT(), some string and date functions of
mySQL.
Something like CONCAT(SUBSTRING(), SUBSTRING(), ...) so you end up in
the right time format i.e.: -00-00. With that string you should be
able to do
I am using sessions on my site and have noticed that people often don't
click the "logout" button -- something which I need them to do in order to
clear their session from the db and update some site stats. In the sessions
table, I have a field $timein (in format F j, Y, g:i a) that gets added whe
Don't use subselect in MySQL, MYSQL have not completed it now , Use "join"
to instead it.
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm having trouble puting up a query in Mysql because of his lack of SQL
> syntax.
>
> I have a table A
Hi list,
I can not get the form (from thesitewizard) working. When I submit the form,
I get this error: "Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2." My PHP
conf with Apache has no problem. What am I doing wrong? Sorry, I
Hi --
No luck finding an answer to this ... can class methods be registered as
the user functions with session_set_save_handler() -- or do I have to
create a wrapper outside the class to call the class functions? Using
4.0.3pl1 ...
Thanks --
Bob.
--
PHP General Mailing List (http://www.p
Hi,I meet a problem when I am developing.
I am developing php base on other programer's php code .
I must make the php page always newest when clicking 'back' botton in
browser(because that programer using javascript: history.go(-1)), I try sent
header() to disable cach,but seems to not works:
my
"Christian Dechery" <[EMAIL PROTECTED]> wrote:
> I have a table A and a table B... I want all occurences from A there are
> not in B...
>
> in ANSI SQL... it's nothing more than:
>
> select a.id, a.name from table_a a, table_b b where a.id NOT IN (select id
> from table_b)
>
> and that's it... but
I'm having trouble puting up a query in Mysql because of his lack of SQL
syntax.
I have a table A and a table B... I want all occurences from A there are
not in B...
in ANSI SQL... it's nothing more than:
select a.id, a.name from table_a a, table_b b where a.id NOT IN (select id
from table_b
Another thing to check
Are your table(s) corrupted?
>From the MYSQL Manual
Typial typical symptoms for a corrupt table is:
You get the error Incorrect key file for table: '...'. Try to repair it
while selecting data from the table.
Queries doesn't find rows in the table or returns incomplete
On Tue, 25 Sep 2001 00:42, Jeff Lewis wrote:
> I am assuming that all I need to change is the host/domain so that
> instead of localhost it would be something else. Am I assuming right?
> So I could have www.abc.com or the IP?
>
> Jeff
The grant tables on the mysql server must have permissions
On Tue, 25 Sep 2001 02:38, Michael George wrote:
> I think I've discovered a problem with MySQL, but I wanted to check
> here to see if perhaps there's something I'm doing wrong.
>
> I have the following table:
>
> mysql> show columns from IncomingInvoice;
> +-
Hi,
I need a regex for a username validation. The ereg
function should be used.
o the username must start and end with a-z
o in the middle it could be a-z0-9\.-_
o and never something like this -- -. _- and so on
Thanks for your help
Oliver
=
mailto: [EMAIL PROTECTED]
www.ertl.co.za
On Tue, 25 Sep 2001 09:49, Devon wrote:
> I am pulling down data from a switch which looks like
>
> Port 1, 33889029532
> Port 2, 0
> Port 3, 135852
> Port 4, 6652941243
> etc etc
>
> I need to know if it is possible with PHP to write a script that will
> pull the individual lines of this text fil
Hello everyone who once knew me!
I am announcing you my return to the greatest list!
I've been traveling for a few month around the world and am now settled
down back in my home town Rome, Italy. I've quit my carrier in Tokyo
and, I will now freelance here for a while until I find something
inter
I am pulling down data from a switch which looks like
Port 1, 33889029532
Port 2, 0
Port 3, 135852
Port 4, 6652941243
etc etc
I need to know if it is possible with PHP to write a script that will pull
the individual lines of this text file and store them into a mysql database
line by line.
Chee
Hello all,
I just installed Zend LaunchPad (PHP 4.0.4pl1) with Zend Cache v1.1.0 all
seems ok when I run phpinfo()
This program makes use of the Zend scripting language engine:
Zend Engine v1.0.4, Copyright (c) 1998-2000 Zend Technologies
with Zend Optimizer v1.0.0, Copyright (c) 1998-2000,
http://www.php.net/manual/en/ref.exec.php
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts
"Clint Tredway" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can PHP kick off an exe o
Try
var myvar = opener.parent.top.document.form.var.value
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts
"M" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello people.
>
> F
Hello people.
First , let me thanks all of you who answered my mime-mail question
(special Richard Lynch).
Next question (probably not for proper list, but I couldn't get answer,
so please sorry me).
I have http frame page (classical 'top', 'left' and 'center' frames),
then 'center' frame open
Thanks. Sorry for missing that.
-Steve
On Monday, September 24, 2001, at 05:54 PM, Rasmus Lerdorf wrote:
> http://www.php.net/manual/en/function.get-class-methods.php
>
> On Mon, 24 Sep 2001, Steve Cayford wrote:
>
>> Is there any way in PHP 4.0.6 to query an object for its member
>> functions
http://www.php.net/manual/en/function.get-class-methods.php
On Mon, 24 Sep 2001, Steve Cayford wrote:
> Is there any way in PHP 4.0.6 to query an object for its member
> functions? For example I have a couple classes that have an htmlString()
> function to display themselves in some special way
Is there any way in PHP 4.0.6 to query an object for its member
functions? For example I have a couple classes that have an htmlString()
function to display themselves in some special way as html. I'd like to
go through a list of various objects, find out if each can run
htmlString() and if so
As far as I know, you've defined $errorMsg previously
as an variable, not as an array. If you'll not use
anymore the previously defined $errorMsg just unset the
variable using "unset($errorMsg)" before the
attribution.
I hope this solves your problem, it solved a lot of
similar errors to me!
Sometimes I have to add the 'extensions' word:
extension=extensions/php_mssql.dll
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Mark Roedel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -Original Message-
> From: Brandon Or
I can't really anwser that question since I have never used that template
system, I have writen this one to meet my exact needs and it is turned out
to work really good. If you got any experience with the PHPLIB's template
system, I really curious what you would think of it so I can get deserving
On Mon, 24 Sep 2001, Jeroen Olthof wrote:
> look here for a live excample
> http://www.millipede.nl/ectemplate
>
And how is ecTemplate different from PHPLIB's Template system ? It looks
like the same thing to me..
Joao
--
João Prado Maia <[EMAIL PROTECTED]>
http://phpbrasil.com - php com um j
We've noticed that turning display_errors=on hoses up our setup so bad that
the apache child process seg faults and occasionally PHP spits what looks like
garbage in memory out all over the screen and often into the URL if we're
doing a header redirect. Has anyone else seen this? We use sessions
hi, I would like te announce a really good html template parser class.
How it works.
Normally your HTML and PHP codes are mixed and therefor you are not able to
use tools like dreamweaver anymore. Well with ecTemplate you can define to
types of tags that you can put inside your html file.
for ex
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 1:50 PM
> To: PHP User Group
> Subject: [PHP] PHP isn't reading the php.ini
>
>
> When I uncomment the line for php_mssql.dll it doesn't seem
> to do anything. It just says call t
> -Original Message-
> From: Krzysztof Kocjan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP parser BUG - comments
>
>
> I'm using PHP/4.0.6. I suppose I found bug in PHP parser. There is PHP
> code:
>
> print( 'test'
On Mon, 24 Sep 2001, Daniel Demacek wrote:
> Hi, all
>
> anyone know how to get this to work?
>
>
> # this is suppose to do same thing as fpassthru();
> # but using SSL
>
>
> header("Content-Type: application/octet-stream");
> header("Content-Disposition: attachment; filename=" . $f);
>
> $ch =
On Mon, 24 Sep 2001, Fábio Migliorini wrote:
>
> The php was distributed under gpl in the version 3 now it´s distribued
> under "the php license" that is based on qpl (qt public license)... so...
>
> 1) Is "the php license" incopatible with gpl?
yep.
> 2) Can I write a program in php an
> -Original Message-
> From: Jay Paulson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 3:09 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] what does this mean?
>
>
> Warning: Cannot use a scalar value as an array
> what does that mean?
>
> i have in my code this:
> $errorM
Fábio migliorini wrote:
>
> The php was distributed under gpl in the version 3 now it´s distribued
> under "the php license" that is based on qpl (qt public license)... so...
>
> 1) Is "the php license" incopatible with gpl?
> 2) Can I write a program in php and to distribute it under the g
Hi, all
anyone know how to get this to work?
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it
had an underlying truth.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
I installed PHP 4.0.6 to test the functions imagecopyresized () and
imagecopyresampled().
In documentation was information about implicit use of the bicubic
interpolation algorithm within the function imagecopyresized ().
I compared the result of the function with Adobe PhotoShop bicubic
resiz
Fábio migliorini <[EMAIL PROTECTED]> wrote:
> 2) Can I write a program in php and to distribute it under the gpl license?
yes.
jim
--
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
The php was distributed under gpl in the version 3 now it´s distribued
under "the php license" that is based on qpl (qt public license)... so...
1) Is "the php license" incopatible with gpl?
2) Can I write a program in php and to distribute it under the gpl license?
3) Why qpl and not gpl?
Hi,
could you help me please? I run php in safe mode, but it makes problem with
upload file. File is upladed to /tmp directory, but it doesn't work. I can
upload only for some users, what I have to do?
Sorry for my bad English.
Thanks
Radek
--
PHP General Mailing List (http://www.php.net/)
use the C style constant
argv[]
argc
and call your .php like this
foo.php 1 5
then, argv[1] = 1
and, argv[2] = 5
--
Marc-Andre Vallee
[EMAIL PROTECTED]
"Bill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When PHP is being run as cgi, I can pass paramete
When PHP is being run as cgi, I can pass parameters in the url like
this:
http://mysite.com/phpfile.cgi?var1=5&var2=7
Which will get me var1 as 5 and var2 as 7.
I want to run this cgi PHP script as a cron job.
So, I'm wondering how to pass it parameters from the command line.
kind regards,
b
How do you call for the execution of a CGI on a remote machine
without redirecting the output of that CGI to the browser?
I basically need to send form info to a CGI of a marketing
group, while keeping the browser on my site.
Thanks,
_Ken
[EMAIL PROTECTED]
--
PHP General Mailing List (http://
$bar = 'abc';
function foo() {
global $bar;
$bar = 'def';
}
foo();
echo $bar; // def
http://www.php.net/manual/en/language.variables.scope.php
regards,
Philip Olson
On Tue, 25 Sep 2001, Peter wrote:
> Hi,
>
> I am have a function in which I have created a variable in it called
Warning: Cannot use a scalar value as an array
what does that mean?
i have in my code this:
$errorMsg["error"] = "";
thanks,
jay
--
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
what does this mean?
Warning: Cannot use a scalar value as an array
I look at the line that is causing the warning and it's this:
$errorMsg["error"] = "";
thanks,
jay
[EMAIL PROTECTED] wrote:
>PHP 3.0.18 stops working after i add over 125 virtual hosts in my
>httpd.conf file. PHP 4.0.6 still
This has to do with error_reporting level setting set in php.ini
echo $iamnotset;
when E_NOTICE level is on, that will produce a Warning. Otherwise, it
will not.
I posted something similiar recently, see it here:
http://marc.theaimsgroup.com/?l=php-general&m=100083224311516
On uklinux, e
Is it possible to store arrays inside of session variables?
I mean is this a valid statement?
$HTTP_SESSION_VARS["Crumbs"][0] = "1";
$HTTP_SESSION_VARS["Crumbs"][1] = "2";
foreach ($HTTP_SESSION_VARS["Crumbs"] as $k => $v) {
echo "$v ->";
}
Regards,
Johnny Nguyen
--
PHP General Maili
I just tried this here below. Before trying this I changed any called to
$PHPSESSID to session_id().
I turned off cookies
Loaded the page... Created session id and file:
sess_44074d3a54862b480c3407c9eb373f77
Contents: var1|s:8:"My var 1";var2|s:8:"My var 2";
I submitted the form:
PHPsessionid sh
Hello,
I had a computer running a MSSQL server and apache with PHP on it for
development. I got hit by the nimda Virus and have had to start all over.
I am trying to get MSSQL support with PHP but I am having the following
problems. Thanks for any help ahead of time.
When I uncomment the like
Yeah, I think it's my server setup, or something I have going on on my
server because others have said that it works fine for them but not on my
machine.
I'm running red hat linux 6.1 apache+mod_ssl 1.3.20
On 9/24/2001 2:08 PM this was written:
>>
>> Then I will reload the first page again by
Hello,
I had a computer running a MSSQL server and apache with PHP on it for
development. I got hit by the nimda Virus and have had to start all over.
I am trying to get MSSQL support with PHP but I am having the following
problems. Thanks for any help ahead of time.
When I uncomment the lik
global $genpasswd;
___
Justin Bain Rodino
Technology Analyst/Systems Engineer
p. 219.524.1000
f. 219.524.1001
e. [EMAIL PROTECTED]
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 1:28 PM
> To: PHP List
Read the manual. (Déjà vu?)
http://www.php.net/manual/en/function.fread.php
Even has an example that says -- "get contents of a file into a string"
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 7:42 PM
To: [EMAIL PROTECTED]
Subject:
Hi,
I am have a function in which I have created a variable in it called
$genpassword.
I find that I am unable to carry this variable over to the the other
scripts to use because it is a local variable and its value exists only in
the function.
Is there anyway that I can take the value in $gen
Try this..
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Modem communcation using PHP
Hi ya all!
I can't find the PHP documentation on using the php code to
initalize,
configure, da
On Monday 24 September 2001 18:39, Thomas Deliduka wrote:
> On 9/24/2001 12:32 PM this was written:
> >> After reloading IE on the PC now the SID constant doesn't
> >> echo anything at
> >> all.
> >
> > SID is always defined on the first page request. It is only
> > defined on later page requests
>
> Then I will reload the first page again by erasing index2.php and
> hitting enter and it will display a new sess id number and show the
> first page, as normal but that sessid number is equal t the new
> session created on the server and the value of it is:
>
> var3; var1; var2
>
> This is str
PHP 3.0.18 stops working after i add over 125 virtual hosts in my
httpd.conf file. PHP 4.0.6 still working.
After reaching this limit PHP3 completele stopps delivering pages.
Searching the archives i recognized, that nearly the same problem was
reported on http://bugs.php.net, reading Bug Id #531
Hi,
If anyone has some good separate projects or part-time php-mysql related
job to offer, I would appreciate if you let me know. I know php&mysql
pretty good and have also some pretty nice things in my portfolio (both
programming and design). For more information I can be contacted at
[EMAIL PR
I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions
at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on
a Win98 machine which I will later use as an intranet server (NT workstation
refuses to detect NT server, and the machine is too slow for Win2k).
Thank you everyone for your continued help with this. It's still not fixed
but I have to leave to a dr. appt. I hope that most--If not all--of you are
on when I get back.
I just wanted to alert you as to why I wouldn't be responding to your
questions/messages.
Here is the last information I sent
OK, do you have access to your /tmp directory? If so, close your browser,
then open it and request your index page. Now sort the files in /tmp by
creation time, to find the newly created session file. Look at its contents,
and see if the 2 variables have values assigned to them in the file. Do thi
Hi
I'm trying to listen to port 119 with a socket connection. The script looks
like this:
It works fine until this line "if(($ac=accept_connect($sock))<0){"
Thats where the problem is, it never accepts a connection it just keeps on
running.
";
echo strerror($bin) . "";
echo strerror($lis). "";
On 9/24/2001 1:18 PM this was written:
>> OK, now the session ID is getting passed like it should. Now for the two
>> missing variables. Try moving the two assignment statements ahead of the two
>> session_register() calls - "assign, then register". I have never seen this
>> make a difference, bu
On 9/24/2001 1:15 PM this was written:
> OK, now the session ID is getting passed like it should. Now for the two
> missing variables. Try moving the two assignment statements ahead of the two
> session_register() calls - "assign, then register". I have never seen this
> make a difference, but th
OK, now the session ID is getting passed like it should. Now for the two
missing variables. Try moving the two assignment statements ahead of the two
session_register() calls - "assign, then register". I have never seen this
make a difference, but the pros on this list say that is the way it needs
I think I've discovered a problem with MySQL, but I wanted to check here to
see if perhaps there's something I'm doing wrong.
I have the following table:
mysql> show columns from IncomingInvoice;
+--+--+--+-+-+--
On 9/24/2001 1:05 PM this was written:
> On Monday 24 September 2001 18:51, Thomas Deliduka wrote:
>> I'm finding my script on www.fromtheduke.com/session/ still doesn't
>> work even with the in the link or passing it along in the
>> form.
> Please send us your latest code again, then we can hel
On Monday 24 September 2001 18:51, Thomas Deliduka wrote:
> I'm finding my script on www.fromtheduke.com/session/ still doesn't
> work even with the in the link or passing it along in the
> form.
Please send us your latest code again, then we can help you, not just
guessing what you've might don
Configure & dial? Wouldn't your web server already be online?
Send and receive, , have a look at http://www.php.net/fopen (fopen: Open
a file or URL) and play around with that... might help...
Cheers
Jon
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: 24 Se
I'm finding my script on www.fromtheduke.com/session/ still doesn't work
even with the in the link or passing it along in the form.
On 9/24/2001 12:49 PM this was written:
> On Monday 24 September 2001 18:39, Thomas Deliduka wrote:
>> On 9/24/2001 12:32 PM this was written:
After reloading
On 9/24/2001 12:39 PM this was written:
> Try these changes:
>
> session.cookie_lifetime = 0
> session.use_trans_sid = 1
>
I see no changes to my problems.
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.c
Hi ya all!
I can't find the PHP documentation on using the php code to initalize,
configure, dail, send and receive data using the modem. Anyone know
anything about it. I'm kind of stuck on this project. Will appreciate it
on anyone who can point it out for me.
Thanks,
Scott
--
PHP
On 9/24/2001 12:39 PM this was written:
> Try these changes:
>
> session.cookie_lifetime = 0
> session.use_trans_sid = 1
>
> Also, what version of PHP are you using?
PHP: 4.0.6
In the past I had problems with trans_sid with urls that already had
querystrings being passed. They would mes
On 9/24/2001 12:32 PM this was written:
>> After reloading IE on the PC now the SID constant doesn't
>> echo anything at
>> all.
>
> SID is always defined on the first page request. It is only defined on later
> page requests if cookies are disabled in the browser.
So, I shouldn't use that if I
Try these changes:
session.cookie_lifetime = 0
session.use_trans_sid = 1
Also, what version of PHP are you using?
> My php.ini:
>
> [Session]
> session.save_handler = files
> session.save_path = /tmp
>
> session.use_cookies = 1
> session.name = PHPSESSID
> After reloading IE on the PC now the SID constant doesn't
> echo anything at
> all.
SID is always defined on the first page request. It is only defined on later
page requests if cookies are disabled in the browser.
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
On 9/24/2001 12:28 PM this was written:
> Perhaps you could post the [Session] section of your php.ini file. It
> appears that session.cookie_lifetime is not set to 0, which is what you want
> for a session cookie. Perhaps we can find another setting that needs a
> change.
My php.ini:
[Session]
So sprach »Jay Paulson« am 2001-09-24 um 10:50:02 -0500 :
> Is there a way to get the client's screen resolution in php?
no, because, as you say, it's the client's screen resolution and PHP
runs on the server.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to
After reloading IE on the PC now the SID constant doesn't echo anything at
all.
On 9/24/2001 12:28 PM this was written:
> On 9/24/2001 12:28 PM this was written:
>
>> On Monday 24 September 2001 18:20, Thomas Deliduka wrote:
>>> On 9/24/2001 12:22 PM this was written:
Try to use constant S
Perhaps you could post the [Session] section of your php.ini file. It
appears that session.cookie_lifetime is not set to 0, which is what you want
for a session cookie. Perhaps we can find another setting that needs a
change.
Kirk
> Sessions just don't work on my machine...
--
PHP General Mail
On 9/24/2001 12:28 PM this was written:
> On Monday 24 September 2001 18:20, Thomas Deliduka wrote:
>> On 9/24/2001 12:22 PM this was written:
>>> Try to use constant SID, maybe that will work, and it is more
>>> likely that it will work on other intallations with other session
>>> variable names
On Monday 24 September 2001 18:20, Thomas Deliduka wrote:
> On 9/24/2001 12:22 PM this was written:
> > Try to use constant SID, maybe that will work, and it is more
> > likely that it will work on other intallations with other session
> > variable names.
>
> I just tried using SID in my index.php
On 9/24/2001 12:22 PM this was written:
> Try to use constant SID, maybe that will work, and it is more likely
> that it will work on other intallations with other session variable
> names.
I just tried using SID in my index.php and there is nothing that displays.
Hmmm.
--
Thomas Deliduka
IT M
On Monday 24 September 2001 17:56, Thomas Deliduka wrote:
Hi,
> PHPSESSID:
Try to use constant SID, maybe that will work, and it is more likely
that it will work on other intallations with other session variable
names.
>
> VAR 3: TYPE=SUBMIT VALUE="go">
>
You should add the session id (SI
I see I'm relying on cookies in my code. Lemme see if I can pass it. Thanks.
On 9/24/2001 12:11 PM this was written:
> I dont see where the SID is being passed to the next page. I recently
> struggled through getting sessions to work, and for me I had to send SID
> myself manually, the server wo
I see I'm relying on cookies in my code. Lemme see if I can pass it.
On 9/24/2001 12:04 PM this was written:
> I had the exact same problem.. don't know if you had this advice yet or not
> but what I did is when I started a session I would grab the session id for
> that session and put it in a v
On 9/24/2001 12:02 PM this was written:
> Dont use sessions, they are a little flaky anyway. Use a mixture of holding
> data in database and passing sid/userid/hash around on the URL. You wont
> regret
> it.
That's what I do. Except I want to install:
http://www.phplinks.org/
Which requires
look into the following functions (in the manual), play with the
examples then eventually implement the concepts into your script :
file()
fopen()
fread()
fgets()
the manual entries for the above functions contain examples that
essentially do what you want. most likely you'll use file()
1 - 100 of 165 matches
Mail list logo