Hi
I think what you are looking for is static Header Footer and dynamic
content.
One way of doing this is by having the front controller pattern
For example : consider the following list of files in your application
1000.php
2000.php
1001.php
3000.php
In the front controller Pattern we usually
Hi gang
I am using ob_start() in my application. However I am getting this error
about headers already sent.
I have put ob_start at the beginning of the script. I think this has to do
something with Unicode.
Can anyone explain why this happens. And whats the solution for this
Chetan Dat
Hi this is similar to what Dollah Ihsan had suggested , however I ave
tweeked the getPopulationById function a bit.
/**
* assume your table structure just like this.
* table: users
* | id | country| name | population |
* ---
Hi
I don't think PHP stores Session information in Cookies. However It dose
store the sessionId (a unique alphanumeric string) in cookies.
This SessionId is used to identify the requests sent from one user.
The Session information is by default stored in the /tmp directory on your
system in a flat
I think its exceeding the max execution time set in PHP.ini
Either set yoru cron to run after every 60 seconds, or change the setting in
PHP.ini
Chetan Dattaram Rane | Software Engineer | Persistent Systems
chetan_r...@persistent.co.in | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014
Innovatio
Hi
you can use the following code
On Sat, May 9, 2009 at 10:16 PM, Robert Cummings wrote:
> On Sat, 2009-05-09 at 18:35 +0200, Cesco wrote:
> > Ok, I suppose that this should be a very simple problem and probably
> > the answer is obvious, but I really can't understand how the classes
> > and th
hi everyone
i am writing a progrram for a Jabber COnnection manager. I want to access
the client XML using HTTPS. do any one know a way to so it
Have any one the
--
Have A plesant Day
Chetan. D. Rane
Location: Pune , India
Contact: +91-9890792762
otherID: [EMAIL PROTECTED]
[EMAIL P
Hi everyone
I aneed top maintain a persisistent Queue can anyone help.
--
Have A plesant Day
Chetan. D. Rane
Location: Pune , India
Contact: +91-9890792762
otherID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
HI al
i tried curl to access HTTPS pages but how do i get the POST variables been
passed to me .
here is teh exact thing which i want.
i have a HTML page when i submit the form i want ot read all teh POST data
using HTTPS.
I know its possible using CURL but dont exactly know how to do it
--
H
HI Dan
try this this should work 100%;
echo "";
for ($y=0;$y<=10;$y++) {
$years=date('Y')+$y;
$short_years=date('y')+$y;
printf("%d",$short_years,$years);
}
echo "";
On 2/2/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
Hello all,
I am trying to populate a dropdown list to contain the current ye
HI all
i want to develop a Jabber connection manage its role will be
1. accept HTTp request from the Client
2. establish connection with a jabber server using TCp
3. and later start the instant mechanism between them
has any one worked on this please let me know how to do it
--
Have A plesant
HI Yeni
I had similar problems i recommmend using the following
fsockopen() instead open_socket()
it wprks fine on both
On 2/3/7, Yeni Setiawan <[EMAIL PROTECTED]> wrote:
Hi there,
I'm currently writing an IRC bot using php (CLI) and get a little problem.
For windows version, I need to ena
HI all
I have a small issue to be handled here
i want to persistently moniter the HTTP stream from a Client Browser. How do
i accomplish it
--
Have A plesant Day
Chetan. D. Rane
Location: Pune , India
Contact: +91-9890792762
otherID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
connection but use the existing TCP connection.
On 2/4/07, Stut <[EMAIL PROTECTED]> wrote:
chetan rane wrote:
> I have a small issue to be handled here
>
> i want to persistently moniter the HTTP stream from a Client Browser.
> How do
> i accomplish it
I'm not sure what
it clear.
On 2/4/07, Stut <[EMAIL PROTECTED]> wrote:
chetan rane wrote:
> i want to write a script
> where , when ny client requests come i read the stream and then process
it
>
> here is the exact steps
>
> when the user first initiates
> i create a session and
May be this will work
$elapsed = 28.56018;
$elapsed_rel = (int) 28.56018;
$elapsed_deci = $elapsed - $elapsed_rel;
$deci = ((int) ($elapsed_deci * 10))/10;
$final = $elapsed_rel + $deci;
With regards,
Chetan Dattaram Rane | Software Engineer | Persistent Systems
chetan_r...@persistent.co.in | C
Hi Ben
The quickest way to this is by using a framework.
and the best way i could find was using the yiiframework
www.yiiframework.com
i could create a basic form with validations in less then 15 minutes.
On Wed, Oct 28, 2009 at 6:42 AM, ben...@gmail.com wrote:
> Does anyone have a quick way o
Hi all,
mod rewrite was actually inrduced to have search engne frendly urls.
hnce if you want a seo site then you have to use options 1 & 2. using
smarty or any templating engine for readibility is not total true.
one of the major advantages of using template engines is caching
On 5/11/10, David
Hi,
There are 2 peoblems with subselect
1. You cant use a limit on the nested select
2. Id the number of elements in the in clause exceeds the subselect buffer
you will run into performance issues ans eventually you query will be
doomed. Inner joins in,this is the best option for this . You can u
This aint a bug
because __sleep is called only when you serialize an object and not when you
assign it to a session Variable;
On Nov 21, 2007 12:21 AM, Julien Pauli <[EMAIL PROTECTED]> wrote:
> Consider that very simple code, that runs on PHP 5.2.5 onto a Windows
> machine :
> class a
> {
>
throught __sleep() as session serializes objects before
> storing them
> Proof is that "done!" is echoed.
> Step by step debugging also prove that , the only thing is that
> file_put_contents, doesn't execute, but returns a value...
>
>
>
> 2007/11/20, chetan
Hi
there are 2 functions
session_unset('Key');
session_destroy();
please find them in the manual. i think they are the 2 used for setting and
usetting the session.
On Feb 4, 2008 1:14 AM, Feris Thia C. <[EMAIL PROTECTED]> wrote:
> Resetting all session variables or one of those session vars ?
Hi all
can you please let me know where i can find about Mem cache.
On Feb 11, 2008 11:11 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Feb 11, 2008 12:33 PM, chetan rane <[EMAIL PROTECTED]> wrote:
>
> > HI All
> >
> > Can any one tell me what will
HI All
Can any one tell me what will be the best way to maintain session
information on a Multi Server Architecture i.e a Web Cluster.
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Hi All
Dose anyone know how to implement multiple inheritance in PHP 5.
Interfaces dosent work . I have already Tried it.
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
wrote:
> On Wed, Feb 27, 2008 at 12:05 PM, chetan rane <[EMAIL PROTECTED]>
> wrote:
>
> > Hi All
> >
> > Dose anyone know how to implement multiple inheritance in PHP 5.
> > Interfaces dosent work . I have already Tried it.
>
>
> the idea in a s
>
> I think that will solve your problem
>
> if(isset($_POST['submit'])){
> $folder = 'pictures;
>
> $load = copy($_FILES['file']['tmp_name'] , $folder . '/' . $_FILES
> ['file']['name']);
>
> if ( $load ) {
>
> echo "Picture upload!";
>
> } else {
hi
try XAMMP from xampp.org it is packaged with apace PHp mysql and filezilla
On Sat, Mar 1, 2008 at 9:51 PM, Andrés Robinet <[EMAIL PROTECTED]>
wrote:
> > -Original Message-
> > From: Erik SJMN [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 29, 2008 9:41 PM
> > To: php-general@lis
Hi all
how can we manage session variables when cookies are disabled.
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Thank you very much its worked great!!!
On Fri, Mar 7, 2008 at 11:50 PM, Bastien Koert <[EMAIL PROTECTED]>
wrote:
>
> > Date: Fri, 7 Mar 2008 23:45:51 +0530> From: [EMAIL PROTECTED]> To:
> php-general@lists.php.net> Subject: [PHP] SESSIOn when cookies are
> disabled> > Hi all> > how can we manage
HI
i think it is a bit difficult. CURL can actually help you get Response on a
cross Domain platform. Javascript dosenot.
Espesially Ajax is not cross domain for security reasons.
On Wed, Mar 12, 2008 at 3:40 AM, William Piper <[EMAIL PROTECTED]> wrote:
> I have been using php's curl for quite a
HI All
I have the follwoing code
function cleanufx($str){
return ucase($str);
}
$value="xyz";
$var ="ufx";
$fn="clean$var($value);
$val =eval("$fn;");
echo $val;
can anyone tell me what is wrong in this as the eval is returning 0 (false);
--
Have A pleasant Day
Chetan. D. Ra
Hi all
Have guys heard of the the Y2K38 Bug more details are on this link
http://www.codeproject.com/KB/bugs/The-Year-2038-Bug.aspx
Can there be a possible solution. As the system which I am developing for my
client uses Unix timestamp.
This might effect my application in the future
What is the format you want it to be
You can use JSON_encode(array());
To get into a text like representation
Chetan Dattaram Rane
Software Engineer
-Original Message-
From: Shelley [mailto:[EMAIL PROTECTED]
Sent: Friday, May 09, 2008 3:11 PM
To: PHP General list
Subject: [PHP] Ge
Yet another option is use serialize(array())
Chetan Dattaram Rane
Software Engineer
-Original Message-
From: Shelley [mailto:[EMAIL PROTECTED]
Sent: Friday, May 09, 2008 3:11 PM
To: PHP General list
Subject: [PHP] Get array as string --Help
Hi all,
If I have an array like this:
$ar
Yea but implde will loose the "Keys"
Chetan Dattaram Rane
Software Engineer
-Original Message-
From: Thiago Pojda [mailto:[EMAIL PROTECTED]
Sent: Friday, May 09, 2008 5:30 PM
To: 'Zoltán Németh'; 'Chetan Rane'
Cc: 'Shelley'; 'PHP General
Hi
The host name is localhost, username: root, and the password is blank "".
If you have selected the option to allow anonymous login during installation
you can even give the user name and password dboth blank. It will log you in
as an anonymous user.
Chetan Dattaram Rane
Software Engineer
-
Hi All
I am using a PHP Mailer to send mass mails.
How can I Identify how mails have bounced.
Chetan Dattaram Rane
Software Engineer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Guys
I have a Problem wioth Smarty
i have set the MAGIC_QOUTES_GPC =ON
and the templates are not getting created.
however when it is off ther created and everything is working fine.
thsi happens only on linux.
On windows it has no problem
--
Have A plesant Day
Chetan. D. Rane
Location: In
You can use a contructor in this case
But this does not work:
Chetan Dattaram Rane | Software Engineer | Persistent Systems
[EMAIL PROTECTED] | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014
Innovation in software product design, development and delivery-
www.persistentsys.com
-Origi
yes
Chetan Dattaram Rane | Software Engineer | Persistent Systems
[EMAIL PROTECTED] | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014
Innovation in software product design, development and delivery-
www.persistentsys.com
-Original Message-
From: Per Jessen [mailto:[EMAIL PROTECTED]
Hi
You need to check if your Apache is up and running do the following
Right click on My Computer and select "manage"
Next click on Services and Applications
After that Click on Services
And check if Apache is running
Chetan Dattaram Rane | Software Engineer | Persistent Systems
[EMAIL PROTEC
Message-
From: V S Rawat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 7:22 PM
To: Chetan Rane
Subject: Re: [PHP] Newbie problem: Php script not running in browser.
On 8/6/2008 4:20 PM India Time, _Chetan Rane_ wrote:
> Hi
>
> You need to check if your Apache is up and r
43 matches
Mail list logo