php-general Digest 14 Jun 2011 11:37:50 -0000 Issue 7357
Topics (messages 313507 through 313511):
Suggestion needed: Internet store script
313507 by: Andre Polykanine
Re: Getting File Owner Name
313508 by: Kranthi Krishna
Re: Class not used as an object (Scope Resolution Operator)
313509 by: George Langley
Cwtc
313510 by: scarabs-l.crcvms.unl.edu
Ftp upload
313511 by: Andre Polykanine
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hi everyone,
I'm making a website for a small company. The site itself is quite
easy to accomplish, but there are two problems: i18n and the store. So
I would like to have your suggestions about the store.
Here are the requirements:
1. Basic functionality (possibility to purchase without authorization,
maybe no basket).
2. Accessibility and usability by visually impaired persons, for the
admin part included (that means, no complicated flash content and such
features).
3. I18n capabilities (unicode of course). We need it to be in English,
Russian, and Swedish since it's a Swedish company.
4. It should be freeware (or, if it's really impossible, not
expensive).
5. It should be Php+MySql.
Thanks!
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
--- End Message ---
--- Begin Message ---
this might be of use
http://php.net/posix-getpwnam
<http://php.net/manual/en/function.posix-getpwnam.php>
Kranthi.
http://goo.gl/e6t3
--- End Message ---
--- Begin Message ---
Thanks all. Assuming is best then to add the static in this case. But
it isn't required if I birthed an object first and referenced the object,
correct? Am wanting to add some variables to the class so not calling the same
query so many times...
Thanks again.
George
On 2011-06-09, at 5:23 PM, David Harkness wrote:
> All of the above with a clarification: they are instance methods which you
> are calling statically. The object is not instantiated in this case. PHP
> allows this but will issue an E_STRICT warning. To remove the warning just
> add "static" before each of them, assuming they are only ever called
> statically:
>
> class myClass {
> static function &doThis($passedVar) {
> doSomething;
> }
>
> static function &doThat($anotherVar) {
> doSomethingElse;
> }
> }
>
> David
--- End Message ---
--- Begin Message ---
Dear user [email protected],
Your account has been used to send a huge amount of junk e-mail messages during
this week.
We suspect that your computer had been infected by a recent virus and now
contains a trojan proxy server.
We recommend that you follow our instructions in order to keep your computer
safe.
Have a nice day,
The lists.php.net support team.
--- End Message ---
--- Begin Message ---
Hi everyone,
I would like to have a possibility to upload really large files to the
website.
As we all know, the post_max_size parameter is set to 8Mb by default.
However, I see that the ftp_put() function has a "local filepath"
parameter.
And the question is: how can I retrieve the local filepath if a user
browses to the file from his/her PC?
Thanks!
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
--- End Message ---