hi John
You'll probably see whats up if you tell php to spit out error messages
- set display_errors = 1 in php.ini
hth
Rob
-Original Message-
From: John Taylor-Johnston
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, 1 November 2005 12:32 PM
To: PHP-General
Subject: [PHP] Help with
hi Ross
Any alternatives free or paid let me know..
http://www.isearchthenet.com/isearch/ is a good 'un, so long as you
don't have thousands of pages.
R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi John
Me thinks that was what I used.
http://ca.php.net/strstr
http://ca.php.net/stristr
http://ca.php.net/strpos
What's the difference?
the ones ending 'pos' just return an integer position. The 'i' in these
string manipulation functions generally means that the function is
hi Norbert,
Have you tried print_r($_SESSION['view'])? I'm wondering if there's
some problem recreating the class instance from the session data...
Rob
-Original Message-
From: Norbert Wenzel [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 September 2005 2:58 AM
To:
hi Alex,
I don't know of any discussion group, but you may want to check out a
book that's just got a very good review on slashdot...
http://books.slashdot.org/article.pl?sid=05/08/16/0434205from=rss
Rob
-Original Message-
From: Alex Gemmell [mailto:[EMAIL PROTECTED]
Sent: Friday,
PEAR::Net_GeoIP is nice..
$geoip = Net_GeoIP::getInstance('/path/to/geoip.dat',
Net_GeoIP::MEMORY_CACHE);
$countryName = $geoip-lookupCountryName($ipAddress);
http://pear.php.net/package/Net_GeoIP
Rob
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Sent:
hi Linda
I must admit I am surprised at the paucity of date and time
functions in PHP.
You may want to check out the PEAR Date class:
http://pear.php.net/package/Date
Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi Daevid
FWIW, I was trying to do the exact same thing a while back, and came to
the conclusion that it wasn't possible.
Rob
-Original Message-
From: Daevid Vincent [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 19 July 2005 11:28 AM
To: php-general@lists.php.net
Subject: [PHP] Is
hi all,
I was just wondering if anyone has had any success using mime_magic to
guess the content type of MS Word documents..? The extension works for
gif's jpeg's, but mime_content_type() returns text/plain for Word
and Excel docs.
I'm using php 5.0.4 on Windows, and the mime.magic file
hi Mario
And the form tag, is it allright like it is ?
you'll need to add this: enctype=multipart/form-data
Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi Mark
Unknown column 'peterspeters' in 'where clause'
you're missing the quotes around (I guess) the password. you can kick
yourself now :-p
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Rory Browne
This is primarly a mailing list. Not a news group. The whole idea of a
mailing list is that you get every message mailed to you.
uh, I think the OP is complaining about the emails that *don't* go via
the list, because this list is set up so that hitting reply goes to the
hi Dasmeet
From: Dasmeet Singh
I have just completed coding for a script... i want to take a
printout
of the code.. but the code is very hotch potch..
Is there any software to automatically set the code with proper
spacing/tabs extra..and possibly give colors to it too...??
Check out
hi Rahot
From: rahot man
I have windows server 2003, PHPv5.0.3, Mysql v4.1 and IIS 6 and i am
working in Macromedia Dreamweaver MX2004
i am unable to connect to the mysql server. but my php files
are running
fine and my mysql server is also running fine.
i) i had changed the
Andy Pieters wrote:
This is kinda hard to say in words, so I'll give a little example
Class A
function x
calls function guid
function y
function z
function guid
Class B extends A
function y
calls function x
function guid
So what I'm wondering is when class B
Matthias wrote:
Have you looked at the PEAR Date class?
http://pear.php.net/package/Date
PEAR Date is good - I use it a lot - but watch out for this bug if
you're running on Windows http://pear.php.net/bugs/bug.php?id=2344
basically, there's some getenv/putenv trickery in the
here's the clue to the other half of the puzzle:
you can do this kind of thing in php
if (whatever)
{
include 'something.php';
}
else
{
include 'something else.php';
}
hth,
Rob
-Original Message-
From: Stephen Johnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20
From: Rasmus Lerdorf
Chances are pretty good that you won't have to change
anything. Step 1
would be to simply try running your existing code under PHP5 and see
what breaks. Unless you have complicated OO code or you are
using the
domxml extension, you likely won't need to change
...and trying to re-assign $this inside a class.
which is perverse and shouldn't have been allowed in the first place =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hey up all,
anyone have a snippet for generating a unique booking reference string,
say 6-10 characters long? The kind of thing you get when you book a
flight or whatnot online.
it's friday afternoon and I'm too dim to figure one out myself :-/
Rob Agar
Web Site Consultant
Wild Lime Media
2005 12:19 AM
To: Rob Agar
Subject: Re: [PHP] access violation
Hello Rob,
Tuesday, March 22, 2005, 4:14:55 PM, you wrote:
R That's interesting - it also started happening for me after
R installing PHP 5.0.3. But I have reverted to 4.3.10 for now, and I
R can't see how installing 5.0.3
hi Leif
Glad to know I'm not the only one ;)
The only system stuff we have in common is the OS. The
webserver is Sambar, and PHP is 5.0.3. It didn't start having
this issue till I updated the PHP to 5.0.3, so I'm going to
reinstall it at some point to see if that helps any.
That's
:\WINDOWS\system32\msvcrt.dll
10047D4E c:\php4\php4ts.dll
or sometimes:
77C46137 C:\WINDOWS\system32\msvcrt.dll
100CA6AE c:\php4\php4ts.dll
60002E50 c:\php4\php4apache.dll
6000186F c:\php4\php4apache.dll
dll base addresses:
0x6000 php4apache.dll
0x1000 php4ts.dll
Rob Agar
Web Site
for string, f for format)
summat like this:
echo sprintf('%0.2f', $number);
hth,
Rob Agar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hey all
just got this error:
Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM'
The line that caused it was this: $db = null; (yes I know it's wrong,
it's a typo/brain spasm)
I'm just curious - what language IS that? finnish?
Rob Agar
Web Site Consultant
Wild Lime Media - [EMAIL
25 matches
Mail list logo