php-general Digest 27 Nov 2006 19:22:58 - Issue 4483
Topics (messages 245169 through 245190):
Re: PHP and XML
245169 by: Børge Holen
Re: Please hack my app
245170 by: Ivo F.A.C. Fokkema
245171 by: Ivo F.A.C. Fokkema
Re: Storing objects in sessions recursively
On Wed, 22 Nov 2006 09:57:50 +0100, Ivo F.A.C. Fokkema wrote:
Hi List,
As this subject may start you wondering what the hell I'm thinking, let me
clearify:
I've been rewriting an GPL'ed PHP/MySQL app from scratch for the last 12
months or so. It facilitates storage of DNA mutations and
Vincent, Jochem,
Thank you for replying.
The issue turned out to be my Article class took arguments in its
constructor, which was unacceptable because the argument could not be
serialized when being passed along during the session.
By adjusting my object so that the constructor takes no
Dave M G wrote:
The issue turned out to be my Article class took arguments in its
constructor, which was unacceptable because the argument could not be
serialized when being passed along during the session.
By adjusting my object so that the constructor takes no arguments, and
then creating
Dave M G wrote:
Vincent, Jochem,
Thank you for replying.
The issue turned out to be my Article class took arguments in its
constructor, which was unacceptable because the argument could not be
serialized when being passed along during the session.
why would the arguments need to be
Hello,
A little while back there was a discussion on running Apache,MySql and PHP from
a CD... I can't seem to find that thread and i cant seem to find the links i
had from that thread, so
Can anybody suggest/recommend a way to run our project from CD?
Our project is made in PHP 4 with a
On Mon, 2006-11-27 at 03:39 -0800, Ryan A wrote:
Any help appreciated, even if its a one line link, thanks in advance!
Our team ships our products as an Ubuntu linux Live CD with all the bits
and pieces pre-installed, which also gives the user an option to install
and set up a live server with
Stut wrote:
Dave M G wrote:
The issue turned out to be my Article class took arguments in its
constructor, which was unacceptable because the argument could not be
serialized when being passed along during the session.
By adjusting my object so that the constructor takes no arguments, and
Jochem Maas wrote:
this is wrong - the ctor is not called at all when unserializing, check this
code snippet:
php -r '
class Test { function __construct() { echo foo\n; } }
$t = new Test;
$s = serialize($t);
unset($t);
$u = unserialize($s);
'
this only outputs 'foo' once.
seems like whatever
http://www.wellho.net/solutions/general-windows-running-apache-and-mysql-from-a-cd.html
On 11/27/06, Paul Scott [EMAIL PROTECTED] wrote:
On Mon, 2006-11-27 at 03:39 -0800, Ryan A wrote:
Any help appreciated, even if its a one line link, thanks in advance!
Our team ships our products as an
Stut wrote:
Jochem Maas wrote:
this is wrong - the ctor is not called at all when unserializing,
check this
code snippet:
php -r '
class Test { function __construct() { echo foo\n; } }
$t = new Test;
$s = serialize($t);
unset($t);
$u = unserialize($s);
'
this only outputs 'foo' once.
Jochem Maas wrote:
heck it's monday what you expect ;-) (I have the same excuse for fridays)
I use the same excuse Tuesday to Thursday, I find that, on balance, it
works better for me.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Paul,
Sounds good but I dont think its right for this project because we are making
educational pages that are presently online... but will later be distributed
for free to students, mostly young ones at that... 10-15yrs old so it has to be
as simple as possible for example:
User gets
www.apachefriends.org have a Lamp on CD project.
2006/11/27, Ryan A [EMAIL PROTECTED]:
Hello,
A little while back there was a discussion on running Apache,MySql and PHP from
a CD... I can't seem to find that thread and i cant seem to find the links i
had from that thread, so
Can anybody
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. -
You wouldnt happen to have a direct link to that page would you? coz I cant
find it in their products section...
Thanks!
R
Alberto Ferrer [EMAIL PROTECTED] wrote: www.apachefriends.org have a Lamp
on CD project.
2006/11/27, Ryan A :
Hello,
A little while back there was a discussion on
On Mon, November 27, 2006 11:10 am, Mark Kelly wrote:
In the stuff I do almost all the HTML is generated with PHP as
basically
none of it is static (lots of tabular data, state-sensitive links,
stuff
like that).
Am I crazy to make an extra effort in my code to make the generated
HTML
Another option might be to use something like wget or htdig to just
rip through the whole site and generate a static site out of it...
I did something like that once for an educational CD, except I just
wrote the generator myself. I'm not sure wget existed back then, and
I'm pretty sure htdig
On Mon, 2006-11-27 at 08:42 -0800, Ryan A wrote:
Sounds good but I dont think its right for this project because we are
making educational pages that are presently online... but will later
be distributed for free to students, mostly young ones at that...
10-15yrs old so it has to be as simple
Hi everyone,
I'm working on a mailform and it's kind of working but I still have 2
problems:
1) I can't get the From header right, when I receive the test mail the sender
is apache
2) The BCC headers (there's more then one) are not stripped.
Here's my script:
/* haal de gegevens op
I have not found a satisfactory way of doing this yet
$text = $_REQUEST['text_size'];
if ($text) {
echo $text;
}
I send the $text_size variable to the browser with lines like...
a href=? $_SERVER['PHP_SELF']; ??text_size=small class=size1
id=oneA/a
When the page initially loads I get
Hey Rich,
To be honest I thought of using WGET and if I remember correctly it was
suggested in the original old thread... but once i started reading up on wget,
the damn thing has so many switches I got lost and gave up hope pretty soon.
Another thing that I am not sure if WGET will handle
Hey Paul,
Now this is sounding promising!
Can you send me details on how/where I can download your package to give it a
go?
Firefox launches on CD start and
I hope just in this case FF is launched, because we have found that most of our
to be users are on IE... so this was designed
Ross wrote:
I have not found a satisfactory way of doing this yet
$text = $_REQUEST['text_size'];
if ($text) {
echo $text;
}
I send the $text_size variable to the browser with lines like...
a href=? $_SERVER['PHP_SELF']; ??text_size=small class=size1
id=oneA/a
When the page initially
On 11/27/06, Ross [EMAIL PROTECTED] wrote:
I have not found a satisfactory way of doing this yet
$text = $_REQUEST['text_size'];
if ($text) {
echo $text;
}
I send the $text_size variable to the browser with lines like...
a href=? $_SERVER['PHP_SELF']; ??text_size=small class=size1
At 11/27/2006 11:21 AM, Ross wrote:
$text = $_REQUEST['text_size'];
if ($text) {
echo $text;
}
I send the $text_size variable to the browser with lines like...
a href=? $_SERVER['PHP_SELF']; ??text_size=small class=size1
id=oneA/a
When the page initially loads I get a undefined index
On Mon, 2006-11-27 at 11:41 -0800, Ryan A wrote:
Now this is sounding promising!
Can you send me details on how/where I can download your package to give it a
go?
I will upload the ISO to our download site in the morning (I only get
3GB per month bandwidth from my home ADSL) and you can
At 5:10 PM + 11/27/06, Mark Kelly wrote:
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By
$text_only = isset($_GET['text_only']) ? $_GET['text_only'] : 1;
if ($text_only==1) {
?
a href=?php echo $_SERVER['PHP_SELF'];??text_only=0off/a
// import css here
?
}
else {
?
a href=?php echo $_SERVER['PHP_SELF'];??text_only=1on/a/span
// import css here
?
}
?
secondly the text size links
At 11/27/2006 02:11 PM, Ross wrote:
$text_only = isset($_GET['text_only']) ? $_GET['text_only'] : 1;
if ($text_only==1) {
?
a href=?php echo $_SERVER['PHP_SELF'];??text_only=0off/a
// import css here
?
}
else {
?
a href=?php echo $_SERVER['PHP_SELF'];??text_only=1on/a/span
// import css here
Hello,
on 11/27/2006 05:14 PM Chantal Rosmuller said the following:
I'm working on a mailform and it's kind of working but I still have 2
problems:
1) I can't get the From header right, when I receive the test mail the sender
is apache
There is From: and From . From is not a real header.
If I define a function like this:
function foo ($x, $y, $z) {}
and then call: foo(1,2,bar);
is there a function I can call inside foo() that yields this hash:
{x = 1, y = 2, z = bar}
In other words, gives me the values *and names* of the arguments to foo?
func_get_args just yields the
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty?
Thanks everyone for your thoughts on this - I'm quite relieved that I'm not
the only one who sits and tweaks so that the HTML is nice and readable.
It just
On Mon, 2006-11-27 at 11:41 -0800, Ryan A wrote:
Hey Paul,
Now this is sounding promising!
Can you send me details on how/where I can download your package to
give it a go?
The ISO image is now available at: http://fsiu.uwc.ac.za/iso/
--Paul
All Email originating from UWC is covered by
Hello all,
I am using ftp function to upload the file in server. But i am getting this
error:
The filename, directory name, or volume label syntax is incorrect.
Can anyone help me?
Thanks Regards
Manoj
Hi,
My name is Jordan Forssman, I am representing a company called Armorize
Technologies. We have developed a source code analysis platform for PHP,
called CodeSecure, which scans source code for SQL injection, cross site
scripting, command injection, etc, vulnerability. The tool will tell you
Hi all,
Does anyone know if GSSAPI support based on patches mentioned in bug
report: 30819 (http://bugs.php.net/bug.php?id=30819) are still in CVS
(or part of php-5.2.0)?
If not, could someone kindly point me to the patch (if it's still out there).
Appreciate any input, thanks.
Mustafa.
--
Back Ports wrote:
Hi all,
Does anyone know if GSSAPI support based on patches mentioned in bug
report: 30819 (http://bugs.php.net/bug.php?id=30819) are still in CVS
(or part of php-5.2.0)?
If not, could someone kindly point me to the patch (if it's still out
there).
You will have to ask for
38 matches
Mail list logo