very quick and *very* dirty, put this in top of your file
extract($_POST);
and voila, you bypassed registerglobals off
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
if ($variable%3 == 0) #do something
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
I would use a cronjob to make the entry rather than a user, why let the poor
guy wait for you to create the content
You may have 2 requests both trying to
create the new cache entry, but that is much cleaner than having to deal
with locking. Do a tempnam() to get a temp file to write to and
yep
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message -
From: Andy Pieters [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, April 06, 2005 2:33 PM
projects.
It's precisely the same, if you include a file with your class or include a
file with your functions, whats the difference ? none.
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
Is someone playing games with me I have a rabbit photo which has taken
over the php logo in my phpinfo(), I also saw a dog in a logo on a
mirror for the php manual :) Its kinda cute, interested how its done.
yeah, we hacked your server and changed the logo ... just for the fun of it
--
Lars B
with mbstring functions, as some is
buggy for some languages (in my case Japanese)
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
--
PHP General Mailing List (http://www.php.net
The manual to the rescue
http://jp2.php.net/stripslashes
There is alot of good information in the manual, think it would benefit you
alot going through some of it, especially the central chapters
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource
The following should be pretty selfexplanatory
* 0 * * * /usr/local/bin/php /usr/local/www/cron/sync.php
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message -
From
The manual to the rescue
http://jp2.php.net/stripslashes
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message -
From: Tim Burgan [EMAIL PROTECTED]
To: [php] PHP
facing about 100k unique users a month running some 5 million pageviews
with extensive load for the database - this backed on a single server with a
Xeon processor and 2gb of memory.
So from here, go for it mate
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career
Thx Matthew,
Meanwhile I got the software from Zend and tried to install it on my server.
After manipulating some files to make the install script run, it segfaults
later in the install. It seems, 3.6 isnt forward compatible and I've given
up to install the product on the new server.
Pricing
to be on vacation)
With the Zend Platform out of the way, should I look more toward eg. the
APC ?
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
--
PHP General Mailing List (http://www.php.net
really find anything on it ?
I did as a test update the phpmyadmin sourcecode to force shift_jis charset
rather than UTF8 which it seems to prefer, to no apparent difference.
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking
Just a quick note, this seems to be a bug in phpMyAdmin since 2.5.7-pl1 - I
submitted a bug report on the sourceforge website and awaits them to handle
it.
/ Lars
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am just curious why you do not upgrade to the latest stable 2.6.0-pl3?
Because, any version in any patch level since 2.5.7-pl1 doesnt display
shift-jis (japanese) properly - or anyway on my system. They seem to have
broken the support for it, since that specific version.
/ Lars
--
PHP
Is there any way, I from one function can identify which other function
called it, without parameter passing the name manually ?
I still question whether its correct to design a function which requires
this. I thought the idea of encapsulating code inside a function is that
its
called by'.$name_of_the_function_who_called_me;
}
echo b();
?
where I would like to have function c identify if it was called by function a
or b
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http
called by'.$name_of_the_function_who_called_me;
}
echo b();
?
where I would like to have function c identify if it was called by function a
or b
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http
Is it just me or ... why on earth would you want to populate both GET and
POST arrays through this obscure way of coding ?
If you really have a form where you dont have a clue wether your data comes
from GET or POST, it should be way less effort to copy one array to another
or have a lookup
First of all, use ?php than ?, just get used to it now rather than get
pissed later when it isnt a habit yet
Second, you dont need the two lines, write the following to get the space
?php
echo $fusername.' '.$lusername;
?
And you should have your nicely formatted name right there
?
print
B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
22 matches
Mail list logo