Re: [PHP] concatenate?

2001-08-29 Thread Soeren Nielsen

 does anyone know of a scenario (perhaps involving
 non-string data) where the concatenation does not
 return the same answer?

If you have three vars:
$user = foo;
$users = array(Peter,Michael);

This could be a problem:
echo $users hair is brown;

if what you ment was:
echo $string.s hair is brown; // Peters hair is brown


Regards,
Søren

PS: In Danish (I'm Danish) you write 'Peters hair' and not 'Peter's
hair' which why I made this silly example :-)







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: The secrecy of PHP code

2001-08-14 Thread Soeren Nielsen


James Shaker [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Greetings,
 [snip] calculations and I code them in PHP
 for use on a website are they safe from being
 viewed or taken?

If your php-code is on a web-server which gives access to other than you
they can read your code. An example could be other people being hosted
on the same server..

Regards,
Søren




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread Soeren Nielsen


Ben-Nes Michael [EMAIL PROTECTED] wrote in message
022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]...
 The problem still stays if you open php to system commands like `echo
 /etc/passwd` or using system() 

A problem is also that other web-programers can read your source code
through PHP.
An example from my page is this:
My homepage is here: /hotel/my domain/WWW

I can make a php-script that opens /hotels/some other domain/WWW ,
list the files, view them, steal code from others etc etc.

Hope what I wrote gave some sort of meaning :-)

/Søren



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Newsgroup / Mailing list

2001-08-08 Thread Soeren Nielsen

B. Van Ouwerkerk [EMAIL PROTECTED] wrote in message
 It's on the same page where you subscribed to
 this list..

Actually this is also a newsgroup that don't require subscription:

Server: news.php.net
Group: php.general

Best regards,
Søren Nielsen



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: What would you want in a PHP web host?

2001-08-01 Thread Soeren Nielsen

Derek Del Conte [EMAIL PROTECTED] wrote a lot that I snipped
:-)

Dear Derek
To give you some input I can tell you about some recently experienced
things in my php world...

I:
My homepage is running on a server which host a lot of other domains.
Therefor I contacted the company to know if they had any plans about the
security issues that arise when many php developers can steal anything
they want from other sites on the same server.
The response was that there they knew the security wasn't ok but nobody
could access sensitive information (?!).
a) They dont know better/Dont have a person that actually know php. Or
b) They lie hopeing that I won't notice
They also told me that they would not do a thing about it

What I wanted was:
a) An honest answer
b) A promise to look into it, report back and maybe fix the problem or
warn about the risk. Not just look the other way pretending that there's
no problem.

II:
As a developer I want access to several databases - not just one.
The company that hosts my site refuse to create more than one database
because of the ressources (human and technical) it takes.

I hope you could this.

Regards
Soeren Nielsen



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: http referer

2001-07-11 Thread Soeren Nielsen

 I though every browser supported it, do you have an example on one
 that does not?

I Opera the user can choose to disable the use of referer
/Soeren



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]