Tim Meader schrieb:
> Was PHP5 faster than PHP4 for identical code? Thus making PHP5.1 even
> faster? Or was it a case of PHP5 being a bit more bulky than PHP4, thus
> PHP5.1 bringing it more inline with the old performance. I'm looking to
> upgrade of PHP 4.4.1 installs, but I'm holding off on PHP
In outlook express by default the headers are displayed as some icons and
then subject, from, sent, size. For some people From is displayed in double
quotes, and others not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I turned them off and it worked as it apparently should. It was just
a setting I read I had to make for globals to work the first time I install
PHP. I've made that change ever since.
I've always wondered why these variables - which I consider really
important, need to be turned on.
Mat
On Wed, Nov 23, 2005 at 11:43:56PM -0500, Matt Monaco wrote:
> I get string(1) "", should that be taken just the same as 0? In addition
> phpinfo() indicates php 5.0.4 - does the upgrade to .5 involve remove .4
> first?
I'm not sure how you are getting 'string(1) ""' with php5.0.x you
should h
Matt Monaco wrote:
I apologize, but I've never been able to access $_POST and $_GET in any
context whatsoever without first turning on the register globals.
If you have a form like this one one page...
And this on page2.php...
And the output on page2.php is not 'bar' when you submit th
Hi Matt,
Saturday, November 26, 2005, 12:42:16 AM, you wrote:
> I apologize, but I've never been able to access $_POST and $_GET in
> any context whatsoever without first turning on the register
> globals.
You have a seriously foobared installation of PHP then! :)
Cheers,
Rich
--
Zend Certifi
I apologize, but I've never been able to access $_POST and $_GET in any
context whatsoever without first turning on the register globals.
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> Somewhat, but its what you need to do for the post and get
Matt Monaco wrote:
Somewhat, but its what you need to do for the post and get arrays to work.
No. Things like $_POST and $_GET are global arrays and work regardless
of the register_globals setting. The information you're handing out
above is wrong and dangerous.
What you need to do is m
On 2005-11-24, "bruce" <[EMAIL PROTECTED]> wrote:
> I'm working on a project, and need to know if there's anyone who's a guru
> with Web Server/Client interactions. Basically, I'm trying to get a much
> better/deeper understanding of the HTTP protocols defining the information
> that is sent/transf
I used SQLyog and it's formated corectly
though when i release it i will do that
Also i have a login script, same same problem i'l see what will work
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> Somewhat, but its what you need to do for the post and get arrays to work.
> What you need t
could you give us all source lines, just cut and paste ?
hy
ag.
2005/11/26, Matt Monaco <[EMAIL PROTECTED]>:
> Somewhat, but its what you need to do for the post and get arrays to work.
> What you need to do is make sure check the values in the global variables
> before you use them. For exampl
I know the functions don't need to be copied. I would like to easily
transport the objects (not the class) between pages using a form. I'm
pretty sure the serialize() function can't be avoided (otherwise all that
will be passed is a string with a value like "Object ID: #55") but how can I
get
Somewhat, but its what you need to do for the post and get arrays to work.
What you need to do is make sure check the values in the global variables
before you use them. For example if on one page you have a form for a user
signup and on the next page
$_POST['userName'] should be checked for
Wow somehow I fixed the error, I don't really know how... oh well
Hi,
Friday, November 25, 2005, 10:43:20 PM, you wrote:
> Doesn't that cause security problems?
Yes.
Post your *whole* code, not just snippets of it.
Cheers,
Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk
--
PHP General Mailing List (http://www.php.net/)
T
PHP5 code is faster generally, and OOP is also accelerated a lot
On 11/25/05, Tim Meader <[EMAIL PROTECTED]> wrote:
>
> Are there any benchmarks that people are aware of comparing
> PHP4|PHP5|PHP5.1 as far as performance is concerned? I mean, it's easy
> to say that performance is improved... but
I refer to them as:
$Username=$_POST['Username'];
$Password=$_POST['Password'];
$EMail=$_POST['EMail'];
and on the form i have method="post" so I don't know why this is not
working
On 11/25/05, Stephen Johnson <[EMAIL PROTECTED]> wrote:
>
> You would access them by declaring them as regular varia
You would access them by declaring them as regular variables and then using
the regular variables in your code.
As a side note - please do NOT turn global variables on in your php.ini
file. There is a good reason for why it is shut off and "good" php does not
need to have it turned on.
Hope
Well the functions won't need to be copied, but can't you put
the properties into a MySQL or other database? Then on a page that you need
the properties you pull them from the table?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> I mean the object itself, not the class (the file containin
Hi Unknown,
Friday, November 25, 2005, 10:38:02 PM, you wrote:
> Well it returned all values with print_r(); but i can't access
> them... this is what the page returns:
Post your code, there's an error in it if the $_POST etc arrays are
populated, but you can't access them.
Cheers,
Rich
--
Ze
Doesn't that cause security problems?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> In php.ini (most likely located in your windows directory) look for the
> globals section and turn register_globals = on
>
> Matt
>
>
> "Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL
I mean the object itself, not the class (the file containing the class
definition is included on all necessary pages with
require_once("file.inc.php");
I want to create an object on one page ($obj = new MyClass();) and have it
on other pages, all members and functions intact.
Matt
"Unknown
In php.ini (most likely located in your windows directory) look for the
globals section and turn register_globals = on
Matt
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_POST arrays do not
Well it returned all values with print_r(); but i can't access them...
this is what the page returns:
Array ( [Username] => SFF [Password] => dSF [EMail] => sfdf ) Array ( )
*Notice*: Undefined index: Username in *
D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *5*
*Notice*: Undefine
Hi,
Friday, November 25, 2005, 10:22:46 PM, you wrote:
> Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET
> and $_POST arrays do not seem to be working, I am Sure I am spelling
> them right, but i keep getting the errors:
> Is this a problem with configuration or is there a bug
Do you mean passing the class statement or the vars? couldn't you format the
vars into mysql and pull them?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> What is the best way to pass an object between pages? Currently I am
> first
> serializing, then doing a base64_encode, this doesn't
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_POST arrays do not seem to be working, I am Sure I am spelling them right,
but i keep getting the errors:
**
*Notice*: Undefined index: Username in *
D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *3*
*Notice*: Un
function addAssoc($ary_stat)
{
$ls_statfields = array(.);
while ($assoc = each($ls_statfields)) {
$ary_stat[$assoc['key']] = $ary_stat[$assoc['value']];
}
return $ary_stat;
}
This should do what you want. I'm not sure if you want to remove the
numeric keys entirely,
Within grabQuotes(); if you do a var_dump($arg); (where $arg is $res[id]) is
your vehicle name displayed? If it is, and you're using it correctly, make
sure you're returning the value you'd like correctly. It might help to post
your grabQuotes function as well as the code that displays $cars[]
Hi,
I've an array :
$ls_statfields=array(
"rfile" =>0,
"file" =>1,
"dev" =>2,
"ino" =>3,
"mode" =>4,
"nlink" =>5,
"uid" =>6,
"gid" =>7,
"rdev" =>8,
"size" =>9,
"atime" =>10,
"mtime" =>11,
"ctime
Hello all,
I have some array code driving me nuts.
I am pulling from a db:
select id, vehicle, has_quotes from cars where active=1
I then loop through these and build an array that contains the id's and cars.
while($res){
$cars[$res[id]]=$res[vehicle];
//here is the problem, when has_quotes i
Are there any benchmarks that people are aware of comparing
PHP4|PHP5|PHP5.1 as far as performance is concerned? I mean, it's easy
to say that performance is improved... but what's the baseline?
Was PHP5 faster than PHP4 for identical code? Thus making PHP5.1 even
faster? Or was it a case of PHP5
What is the best way to pass an object between pages? Currently I am
first
serializing, then doing a base64_encode, this doesn't seem entirely
efficient. (Especially the encode).
I am however using the encode because I have the serialized object as the
value of a hidden form element. I can only
Does anyone know if there are any repositories of php scripts that
communicate with Windows Media Server...
I am looking for stuff like getting the number of connected users,
and etc
I have seen perl scripts that do this...but not php
anyone know ?
g
--
PHP General Mailing List (http://ww
Tells the parser that the XML it is parsing is version 1.
Jochem Maas wrote:
> Wolf wrote:
>> I have some scripts that I downloaded and am trying to make compliant
>> with my server. They have > they are and how to fix them at this point.
>>
>> Stupid question, I know, but...
>
> not stupid, a
Wolf wrote:
I have some scripts that I downloaded and am trying to make compliant
with my server. They have
not stupid, although a 'google' might have helped, regardless you have
already had the answer.
I find it funny that you say 'fix them' - one of the things [some of] the core
developers
Its same as or
Wolf wrote:
I have some scripts that I downloaded and am trying to make compliant
with my server. They have
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert,
I have some scripts that I downloaded and am trying to make compliant
> with my server. They have they are and how to fix them at this point.
>
> Stupid question, I know, but...
>
> Thanks,
> Robert
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
I have some scripts that I downloaded and am trying to make compliant
with my server. They have http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or `sample1.new' was created in some other directory, for exampe, the
cwd of apache server process.
do a search to find it , or use full path in your commandh line.
On 11/25/05, n.g. <[EMAIL PROTECTED]> wrote:
> sorry , i have made mistake.
>
> `option +exec' is not required, and there is no such
sorry , i have made mistake.
`option +exec' is not required, and there is no such apache option.
maybe you're running php in safe_mode ?
On 11/24/05, n.g. <[EMAIL PROTECTED]> wrote:
> put the executable into another directory rather than DOC_ROOT,
> maybe you have reached apache security settin
41 matches
Mail list logo