mike bode wrote:
> I have posted the question in another thread a bit down, but only buried
> within the thread, so please excuse me when I ask again.
>
> I want to use some PHP code from a web site
> (http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm), and I am
> following their instru
2009/8/25 mike bode :
> I just de-installed, then re-installed MySQL, Apache and PHP 5.3. No
> changes. The script does not work on my computer.
>
> Now I get in addition to the error message below this:
>
> [Tue Aug 25 21:29:11 2009] [error] [client 127.0.0.1] PHP Deprecated:
> Function eregi() is
see this
https://bugzilla.redhat.com/show_bug.cgi?id=478425
2009/8/26 David Taveras :
> I already did see that, but it only lists one single vulnerability
> previously stated. Id just want to confirm that is the only one?
>
>
>
> On Tue, Aug 25, 2009 at 7:09 PM, Vinicius Pinto wrote:
>
>> You can
It Just Deprecated Function used.It mean source code wouldn't work
wall based on newer php versions.
see this link http://cn.php.net/manual/en/function.eregi.php
If you want fix that warning ,replace eregi to preg_match_all and use
/s instead.
2009/8/26 mike bode :
> I just de-installed, then re-i
i like durpal or e107
2009/8/26 Lars Nielsen :
> tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert:
>> On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote:
>> > Hey list,
>> >
>> > I am going to use a cms for some sites and I have looked a little at
>> > Typo3, Joomla and php-fusion.
>> > Can a
I just de-installed, then re-installed MySQL, Apache and PHP 5.3. No
changes. The script does not work on my computer.
Now I get in addition to the error message below this:
[Tue Aug 25 21:29:11 2009] [error] [client 127.0.0.1] PHP Deprecated:
Function eregi() is deprecated in C:\\webdev\\rmv3
I already did see that, but it only lists one single vulnerability
previously stated. Id just want to confirm that is the only one?
On Tue, Aug 25, 2009 at 7:09 PM, Vinicius Pinto wrote:
> You can look at the changelog for 5.3.0 and see what was fixed:
> http://www.php.net/ChangeLog-5.php#5.3.0
I have posted the question in another thread a bit down, but only buried
within the thread, so please excuse me when I ask again.
I want to use some PHP code from a web site
(http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm), and I am
following their instruction how to implement it
sorry I mixed 'set' with 'given' and if my mistake did prevent all the
smarter guys to give u an answer I'm sorry too.
I hope not to be too limited to give u an answer
well, think about how PHP >5 works.
$a e.g. is a REFENCE to some memory where the variable resides.
so the interpreter running i
2009/8/25 tedd :
> At 2:31 PM +0100 8/25/09, Stuart wrote:
>>
>> Please don't reply directly unless you intend to pay me for my time.
>>
>> 2009/8/25 Ralph Deffke :
>>>
>>> sorry but its about the top topic it say it never does an error if u
>>> dont
>>> give an argument
>>
>> I accept that your
Hello,
Iam still a user of PHP5.2.8 - 5.2.10 under BSD.I wish to know what
vulnerabilites this version is exposed aside from CVE-2008-5498.
Is there any site, where I can get an accurate listing, the only page I saw
in php.net was for 5.2.9 listing that one vulnerability, iam thinking there
might
-- Forwarded message --
From: Martin Scotta
Date: Tue, Aug 25, 2009 at 6:24 PM
Subject: Re: [PHP] DOMNode children iteration (was Re: array() returns
something weird)
To: webmas...@strefarytmu.pl
Fatal error: Call to a member function getAttribute() on a non-object in
testme.php
tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert:
> On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote:
> > Hey list,
> >
> > I am going to use a cms for some sites and I have looked a little at
> > Typo3, Joomla and php-fusion.
> > Can anyone recommend a system where it is easy to customize t
At 2:45 PM -0600 8/25/09, mike bode wrote:
I see. PHP runs on the server and cannot directly interact with my
browser, only through Javascript.
Kind of.
PHP runs on the server and can create html, css, javascript et al.
However, PHP will complete it's task before the browser see's
anything.
__destruct is called only when the object is detroyed.
The object is destroyed only when there is no references to it.
wrote:
>
> well I would call this an error in the first view , and some of u where
> right! and the stuff with the refernce counter seems to be right as well.
>
> however I can
On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote:
> Hey list,
>
> I am going to use a cms for some sites and I have looked a little at
> Typo3, Joomla and php-fusion.
> Can anyone recommend a system where it is easy to customize the
> "templates"?
>
> regards
> Lars Nielsen
>
>
> --
> PHP Genera
> "Shawn" == Shawn McKenzie writes:
Shawn> Shawn McKenzie wrote:
>> John Stoffel wrote:
>>> Hi,
>>>
>>> I'm looking for some help with PHP5.2.x hacking on a web site to
>>> cleanup how the user submitted search form is handled. Basically I
>>> want to make it simple for the end user to a) r
I see. PHP runs on the server and cannot directly interact with my browser,
only through Javascript. So I can use javascript to "trigger" a php script,
which does something on the server, and returns something to javascript on
my machine, which can then be used to do something on my browser.
H
On Tue, Aug 25, 2009 at 02:00:04PM -0400, David Stoltz wrote:
> $rs->Fields(22) equals a NULL in the database
>
> My Code:
>
> if(empty($rs->Fields(22))){
> $q4 = "";
> }else{
> $q4 = $rs->Fields(22);
> }
>
> Produces this error:
> Fatal error: Can't use method return value in write
Thanks.
I will surely do that.
In the meantime I have found out that it really is not a problem with the
code. I uploaded the (non-functioning code) from my PC to a public web
server, and lo and behold, the code works.
It thus appears that there is something wrong with my php-apache setup.
N
Hey list,
I am going to use a cms for some sites and I have looked a little at
Typo3, Joomla and php-fusion.
Can anyone recommend a system where it is easy to customize the
"templates"?
regards
Lars Nielsen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On Tue, Aug 25, 2009 at 11:29:28AM +0100, Ashley Sheridan wrote:
> On Tue, 2009-08-25 at 12:28 +0200, Arno Kuhl wrote:
> > -Original Message-
> > From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
> > Sent: 25 August 2009 09:55 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] ancho
Shawn McKenzie wrote:
> John Stoffel wrote:
>> Hi,
>>
>> I'm looking for some help with PHP5.2.x hacking on a web site to
>> cleanup how the user submitted search form is handled. Basically I
>> want to make it simple for the end user to a) refine their query, b)
>> not have to answer popups if th
John Stoffel wrote:
> Hi,
>
> I'm looking for some help with PHP5.2.x hacking on a web site to
> cleanup how the user submitted search form is handled. Basically I
> want to make it simple for the end user to a) refine their query, b)
> not have to answer popups if they hit the reload button, and
Shawn McKenzie wrote:
> First off, if the value is NULL in the database then in PHP it will be
> the string "NULL" and not a null value as far as I remember. Second,
> you cant use a function/method in empty(). Thirdly, the string "NULL"
> is not empty. I'm not sure what DB class you're using h
Hi,
I'm looking for some help with PHP5.2.x hacking on a web site to
cleanup how the user submitted search form is handled. Basically I
want to make it simple for the end user to a) refine their query, b)
not have to answer popups if they hit the reload button, and c) so I
can learn more PHP. I
David Stoltz wrote:
> $rs->Fields(22) equals a NULL in the database
>
> My Code:
>
> if(empty($rs->Fields(22))){
> $q4 = "";
> }else{
> $q4 = $rs->Fields(22);
> }
>
> Produces this error:
> Fatal error: Can't use method return value in write context in
> D:\Inetpub\wwwroot\evaluation
2009/8/25 David Stoltz :
> if(empty($rs->Fields(22))){
Hi David,
You cannot call empty() on a function or class method like that. From
the manual:
Note: empty() only checks variables as anything else will result in
a parse error. In other words, the following will not work:
empty(trim($nam
At 11:16 PM -0600 8/24/09, mike bode wrote:
I get a blank page. this is probably something really stupid, but I
have been wrecking my head for days now, and I can't figure it out.
anybody has an idea?
Mike:
Here's an idea -- try this:
http://sperling.com/examples/include-demo/
If you comple
if(empty($rs->Fields(22))){
$q4 = '';
}else{
$q4 = ''.$rs->Fields(22);
}
Still produces errors, whether using "empty" or "is_null"with single
quotes
???
-Original Message-
From: Bastien Koert [mailto:phps...@gmail.com]
Sent: Tuesday, August 25, 2009 2:
On Tue, Aug 25, 2009 at 2:00 PM, David Stoltz wrote:
> $rs->Fields(22) equals a NULL in the database
>
> My Code:
>
> if(empty($rs->Fields(22))){
> $q4 = "";
> }else{
> $q4 = $rs->Fields(22);
> }
>
> Produces this error:
> Fatal error: Can't use method return value in write context in
-Original Message-
From: mike bode [mailto:mikebo...@hotmail.com]
Sent: 25 August 2009 07:16 AM
To: php-general@lists.php.net
Subject: [PHP] Beginner question
I am trying to use PHP on my web site I am developing now. I have installed
Apache 2.2 and PHP 5.2. My problem is that I can execut
$rs->Fields(22) equals a NULL in the database
My Code:
if(empty($rs->Fields(22))){
$q4 = "";
}else{
$q4 = $rs->Fields(22);
}
Produces this error:
Fatal error: Can't use method return value in write context in
D:\Inetpub\wwwroot\evaluations\lookup2.php on line 32
Line 32 is the "
On Tue, Aug 25, 2009 at 12:48 PM, Ben Miller wrote:
> Is there a simple to way to compare two strings with case insensitivity so
> that the following will return true?
>
> $foo = "Arnold";
> $bar = "arnold";
>
> If($foo == $bar) {
>
> }
>
> Thanks.
>
>
> --
> PHP General Mailing List (http://www.ph
Is there a simple to way to compare two strings with case insensitivity so
that the following will return true?
$foo = "Arnold";
$bar = "arnold";
If($foo == $bar) {
}
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Aug 25, 2009 at 00:07, Augusto Flavio wrote:
>
> Answers: (choose 2)
> Error messages will contain sensitive session information
> Error messages can contain cross site scripting attacks
> Security risks involved in logging are handled by PHP
> X Error messages give the percepti
I've been playing about more and now I have the following code:
$folder ){
echo "\n"; //Don't need folders as they're shown with the files
foreach( $folder as $file){
echo str_replace("./", "", $key) . "\t" . $file . "\t\n"; //Pad
out with a tab for easy import into excel
}
}
pri
Well, as I said: Beginner ...
I am actually trying to implement some html code that I found on the web,
which uses php (see:
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm). They use the
method I tried to call a function php and then display a "photo album".
Well, that doesn't w
> To: php-general@lists.php.net
> From: mikebo...@hotmail.com
> Date: Mon, 24 Aug 2009 23:16:02 -0600
> Subject: [PHP] Beginner question
>
> I am trying to use PHP on my web site I am developing now. I have installed
> Apache 2.2 and PHP 5.2. My problem is that I can execute PHP code embedded
php tigger is right i think.
Because of Zend engine parse line by line.(I can't use English give
expression to it with My Poor English).
It mean that (What I think) unset function is right parse but error
for is parameter.
Tigger Display :"Warning: Wrong parameter count for unset " what
is y
On Mon, 2009-08-24 at 23:16 -0600, mike bode wrote:
> I am trying to use PHP on my web site I am developing now. I have installed
> Apache 2.2 and PHP 5.2. My problem is that I can execute PHP code embedded
> in my HTML code, but I can't execute the same cose when I put it into a
> separate .php
On Tue, Aug 25, 2009 at 10:37 AM, kyle.smith wrote:
>
> -Original Message-
> Recently i read this blog post about speed issues comparing PHP with
> ASP.net, please, read that and comment what you think about it:
> http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu
> s-
I am trying to use PHP on my web site I am developing now. I have installed
Apache 2.2 and PHP 5.2. My problem is that I can execute PHP code embedded
in my HTML code, but I can't execute the same cose when I put it into a
separate .php file that i then call from within the html code. for exampl
-Original Message-
Recently i read this blog post about speed issues comparing PHP with
ASP.net, please, read that and comment what you think about it:
http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu
s-linux-ndash-who-rsquo-s-the-fastest/
The big deal is: I don't
At 3:00 PM +0200 8/25/09, Arno Kuhl wrote:
-snip-
BTW I'm not in a debating mood - I've made my point, no doubt Ash you'll
make yours, and I'll leave it at that. But if anyone else has any further
info regarding real-world stats or experience about js switched on or off it
would be very interest
Recently i read this blog post about speed issues comparing PHP with
ASP.net, please, read that and comment what you think about it:
http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versus-linux-ndash-who-rsquo-s-the-fastest/
The big deal is: I don't know if this bechmark is true
At 2:31 PM +0100 8/25/09, Stuart wrote:
Please don't reply directly unless you intend to pay me for my time.
2009/8/25 Ralph Deffke :
sorry but its about the top topic it say it never does an error if u dont
give an argument
I accept that your English is not great, but given that you should
Please don't reply directly unless you intend to pay me for my time.
2009/8/25 Ralph Deffke :
> sorry but its about the top topic it say it never does an error if u dont
> give an argument
I accept that your English is not great, but given that you should be
a bit more careful.
The OP said "is i
I'm not saying Javascript is evil, and yes I do know what the J in AJAX
is, I'm not as stupid as I look! I use it for plenty of things, but as
an aid rather than the core functionality.
As for the firewalls stripping Javascript, I don't have a specific
reference myself, but I've read about it a fe
>
> You can use javascript behind a button or image or link to submit the
> form from anywhere in your html page. You don't need the anchor but
> you do need a form name. Something like:
>
> href="javascript:document.FormName.submit();"
>
> Cheers
> Arno
>
>
And all it takes for that to br
2009/8/25 Ralph Deffke :
>
> $a = "bhsdhjk";
>
> unset();
> ?>
>
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
> C:\wamp\www\TinyCreator\testCrapp8.php on line 5
>
>
> "the function! doen't exist its a language construct
>
> http://us.php.net/manual/en/function.unset
The function is described as "void unset ( mixed $var [, mixed $var [,
mixed $... ]] )"
You should use unset($a); in that case.
-Mensaje original-
De: Ralph Deffke [mailto:ralph_def...@yahoo.de]
Enviado el: martes, 25 de agosto de 2009 13:07
Para: php-general@lists.php.net
Asunto:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
C:\wamp\www\TinyCreator\testCrapp8.php on line 5
"the function! doen't exist its a language construct
http://us.php.net/manual/en/function.unset.php
"Stuart" wrote in message
news:a5f019de0908250344y17c96d5eqc5cedd94
2009/8/25 Ralph Deffke :
> I would say
> foreach( $dirTree as $key => $value ){
> echo $key ."";
> foreach( $value as $v){
> echo $v .";
> }
> }
>
> something like that
>
> ralph_def...@yahoo.de
> "Tom Chubb" wrote in message
> news:4577934f0908250241i195dc691x3f8c552e72791...@mail
On 8/25/09 5:00 AM, "Ralph Deffke" wrote:
> of course its a syntax error, because unset() IS NOT A FUNCTION its a
> language construct
that's hard to believe. i can't imagine how the compiler could reliably
predict if the argument will be set or not when the unset line is executed.
> "Stuart"
2009/8/25 Ashley Sheridan :
> On Tue, 2009-08-25 at 12:06 +0200, Ralph Deffke wrote:
>> I would say
>> foreach( $dirTree as $key => $value ){
>> echo $key ."";
>> foreach( $value as $v){
>> echo $v .";
>> }
>> }
>>
>> something like that
>>
>> ralph_def...@yahoo.de
>> "Tom Chubb
On Tue, 2009-08-25 at 12:06 +0200, Ralph Deffke wrote:
> I would say
> foreach( $dirTree as $key => $value ){
> echo $key ."";
> foreach( $value as $v){
> echo $v .";
> }
> }
>
> something like that
>
> ralph_def...@yahoo.de
> "Tom Chubb" wrote in message
> news:4577934f09082
2009/8/25 Ralph Deffke :
> of course its a syntax error, because unset() IS NOT A FUNCTION its a
> language construct
FFS, stop talking out of your rear end and post line 42 of
testCrapp6.php. Or not, your choice.
-Stuart
--
http://stut.net/
> "Stuart" wrote in message
> news:a5f019de09082502
I would say
foreach( $dirTree as $key => $value ){
echo $key ."";
foreach( $value as $v){
echo $v .";
}
}
something like that
ralph_def...@yahoo.de
"Tom Chubb" wrote in message
news:4577934f0908250241i195dc691x3f8c552e72791...@mail.gmail.com...
Hi gang,
I'm trying to create a
On Tue, 2009-08-25 at 12:28 +0200, Arno Kuhl wrote:
> -Original Message-
> From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
> Sent: 25 August 2009 09:55 AM
> To: php-general@lists.php.net
> Subject: [PHP] anchor inside form
>
> If I have an anchor inside form, how can I send form using
-Original Message-
From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
Sent: 25 August 2009 09:55 AM
To: php-general@lists.php.net
Subject: [PHP] anchor inside form
If I have an anchor inside form, how can I send form using the anchor
without displaying target url? I've tried the code bel
may be u can use this
wrote in message
news:25131146.p...@talk.nabble.com...
>
> > Why not just use another submit button?
>
> Because it's actually an entry in a tree-like menu. I need to send
> parameters via get method, and code above is one way I can think of.
> --
> View this message in con
Hi gang,
I'm trying to create a script to read the files in a folder (approx
2000) and get the filename, path and last modified date in a tabulated
format to copy into excel. (We have been issued a CD and need to get
all files documented and assigned to an owner.)
I've tried loads of different scr
> Why not just use another submit button?
Because it's actually an entry in a tree-like menu. I need to send
parameters via get method, and code above is one way I can think of.
--
View this message in context:
http://www.nabble.com/anchor-inside-form-tp25129981p25131146.html
Sent from the PHP
On Tue, 2009-08-25 at 00:55 -0700, leledumbo wrote:
> If I have an anchor inside form, how can I send form using the anchor without
> displaying target url? I've tried the code below but IE says that this.form
> is null or empty and Firefox does nothing.
>
>
> # Pick me
>
> --
> View this
of course its a syntax error, because unset() IS NOT A FUNCTION its a
language construct
ralph
"Stuart" wrote in message
news:a5f019de0908250201g14e4b61cn73c6cd67da6f...@mail.gmail.com...
> 2009/8/25 Ralph Deffke :
> > causes an error
> > Parse error: parse error, expecting `T_STRING' or `T_VARI
2009/8/25 Ralph Deffke :
> causes an error
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
> C:\wamp\www\TinyCreator\testCrapp6.php on line 42
This is a syntax error, not a runtime error. You've clearly done
something wrong.
> "Tom Worster" wrote in message
> news:c6
yes it does on my machine
and it makes sence since it is not a function its a language construct.
cheers
ralph_def...@yahoo.de
"Shawn McKenzie" wrote in message
news:4a935c42.2010...@mckenzies.net...
> Ralph Deffke wrote:
> > causes an error
> > Parse error: parse error, expecting `T_STRING' or
tx Lucas,
all your recomended solutions made sence for the different pupose.
for my purpose the apache solution worked just great
php_value default_mimetype "text/css"
and
AddType application/x-httpd-php .css
ralph_def...@yahoo.de
"Jim Lucas" wrote in message
news:4a923946.3020..
If I have an anchor inside form, how can I send form using the anchor without
displaying target url? I've tried the code below but IE says that this.form
is null or empty and Firefox does nothing.
# Pick me
--
View this message in context:
http://www.nabble.com/anchor-inside-form-tp25129
70 matches
Mail list logo