Gary Reimer wrote:
Hello;
Im working on a website that uses sessions as an integral part of the
site. If cookies are not turned on in the browser, my site will not
work. Ive been searching unsuccessfully to find the way to determine if
the browser has cookies enabled. I want to warn the user
M. Sokolewicz wrote:
Marek Kilimajer wrote:
Gary Reimer wrote:
Hello;
Im working on a website that uses sessions as an integral part of
the site. If cookies are not turned on in the browser, my site will
not work. Ive been searching unsuccessfully to find the way to
determine if the browser has
Nick Peters wrote:
Marek Kilimajer wrote:
Nick Peters wrote:
Hey,
i know this probally a simple question, but it has been stumping me for
quite some time now. How do i pass a php array to a javascript?
i tryed:
script language=javascript
var myarray = new Array(?PHP echo $myarray; ?);
/script
Raditha Dissanayake wrote:
Bruno B B Magalhães wrote:
Does anyone has a solid benchmark about comments speed.. I mean, too
many comments will decrease speed of the PHP scripts...
I've tried without success using a class, and also a simple micro-time
operation... Well, cause the file is
Octavian Rasnita wrote:
Hi all,
Does anyone know why some servers don't return a partial content when I use
the HTTP header:
Range: bytes=100-200
It should return the content of the page starting from byte 100 until the
byte 200, but it still returns the whole page.
Does this happen when the page
Brent Clements wrote:
I was wondering, does anyone have a good source for web browser components that
are compatible with php?
There are a heck of alot of activex components available that allow you to create some very nice web applications. Are there any similiar that a cross-browser compatible
Burhan Khalid wrote:
Jacob Friis wrote:
Do I need PDFlib in order to read PDF files?
Is there another way?
http://www.fpdf.org
http://www.fuckinggoogleit.com :)
Please be nice and learn to read ;)
OP asked how to *READ* pdf files. AFAIK there is no way with php.
pdf2html may be of some help
Sagar C Nannapaneni wrote:
Hi all,
I think I shouldnt post this here...but i didnt find proper support at the
jpgraph
forums.
I'm using PHP 4.3.9 with GDK precompiled on apache2 using win2k.
When i open any of the jpgraph example files its giving me an error saying
IE cannot find the site your
Alessandro Rosa wrote:
Thank you for all responses about this topic.
I would also solve a more practical doubt finally: if I use
for example the PHP code 'POP3class', as suggested by
Manuel Lemos, it's implicitly meant that it should run periodically
on a web-server (for example, under a timer of
Michelle Konzack wrote:
Hello,
I was reading the book Programming PHP (O'Reilly) and
searching the PHP docs but have not found the answer,
how to get the Web-Clients prefered Languages.
I was thinking it is in the $_SERVER Variable but nothing.
Thanks
Michelle
You were not looking well, or your
Michelle Konzack wrote:
Have you tried links?
Yes, but not found the right answer...
And then some links in the php.net site are broken...
Have tried to download the php_manual_en.html.gz from
a French mirror and gotten a Server Parse Error.
fr.php.net is working...
I meant links browser :-)
Michelle Konzack wrote:
Hello Marek,
Am 2004-11-27 14:46:20, schrieb Marek Kilimajer:
Michelle Konzack wrote:
Hello,
I was reading the book Programming PHP (O'Reilly) and
searching the PHP docs but have not found the answer,
how to get the Web-Clients prefered Languages.
I was thinking
Bruno B B Magalhães wrote:
Does anyone has a solid benchmark about comments speed.. I mean, too
many comments will decrease speed of the PHP scripts...
I've tried without success using a class, and also a simple micro-time
operation... Well, cause the file is evaluated before it is executed, I
M. Sokolewicz wrote:
Octavian Rasnita wrote:
Hi all,
I have tried the following script:
$val = 100;
if (is_int($val)) {
echo $val;
}
else {
echo $val is not an integer\n;
}
The answer is:
100 is not an integer.
Why does this happen? I use PHP 5.
Isn't PHP able to work with values
Octavian Rasnita wrote:
Well, that big number is not converted as a string and printed this way, or
I am missing something.
Here is an example:
?php
$var = 1;
//Here I have also tried inserting $var = (string) $var;
echo $var;
?
This prints:
1E+012
and... not 1 as it
Octavian Rasnita wrote:
Thank you. It seems that finally I will need to divide the numbers with
100, make the calculations that way, and specify that the numbers are in
millions, because I can't find any solution with PHP.
Yes, this is also a solution.
bcmath functions are not good, because
Brad Ciszewski wrote:
hi everyone, i am looking for a snipplet to round down a number. i was wondering if you could put a negative number in the round() statement to do this, i want it to round down even if its at something.9, as long as its not a whole number, if needs to be rounded down. can
Nick Peters wrote:
Hey,
i know this probally a simple question, but it has been stumping me for
quite some time now. How do i pass a php array to a javascript?
i tryed:
script language=javascript
var myarray = new Array(?PHP echo $myarray; ?);
/script
but it didn't work. Anybody got any ideas?
SED wrote:
It just seems not making sence. I have read the manual and it does not
explain this specially.
If the user owns this folder: www\myfolders
And runs a PHP-script in safe mode that creates the folder
www\myfolders\who.
Who owns the who folder?
If the webserver is run under user nobody,
SED wrote:
Hi,
I have very wierd situation. The ISP is running in SAFE MODE.
I use PHP to create a directory with mkdir(something, 0777), it works
great!
However, if I try to create a sub-directory (e.g. something2) in the
something directory, I get the following:
Warning: SAFE MODE Restriction in
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: 25. nóvember 2004 00:05
To: SED
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] SAFE MODE Restriction - mkdir()
SED wrote:
Hi,
I have very wierd situation. The ISP is running in SAFE MODE.
I use PHP to create a directory with mkdir
Justin French wrote:
On 23/11/2004, at 12:44 PM, Jake Press wrote:
Justin,
'Use the force luke' - or perhaps just write yourself a function to
do this :)
Sadly, included files inside functions don't inherit the global
namespace, so you have to do something ridiculous like extract($GLOBALS)
Adil wrote:
Hey everyone, I'm having issues with a couple of forms that exist on one
page. Basically what I'm trying to do is the following:
Select a client from a dropdown select box(submit inner form). Based on
that, another select menu appears that retrieves a list of projects based on
the
Richard Davey wrote:
Hello Perry,
Sunday, November 21, 2004, 8:02:48 PM, you wrote:
PJ What it the purpose of the .inc file then?
Security - on a properly configured web server a .inc file will never
actually try and compile/execute itself. Whereas a .php one always
will.
Yes, .inc files will show
Al wrote:
When handling $_POST[] values that may or may not be assigned, I am
forever using:
if((isset($_POST['courses_list']) AND $_POST['courses_list']== 'Used'))
Is there a shorthand way of doing this without causing notice errors?
Thanks.
Before your condition:
$courses_list =
Yves Arsenault wrote:
I see:
© 2004 Novell, Inc
At the bottom of the mono site..
Does not matter who is the current sponsor. The project is released
under LGPL and MIT X1 licence:
http://www.mono-project.com/about/licensing.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Dennis Lahay wrote:
I'm having trouble with writing special charcaters to a text file. The
characters are your run-of-the-mill accented characters. Passing them
back and forth in the database and displaying them on screen is NOT a
problem.
code snippet:
$row = mysql_fetch_array($query_result,
Mulley, Nikhil wrote:
Hi All,
My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button
When user clicks on that button , it must be a href link .
Please guide me.
My preference is CSS. Style your link to look like a button.
--
PHP General Mailing
? then they are in the charset of the html page
On Nov 18, 2004, at 8:23 AM, Marek Kilimajer wrote:
You are not loosing them, only bbedit does not display them in the
original charset. Look in the bbedit menu or configuration if you can
find some character encoding setting
Dennis Lahay wrote:
I'm having trouble
Chris Boget wrote:
My preference is CSS. Style your link to look like a button.
What would the CSS look like to do this, I'm curious...
For default Mozilla button:
A.button {
padding: 0px 6px 0px 6px;
border-width: 2px;
border-style: outset;
border-color: ButtonFace;
background-color:
Jason Wong wrote:
On Friday 19 November 2004 03:28, Scott Fletcher wrote:
Well, I had successfully uploaded the files/folders. PHP just stripped out
the folders for no reasons. A file can be a folder too.
Could you explain how you did that (upload a folder)?
I guess using Raditha's Rad Upload.
Bruno B B Magalhes wrote:
Continuing the classes questions...
I have a class loader called 'load_core_class($class=''), but if $class
equals to all I would like to load all classes in the core directory,
include then AND start then this way:
$this-$loadedclassname = new $loadedclassname;
Is it
The 'class' index reflects what __CLASS__ constant would show. Bug report:
http://bugs.php.net/22960
Status: It works as expected and intended.
Thomas Peri wrote:
I wanted to run this past the list before submitting a bug report.
(I've searched the bugs and haven't found anything relevant to my
GH wrote:
-- Forwarded message --
From: GH [EMAIL PROTECTED]
Date: Tue, 16 Nov 2004 08:45:08 -0500
Subject: Re: [PHP] Automatically Escape?
To: Jordi Canals [EMAIL PROTECTED]
What is the Diffrencce between mysql_escape_string and mysql_real_escape_string?
the *_real_* one takes
Jay Blanchard wrote:
[snip]
?xml version=1.0 encoding=ISO-8859-1?
[/snip]
using fread the above line comae out like this(even though I was not
echoing the line, just processing)
?xml version=\1.0\ encoding=\ISO-8859-1\?
...as soon as I added stripslashes the syntax error disappeared and
Scott Fletcher wrote:
I found that on most web browsers, I can not upload the folder via HTTP
using hte web browser upload dialog box.
Most? I thought all.
So, I can't use the php's
function, is_uploaded_file and move_uploaded_file. Because the web browser
see the folder as something to open
Merlin wrote:
Hi there,
I do have images inside a blob field which I would like to save to the
hard drive. Now I cant find a fuction in saving the file. Usually I
retrieve the data out of the blob, and output a header before echoing
the data.
Basicly I do have the image now saved inside a
What if you try:
?php include(banner.php); ?
form action=bad.php method=post
Andre Dubuc wrote:
Hi,
I have a very annoying problem with pages that re-display using the form
action tag. On re-display the banner, which is set absolute position at 0px,
shifts down by about an inch. I've isolated
Horst Jäger wrote:
Hi,
I wonder if it is possible to convert a given string into an array of
chars without using a separator.
That is, is there a function
mySplit
with
mySplit('example') == array('e', 'x', 'a', 'm', 'p' 'l' 'e') ?
$chars_array = preg_split('//', 'example', -1,
Mike Smith wrote:
I am trying to cache a database recordset so users can sort, etc
without hitting the database everytime. I'm using ADODB to access a
MSSQL database.
$s = SELECT id, part, description FROM parts\n;
$r = $db-Execute($s);
$parts = array(id=array(),part=array(),desc=array())
Ing. Ivo F.A.C. Fokkema wrote:
Hi guys and gals,
I'm not screaming Bug! Bug! but this _does_ look 'illogical' to me. I've
searched the archives, but found no earlier conversation. Sorry if
I missed it. Consider the following code:
var_dump(in_array('test', array(0)));
What does this return? I
Jerry Swanson wrote:
Why when I specify session.cookie_lifetime = 1 // Cookies are not created.
However, when I specify large lifetime, cookies are created.
session.cookie_lifetime = 1500
Are your times and timezones set up right? Both client and server
--
PHP General Mailing List
Giles Roadnight wrote:
Hi All
I'm developing a fusebox PHP app and have a class in a /classes
directory that opens an xml file in a directory below the site root
using this path: ../siteconfig.xml
All of the places I have used this class from so far have been in the
site root. I am now
Brian A. Anderson wrote:
Uuuuh... Where do I set the default server extension type to .php in the
apache config? Right now the page will execute on my server, but if there is
an index.php the server won't automatically open it, but instead browses the
directory.
DirectoryIndex index.html index.php
Tobias Neumann wrote:
Hello!
I have the same script on two webservers with php 4.3.9 and apache 2, both
with the same php configurations. On one server I can not access
$_FILES or $HTTP_POST_FILES, although a form with a file has been
correctly submitted.
apache_request_headers() contains:
anders thoresson wrote:
This code seems to work. Have I got it right?
No. I have not. Sometimes the images are viewed from the cache, just to
get downloaded from the server again next time, just a minute later,
when I try again.
My local development server is running IIS, my production
Dmitri Pissarenko wrote:
Hello!
I have a web-site, part of which is in Russian and another part in English.
English and Russian parts are located in different directories. The
web-site is static.
I want to create a PHP file, which redirects the user from /index.php to
/ru/index.html, when his
Jerry Swanson wrote:
; Whether to use cookies.
session.use_cookies = 0
; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
session.use_only_cookies = 1
These settings don't make much sense. You forbid their
Gery Duyck wrote:
Hi,
I've made an XHTML page to be send as a rich e-mail so I can do more as just
tekst.
Everything is fine, except for the images.
In the source code I say the images are like img
src=http://www.domain.com/pic.jpg; alt= /
but wen I send the email, I can't see the images in
anders thoresson wrote:
Hi,
I put all my images outside the web root, the prevent direct access, and
then access them with a img-tag like this:
img src=fnc_get_image.php?path=?=$path;? /
where fnc_get_image.php is:
// Check if user is logged in
require_once 'global_includes.php';
$user = new
Vail, Warren wrote:
I'm not sure which session parameter controls it, but my sites are setup so
that opening a new browser window will start a new session, and if your
pages require something in the session saying the user is logged on, he will
be forced to logon in the new session, since the
To answer the original question - no it's not possible. It would need
support in the browser.
Sorry, I thought you were talking about HTTP authentification.
With session you can pass session identifier in URL only, and disable
the use of cookies.
--
PHP General Mailing List
implode()
Andy B wrote:
I need to be able to print the selected items without the array... thing
around it. so example would be if 1 and 2 are selected it would print:
1, 2
it's supposed to be formatted for the user...
-Original Message-
From: -{ Rene Brehmer }- [mailto:[EMAIL PROTECTED]
Mike wrote:
You're assigning values in your test.
Use == instead of = in the if condition.
hmm, but he should not get what he gets anyways:
$a = 1 - evaluates to true, continue
$b = 0 - evaluates to false, so the whole if() condition is false, jump
to else and print:
false
1
0
He gets:
true
Marek Kilimajer wrote:
Mike wrote:
You're assigning values in your test.
Use == instead of = in the if condition.
hmm, but he should not get what he gets anyways:
$a = 1 - evaluates to true, continue
$b = 0 - evaluates to false, so the whole if() condition is false, jump
to else and print:
ok
Chris Shiflett wrote:
--- Jonel Rienton [EMAIL PROTECTED] wrote:
There was a very recent discussion about this, look up the
archive from the past week or 2.
If you're referring to the responses to this question:
http://marc.theaimsgroup.com/?l=php-generalm=109907804615206w=2
then it's a different
-{ Rene Brehmer }- wrote:
Hi gang
I do realise that this error means I've forgotten a curly brace or
semi-colon somewhere, but seriously ...
Parse error: parse error, unexpected $end in
E:\web\Metalbunny\addguest.php on line 274
where line 274 would be the last line, obviously (since it's
Nunners wrote:
Found it - went for a cup of tea and thought.. pre!
or nl2br();
Sorry
_
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: 29 October 2004 16:52
To: '[EMAIL PROTECTED]'
Subject: Friday afternoon - being thick
Hi All,
I'm having one of those Friday afternoon
Matthew Sims wrote:
About a week ago someone was asking where are beginner can go to learn
PHP5? This book was just advertised on Slashdot.
Learning PHP 5
Only $20 on Amazon.com
Stuart Felenstein wrote:
Yes the session variables are set with $SESSION[''}.
The way it works is the variable gets set on the
follwing pages:
So, example on page 1:
I have this user input field:
td width=172input name=ListingName type=text
id=ListingName maxlength=20 //td
On the following page
Victor C. wrote:
Hi,
I'm trying to get PHP to display the millisecond of current time. I can't
find that option in Date().. Any hints?
Thanks a lot
microtime()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joel CARNAT wrote:
Hi,
I have a submit form from where I can search things to several sites
(google, freshmeat, ...). I use PHP4/urlencode to generate the correct
query. But it seems google does not use the right encoding :(
example - query=programme télé:
$engine =
Joel CARNAT wrote:
On Wed, Oct 27 2004 - 23:41, Marek Kilimajer wrote:
how comes urlencode generates %E9 and google generates %C3%A9 ?
is google using some specific encoding ? any tweak to encode the google
way ?
you can specify your encoding to google using ie parameter. and output
hum... I
David Robley wrote:
It seems that mysql_escape_string and mysql_real_escape_string do
undesirable things to EOL markers - data from textareas escaped with either
of those functions is entered, and retrieved with, the characters /r/n
instead of a true line break.
This snippet of code demonstrates
Ian Firla wrote:
I think you'll find that your first approach is not only more correct,
it's the only manageable one.
No, it will be very slow. The biggest overhead is in transfering data to
and from sql server. It's always better to get the results in one sql query.
Use this aproach:
$users =
[EMAIL PROTECTED] wrote:
Hello all,
I am new to PHP programming.. It will be nice to have a chm file
on php tutorial. Can anyone point me to that location ?
http://www.php.net/download-docs.php
Also I would like to
know how how to code the following line ?
a
Francisco M. Marzoa Alonso wrote:
[EMAIL PROTECTED] wrote:
No. You need to remember that in most cases where you cast a variable
from
one type to another, you will experience data (precision) loss. This is
also the case in converting an object to an array. Only the properties
are
copied over
Ken Tozier wrote:
Thanks John, that did the trick.
I'm curious though, the PHP book I'm reading (PHP and PostgeSQL,
Advanced web programming) specifically states that it's not necessary to
grab form variables in this way, claiming PHP extracts all form
variables behind the scenes for you. Was
Jerry Swanson wrote:
I have huge html file. I want to parse the data and get everything between
b class=class1 and !-- Comments --
What function is good for this purpose?
preg_match()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stuart Felenstein wrote:
I have rows of input fields
Each row contains 3 fields. The user must fill out
the entire row (all 3 fields) for things to work
right.
I want to generate an error in case they have only
filled in 1 or 2 of the boxes.
Thinking I might use something like this:
Ulrik Witschass wrote:
Hello List,
I am searching information about serial communication with PHP on Windows
machines.
I want to communicate with a colorimeter via a COM-Port, using a PHP-GTK
application.
Can anybody point me into the right direction (a webpage, a PHP
class/function, a PHP-GTK
Perry, Matthew (Fire Marshal's Office) wrote:
What is the best way to output 38884 as $38,884.00?
number_format()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ben Miller wrote:
Probably a stupid question, but hopefully has a simple answer. Is there a
way to get Grenwich Mean time? time() and date() functions that I can see
only seem to get date/time from the server, which knowing where that is,
could easily figure out GM time, but would rather go
Apache needs write permission to /home/yaki/y_uplds/
Giacomo Cantilli wrote:
Hi,
I am building a mailing list. My OS is MandrakeLinux 10.0.
I need to move an uploaded file. That's the script:
-
function show_info($file)
{
$utfn = $file['userfile']['tmp_name'];
Janke Dvid wrote:
2004-10-20, sze keltezssel 00:19-kor Ed Lazor ezt rta:
How any rows are you pulling from the database?
aprrox. 12.000 but there are only around 50-100 new rows at a maximum
within a day, and there were almost as many before the
problem appeared.
You're creating a form with
stream: Operation not
permitted in /var/www/garyhotko.com/html/Test/test.php on line 2
Fatal error: main(): Failed opening required 'PEAR.php'
(include_path='.:/usr/share/pear') in
/var/www/garyhotko.com/html/Test/test.php on line 2
On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer [EMAIL PROTECTED
Karam Chand wrote:
Hello,
mysql_query() returns non-false even if there was an
UPDATE statement and the query was successful.
But if I put the $result variable in mysql_num_rows()
it returns an error, $result in invalid handle.
I was asking how to know that where its an UPDATE
statement so I
Nick Wilson wrote:
hello all,
For reasons beyond my immediate control i have to keep some strings of
text in a text *new line delimited* text file. I also have to urlencode
those strings for use in my script.
Like this:
## text file
This is a line\nThis is another line
This is another
Nick Wilson wrote:
* and then Marek Kilimajer declared
Nick Wilson wrote:
hello all,
For reasons beyond my immediate control i have to keep some strings of
text in a text *new line delimited* text file. I also have to urlencode
those strings for use in my script.
Like this:
## text file
Paulo JF Silva wrote:
Hi,
I have PHP 4.3.5 and safe mode on. When I create a new image with
imagecreatefromjpeg(), the image owner is 'httpd' and not my ftp user.
[this is in a shared host].
I would like to know if there is any way to create the image with my
user... I can workaround mkdir
Jordi Canals wrote:
On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven [EMAIL PROTECTED] wrote:
Why use fpassthru? I just use readfile, is there a difference?
The main difference is with fpassthru you never show to the user the
exacr location of the file, so must use the script to download it.
In
Nick Wilson wrote:
hi all,
Im getting an http 411 error when trying to post data with php's cURL
functions. The spec says
***The message for this error code is Length Required.
The server refuses to accept the request without a defined Content-
Length.***
Im confused on 2 points:
* Is it the
Nick Wilson wrote:
* and then Nick Wilson declared
* and then Marek Kilimajer declared
* How to resolve this?
header('Content-Length: ' . strlen($data_you_are_posting));
Ok, im with you Marek but how/where do i put it in my curl function?
Not with CURL_POSTFIELDS for sure.. i've been
Nick Wilson wrote:
* and then Marek Kilimajer declared
Nick Wilson wrote:
* and then Marek Kilimajer declared
Opps!
CURLOPT_HTTPHEADER
I go play with it now ;-)
Sorry, I got it mixed :) But you figured it out.
do you know if the lenght includes the args? like this
strlen(val=$varval2
Nick Wilson wrote:
* and then Marek Kilimajer declared
Opps!
CURLOPT_HTTPHEADER
I go play with it now ;-)
Sorry, I got it mixed :) But you figured it out.
do you know if the lenght includes the args? like this
strlen(val=$varval2=$var2);
This one. Don't forget to urlencode where necessary
Nunners wrote:
Does anyone know what function.filetime has been replaced by in PHP5?
no such function ever existed. Choose one of the following:
filemtime
filectime
fileatime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hendrik Schmieder wrote:
Hello,
we have a severe problem with seesions.
We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000
In our php.ini we have
session.gc_probability = 100
session.gc_dividend= 100
Should be session.gc_divisor. And you need to start at least one other
Hendrik Schmieder wrote:
Marek Kilimajer schrieb:
Hendrik Schmieder wrote:
Hello,
we have a severe problem with seesions.
We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000
In our php.ini we have
session.gc_probability = 100
session.gc_dividend= 100
Should
Graham Cossey wrote:
[snip]
If you are right, then this is a severe design bug.
Depends on your point of view. It is a sideeffect of loading current
session (and thus accessing it) before the session gc is called.
So the question is, should the session module give up on current session
just
Sam Smith wrote:
I swear I googled for an hour first.
A user enters in a textarea field of FORM1.php:
Bob is high
Submitted to FROM2.php we get:
Bob is \high\
In a hidden field in FROM2.php we store the value: type=hidden, value=?
echo stripslashes($_POST['textarea']); ? Value now Bob is high
So
Hendrik Schmieder wrote:
Anyway , if the apache service is stopped (I am not speaking about a
crash) all session files must be deleted.
Why? Why should users loose their sessions just because I need to
restart web server?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hendrik Schmieder wrote:
Marek Kilimajer schrieb:
Hendrik Schmieder wrote:
Anyway , if the apache service is stopped (I am not speaking about a
crash) all session files must be deleted.
Why? Why should users loose their sessions just because I need to
restart web server?
OK,
good point.
So I
Bruno Santos wrote:
Hello all.
I have a login page where users have to authenticate themselves to
access some site areas.
Apache is configured to use https.
the user when is typing the URL in the browser, i know that it will not
put the https protocol.
how can i check in the page if the user
M. Sokolewicz wrote:
Hendrik Schmieder wrote:
Ok, I think you're all missing a few points here...
First of all,
every time a session is started/accessed/written to/whatever, PHP makes
a check, it calculates , using gc_probability/gc_divisor, if it should
run the gc (Garbage Collector) on this
celso andrade wrote:
hi all,
how do i setup a apache+php server to read aspx files
as php files?
i need it to parse aspx files.
Find this line in httpd.conf:
AddType application/x-httpd-php .php
Add aspx extension and restart apache
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
he problem is that SOMETIMES, my SID gets embedded in the URL, although at
the begining of every page I have this code:
ini_set(session.use_only_cookies, 1);
The above sets sessionuse_only_cookies to 1. I did not miss a dot,
session and
Roger Thomas wrote:
I dont know how to explain this but when you work with an ldap attribute, they are
case sensitive. jpegPhoto was what the schema was written with.
However when you retrieve that into PHP, you accessed them with all lower case. So
accessing userPassword attribute in ldap will
M. Sokolewicz wrote:
Frédéric hardy wrote:
Hello -
I have this code :
abstract class foo
{
private __construct() {}
public static getInstance()
{
static $instance = null;
if (is_null($instance) == false)
return $instance;
else
{
$class =
Philip Thompson wrote:
Hi all.
I have a form that calls the same page whenever it is submitted. It does
some error-checking to make sure that all the appropriate fields were
filled in by the user. So, if there's an error, it stays on the same
page and lets the user know what they need to fill
Dre wrote:
Hi
I have a strange problem that I can not figure out how to solve ..
I'm trying to save some data into a regular mySQL database table by using a
normal php
insertion script but I'm trying to save Arabic Text and here comes the
problem ..
When I'm performing the insertion by writing the
301 - 400 of 2207 matches
Mail list logo