Quoting [EMAIL PROTECTED]:
> I know Yahoo! uses PHP and I've heard Google does as well?
Google uses Python.
http://www.python.org/Quotes.html
--
Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quoting Jacob Friis Saxberg <[EMAIL PROTECTED]>:
> I have asked Php to log errors in a file but it doesn't.
>
> error_reporting = E_ALL
> display_errors = Off
> log_errors = On
> error_log = /var/log/php-errors.log
>
> Any idea what's wrong?
Maybe that's not the right php.ini. Look at phpinfo().
Quoting Silvio Porcellana <[EMAIL PROTECTED]>:
> Ok, I don't know if this makes much sense, but you end up with a script
> that gets executed (without user interaction) every 'n' microseconds, so
> your session data is always up to date (at maximum, with a delay of 'n'
> * 2 microseconds).
You'd h
Quoting Skippy <[EMAIL PROTECTED]>:
> How can I disable auto-commit for a Postgres connection? Apparently
> server-side autocommit was thrown out in Postgres 8.0, and clients have to
> issue their own setting (which is sensible).
Apparently this will work (or at least it will
How can I disable auto-commit for a Postgres connection? Apparently
server-side autocommit was thrown out in Postgres 8.0, and clients have to
issue their own setting (which is sensible).
The default is on (which I don't want). psql is apparently able to set or
unset the AUTOCOMMIT option, but I f
Quoting "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>:
> Just curious if anyone knows of an existing class that will take MySQL
> records containing HTML and create a valid RSS 2.0 newsfeed from them?
http://software.zuavra.net/rowd_feed/
--
Romanian Web Developers - http://ROWD.ORG
--
PHP G
gic info
at the beginning of every chunk, then simply concatenating several
encrypted pieces won't produce a valid piece, the same way concatenating
several zip files won't produce a big valid zip file.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (
Quoting Ahmed Saad <[EMAIL PROTECTED]>:
>// do whatever with the chuck you read.
> // you can encrypt it and write all the chunks to the same file
But if you encrypt one chunk at a time and concatenate them later, or if you
encrypt the whole thing, will you still get the same result?
--
Quoting Mark Rees <[EMAIL PROTECTED]>:
> Consider whether you will always display the information in a web browser.
> If there is any possibility that another program may be used for display,
> you don't want the HTML tags in the database.
In this particular situation I'm dealing with I only have
How do you people best deal with text meant for i18n via gettext, which is
either large or contains HTML tags, or both?
The GNU gettext manual, in section 3.2, recommends to split long texts at
paragraph level, or in the case of long --help screens, in batches of 5-10
lines at most. I can dig this
ve used the
> hash.
You could've changed the password for them to something random, mail it
to them and keep the hash in the database.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;tricks", I'm interested in the pure PHP
aspect of the issue.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ther has other means of detecting that the request was answered or it
uses "Connection: close" too.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quoting Al <[EMAIL PROTECTED]>:
> Darn, I left out an important function, the fread(). Code snip should be:
> $fp= fopen("http://www.anything.com/foo.html, 'rb');
> if(!fp) {do something different}
> stream_set_timeout($fp, 2);
> $contents= fread($fp, 20);
> $status= stream_get_meta_d
ers can set their language preferences in their browser. You should
look at the Accept-Language and Accept-Charset headers that the browser
sends and decide based on them. That's the sensible criterium IMO.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (ht
obably because most people have the data in a personal format
which they convert to either RSS or Atom.
Related to your problem, try looking for an XSLT transformation script.
Both RSS and Atom are XML so it should work (actually, only the source
needs to be XML). Sorry, can't point out a
en-us vs en. Otherwise, the
order in which the languages were given sets precedence.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; for "one
> level up from this htaccess file).
>
> Any ideas?
Did you try ini_set('include_path','path')? I recall doing this recently in
a root script and then include() -ing other scripts. It worked out well.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quoting Merlin <[EMAIL PROTECTED]>:
> > Merlin wrote:
> >
> >> Hi there,
> >>
> >> I would like to encrypt some info and later be able to decrypt it. As
> >> I saw there is only one way encryption possible with encrypt.
> >>
> >> Has anybody an idea how to do a 2 way encrypten?
> >>
> >> Thank yo
Quoting Cristi Barladeanu <[EMAIL PROTECTED]>:
> My problem is pretty simple. User enters the site, logins, and after
> that he hits ctrl+n or something, to open a new window from same
> browser. Can I make him to login again in the new window but to keep
> him logged in the old one?
> Now i'm usin
one really
wants to enter "bad words" they will, by masking them in various ways;
humans will interpret the bad words correctly in far more cases than you
can filter with software. Additionally, you will end up filtering parts of
legit words that look like bad words.
--
Skippy - Romani
Quoting Jean-Yves <[EMAIL PROTECTED]>:
> Is there a documented way to create in PHP a critical section: I want a
> piece of code to not be executed in the same time several times?
Give us a set of criteria and we'll see about it.
--
Romanian Web Developers - http://ROWD.ORG
--
PHP General Mai
Quoting John Holmes <[EMAIL PROTECTED]>:
> From: "Skippy" <[EMAIL PROTECTED]>
> > I'm trying to replace all occurances of the X character in a text
> > with Y, but only those X's that occur between bold tags ().
>
>
> $str = 'This X
I'm trying to replace all occurances of the X character in a text
with Y, but only those X's that occur between bold tags ().
--
Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm looking for PHP code that will produce diff's between two texts, and
render them "inline". By that I mean not the standard *nix diff output,
which compares and outputs lines, but a diff that compares inline text
and outputs the bits before and after in place, marked with a custom
or something.
Quoting Justin Patrin <[EMAIL PROTECTED]>:
> On Tue, 3 Aug 2004 15:34:27 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote:
> > The latest message I got was 'Redirection limit for this URL exceeded.
> > Unable to load the requested page.This may be caused by cookies that are
> > blocked.'.
>
> Your p
Quoting Louie Miranda <[EMAIL PROTECTED]>:
> has anyone know any tools related to this?
> Graphing Webstats using MRTG/PHP/MYSQL?
Why MRTG _and_ PHP? AFAIK MRTG produces its own HTML and images.
You can either use MRTG with whatever data (webstats) you collected
or you can use PHP+MySQL for that a
Quoting "Ashley M. Kirchner" <[EMAIL PROTECTED]>:
> PayPal passes a ton of data back to us when someone's done
> purchasing something. I use some of that information and shove it all
> into a database. Problem is, if someone hits reload on their browser, I
> get the same data re-inserted a
Quoting Curt Zirzow <[EMAIL PROTECTED]>:
> > What is the "correct" way to open the page from the print link to a new
> > page?
>
> @media print {
> .css {
> its: all here;
> }
> }
Yeah, but sometimes you want the print version to be more nifty, like
have all the pages in an article instea
cedence than ||, but no other hidden properties.
Any idea why the need to have two logical operators with the same meaning BUT
different precedences? I dig the need to put in OR as an alias, but why
confuse people with the precedence issue? One would tend to think || and OR
are perfectly interchang
Quoting bruce <[EMAIL PROTECTED]>:
> i got a msg stating that "i" had signed up, using my email address,
> stating that i should enter my information, etc... i've never signed
> up...
> as i stated before... if you get the msgs.. just delete and keep going...
To me it seems like a company maki
s good habit to restrain yourself from both the above bad practices.
Try to always use concatenation and specifically put variables outside of
strings, and always use the quotes for array identificators. Once the habit
is in you'll have less headaches to worry about.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ee the
help file that came with PHP for Windows, it has a section about Apache.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ting a script with ob_start(), this way
the whole load of problems created by HTTP headers dissapears.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es that protect them? Ultimately, the credentials are still plain text
in the source. Nothing you do from PHP's point of view will protect them from
someone who has access to the source or can inject code into yours.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List
rror message, no actuall re-processing is performed. And because the
redirect was done via HTTP 3xx code, not JavaScript, if the user uses BACK in
the browser they go directly to A. For all purposes, B is invisible to the
user.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP Ge
ically, it's all about bringing the strings you work with
to a common denominator.
--
Skippy - Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uavra.net/articole/11/p2/
P.S.: If anyone wishes to put an English version on their site please contact
me in private. I'll take the time to translate it. I haven't put the English
version on the Web myself since my site is meant to be in Romanian only.
--
Skippy - Romanian Web Devel
Quoting Arnout Boks <[EMAIL PROTECTED]>:
> Maybe it helps to open the address with the fopen( )- or file( )-function
> to read it's contents. I use this method to get data from (dynamic) html
> pages on another website. I don't have that much knowledge about Java
> servlets, so I don't know if this
On Mon, 12 Jul 2004 17:15:15 +0200 Daniel Kullik <[EMAIL PROTECTED]> wrote:
> Skippy wrote:
> Can you use this?
It seems to work, at first test, but it's somewhat convoluted. I've found
another fairly reasonable solution: using $val instead of %val%. This way I
don't n
I'm confronted with a somewhat weird problem and hopefully someone can make a
suggestion. I have to perform the following 3-step task:
Step 1. Someone provides a string (let's call it the formatting string) which
contains a PHP expression, which will apply a PHP function on another string,
let's c
41 matches
Mail list logo