php-general Digest 10 Nov 2006 11:27:01 - Issue 4451
Topics (messages 244453 through 244463):
Re: php.ini
244453 by: Jürgen Wind
Re: gethostbyname failing?
244454 by: Henrik Hudson
244458 by: Chris
Re: Staff log-in
244455 by: benifactor
244460 by:
Hi,
I am using the function fopen to open a word document, loading the
contents into a variable and then using a substr_count to count the
number of times a certain string is found, this is allowing me to search
through the file and say how many times the word appears, I can even use
John Nichel wrote:
Brynjar Guðnason wrote:
Why did you bother to answer me ?
Please send all your replies to the list.
1) You asked if anyone could do this.
2) I gave you my rates.
3) Non-profit companies pay for services.
4) If you didn't want to pay, you should have specified that
On Tue, 7 Nov 2006 13:14:54 -0600 (CST), Richard Lynch wrote:
The Bad Guys are probably cramming your $subject and $from data with
an ENTIRE eamil, so your mail() function is, in effect, and Open
Relay. (That's very very very bad.)
Example:
Normal Input
$subject = Hi!;
Bad Guy Input
Larry Garfield wrote:
On Thursday 09 November 2006 10:22, Jochem Maas wrote:
apparently http_build_query() has been 'fixed' so that it now
urlencodes square brackets (and if you have never used square brackets in
a url pointing a php script then your obviously new here ;-)
this is fine -
Arpad Ray wrote:
Jochem Maas wrote:
function inputPostQueryUnBorker($s)
{
return preg_replace('#(\?|(?:amp;)?)([^=]*)=#eU',
'\\1'.str_replace(array('%5B','%5D'),
array('[',']'), '\\2').'=',
$s);
}
so how bad is it
This is a
Hi
I have a problem getting PHP-XML working with PHP 5.0.5
I am trying to create an DOMDocument object with the following:
$doc = new DOMDocument();
when run i get the error:
*Fatal error*: Class 'DOMDocument' not found in *
/var/www/cinematimes.mobi/feed.php* on line *5
*I looked up that
On Thursday 09 November 2006 21:28, Chris [EMAIL PROTECTED] sent a missive
stating:
Henrik Hudson wrote:
Thanks for the input everyone. It seems it Apache itself can't do lookups
either (ie: Hostnamelookups On ..doesn't actually do anything..so, going
to hunt down the issues inside
Edd Dawson wrote:
Hi
I have a problem getting PHP-XML working with PHP 5.0.5
I had trouble getting anything to work with that version ;-)
I suggest trying the version before or after it - seriously 5.0.5 has some
issues (although whether your problem is anything to do with them
is not known
Jochem Maas wrote:
John Nichel wrote:
snip
5) $80.00 is my *reduced* rate.
ah - I was worried you might have been factoring in age-related brain
depreciation ;-)
If I factored that in, I'd have to pay the client.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings
Jochem Maas wrote:
Arpad Ray wrote:
return preg_replace('#%5[bd](?=[^]*=)#ei', 'urldecode(\0)', $s);
could you explain your regexp - I'd like to replace my version with
your (if for no other reason than that shorter code is easier to read than
longer code!) BUT until I really understand
Arpad Ray wrote:
Jochem Maas wrote:
Arpad Ray wrote:
return preg_replace('#%5[bd](?=[^]*=)#ei', 'urldecode(\0)', $s);
could you explain your regexp - I'd like to replace my version with
your (if for no other reason than that shorter code is easier to read
than
longer code!) BUT until
FYI: I uninstalled Apache 2.2.3 and installed Apache 1.3.x via ports and now
everything works flawlessly. I made zero other changes on the system between
working and not working, so there either is a bug or something wierd.
I was running dnstop and when asking the server to do hostnamelookups
You cannnot just open those files. That things that you see are not
'rubish' or whatever. Those files are in a binary format. You need to
understand the .doc format and the .pdf format. You can get this
infromation by using google and search for 'Binary word format' and so on.
Then you have
There are search engins written in PHP available already. E.g. PHPdig.
http://www.phpdig.net/
PHPdig for example is able to index PDF and doc files (I think - see
the docs). Maybe it would also be a good idea to have a look at the
source code.
/frank
/frank
10 nov 2006 kl. 14.50 skrev
I fully endorse this as a project for you to learn php better. Having
a project is the only way you'll learn.
Keep in mind however that there are already frameworks which do the same thing.
Check out cakePHP, or php on trax - the former AFAIK has better docs.
On 11/10/06, John Sladek [EMAIL
At 7:16 PM + 11/9/06, Brynjar Guðnason wrote:
Hi,
I need a little php script. Staff log in by entering username and password
and then the next time they enter their username and password they log out.
The script has to take down the time they log in and log out. Then I should
be able to
I do a lot of work for non-profits a lot of them are really good
clients, pay well and on time, but I know most of them pretty well and
know that they are truly non-profits, so just because you said you
were a non-profit where we supposed to assume that you wanted it for
free and supported
tedd wrote:
At 7:16 PM + 11/9/06, Brynjar Guðnason wrote:
Hi,
I need a little php script. Staff log in by entering username and
password
and then the next time they enter their username and password they log
out.
The script has to take down the time they log in and log out. Then I
hello,
i have some problem with horde, after my isp have upgraded php on my
vps! i only get some error massages.
Notice: Only variable references should be returned by reference in
/usr/share/horde3/lib/Horde/Perms.php on line 343
Notice: Only variable references should be returned by
Hi,
How can i get the path in which a PHP file is running ?
for example, user clicking on a link opened page action.php file.
this php file is located as C:\webserver\mywebsite\php\test\action.php
how can i get this path (C:\webserver\mywebsite\php\test\)?
thx.
Al.
-Original Message-
From: Alain Roger [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 1:48 PM
To: PHP General List
Subject: [PHP] path
Hi,
How can i get the path in which a PHP file is running ?
for example, user clicking on a link opened page action.php file.
this
Alain Roger wrote:
How can i get the path in which a PHP file is running ?
for example, user clicking on a link opened page action.php file.
this php file is located as C:\webserver\mywebsite\php\test\action.php
how can i get this path (C:\webserver\mywebsite\php\test\)?
$dir =
I know that PDO has drivers only for MySQL 3/4. Is anybody getting
it work with MySQL 5. I'd like to try out the Zend Framework but our
db uses MySQL 5. We could create a second db in 4.1 and run it with
that but I'd rather not to.
It's kinda surprising how long MySQL 5 has been out and
On 11/10/06, jonathan [EMAIL PROTECTED] wrote:
I know that PDO has drivers only for MySQL 3/4. Is anybody getting
it work with MySQL 5. I'd like to try out the Zend Framework but our
db uses MySQL 5. We could create a second db in 4.1 and run it with
that but I'd rather not to.
It's kinda
jonathan wrote:
I know that PDO has drivers only for MySQL 3/4. Is anybody getting it
work with MySQL 5. I'd like to try out the Zend Framework but our db
uses MySQL 5. We could create a second db in 4.1 and run it with that
but I'd rather not to.
It's kinda surprising how long MySQL 5 has
i actually just started my own non profit org... so now you can all give me
things for free. :)
p.s. i also accept donations via paypal :)
- Original Message -
From: Jochem Maas [EMAIL PROTECTED]
To: tedd [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, November 10, 2006
At 11/10/2006 07:09 AM, tedd wrote:
Lastly, I think we all know that non-profit simply means that at
the end of the year you get to roll your profits over to the next
year without incurring taxes on the excess. Nothing more.
Plus, there's no limit or requirements as to the amount/percentage
-Original Message-
From: Google Kreme [mailto:[EMAIL PROTECTED]
Is that *really* your name?! :)
The trouble comes when you
need to time-out a session because someone never logged out
properly. That can be hairy.
Yeah, it's so hard to do that subtraction...
29 matches
Mail list logo