Hello All!
Does anyone know of a good open source calendar app?
Hopefully one that has ongoing development etc.
( sorry asked this before, but can't find a web list to search for the
previous results, php.net has a list that is not searchable )
Thanks!
Eddie Drapkin wrote:
> HTTP headers are sent and finalized after the first bit of output. I
> had the same problem before and it turned out to be because I had a
> close tag "?>" at the end of a file followed by some whitespace. The
> solution was to remove the ?> from the end of all the files
that depends upon your need.embedding google calendar is best for starters
a single line break after the closing ?> will not cause this problem. PHP
interpreter will neglect a single line break after ?> a good debugger like
xdebug will be helpful in this case. u can also see the source code of the
file to locate the output. any thing before php warning is the output befor
I'm sure those who've been on this list a while muttered "here we go
again..." when this thread started. Personally I think if there was a poll
about this the bell curve would have some on the left demanding we all top
post, many on the right of the curve demanding we all bottom post, and a
solid b
I prefer to reduce SESSION usage as much as possible. but I dont hesitate to
use them if need arises.
Points to note
- Execution time: Only session_id is stored on the client's computer, and
the actual data is stored on the server. so it will take nearly same time to
process 100 session v
I faced the same problem many times. The reason turned out to be an
additional character outside tags.
HTML formating software like Dreamweaver, HTML Tidy, Notepad++ will be
helpful in these cases. Above all use HTML Validatior extension for firefox.
Any ways this question has got nothing to do wi
> To: php-general@lists.php.net
> From: t...@marston-home.demon.co.uk
> Date: Thu, 9 Jul 2009 22:37:44 +0100
> Subject: Re: [PHP] Obeying the rules (was Simple login form with cookies)
>
>
> "Still Learnin'" wrote in message
> news:4a565c73.8090...@gmail.com...
> > Tony Marston wrote:
> >
> >>
On Fri, Jul 10, 2009 at 03:13, Joey wrote:
> Hello All!
>
> Does anyone know of a good open source calendar app?
>
> Hopefully one that has ongoing development etc.
>
> ( sorry asked this before, but can't find a web list to search for the
> previous results, php.net has a list that is not searchab
At 11:31 PM -0400 7/9/09, D.M.Jackson wrote:
Hi,
OK, I did a count on the session.inc file and there appears to be 37
variables accessed through the $_SESSION object. By and large they all
appear to be scalar variables that contain a counter or a path or a boolean.
Nothing that looks like a
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag "?>" at the end of a file followed by some whitespace. The
solution wa
At 3:13 AM -0400 7/10/09, Joey wrote:
Hello All!
Does anyone know of a good open source calendar app?
Hopefully one that has ongoing development etc.
( sorry asked this before, but can't find a web list to search for the
previous results, php.net has a list that is not searchable )
Joey:
Su
sorry, should have added that i'm not aware of any library to do this, but
you could certainly write one! :) and i forgot to use the list, sorry.
- isaac
On Fri, Jul 10, 2009 at 10:28 AM, Isaac Dover wrote:
> though this looks suspiciously like a homework assignment, i'll bite.
>
> those regex
I'm having a hard time getting my head around this problem. I have to
connect to a FoxPro database using an ODBC driver. Sometimes when I
connect I get an error. The error doesn't occur all the time and
usually another connect attempt works. I can trap the error through
an error handler
tedd wrote:
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag "?>" at the end of a file followed by some whitespace. The
On Fri, Jul 10, 2009 at 10:30 AM, Isaac Dover wrote:
>> On Wed, Jul 8, 2009 at 11:32 PM, WenDong Zhang wrote:
>> On Thu, Jul 9, 2009 at 6:00 AM, Per Jessen wrote:
>> > A suitable regex might look something like this:
>> >
>> > /([0-9]+)\1+/
>> >
>> > Not tested, probably won't work on the first t
On Fri, Jul 10, 2009 at 10:56 AM, Floyd Resler wrote:
> I'm having a hard time getting my head around this problem. I have to
> connect to a FoxPro database using an ODBC driver. Sometimes when I connect
> I get an error. The error doesn't occur all the time and usually another
> connect attempt
i just got pwned!
thanks, andrew. i should've paid more attention to what i was reading.
- isaac
On Fri, Jul 10, 2009 at 11:19 AM, Andrew Ballard wrote:
> On Fri, Jul 10, 2009 at 10:30 AM, Isaac Dover wrote:
> >> On Wed, Jul 8, 2009 at 11:32 PM, WenDong Zhang
> wrote:
> >> On Thu, Jul 9, 2009
Eddie,
Thanks for the tip. It suddenly occurred to me what I was doing
wrong. I do use an error trap but I was telling my script to stop
running after the error. So, now I ignore it and continue through the
loop you suggested. I guess it was working exactly the way I had
written it!
On Fri, Jul 10, 2009 at 11:39 AM, Floyd Resler wrote:
> Eddie,
> Thanks for the tip. It suddenly occurred to me what I was doing
> wrong. I do use an error trap but I was telling my script to stop running
> after the error. So, now I ignore it and continue through the loop you
> suggested
hi guys, i need some help by optimize the performance.
my problem is that i need a lot of rows the whole site (don't ask i need
the rows really :-) )
this is about ~4000 rows it will be loaded from mysql database in 0.3
seconds
my idea was to cache this rows in a xml file like for example:
Chris;
From my understanding of your question, your message (included
below in its entirety) is better sent to the MySQL General list, which
I've CC'd on this reply. If you haven't yet, please subscribe there
at mysql-subscr...@lists.mysql.com to follow the thread for responses.
If I
On Fri, Jul 10, 2009 at 12:36 PM, Daniel Brown wrote:
> Chris;
>
> From my understanding of your question, your message (included
> below in its entirety) is better sent to the MySQL General list, which
> I've CC'd on this reply. If you haven't yet, please subscribe there
> at mysql-subscr..
hi andrew i think you understand my problem a little,
but if 100 user load this query at the same time, the two mysql server
had a lot to do!
so i think to cache this query as xml to the application server local
make thinks faster,
but, i would like to have the same performance to read this xml
On Fri, Jul 10, 2009 at 12:59, Andrew Ballard wrote:
>
> I understood the question to be how to improve performance by caching
> MySQL results into an XML document (which, given that it was posted
> here) within a PHP script. Perhaps this is not the correct
> interpretation, but if so it would be r
On Fri, Jul 10, 2009 at 13:07,
workerho...@studysite.eu wrote:
> hi andrew i think you understand my problem a little,
> but if 100 user load this query at the same time, the two mysql server had a
> lot to do!
> so i think to cache this query as xml to the application server local make
> thinks fa
hmm, the infrastructure ist good, this is just this query
so to solve my problem i could run mysql on the application server and
store just this table
and read the query from them, it could solve my problem litte, i hope so!
Daniel Brown schrieb:
On Fri, Jul 10, 2009 at 13:07,
workerho..
On Fri, Jul 10, 2009 at 13:23,
workerho...@studysite.eu wrote:
> hmm, the infrastructure ist good, this is just this query
> so to solve my problem i could run mysql on the application server and store
> just this table
> and read the query from them, it could solve my problem litte, i hope so!
On Fri, Jul 10, 2009 at 1:23 PM,
workerho...@studysite.eu wrote:
> hmm, the infrastructure ist good, this is just this query
> so to solve my problem i could run mysql on the application server and store
> just this table
> and read the query from them, it could solve my problem litte, i hope s
yes i think i should do this
Daniel Brown schrieb:
On Fri, Jul 10, 2009 at 13:23,
workerho...@studysite.eu wrote:
hmm, the infrastructure ist good, this is just this query
so to solve my problem i could run mysql on the application server and store
just this table
and read the query
On Fri, Jul 10, 2009 at 02:47, David Lee wrote:
> I was wanting to have a page called source.php like you guys, and have it
> display the source code for the pages, but I've looked at the source code for
> you guys source.php page and I can't seem to make it work on my server.
>
> Like how do you
On Fri, 10 Jul 2009 13:29:31 -0400
Bastien Koert wrote:
> On Fri, Jul 10, 2009 at 1:23 PM,
> workerho...@studysite.eu wrote:
> > hmm, the infrastructure ist good, this is just this query
> > so to solve my problem i could run mysql on the application server
> > and store just this table
> > a
workerho...@studysite.eu wrote:
hi andrew i think you understand my problem a little,
but if 100 user load this query at the same time, the two mysql server
had a lot to do!
so i think to cache this query as xml to the application server local
make thinks faster,
but, i would like to have the s
Jack Bates-2 wrote:
>
> How do I access a static variable when I do not know the name of the
> class until runtime?
>
Why not just:
eval('$staticVal = '.get_class($myClass).'::staticVarName;');
...now the value is in $staticVal.
Or am I missing something here? No need to tell me eval is evi
On Fri, Jul 10, 2009 at 4:25 PM, Madbreaks wrote:
>
>
> Jack Bates-2 wrote:
>>
>> How do I access a static variable when I do not know the name of the
>> class until runtime?
>>
> Why not just:
>
> eval('$staticVal = '.get_class($myClass).'::staticVarName;');
>
> ...now the value is in $staticVal.
Hi everyone,
My server appears to be the victim of a chinese hack-attack and I
believe they managed to change pages via SQL Injection, do any of you
have any ideas how to lock down my forms so MySQL cannot be used from
my forms?
Thanks everyone
Chris
--
PHP General Mailing List (http://www.php
On Fri, Jul 10, 2009 at 15:48, Chris Payne wrote:
> Hi everyone,
>
> My server appears to be the victim of a chinese hack-attack and I
> believe they managed to change pages via SQL Injection, do any of you
> have any ideas how to lock down my forms so MySQL cannot be used from
> my forms?
Fir
On Fri, Jul 10, 2009 at 3:50 PM, Daniel Brown wrote:
> On Fri, Jul 10, 2009 at 15:48, Chris Payne wrote:
>> Hi everyone,
>>
>> My server appears to be the victim of a chinese hack-attack and I
>> believe they managed to change pages via SQL Injection, do any of you
>> have any ideas how to lock dow
Michael A. Peters wrote:
The $dom->saveHTML() function does a pretty good job of knowing what
tags are not closed - IE it does , , , etc. correctly.
Is there a way to add a tag without children to it's database?
Specifically I'm talking about the new tag from HTML 5 that
is being used to emb
On Fri, Jul 10, 2009 at 4:17 PM, Daniel Brown wrote:
> On Fri, Jul 10, 2009 at 15:44, Togrul
> Mamedbekov wrote:
>> Hello Sir or Madam,
>>
>> We just updated our PHP 5.2 software. And when I try to run the php info
>> script! I get a blank screen!
>
> What do you see when you view the source of
Hello Sir or Madam,
We just updated our PHP 5.2 software. And when I try to run the php info
script! I get a blank screen!
I am including my php.ini settings
Please help
Thank you in advance,
Togrul Mamedbekov
Marketing & Publishing Assistant
*10370 Richmond Ave, Ste 760, Houston, T
On Fri, Jul 10, 2009 at 15:44, Togrul
Mamedbekov wrote:
> Hello Sir or Madam,
>
> We just updated our PHP 5.2 software. And when I try to run the php info
> script! I get a blank screen!
What do you see when you view the source of the page with phpinfo() ?
--
daniel.br...@parasane.net || da
I'm wondering if there is a way to dynamically set the absolute path of
an include directory based on the document root of the site via htaccess
or some other method other than in the scripts themselves within the site.
Example of what I'm looking for:
$doc_root/.htaccess:
php_value include_pa
On Fri, Jul 10, 2009 at 16:56, J.P.
Trosclair wrote:
> I'm wondering if there is a way to dynamically set the absolute path of an
> include directory based on the document root of the site via htaccess or
> some other method other than in the scripts themselves within the site.
Please check th
On Jul 10, 2009, at 1:50 PM, Daniel Brown wrote:
On Fri, Jul 10, 2009 at 15:48, Chris
Payne wrote:
Hi everyone,
My server appears to be the victim of a chinese hack-attack and I
believe they managed to change pages via SQL Injection, do any of you
have any ideas how to lock down my forms so
Daniel Brown wrote:
Please check the archives and Google before posting here. This
exact question was just discussed and answered within the last seven
days. I don't recall the name of the thread (perhaps someone else
could name it for me), but I believe the original poster was Govinda.
first thanks to all who have read ;-)
your solution looks like the method how i done it actually,
i have tested the last hours the solution with sql lite on application
server
the Solution:
3 Mysql Server ( 1 more to handle the big load ) (1 Master, 2 Slaves)
mysql replication
10 Applikatio
On Fri, Jul 10, 2009 at 17:24, J.P.
Trosclair wrote:
>
> I've spent the better part of this afternoon looking through google and the
> archives for different variations on terminology before resorting to
> subscribing and posting to this list. Will go back to digging based on your
> suggestion. Tha
On Jul 10, 2009, at 3:16 PM, Daniel Brown wrote:
On Fri, Jul 10, 2009 at 16:56, J.P.
Trosclair wrote:
I'm wondering if there is a way to dynamically set the absolute
path of an
include directory based on the document root of the site via
htaccess or
some other method other than in the script
On Fri, Jul 10, 2009 at 17:28, Govinda wrote:
>
> yes, look for posts with this subject line:
> Re: [PHP] best way to properly build an include path *regardless* from
> where I am calling the include?
>
> (just don't ask me to explain everything that those good souls were trying
> to teach me in t
Govinda wrote:
[PHP] best way to properly build an include path*regardless*
Thanks, appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everyone,
Hmmm i'm not sure it is an SQL Injection now, done a lot more checking
and it is inserting code at the end of every index.htm index.html
default.html and index.php pages on my site.
Ooooh what fun :-)
Chris
On Fri, Jul 10, 2009 at 2:22 PM, Govinda wrote:
>
> On Jul 10, 2009, at 1:5
On Fri, Jul 10, 2009 at 17:37, Chris Payne wrote:
> Hi everyone,
>
> Hmmm i'm not sure it is an SQL Injection now, done a lot more checking
> and it is inserting code at the end of every index.htm index.html
> default.html and index.php pages on my site.
>
> Ooooh what fun :-)
Wouldn't happen
Hi,
Yes their IP is from Russia by Chinese in origin.
How can this be prevented?
Thank you all SO much for your help, it is very appreciated.
Chris
On Fri, Jul 10, 2009 at 2:40 PM, Daniel Brown wrote:
> On Fri, Jul 10, 2009 at 17:37, Chris Payne wrote:
>> Hi everyone,
>>
>> Hmmm i'm not sure i
On Fri, Jul 10, 2009 at 17:48, Chris Payne wrote:
> Hi,
>
> Yes their IP is from Russia by Chinese in origin.
>
> How can this be prevented?
>
> Thank you all SO much for your help, it is very appreciated.
So would be your move to bottom-posting (with nods to the jihad
that was the longest thr
>> Thank you all SO much for your help, it is very appreciated.
>
> So would be your move to bottom-posting (with nods to the jihad
> that was the longest thread of the list so far this month) as per the
> mailing list rules. ;-P
>
> What's the URL to your site, if you feel comfortable in pr
On Fri, Jul 10, 2009 at 18:11, Chris Payne wrote:
>
> Sorry I post at the top because i'm legally blind and it's easier but
> i'll try to post at the bottom :-)
>
> This is the main site on my server:
>
> http://www.oxyge.net
>
> I just took out the offending code at the end of the index page to ge
On Jul 10, 2009, at 5:25 PM, "workerho...@studysite.eu" > wrote:
first thanks to all who have read ;-)
your solution looks like the method how i done it actually,
i have tested the last hours the solution with sql lite on
application server
the Solution:
3 Mysql Server ( 1 more to han
Hi,
First of all change your FTP password and stop storing your password in
your FTP client.
This type of attacks are very common with the people who use insecure FTP
client.
My previous experience with your kind of problem tell me that chances of a
FTP attack are really higher in the pattern of
How do I get
basename(__FILE__)
or
htmlentities($somevar)
to be evaluated in a heredoc?
Govinda
govinda.webdnat...@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jul 10, 2009 at 8:25 PM, Govinda wrote:
> How do I get
> basename(__FILE__)
> or
> htmlentities($somevar)
> to be evaluated in a heredoc?
>
>
> Govinda
> govinda.webdnat...@gmail.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www
On Fri, Jul 10, 2009 at 20:25, Govinda wrote:
> How do I get
> basename(__FILE__)
> or
> htmlentities($somevar)
> to be evaluated in a heredoc?
You don't. Instead, you have to store the output from those in a
variable (or array), then place it into the HEREDOC it.
basename(__FILE__), 'siz
On Sat, Jul 11, 2009 at 5:55 AM, Govinda wrote:
> How do I get
> basename(__FILE__)
> or
> htmlentities($somevar)
> to be evaluated in a heredoc?
>
heredoc was there to work with the strings... why you want to use functions
into that?
>
>
> Govinda
> govinda.webdnat...@gmail.com
A quick checklist/todo list :
1. set display_errors=yes in php.ini
2. Make sure you are using full wrote:
> On Fri, Jul 10, 2009 at 4:17 PM, Daniel Brown wrote:
> > On Fri, Jul 10, 2009 at 15:44, Togrul
> > Mamedbekov wrote:
> >> Hello Sir or Madam,
> >>
> >> We just updated our PHP 5.2 software
On Jul 10, 2009, at 6:34 PM, Zareef Ahmed wrote:
heredoc was there to work with the strings... why you want to use
functions into that?
I'm lazy. Like to type less. ;-)
But now I know.
Thanks guys.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Hi everyone,
I'm starting to experiment with an edit form and I am seeing the following
behaviour:
$fname = mysql_real_escape_string($fname);
$lname = mysql_real_escape_string($lname);
$sql = "UPDATE phonedir SET fname = '$fname',lname = '$lname' WHERE id=$id";
$result = mysql_query($sql);
Haig Dedeyan wrote:
Hi everyone,
I'm starting to experiment with an edit form and I am seeing the following
behaviour:
$fname = mysql_real_escape_string($fname);
$lname = mysql_real_escape_string($lname);
$sql = "UPDATE phonedir SET fname = '$fname',lname = '$lname' WHERE id=$id";
$result
On July 10, 2009 11:26:04 pm Haig Dedeyan wrote:
> Haig Dedeyan wrote:
> > Hi everyone,
> >
> > I'm starting to experiment with an edit form and I am seeing the
> > following behaviour:
> >
> > $fname = mysql_real_escape_string($fname);
> > $lname = mysql_real_escape_string($lname);
> >
> >
> > $sq
68 matches
Mail list logo