Awesome!
On Thu, Jun 20, 2013 at 11:14 PM, Marco Pivetta wrote:
> Well done! Congratulations!
> On 20 Jun 2013 23:23, "Julien Pauli" wrote:
>
> > Hello!
> >
> > The PHP Development Team would like to announce the immediate release of
> > PHP 5.5.0. This release includes a large number of new f
s. You can then
make your PDF directory only visible through your Members Restricted Area.
That directory would be invisible to the web. In some Linux distros, if the
file/directory is not a member of www-data, it is not visible online. But
you can still link the files to your PHP page.
Ravi.
On W
I like PHPUnit for that matter. It does a good job of debugging.
Ravi.
On Sat, Dec 22, 2012 at 8:41 AM, rene7705 wrote:
> Hi Folks.
>
> URL: http://fancywebapps.com/products/htmlMicroscope
>
> Just wanted to let you all know that I've completed a long overdue
the changes. PHP has come a long
way as far as Object Oriented Programming is concerned. There have been
many discussions about Design Patterns and extending existing classes. So a
lot has changed in the last 5 years.
I do believe that the list will pick up again.
Welcome back,
Ravi.
On Fri, Mar
Hello Larry,
Thanks for sharing!
-
[image: logo]
*Ravi Gehlot
*
Mobile: 407-283-5282
Orlando, FL 32765-8085
http://www.RaviGehlot.Net/
https://github.com/ravigehlot
*"First, solve the problem. Then, write the code."*
[image: Twit
not be using
any pre-defined properties, then it makes sense to call a static method.
Bear in mind that static methods can not be overridden.
Best of luck,
-
[image: logo]
*Ravi Gehlot
*
Mobile: 407-283-5282
Orlando, FL 32765-8085
http
deally be using
> htmlspecialchars($var, ENT_QUOTES);
>
> cheers,
> Russ
>
> On Thu, Dec 23, 2010 at 6:48 AM, Ravi Gehlot wrote:
> > On Wed, Dec 22, 2010 at 3:34 PM, Bob McConnell wrote:
> >
> >> From: Ravi Gehlot
> >>
> >> > What are these magic quote
On Wed, Dec 22, 2010 at 3:34 PM, Bob McConnell wrote:
> From: Ravi Gehlot
>
> > What are these magic quotes anyways?. What are they used for?
> escaping?
>
> I wasn't there at the time, but I gather that the general idea was to
> automagically insert escape characte
You probably have error_reporting turned on and that caught on errors. There
are new tougher rules/requirements with newer PHP versions.
Ravi.
What are these magic quotes anyways?. What are they used for? escaping?
Regards,
Ravi.
On Tue, Nov 16, 2010 at 11:44 PM, Adam Richardson wrote:
> On Tue, Nov 16, 2010 at 10:10 PM, Gary wrote:
>
> > I was doing a test of stripslashes on a $_POST, when I recieved the
> email,
nt keyword indicates that this is an extended class. You are
referring back to the master class.
Ravi.
On Wed, Dec 22, 2010 at 9:35 AM, Alexandru Patranescu wrote:
> Is this the only way to access the magic __set from the parent class:
>
>public function __set($columnName, $value)
Hello Gary,
Please research the difference between a single quote and a double quote.
Also, you can use the operator .=(dot + equal) in this manner:
if(!empty($_POST['fname'])) {
$msg .= "$lname\n";
} else if(!empty($_POST['lname'])) {
$msg
session_start (); should be before everything...first thing in the page.
Ravi.
On Wed, Dec 22, 2010 at 12:51 AM, wrote:
> Hi, folks,
>
> On Tue, 21 Dec 2010 21:35:17 -0800 [06:35:17 AM CET],
> Michael Shadle wrote:
>
> > first - this is probably your culprit:
> &g
security
issue, no need to waste time. Again, if you are getting paid for it then
fine. People tune cars for a reason, they want the attention or the thrill.
If you want to tune your code for fun then nobody is against that either :)
Ravi.
On Tue, Dec 21, 2010 at 1:28 PM, a...@ashleysheridan.co.uk <
Walter,
Session variables may be using cookies which in turn create temp files for
storing such cookies.
Ravi.
On Tue, Dec 21, 2010 at 11:32 AM, Walter Caielli
wrote:
> I've fixed the problem.
> I don't know why, but suddenly windows prevents PHP from writing into
> C:\win
Daniel,
Good info.
Ravi.
On Tue, Dec 21, 2010 at 10:23 AM, Daniel Brown wrote:
> On Tue, Dec 21, 2010 at 02:27, Ravi Gehlot wrote:
> > That's a good question.
> >
> > There should be a setting on php.ini to allow cross session.
>
> Right. Because who nee
Hello there,
GoDaddy show 20M for their limit size when they only allow a max of 5.6 MB
of upload. So what I mean is don't try what you see from php_info().
Ravi.
On Tue, Dec 21, 2010 at 9:48 AM, Daniel Brown wrote:
> On Tue, Dec 21, 2010 at 02:40, Ravi Gehlot wrote:
> &g
ed to keep in
check with new technology, learn new trends and also master our weakness. If
we keep changing this or that or moving that or this then oh well...there
goes 1 day worth of work to figure stuff out.
Just my take on this. If you think different, then no problems.
Regards,
Ravi.
On T
That's why
documenting code is so important. 99% doesn't do it (including me).
Ravi.
On Tue, Dec 21, 2010 at 2:35 AM, David Hutto wrote:
> On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot wrote:
> > Why mess with something that is already working? If you are trying to
> make
> &
it means that you have a bad written statement.
There is so much that can go wrong. Debug step by step.
Ravi.
On Thu, Dec 16, 2010 at 9:26 PM, Phred White wrote:
> It seems like there are several questions emerging, but ...
>
> Try echoing your query to the page by putting echo $quer
. But blocking
php_info() isn't right (at least I don't think so).
Ravi.
On Fri, Dec 17, 2010 at 10:25 AM, Daniel Brown wrote:
> On Thu, Dec 16, 2010 at 23:39, Paul S wrote:
> >
> > Well, I was hoping for stronger arguments to get that DONE. I would think
> > there
Jim Lucas has it. You can use the preg_match function to find it. I would
use regexp for that reason. regexp is good for making sure things are typed
the way they need to (mostly used for).
Ravi.
On Sat, Dec 18, 2010 at 5:17 PM, Jim Lucas wrote:
> On 12/17/2010 12:52 PM, Sorin Buturuge
then you will see a blank screen.
Ravi.
On Sun, Dec 19, 2010 at 9:01 PM, Gary wrote:
>
> "Tamara Temple" wrote in message
> news:c6993909-dd90-4f52-bf6b-ab888c281...@gmail.com...
> >
> > On Dec 19, 2010, at 9:46 AM, Gary wrote:
> >
> >> I have an
Why mess with something that is already working? If you are trying to make
it pretty then you are not solving a problem. You are creating one.
Ravi.
On Mon, Dec 20, 2010 at 7:40 AM, Daniel P. Brown
wrote:
> On Mon, Dec 20, 2010 at 02:49, Simcha Younger wrote:
> >
> > Si
That's a good question.
There should be a setting on php.ini to allow cross session.
Ravi.
On Mon, Dec 20, 2010 at 7:05 PM, Jonathan Tapicer wrote:
> Hi!
>
> You should use the function session_set_cookie_params to set the
> session cookie domain to ".oire.org"
Hello,
The plug-in PDO has nothing to do with the backslashes being inserted into
the database. The backslashes are used to escape characters like in D's...it
would show D's. That's the safe behavior of it. You can change
your programming code to fix that.
Ravi.
On Wed, Oct 27, 2010 at 11:39 AM, J Ravi Menon wrote:
> I am partial to the filesystem but I can see scenarios where the db
> approach might be useful (single point of control) with good caching
> strategy using apc or other mechanisms.
>
> One approach I have followed is tha
this parsing cost needs
to be avoided on every request.
Ravi
On Wed, Oct 27, 2010 at 10:17 AM, Michael Shadle wrote:
> I find json to be the most ideal data exchange format but using it for
> configuration files one may edit by hand is horrible. XML, ini or yaml would
> be better. I sti
;
One MVC framework I have used recently is Kohana:
http://docs.kohanaphp.com/
See links on models, views etc.. It has a OOP flavor, and considered
fairly lightweight. I have written my own simplistic MVC framework
which is more efficient but definitely not as feature rich as Kohana.
There are
it is a global variable, you
would need to add a 'global' declaration:
function ProcessForm($values)
{
global $msgContent;
mail('myemail:domain.com', 'Website Enquiry', $msgContent, "From:
\"{$values['name']}\" <{$values['emailaddress']}>\r\n");
.
.
.
}
Also try adding CRLF sequence at the end of the header line as shown above.
Ravi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
batchSend() functionalities, ability to compose various mime
type emails etc...
Ravi
On Mon, Sep 20, 2010 at 8:20 AM, chris h wrote:
>> Ignore the other parameters unless you are very familiar with RFCs 2821,
>> 2822 and their associated RFCs
>>
>
>
> I would advise against ignoring
Thanks Bostjan for the suggestion. I did raise the issue and here is the reply:
http://news.php.net/php.internals/49672
Thx,
Ravi
On Wed, Sep 15, 2010 at 2:38 AM, Bostjan Skufca wrote:
> Here are the results I got when question of migration from apache to nginx
> was brought up:
On Tue, Sep 14, 2010 at 1:15 PM, Per Jessen wrote:
> J Ravi Menon wrote:
>
>> On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
>>> J Ravi Menon wrote:
>>>
>>>> Few questions:
>>>>
>>>> 1) Does opcode cache really matter in su
On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
> J Ravi Menon wrote:
>
>> Few questions:
>>
>> 1) Does opcode cache really matter in such cli-based daemons? As
>> 'SomeClass' is instantiated at every loop, I am assuming it is only
>> compil
On Sat, Sep 11, 2010 at 8:50 PM, Shawn McKenzie wrote:
> On 09/10/2010 11:13 AM, J Ravi Menon wrote:
>> Hi,
>>
>> I have some basic questions on running php (5.2.x series on Linux
>> 2.6) as a standalone daemon using posix methods (fork() etc..):
>>
>&
t never looked at in depth
to understand all the nuances. Anecdotally, I have
done 'unset()' at some critical places were large arrays were used,
and I think it helped. AFAIK, unlike Java, there is no 'garbage
collector' thread that does all the magic?
Thanks,
Ravi
--
PHP Gene
iles
getting exposed.
I have my own layout suggestion which has worked well for us, and once
mastered, it makes everyone in the team very productive. Maybe this
can be a separate topic in its own right.
Ravi
On Tue, Mar 2, 2010 at 9:51 AM, Hansen, Mike wrote:
>
>
>> -Or
es but not sure it is
necessarily guaranteed in future versions.
Ravi
On Mon, Jan 25, 2010 at 3:49 PM, D. Dante Lorenso wrote:
> J Ravi Menon wrote:
>>
>> PHP does expose sys V shared-memory apis (shm_* functions):
>> http://us2.php.net/manual/en/book.sem.php
>
>
meone here has run these tests. Note that
with memcached installed locally (on the same box running php), it can
be surprisingly efficient - using pconnect(), caching the handler in
a static var for a given request cycle etc...
Ravi
On Sun, Jan 24, 2010 at 9:39 AM, D. Dante Lorenso wrote:
>
via
notion of 'classes' to express such relationships.
I would recommend this book: 'The design and evolution of C++' by
Bjarne Stroustrup where such topics are discussed more in depth.
Hope this helps.
Ravi
On Wed, Jan 20, 2010 at 8:31 AM, Bob McConnell wrote:
> F
Sorry forgot to mention that we used APC with apc.stat turned off
which will give a little bit more performance gain, but it does mean
flushing the cache on every code push (which is trivial).
Ravi
On Fri, Jan 8, 2010 at 11:30 AM, J Ravi Menon wrote:
> Hi,
>
> A note on bytecode ca
ig
include file, and ensure it is placed somewhere in the beginning the
main 'controller.php' (MVC model) and all other includes stripped off.
Hope this helps in making your decision.
Ravi
On Fri, Jan 8, 2010 at 8:59 AM, Robert Cummings wrote:
> clanc...@cybec.com.au wrote:
>>
Hi: does anyone know how to include a "Due by" attribute with a dare in
an email that is sent from a PHP script. This value is acts as an
reminder when the email is in Outlook.
TIA
--
Thank you,
RaVi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
such a thing possible between php and ruby / rails? Any help will be
appreciated.
Thanks
ravi
is not portable, but I am betting that usually on the
same kernel releases, they
don't usually change these numbers around.
Having PHP expose these useful constants in a portable manner would be
a big plus.
Thanks,
Ravi
On Thu, Feb 21, 2008 at 9:04 AM, Richard Lynch <[EMAIL PROTECTED
underlying C calls.
It will be good to get a confirmation on our doubts.
Thanks,
Ravi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for clarifying my doubts - the steps below sounds right to me.
I was just considering the overall perf. of such php daemons and
whether we can get some free perf. boost
with that apc setting.
Ravi
On Dec 12, 2007 12:19 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On Wed,
d by the statement - 'Mostly for testing and
debugging.' .
On each loop iteration, does php recompile the code in 'SomeClass' (
and all its dependencies ) or it is really cached ( as it has seen the
class code once ).
If there is a php internals document on such issues, d
h apc.stat on ). This was the case even before we introduced
include_path, but earlier, all the symlinks were to a relative path (
e.g. libraries ---> ../libs/.. ).
Thanks for the pointer - I will look into this.
Ravi
>
> Cheers,
> Rob.
> --
> ...
see 'fatal redeclare errors' etc..
Restarting apache (TERM and not USR1) seems to fix it.
We could update our install scripts to restart apache, but I am just
curious, is this really necessary?
Is there anyway to prevent php from not resolving symlinks but use
them as it is in the includ
Maybe you have a point. I will do performance testing and then decide if
I should try to optimize to that point.
Yes the logging is just one simple insert into the database.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard, unfortunately I cannot end the script. I need something like this:
http://www.yahoo.com');
// somehow let the browser move to yahoo.com
// now update the database to store some information about user
exit;
?>
Richard Heyes wrote:
Ravi wrote:
That was very very
every 100
requests.
Is any of this possible in PHP?
M. Sokolewicz wrote:
Ravi wrote:
Guys, I am fairly new to PHP. Here are a few questions, if anybody can
answer it will help me get started. Thanks
I am trying to build a website and I would like to do the following in
my scripts
1. I
.
Thanks
Ravi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
format the profile
data using APD.
Thanks for you help.
Ravi Jethwa
OPUS MEDIA PLC - Developer
t
+44 (0)845 122 3180
f
+44 (0)845 122 3190
e
[EMAIL PROTECTED]
w
www.opusmediaplc.com
a
4th Floor, 24 Buckingham Gate, London, SW1E 6LB
This ema
I just had a small doubt..Is it possible to write JavaScript through PHP???
On 10/17/05, Aftab Alam <[EMAIL PROTECTED]> wrote:
> hi,
> any one can help me
>
> i want to generate Pdf file using php.
> how can i & what tools is required for this.
>
>
>
>
>
>
> Regards,
> _
>
> Aftab Alam
>
Nice to know that newbies are well looked after on these lists. If you
didn't wanna help, you could have not clicked reply
Jay Blanchard wrote:
[snip]
Yes.
[/snip]
Watch out, this'll start a flood of "why can't you be nice"? e-mail
John, any relatives still in LA?
--
PHP General Maili
This is probably a really simple question, but I can't work out what to
write! I've written a fairly standard HTML form and I would like an
email to be generated as soon as the user clicks 'Submit'. Can you help?!
Thanks
Ravi Gogna
--
PHP General Mailing List (htt
can make these boxes and buttons
retain their value?
Thanks
Ravi Gogna
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How to access these environment variables in my php code without using
getenv() call.
Thanks
Ravi Natarajan
HI,
existing configuration :
PHP Version 4.3.4 ( default rpm with fedora fc2 install)
Server version: Apache/2.0.49 (default with fedora fc2 install)
Server built: May 6 2004 07:15:13
NOw i want to install 4.3.3 , so i compiled and install ( with no errors )
if i type " php -v " at shell iam g
HI,
is there any windows application , by using we can produce standalone php
.exe files ?
--- knowledge is power share it ---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HI,
goole.com found so many details about safe mode too much to understand.
My hosting provider set php safe mode = enable . so iam unable to use so
many scripts .
can any one give good free image gallery software which will work under
safe mode = enable .
is it true that with apache 2.x ve
I need to set a cookie within a document in PHP? setcookie didn't work. I guess it
works only in PHP3 & PHP4
Any good ideas??
Thanks
Rave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear Friends,
I am accessing a MySQL database through PHP.
I have to calculate the difference between todays date and the date obtained
from MySQL database.
The Database string is in the form of \"-mm-dd\".
I have to convert the above string into unix timestamp so that i can calcualte
th
Dear friends,
I am accessing MySQL database using apache and php.
I have to display a double integer field without trailing zeros.
The number of digits after the decimal point varies.
I have tried searching the archive and did not get any previous questions.
Kindly help me in this regard.
Than
66 matches
Mail list logo