php-general Digest 31 Oct 2007 03:49:07 -0000 Issue 5101
Topics (messages 263809 through 263833):
Re: isodd() php5?
263809 by: tedd
Re: REGEX: grouping of alternative patterns
263810 by: Robin Vickery
263811 by: Ford, Mike
Re: moving over to php 5
263812 by: Robin Vickery
263814 by: Larry Garfield
263816 by: Cristian Vrabie
263817 by: Robert Cummings
263826 by: Per Jessen
Re: REGEX: grouping of alternative patterns [SOLVED]
263813 by: Stijn Verholen
Re: unexpected '@' in preg_replace???
263815 by: Daniel Brown
263818 by: Zoltán Németh
Compilers
263819 by: Wolf
263820 by: Richard Heyes
263821 by: Cristian Vrabie
263822 by: Nathan Nobbe
263825 by: Satyam
Re: Newline
263823 by: hochprior
C-style macros?
263824 by: khang tran
Re: PHP installation
263827 by: Per Jessen
Re: SPL
263828 by: Børge Holen
Session vars in parent dir
263829 by: Nathan Hawks
Re: session question
263830 by: Nathan Hawks
More about my weird session
263831 by: Nathan Hawks
Talking to myself about sessions [Solved]
263832 by: Nathan Hawks
GD Library
263833 by: Charlene
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
At 9:32 AM +0000 10/30/07, Hulf wrote:
Hi,
Is there a built in function in PHP5 to determine if an integer is even or
odd?
Ross
Try:
echo($integer & 1);
1 = odd, 0 = even.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
On 30/10/2007, Stijn Verholen <[EMAIL PROTECTED]> wrote:
> Hey list,
>
> I'm having problems with grouped alternative patterns.
> The regex I would like to use, is the following:
>
> /\s*(`?.+`?)\s*int\s*(\(([0-9]+)\))?\s*(unsigned)?\s*(((auto_increment)?\s*(primary\s*key)?)|((not\s*null)?\s*(default\s*(`.*`|[0-9]*)?)?))\s*/i
>
> It matches this statement:
>
> `id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY
>
> But not this:
>
> `test4` INT(11) UNSIGNED NOT NULL DEFAULT 5
>
> However, if I switch the alternatives, the first statement doesn't
> match, but the second does.
> FYI: In both cases, the column name and data type are matched, as expected.
> It appears to be doing lazy evaluation on the pattern, even though every
> resource I can find states that every alternative is tried in turn until
> a match is found.
It's not lazy.
Given alternate matching subpatterns, the pcre engine choses the
leftmost pattern, not the longest. For instance:
<?php
preg_match("/a|ab/", "abbot", $matches);
print_r($matches);
?>
Array
(
[0] => a
)
This isn't what you'd expect if you were familiar with POSIX regular
expressions, but matches Perl's behaviour.
Because each of your subpatterns can match an empty string, the
lefthand subpattern always matches and the righthand subpattern might
as well not be there.
The simplest solution, if you don't want to completely rethink your
regexp might be to replace \s with [[:space:]], remove the delimiters
and the i modifier and just use eregi(). like so:
$pattern =
'[[:space:]]*(`?.+`?)[[:space:]]*int[[:space:]]*(\(([0-9]+)\))?[[:space:]]*(unsigned)?[[:space:]]*(((auto_increment)?[[:space:]]*(primary[[:space:]]*key)?)|((not[[:space:]]*null)?[[:space:]]*(default[[:space:]]*(`.*`|[0-9]*)?)?))[[:space:]]*';
eregi($pattern, $column1, $matches); print_r($matches); // match
eregi($pattern, $column2, $matches); print_r($matches); // match
-robin
--- End Message ---
--- Begin Message ---
On 30 October 2007 11:07, Stijn Verholen wrote:
> Hey list,
>
> I'm having problems with grouped alternative patterns.
> The regex I would like to use, is the following:
>
> /\s*(`?.+`?)\s*int\s*(\(([0-9]+)\))?\s*(unsigned)?\s*(((auto_i
> ncrement)?\s*(primary\s*key)?)|((not\s*null)?\s*(default\s*(`.
> *`|[0-9]*)?)?))\s*/i
Since all the parts beyond the id and datatype are optional, I don't see how
this can ever not match. Please define more accurately what you mean by
"doesn't match".
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 812 4730 Fax: +44 113 812 3211
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
--- End Message ---
--- Begin Message ---
On 30/10/2007, Per Jessen <[EMAIL PROTECTED]> wrote:
> Larry Garfield wrote:
>
> > On Monday 29 October 2007, Per Jessen wrote:
> >> Cristian Vrabie wrote:
> >> > Hmm 117,223 hosts with php4 only support. Did you actually checked
> >> > how many have php5 support? Many more.
> >>
> >> There are 178.112 hosters that have PHP5 support. I checked.
> >
> > Where and how did you check?
>
> Well, I didn't. I just provided a silly answer to an impossible
> question. There is no way anyone could possibly come up with a
> remotely accurate number of how many hosters have this or that. So I
> made the numbers up. $RANDOM.
>
> > I have a hard time believing that there are 300,000 different
> > commercial web hosting companies out there. That many servers, sure,
> > but companies?
>
> 300,000 is probably a lot, yes. Still, Switzerland alone has roughly
> 335.000 companies. About 400 of those are members of a Swiss
> association for ISPs, but there's probably another couple of hundred
> that aren't. Extrapolating from e.g. 500 webhosters for a population
> of 7million, that would make roughly 35,000 in the EU (pop. 480mill).
Besides, the set of fictitious companies that support PHP4 and the set
of fictitious companies that support PHP5 probably intersect to a
large extent. In fact, I researched the matter thoroughly a couple of
minutes ago and found that 108,064 companies support both versions of
PHP, so there's only a total of 187,271 PHP hosting companies.
Anyone still do PHP/FI?
-robin
--- End Message ---
--- Begin Message ---
On Tuesday 30 October 2007, Per Jessen wrote:
> Larry Garfield wrote:
> > Here's a bigger question: When will people stop using mysql_ as their
> > example API, when PDO is more standard in PHP 5 and more secure, and
> > mysqli is available as well?
>
> As always, the key question must be - what's the advantage of moving?
> When the developer benefits from something being "more standard" and
> more secure, then he'll change.
> If you want to force someone to change, you remove the interface (after
> having marked it deprecated for a while).
Prepared statements are inherently more secure than doing your own escaping.
Thus, given the bad rap that PHP had for years on the security front,
encouraging the use of prepared statements is up there with discouraging the
use of register_globals. The sooner you convince new PHP programmers to do
things in a naturally more secure way, the fewer bugs they will accidentally
introduce later.
(And I say more secure because nothing is 100% secure for you without effort;
prepared statements and the filter extension just make it a lot easier to
write secure code.)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
--- End Message ---
--- Begin Message ---
Robin Vickery wrote:
On 30/10/2007, Per Jessen <[EMAIL PROTECTED]> wrote:
Larry Garfield wrote:
On Monday 29 October 2007, Per Jessen wrote:
Cristian Vrabie wrote:
Hmm 117,223 hosts with php4 only support. Did you actually checked
how many have php5 support? Many more.
There are 178.112 hosters that have PHP5 support. I checked.
Where and how did you check?
Well, I didn't. I just provided a silly answer to an impossible
question. There is no way anyone could possibly come up with a
remotely accurate number of how many hosters have this or that. So I
made the numbers up. $RANDOM.
I have a hard time believing that there are 300,000 different
commercial web hosting companies out there. That many servers, sure,
but companies?
300,000 is probably a lot, yes. Still, Switzerland alone has roughly
335.000 companies. About 400 of those are members of a Swiss
association for ISPs, but there's probably another couple of hundred
that aren't. Extrapolating from e.g. 500 webhosters for a population
of 7million, that would make roughly 35,000 in the EU (pop. 480mill).
Besides, the set of fictitious companies that support PHP4 and the set
of fictitious companies that support PHP5 probably intersect to a
large extent. In fact, I researched the matter thoroughly a couple of
minutes ago and found that 108,064 companies support both versions of
PHP, so there's only a total of 187,271 PHP hosting companies.
Anyone still do PHP/FI?
-robin
this is darn silly. it doesn't matter to know how many hosting companies
support what type if php. it's enough to know that there are ENOUGH that
support php5 and you have a preaty wide range of choices. For me the
answer is obvious. The actual advantages of using php5 are far greater
than the minutes i'll spend finding a suitable hosting company.
--- End Message ---
--- Begin Message ---
On Tue, 2007-10-30 at 09:10 -0500, Larry Garfield wrote:
> On Tuesday 30 October 2007, Per Jessen wrote:
> > Larry Garfield wrote:
> > > Here's a bigger question: When will people stop using mysql_ as their
> > > example API, when PDO is more standard in PHP 5 and more secure, and
> > > mysqli is available as well?
> >
> > As always, the key question must be - what's the advantage of moving?
> > When the developer benefits from something being "more standard" and
> > more secure, then he'll change.
> > If you want to force someone to change, you remove the interface (after
> > having marked it deprecated for a while).
>
> encouraging the use of prepared statements is up there with discouraging the
That's not true at all. If it were then mysqli_real_escape_string()
would have a warning about its use. I looked. There was no warning.
Nothing wrong with NOT using prepared statements... you just have to be
careful to filter/escape properly. You have to be careful about doing
that stuff anyways since the "magic" prepared statement won't help you
when you start running shell commands via user input. So you may as well
just get in the habit of knowing what you're doing instead of waving
your hands in the air and hoping PHP, PDO, magic_quotes, etc, etc will
save you.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................
--- End Message ---
--- Begin Message ---
Larry Garfield wrote:
> The sooner you convince new PHP programmers to do things in a
> naturally more secure way, the fewer bugs they will accidentally
> introduce later.
And how do you go about convincing them? That's still the key question.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
Robin Vickery schreef:
[snip]
Because each of your subpatterns can match an empty string, the
lefthand subpattern always matches and the righthand subpattern might
as well not be there.
Indeed they do, i did not realise that.
The simplest solution, if you don't want to completely rethink your
regexp might be to replace \s with [[:space:]], remove the delimiters
and the i modifier and just use eregi(). like so:
Because this is for a proof-of-concept application that will only be
used by me for the time being, and because I always give a default value
when specifying 'not null', I'm going to use the following, and think
about a more general solution if and when the need arises.
This matches both my cases:
/\s*(`?.+`?)\s*int\s*(\(([0-9]+)\))?\s*(unsigned)?\s*(((not\s*null)\s*(default\s*(`.*`|[0-9]*)?))|((auto_increment)?\s*(primary\s*key)?))\s*/i
[snip]
-robin
Thanks for your insights, Robin !
Greetz,
Stijn
--- End Message ---
--- Begin Message ---
On 10/30/07, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> 2007. 10. 29, hétfő keltezéssel 11.17-kor Daniel Brown ezt írta:
> > On 10/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > > hi list,
> > >
> > > I have this code:
> > [snip!]
> > > Parse error: syntax error, unexpected '@'
> > > in /home/znemeth/public_html/test/pregreplacetest1.php(94) : regexp code
> > > on line 1
> > >
> > > Fatal error: preg_replace() [<a
> > > href='function.preg-replace'>function.preg-replace</a>]: Failed
> > > evaluating code: [EMAIL PROTECTED]
> > > in /home/znemeth/public_html/test/pregreplacetest1.php on line 94
> > [snip=again!]
> >
> > Zoltan,
> >
> > If you're using preg_replace(), where are your start and stop
> > characters for the pattern and subject?
> >
> > $szoveg = preg_replace('/'.$mit.'/','/'.$mire.'/',$dokumentum);
>
> $mit and $mire are arrays. $mit contains all the patterns, they all
> start and end with /
> $mire contains all the replacements.
>
> >
> > You could otherwise try ereg_replace(); without the slashes, or do
> > an htmlentities($dokumentum);.
>
> ereg_replace cannot take arrays as arguments...
> htmlentities might work but then all my patterns containing < or > has
> to be modified - and then it might replace strings which I don't want to
> get replaced. e.g. <script> might be a legal string which I don't
> want to replace, but I want to replace <script>
>
> greets
> Zoltán Németh
>
> >
> > --
> > Daniel P. Brown
> > [office] (570-) 587-7080 Ext. 272
> > [mobile] (570-) 766-8107
> >
> > Give a man a fish, he'll eat for a day. Then you'll find out he was
> > allergic and is hospitalized. See? No good deed goes unpunished....
> >
>
>
This was one of those things where I skimmed it too quickly
without really reading it. Sorry, deadlines have only been allowing
me an average of about two hours of sleep per night.... don't mind me.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....
--- End Message ---
--- Begin Message ---
2007. 10. 30, kedd keltezéssel 10.21-kor Daniel Brown ezt írta:
> On 10/30/07, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > 2007. 10. 29, hétfő keltezéssel 11.17-kor Daniel Brown ezt írta:
> > > On 10/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > > > hi list,
> > > >
> > > > I have this code:
> > > [snip!]
> > > > Parse error: syntax error, unexpected '@'
> > > > in /home/znemeth/public_html/test/pregreplacetest1.php(94) : regexp code
> > > > on line 1
> > > >
> > > > Fatal error: preg_replace() [<a
> > > > href='function.preg-replace'>function.preg-replace</a>]: Failed
> > > > evaluating code: [EMAIL PROTECTED]
> > > > in /home/znemeth/public_html/test/pregreplacetest1.php on line 94
> > > [snip=again!]
> > >
> > > Zoltan,
> > >
> > > If you're using preg_replace(), where are your start and stop
> > > characters for the pattern and subject?
> > >
> > > $szoveg = preg_replace('/'.$mit.'/','/'.$mire.'/',$dokumentum);
> >
> > $mit and $mire are arrays. $mit contains all the patterns, they all
> > start and end with /
> > $mire contains all the replacements.
> >
> > >
> > > You could otherwise try ereg_replace(); without the slashes, or do
> > > an htmlentities($dokumentum);.
> >
> > ereg_replace cannot take arrays as arguments...
> > htmlentities might work but then all my patterns containing < or > has
> > to be modified - and then it might replace strings which I don't want to
> > get replaced. e.g. <script> might be a legal string which I don't
> > want to replace, but I want to replace <script>
> >
> > greets
> > Zoltán Németh
> >
> > >
> > > --
> > > Daniel P. Brown
> > > [office] (570-) 587-7080 Ext. 272
> > > [mobile] (570-) 766-8107
> > >
> > > Give a man a fish, he'll eat for a day. Then you'll find out he was
> > > allergic and is hospitalized. See? No good deed goes unpunished....
> > >
> >
> >
>
> This was one of those things where I skimmed it too quickly
> without really reading it. Sorry, deadlines have only been allowing
> me an average of about two hours of sleep per night.... don't mind me.
no problem, and the issue has been solved by Jim :)
thanks for trying anyway
greets
Zoltán Németh
>
--- End Message ---
--- Begin Message ---
Anyone use compilers (linux based or Windoze) and which do you use?
Looking for something free (best) or low cost as we are doing some
investigation on what methods are best for some of the stuff we have, and I'm
thinking a compiled PHP app should run faster.
Thanks!
Wolf
--- End Message ---
--- Begin Message ---
Wolf wrote:
Anyone use compilers (linux based or Windoze) and which do you use?
Looking for something free (best) or low cost as we are doing some
> investigation on what methods are best for some of the stuff we have,
and I'm thinking a compiled PHP app should run faster.
There's the free eaccelerator. It doesn't spit out compiled php code,
but it does have the same effect by caching the generated byte-code.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--- End Message ---
--- Begin Message ---
Richard Heyes wrote:
Wolf wrote:
Anyone use compilers (linux based or Windoze) and which do you use?
Looking for something free (best) or low cost as we are doing some
> investigation on what methods are best for some of the stuff we have,
and I'm thinking a compiled PHP app should run faster.
There's the free eaccelerator. It doesn't spit out compiled php code,
but it does have the same effect by caching the generated byte-code.
I don't know about the free accelerators but the payed ones have some
really impressive results. I managed to speed things up with more than
10 times. It worths every penny.
--- End Message ---
--- Begin Message ---
On 10/30/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
>
> Wolf wrote:
> > Anyone use compilers (linux based or Windoze) and which do you use?
> >
> > Looking for something free (best) or low cost as we are doing some
> > investigation on what methods are best for some of the stuff we have,
> > and I'm thinking a compiled PHP app should run faster.
>
> There's the free eaccelerator. It doesn't spit out compiled php code,
> but it does have the same effect by caching the generated byte-code.
i wonder if OP is talking about compiling down to binary. there are such
things
available for java
http://gcc.gnu.org/java/
albiet older jvms.
i dont know of anything like this available for php; but remember, in
general,
compiling an interpreted language will result in different behavior than
running
it through the interpreter.
-nathan
--- End Message ---
--- Begin Message ---
In the works:
http://phpcompiler.org/
The guys working on it are still actively developing and answering the
support list. It does not compile to executable yet (I understand it mostly
does except for some tricky parts of the language) but it helps development
with other tools that you will find in their site.
Satyam
----- Original Message -----
From: "Wolf" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2007 4:36 PM
Subject: [PHP] Compilers
Anyone use compilers (linux based or Windoze) and which do you use?
Looking for something free (best) or low cost as we are doing some
investigation on what methods are best for some of the stuff we have, and
I'm thinking a compiled PHP app should run faster.
Thanks!
Wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.12/1098 - Release Date:
29/10/2007 9:28
--- End Message ---
--- Begin Message ---
"Nathan Nobbe" wrote:
On 10/29/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
On Sunday 28 October 2007, magoo wrote:
I have switched to using single quotes, and found out that newline
(\n) only works in double quotes. It looks kind of stupid using
'someString'."\n"; and it`s kind of inconsistent using double quotes
for some lines like "someString\n";.
if you were going to do that you may as well use PHP_EOL
its cross-platform and doesnt require an define directive.
(php5 only)
Thanks for that Nathan! I didn`t know that constant.
Using that looks pretty neat in my eyes.
--
Kind regards,
hochprior
--- End Message ---
--- Begin Message ---
this may already have been asked before, but i'll ask anyway.
is there any way to do C-style macros in PHP? i heard a rumor that
PHP6 is gonna support this--can anyone confirm to what degree?
thanks!
--- End Message ---
--- Begin Message ---
Richard Heyes wrote:
> OK so now I'm back to compiling PHP after the ridiculous nightmare of
> rpms. I checked /lib and have the following:
>
> [EMAIL PROTECTED] php-5.2.4]# ls -l /lib/libz.so.1.2.3
> -rwxr-xr-x 1 root root 71744 Sep 21 19:23 /lib/libz.so.1.2.3
>
> Is PHP looking for a different file?
>
> Thanks.
Richard, sorry for leaving you hanging this afternoon.
Try this:
find /lib /usr/lib -iname libz\* -ls
You should see:
/lib/libz.so.1 -> libz.so.1.2.3
/lib/libz.so.1.2.3
/usr/lib/libz.so.1 -> libgz.so.1
ls /usr/lib/libgz*
/usr/lib/libgz.so.1 -> /lib/libz.so.1*
Your libz is in the right place, but check your symlinks.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
On Monday 29 October 2007 16:26:13 Jim Lucas wrote:
> Børge Holen wrote:
> > On Sunday 28 October 2007 07:27:53 you wrote:
> >> Børge Holen wrote:
> >>> I found this code at php.net witch needs very little modifications and
> >>> can do so much, but I can't figure out how to make it read alphabeticly
> >>> as mentioned
> >>>
> >>> $it = new RecursiveDirectoryIterator($_GET['location']);
> >>> foreach (new RecursiveIteratorIterator($it, 2) as $path){
> >>> if($path->isDir()){
> >>> // writing to some static file
> >>> }elseif(some unfinished statement){
> >>> fwrite($dynfile, "$path\n");
> >>> }else{
> >>> // writing to some static file
> >>> }
> >>> }
> >>>
> >>> I just... nothings keeping me from sorting the the dynfile after
> >>> writing, but also that seems to do the job twice instead of doing it
> >>> correct the first time.
> >>>
> >>>> -nathan
> >>
> >> I am trying to figure out what you are trying to do here.
> >
> > The code is for recursiving directory structure.
> > Starting at a given location
>
> Ok, so, let me get this straight.
>
> You want the ability to display alphabetically, the files/directories of a
> given directory and all sub-directories?
>
> Now, do you want this echo'ed to the screen, or saved in a file like you
> did in your earlier example?
>
> either way, the following code will help you I think.
>
> <?php
>
> function displayDirectory($path) {
> $data = glob($path.'/*');
> foreach ( $data AS $entry ) {
> if ( in_array($entry, array('./', '../')) ) {
> continue;
> }
> if ( is_dir($entry) ) {
> displayDirectory($entry);
> } else {
> echo "{$entry}\n";
> }
> }
> }
>
> displayDirectory($_GET['location']);
Yes well, all nice and stuff... BUT my question was if anyone knew a way to
force PHP to read a directory alphabeticly without the use of arrays of OS
tools. sry =D
>
>
> --
> Jim Lucas
>
> "Some men are born to greatness, some achieve greatness,
> and some have greatness thrust upon them."
>
> Twelfth Night, Act II, Scene V
> by William Shakespeare
--
---
Børge Holen
http://www.arivene.net
--- End Message ---
--- Begin Message ---
Howdy all,
I have a login app that runs at:
DOCUMENT_ROOT/admin/index.php
and an AJAX action at:
DOCUMENT_ROOT/somefile.php
The login app and all the scripts based under the admin/ folder have no
problems, but the AJAX scripts don't know jack about any stinkin
$_SESSION var.
I can only presume this is an issue with the folder. I added this to
both the layout code and the Ajax handler script:
echo "<pre>"; print_r($_SESSION); echo "</pre>";
(with an exit() after that in the Ajax action handler)
And I get the full session explanation in the layout but I get
Array
(
)
from the Ajax script.
session_start() is being called as the first line of the Ajax script.
Any thoughts?
Nathan
--- End Message ---
--- Begin Message ---
Nevermind... I don't know what the problem is yet but it's not the
folder.
--- End Message ---
--- Begin Message ---
session_module_name() returns 'files' for both.
Altering the session.cookie_path (to set it to /) and
session.cookie_domain (to set it to '') did not help.
Moving the files to DOCUMENT_ROOT where the Ajax scripts are didn't
help; the main app still has the session, the Ajax script still doesn't.
:(
--- End Message ---
--- Begin Message ---
It was a symfony thing.
For anyone else's future reference, if you are integrating with some big
monolith of an app and you find that your sessions are "disconnected"
when going from the big app to your little script... check out
session_name().
K bye!
--- End Message ---
--- Begin Message ---
I have the GD Library installed, but I don't see any of the fonts. What
is the preferred location to download fonts (standard fonts like Arial,
Verdana, etc.) and which directory should they be stored in?
Charlene
--- End Message ---