does anybody know if the pear website is having any problems? i cant seem to
be able to go there and its the only website giving me problems right now...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My webhost doesn't want to upgrade to PHP5 because of security reasons and
some scripts that will mallfunction. I find it hard to believe. Current conf
of webhost is PHP 4.3.11, Apache 1.3.33 and MySQL 3.23.49.
What real reasons could there be not to upgrade ?
How could I convince them to upgrade t
Hi list
I've got a concern for a user add/edit form.
Right now when the user is logged in, I put its id in the session.
Then when the user edits his details I put the id in the form and when it
comes back I verify if the id matches the one in the session.
Is it possible for someone who does no
Andy Pieters napisał(a):
Is it possible for someone who does not have access to the server to edit
arbitary accounts?
well this depends on the forum You use, there're many many exploits out
there.
The best way to know is to try and keep up with places like
the bugtraq@securityfocus.com list,
On Wednesday 07 December 2005 08:37, Pugi! wrote:
> My webhost doesn't want to upgrade to PHP5 because of security reasons and
> some scripts that will mallfunction. I find it hard to believe. Current
> conf of webhost is PHP 4.3.11, Apache 1.3.33 and MySQL 3.23.49.
> What real reasons could there
On Wednesday 07 December 2005 08:57, Łukasz Hejnak wrote:
> The best way to know is to try and keep up with places like
> the bugtraq@securityfocus.com list, or other security websites/mailing
> lists and such.
>
It isn't a forum, it is software I write myself.
--
Now listening to Top! Radio Live
Andy Pieters wrote:
On Wednesday 07 December 2005 08:37, Pugi! wrote:
My webhost doesn't want to upgrade to PHP5 because of security reasons and
some scripts that will mallfunction. I find it hard to believe. Current
upgrade to php5 == "scripts that will mallfunction" == support calls == losi
Nusphere PhpED and love it. Tried a few other editors but stayed with PhpED
now for the last year and about to renew my subscription. Excellent project
management, brilliant debugger (local and remote), code error detection and
highlighting, fast (much faster than the java editors), able to handle
Hi Michael,
On 12/3/05, Michael B Allen <[EMAIL PROTECTED]> wrote:
> Why do sessions use cookies?
'cause HTTP is a "stateless" protocol ... check
Wikiepedia on HTTP Cookies at http://en.wikipedia.org/wiki/HTTP_cookies
and RFC 2109 http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2109.html
such "stat
Hi Jeff,
On 12/6/05, Jeff McKeon <[EMAIL PROTECTED]> wrote:
> I'm sure there's better software out there that is more suited to
> writing and editing PHP pages. What do you all use?
Eclipse + TruFoundation (PHP/Python) + JSEclipse + CSSEditor + Web
Standard Tools (HTML/XML/...)
Well, first of
Hi Andy,
On 12/7/05, Andy Pieters <[EMAIL PROTECTED]> wrote:
> Right now when the user is logged in, I put its id in the session.
> Then when the user edits his details I put the id in the form and when it
> comes back I verify if the id matches the one in the session.
Well, is session data saved
Michael B Allen wrote:
Hi,
I scoping out an Internet site project and my primary consideration at
the moment is authentication infrastructure. Conceptually I was thinking
about something like the pseudocode at the bottom of this message
(pardon all the Java-esc typing).
Can PHP do this s
James wrote:
Hi there,
I have been using the GD functions from PHP5.0 on Mac OS X.
I have a simple script that creates a PNG image with text on the image using
fonts using FreeType 2.
I am trying to use the imagettftext() function within a foreach loop but I
get the following error:
PHP War
Title: Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double
Hi,
Thank you for getting back to me, your the first.
The array works fine – I have tested it using var_dump().
Attached are the two files – xml.test – this holds the array of the text blocks which is being parsed
> -Original Message-
> From: Rob Richards [mailto:[EMAIL PROTECTED]
> Sent: 07 December 2005 04:21
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: XmlWriter::writeDTD bug...
>
> Jared Williams wrote:
> > Hi,
> >
> > $writer = new XmlWriter();
> > ...
> >
> Jared Williams wrote:
> > Hi,
> >
> > $writer = new XmlWriter();
> > ...
> >
> > $writer->writeDtd('html', '-//W3C//DTD XHTML 1.0 Strict//EN',
> > 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
> >
> > produces no whitespace between the public & system ids like...
> >
Hi friends ,
my code like this
$sql="SELECT mid,substr(ROWID,0,100) as nROWID,MEMBER_ID, NAME, SURNAME,
E_MAIL, SUBJECT, MAIL_BODY, to_char(DATE_CREATED,'DD.MM. HH24:MI:SS') as
DATE_CREATED, RETRY, PRIORITY, E_MAIL_FROM, RECEIVER_MEMBER_ID,
RECEIVER_NAME, RECEIVER_SURNAME, MAIL_TYPE, ATTACH
Hello PHP-Gurus,
I have already ask this on php-de and pgsql-pgp but unfortunatly
gotten no answer.
I have a search form and I like to add advanced search options like
"this is a search" -XXX Test
which mean,
1) "this is a search" must be in this order
2) -XXX
Thanks guys, very helpful!
Gabe wrote:
In this if statement, if the condition is true, then it will assign true
to the array (as I want it to). If the condition evaluates to false, it
assigns nothing. Any idea why it won't assign false? If I switch the
FALSE boolean value to the number 0,
Curt Zirzow wrote:
On Tue, Dec 06, 2005 at 06:36:33PM +0100, M. Sokolewicz wrote:
Jason Petersen wrote:
On 12/6/05, Jeff McKeon <[EMAIL PROTECTED]> wrote:
Hey all,
Forever now I've been using Frontpage for all my web work including php.
I'm sure there's better software out there that is m
Rasim ÞEN wrote:
Hi friends ,
my code like this
$sql="SELECT mid,substr(ROWID,0,100) as nROWID,MEMBER_ID, NAME, SURNAME,
E_MAIL, SUBJECT, MAIL_BODY, to_char(DATE_CREATED,'DD.MM. HH24:MI:SS') as
DATE_CREATED, RETRY, PRIORITY, E_MAIL_FROM, RECEIVER_MEMBER_ID,
RECEIVER_NAME, RECEIVER_SURNAME
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages to the
general list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages to the
general list.
I'm not. Told you Bill was going to get mad at you. ;)
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL
Yeah, I am recieving the same.
Jay Blanchard wrote:
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages to the
general list.
--
Jason Gerfen
"Oh I have seen alot of what
the world can do, and its
breaking my heart in two..."
~ Wild World, Cat Steve
Here is some code that you can modify. It's design to convert a
search string into a MySQL full text search string, not sure how
different pgsql is. It adds * for word expansion where appropriate.
It assume a space is the delimiter, but that's easy to change in the
explode statement.
Exam
John Nichel wrote:
Jay Blanchard wrote:
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages
to the
general list.
I am too.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pt'Edit' in DOS. ;)
Absolutely!! It can't be beaten for undocumented features. :p
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
>
> I am getting failure notices out the wazoo for some very old messages to the
> general list.
>
Just got seven in a row, looks like the MTA is trying for three weeks
and then giving up. The messages appear to be for:
[EMAIL PROTECTED]
Can this add
me 3
Jason Gerfen wrote:
Yeah, I am recieving the same.
Jay Blanchard wrote:
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages
to the
general list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
>
> Curt Zirzow wrote:
> > On Tue, Dec 06, 2005 at 06:36:33PM +0100, M. Sokolewicz wrote:
> >
> >>Jason Petersen wrote:
> >>
> >>>On 12/6/05, Jeff McKeon <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> Hey all,
>
> Forever now I've been using Frontpage for all my web work
> including php.
Jim Moseby wrote:
man you guys are wimps.. gvim on windows... :)
Pt'Edit' in DOS. ;)
(Pt * 2) 'edlin' in DOS. :)
Infinitely recursive pfft A pencil and a piece of paper and
ringing people to describe the cool web site you've just drawn,
--
PHP Gener
[snip]
>>> man you guys are wimps.. gvim on windows... :)
>>>
>> Pt'Edit' in DOS. ;)
>>
>>
>
> (Pt * 2) 'edlin' in DOS. :)
Infinitely recursive pfft A pencil and a piece of paper and
ringing people to describe the cool web site you've just drawn,
[/snip]
Tw
Jay Blanchard wrote:
[snip]
man you guys are wimps.. gvim on windows... :)
Pt'Edit' in DOS. ;)
(Pt * 2) 'edlin' in DOS. :)
Infinitely recursive pfft A pencil and a piece of paper and
ringing people to describe the cool web site you've just drawn,
[
[snip]
> Two words punch cards. 'Nuff said.
>
Come on now Jay, we know you're old and all, but everyone knows that you
cannot edit php with punch cards. Hanging chads will cause too many
fatal errors. ;)
[/snip]
ROFLMMFAO
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hi,
Is it possible to return the result of eval function to a string rather than
outputting directly to the browser?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:45 AM 12/7/2005, Jay Blanchard wrote:
[snip]
> Two words punch cards. 'Nuff said.
>
Come on now Jay, we know you're old and all, but everyone knows that you
cannot edit php with punch cards. Hanging chads will cause too many
fatal errors. ;)
[/snip]
ROFLMMFAO
Why these clums
[snip]
Is it possible to return the result of eval function to a string rather than
outputting directly to the browser?
Thanks for your advice
[/snip]
Yes.
You're welcome.
The first freakin' example in TFM http://www.php.net/eval is this;
--
PHP General Mailing List (http://www.php.net/)
Shaun
Shaun wrote:
> Is it possible to return the result of eval function to a string rather than
> outputting directly to the browser?
ob_start();
eval('$eval = "evil";');
$output = ob_get_clean();
Cheers,
David Grant
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (htt
Can someone help me overcome this recurring problem? I am using the Joomla content management system and I keep coming across the following errors.
Fatal error: Call to undefined function mysql_real_escape_string() in /usr/local/apache2/htdocs/common.php on line 24
Fatal error: Call to unde
Paul Hickey wrote:
Can someone help me overcome this recurring problem? I am using the
Joomla content management system and I keep coming across the following
errors.
Fatal error: Call to undefined function mysql_real_escape_string() in
/usr/local/apache2/htdocs/common.php on line 24
Fatal
Miles Thompson wrote:
At 11:45 AM 12/7/2005, Jay Blanchard wrote:
[snip]
> Two words punch cards. 'Nuff said.
>
Come on now Jay, we know you're old and all, but everyone knows that you
cannot edit php with punch cards. Hanging chads will cause too many
fatal errors. ;)
[/snip]
ROFLMMF
I'm using quanta on linux, it those nice things like code completion,
syntax highlighting, upload the pages, etc...
--
http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 here
--
http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
Miles Thompson wrote:
At 11:45 AM 12/7/2005, Jay Blanchard wrote:
[snip]
> Two words punch cards. 'Nuff said.
>
Come on now Jay, we know you're old and all, but everyone knows that you
cannot edit php with punch cards. Hanging chads will cause too many
fatal errors.
It's not a full FTP client, you can't set permissions in it. I think that's
a major minus in DW's favor. Especially if you don't have access to ssh into
your machine ...
-Original Message-
From: Michael Hulse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 10:09 PM
To: 'php'
S
had about 15 in my inbox this morning :)
On Wednesday 07 December 2005 08:36, Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
>
> I am getting failure notices out the wazoo for some very old messages to
> the general list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Jared Williams wrote:
PS.
Yeah, thought it was libxml, hence didn't file a pecl bug report. But
there does seem a problem with this method as can't
just have a publicId or a systemId, libxml function uses NULL as a parameter to
specify which id you don't want to use. Which we've
lost w
Hello Miles,
Wednesday, December 7, 2005, 8:56:23 AM, you wrote:
> Why these clumsy interfaces?
> Just plug the Firewire in your ear!
So that's where it's supposed to go!?!?!? I've been doing it wrong all
this time, not to mention it made sitting so very uncomfortable.
--
is there a way to dynamically define a class constant during runtime
in PHP 5?
for example I would like to achieve the result of something like:
class Example {
const FOO = bar();
}
However this would obviously give a parse error.
I know it is possible with variables but I would like
>
> Jared Williams wrote:
> >
> > PS.
> > Yeah, thought it was libxml, hence didn't file a pecl
> bug report. But
> > there does seem a problem with this method as can't just have a
> > publicId or a systemId, libxml function uses NULL as a
> parameter to specify which id you don't want to
Dynamically setting a constant would break the very rule of it being a
constant in the first place.
a constant is something that does not change it cannot be dynamic.
On Wednesday 07 December 2005 12:00, Jeffrey Sambells wrote:
> is there a way to dynamically define a class constant during runtim
[snip]
is there a way to dynamically define a class constant during runtime
in PHP 5?
for example I would like to achieve the result of something like:
class Example {
const FOO = bar();
}
However this would obviously give a parse error.
I know it is possible with variables but I woul
> It would be foolish (and would fail anyhow) to do something like this;
Nope. :P
int(12)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Murray @ PlanetThoughtful said the following on 12/07/2005 07:31 AM:
Jim Moseby wrote:
Pt'Edit' in DOS. ;)
(Pt * 2) 'edlin' in DOS. :)
Infinitely recursive pfft A pencil and a piece of paper and
ringing people to describe the cool web site you've just draw
[snip]
> It would be foolish (and would fail anyhow) to do something like this;
Nope. :P
int(12)
[/snip]
Wow, that should fail. But you did have use var_dump() to get it, which may
be slightly counter-intuitive. I just did this
function realRand($x){
$x = $x * rand(5,10);
ret
[snip]
Wow, that should fail. But you did have use var_dump() to get it, which may
be slightly counter-intuitive. I just did this
function realRand($x){
$x = $x * rand(5,10);
return $x;
}
define("RANDOM", realRand(1.2));
var_dump(RANDOM);
and it returns floats. Well, I'll be
Can someone recommend a general method for avoiding / eliminating XSS
vulnerbilities with PHP?
Specifically is there a library function for validating fields? If not,
can someone recommend a regex that detects HTML tags?
Similarly is there a library function for escaping database content for
incl
> Similarly is there a library function for escaping database content for
> inclusion in HTML pages?
http://php.net/htmlspecialchars
http://php.net/htmlentities
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michael B Allen wrote:
Can someone recommend a general method for avoiding / eliminating XSS
vulnerbilities with PHP?
Yeah, escape output. It's really that simple.
Curt Zirzow made a nice post related to this topic yesterday., and
here's a simple example:
http://phpsecurity.org/code/ch01-4
comex wrote:
Similarly is there a library function for escaping database content for
inclusion in HTML pages?
http://php.net/htmlspecialchars
http://php.net/htmlentities
Or roll your own and replace the eregi regex with data that is valid to
your application:
function chk_input( $st
There's been a lot of great articles in the PHP|Architect magazine over
the past 3 months or so about this (http://www.phparch.com) You do have
to purchase back-issues though. Very good articles though. They cover
how to make functions to filter what variables should be sent in, and
how to m
Ray Hauge wrote:
There's been a lot of great articles in the PHP|Architect magazine
over the past 3 months or so about this (http://www.phparch.com)
You do have to purchase back-issues though.
Past editions of Security Corner are eventually available for free from
my web site:
http://shiflet
I use JEdit with code browser plug-in. Once it's started, it's quite
fast. It's Java-based, so it runs both on windows and linux. Very easy
to configure, has many useful coding features. If you need more, just
install some plug-ins.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hello,
I need to set the doctype and the system dtd of a document created
directly with the xml DOM.
I couldn´t find any function or property to set this, i saw some
examples that directly wrote onto the file manually, but i´m pretty sure
thare must be a way to do this with the dom (i remember
Stephen Leaf wrote:
Dynamically setting a constant would break the very rule of it being a
constant in the first place.
Did you say something about my Java?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Task:
Create a script that converts text into HTML with paragraphs.
Problem:
Input text could use the book notation, as well as the web notation,
plus it can contain HTML.
==
This is a title
This is a Book paragraph.
This is another book paragraph.
This is yet another book paragraph, bu
Quoting Roman Ivanov <[EMAIL PROTECTED]>:
Output text should be correctly formatted without using lots of br's
and 's. Doing so manually is not a problem, I would just use
for web paragraphs, and for book paragraphs.
However, formatting such text with a scrip is very difficult. Does
anyone
Eric Gorr wrote:
Quoting Roman Ivanov <[EMAIL PROTECTED]>:
Output text should be correctly formatted without using lots of br's
and 's. Doing so manually is not a problem, I would just use
for web paragraphs, and for book paragraphs. However,
formatting such text with a scrip is very diffi
Michael B Allen wrote:
Can someone recommend a general method for avoiding / eliminating XSS
vulnerbilities with PHP?
IMO, the best way to avoid XSS is to filter _output_.
My script:
http://nengine.korsengineering.com/files/src/misc/HtmlFilter.phps
--
PHP General Mailing List (http://www.php.
Maybe I'm missing some requirement, but what if you just used HTML ""
tags. You can still use other HTML for formatting within the tags but
it'll pay attention to carriage returns/line feeds and spaces without having to
use s
For example, if you did the following... is it what you need or wha
TECO rox!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I trying to get php_printer.dll extension to work on a xp system . I
downloaded correct version of php_printer.dll to match php version 5.1.1 .
The extension_dir is set correctly , because other extensions load and work
perfectly.
When I execute the following code, I get ...
an undefined function
I tried this and it didn't work using PHP it just leaves a blank instead of
a NULL setting. Any other ideas?
On 11/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On Thu, November 10, 2005 11:15 pm, Curt Zirzow wrote:
> > >
> > $sql_quoted = array(); // shiflett' -- style
> >
> > $myFieldVal
The point was more that the constant's value is 'defined' at the
beginning of the script, and is constant and non changing throughout
the entire execution of the script. But I was looking for a way to give
it a namespace inside a class rather than just defining in in the
global scope so that I
You've got 83px in you XML file for the fontsize. the 'px' is messing
it up change it to just 83 in the XML file or cast the value to (float)
which will extract the 83 and remove the px:
foreach ($xml->textblock as $text) {
$fontsize=(float)$text->fontsize;
[ man.. I just realized that "reply" to this list doesn't send to the
list... replies being re-sent... thanks for the help! ]
On Dec 6, 2005, at 10:45 PM, Curt Zirzow wrote:
I'm going to jump to the code as fast as possible to explain what I
can, the key thing to remember in php5 is that the
Hey Ray-
Thanks for the link!
Actually, the article didn't help directly, but it did spark an idea.
My main problem all along was trying to get a true reference to
$this. For some reason reading the article led me to try "$this-
>this", which works, to my surprise!
So, I now have a complet
On Dec 7, 2005, at 12:36 AM, Curt Zirzow wrote:
My original statement was to show how the the php4 = &$o is
different.
Oh, well, sure I believe that! :)
In php5 variables are just containers that point to objects, so
when you make
a variable a reference to another variable all you are doi
Hello,
Something just crossed my mind about using output buffering is
there any reason why you should start a session before calling
ob_start() ???
Just curious which way would be the proper way of doing it... or
doesn't it matter?
Thanks
--
Joe Harman
-
* My programs never have bug
Okay.. makes sense after you spelled it out to me... LOL... I always
start my session first.. so, that must why i have never had any
problems
Cheers & Thanks!
Joe
On 12/7/05, Zack Bloom <[EMAIL PROTECTED]> wrote:
> yes, it will display the content in the buffer before creating the session.
> If
Hi Chris... sometimes there is no replacement for a FTP program... but
you can use INI_SET() at in your PHP file to temporarily set the file
upload size. i think you will have to change the time out settings
also
look at the manual on ini_set... also search this list for ini_set
even better... ta
Joe Harman wrote:
Okay...makes sense after you spelled it out to me.
That didn't make sense to me (and I missed the original reply). Mind
elaborating? :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
Sure, ob_start begins a buffer allowing you to display content in the
browser before your script has finished executing. This is useful when
loading a time intensive page to tell the user to wait. When you create a
session (provide php is not configured otherwise) php attempts to store a
cookie w
I guess this was just out of general curiousity... If you started
'session_start()' after 'ob_start()' would the sessions work
correctly? k.. maybe I am still confused... lol... I normally do
session_start() before the ob_start()...
Zack Said : 'yes, it will display the content in the buffer
I have an array $journal that I want to carry from a page (where it was
created) to another page (a popup that shows the variables contents). Is
this automatically available? or do I have to do something special to php??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
On Thu, Dec 08, 2005 at 01:23:40AM -0500, Joe Harman wrote:
>
> So, the question is really... in what order is the best way to do
> this... I would think that you always want to start a session first...
> but then again, you guys are the experts... i am sure someone knows a
> reason when you shoul
On Thu, Dec 08, 2005 at 01:33:52AM -0500, Eternity Records Webmaster wrote:
> I have an array $journal that I want to carry from a page (where it was
> created) to another page (a popup that shows the variables contents). Is
> this automatically available? or do I have to do something special to ph
Session variable or hidden field maybe
Eternity Records Webmaster wrote:
I have an array $journal that I want to carry from a page (where it was
created) to another page (a popup that shows the variables contents). Is
this automatically available? or do I have to do something special to php??
Zack Bloom wrote:
Sure, ob_start begins a buffer allowing you to display content in
the browser before your script has finished executing.
Calling ob_start() turns on PHP's output buffering. In other words, it
buffers output from the moment this function is called until the buffer
is flushed
On Wed, Dec 07, 2005 at 09:30:36PM -0500, Alan Pinstein wrote:
>
> On Dec 7, 2005, at 12:36 AM, Curt Zirzow wrote:
> >
> >I'm not sure how you mean a weak reference, and well a refcount is
> >rather meaning less in php userland.
>
> So, this gets interesting. I don't know if you're familiar with
I have this code that doesnt print the db results like they should... it
uses pear::db package for the database. Was wondering if anybody can figure
out how come it doesnt work...
getMessage()); }
$results->query('select * from eternityrecords.journal');
if (PEAR::isError($results)) {
die($db->get
On Wed, Dec 07, 2005 at 08:36:05AM -0600, Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
>
> I am getting failure notices out the wazoo for some very old messages to the
> general list.
>
expect some more of them, if you've sent a message recently. time
to get him/her unsubscribed..
Curt.
--
cat .
you could just pass in in the address, eg:
www.example.com?var1=$var1&var2=$var2
to get them use $_REQUEST['var1']
to pass an array you could use serialize($var1) and unserialize($var1)
On 12/8/05, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>
> Curt Zirzow wrote:
> > > $array = array('my', 'lis
Curt Zirzow wrote:
And in the code that is called in the popup:
Don't forget session_start(). :-)
(You might have session.auto_start enabled, but it's not by default.)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP General Mailing List (http://www.p
I have never tried it but if it did work i doubt it would use cookies, it
would probably pass it in the addresses or throw an error.
On 12/8/05, Joe Harman <[EMAIL PROTECTED]> wrote:
>
> I guess this was just out of general curiousity... If you started
> 'session_start()' after 'ob_start()' would
Sorry it looked like the rest of your email was part of the previous one.
To answer your question it is better to call session_start() before
ob_start()
On 12/8/05, Zack Bloom <[EMAIL PROTECTED]> wrote:
>
> I have never tried it but if it did work i doubt it would use cookies, it
> would probably
On Thu, Dec 08, 2005 at 02:39:46AM -0500, Zack Bloom wrote:
> you could just pass in in the address, eg:
> www.example.com?var1=$var1&var2=$var2
>
> to get them use $_REQUEST['var1']
>
> to pass an array you could use serialize($var1) and unserialize($var1)
Or just use http_build_query() (php5 o
97 matches
Mail list logo