Contact the company who wrote the software you're trying to use for support.
The Disguised Jedi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Some might consider this OT, but I need to figure this out somehow, and
google has been no help.
I downloaded and installed PHP Designer
Hi Brian,
Try this function,
http://aidan.dotgeek.org/lib/?file=function.array2table.php
Brian Dunning [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all - it seems the longer I use PHP, the stupider my questions are
getting. I finally got my XML parsed into an array, but
We have a chapter in the manual about this,
http://www.php.net/manual/en/language.types.float.php
This is also interesting:
http://docs.python.org/tut/node15.html
Kind Regards,
Aidan
Brian T. Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
OK, I'm totally stumped by
I cannot fathom why you would use preg_match for this.
This will get an exact match...
if ($ip == $_SERVER[REMOTE_ADDR]) { $ban = true; }
Despite this being the worst idea I've ever seen, combined with a true lack
of understanding, I wish you well.
Nick Wilson [EMAIL PROTECTED] wrote in
If you want to use older functions without upgrading your version of PHP,
try PHP_Compat.
Here's file_get_contents which is comparable in speed to the native version:
http://cvs.php.net/co.php/pear/PHP_Compat/Compat/Function/file_get_contents.php?r=1.19
Most information can be found at
http://php.net/language.types.html#language.pseudo-types
Thomas Hochstetter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi again,
I have always been wondering how this is done properly:
Here is an example:
[snip]
class A {
function name( $a, $b, $c) {
$tmp =
Hi Michael,
Thanks very much for the assistance, I'll have to investigate further!
Kind Regards,
Aidan Lister
Michael Sims [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Aidan Lister wrote:
Hello list,
I'm pretty terrible with regular expressions, I was wondering if
someone
Hi Gerald,
If you did see something like that, it was a mistake in our manual :)
I've documented typehinting now, though it will take a while to show up in
the manual.
http://php.net/language.oop5.typehinting
Kind Regards,
Aidan
Gerard Samuel [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hello list,
I'm pretty terrible with regular expressions, I was wondering if someone
would be able to help me with this
http://paste.phpfi.com/31964
The problem is detailed in the above link. Basically I need to match the
contents of any HTML tag, except a link. I'm pretty sure a lookbehind
You can't,
It's a security thing.
Marten Lehmann [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I need to load extensions with dl() within PHP running as CGI. But as this
is a shared hosting environment, I don't have access to the extension_dir.
Anyway, dl() prepends
http://pear.php.net/package/Structures_DataGrid
Blackwater Dev [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone have a nice clean way to provide data grids with php short
of simply creating a bunch of input boxes or using flash?
Thanks!
--
PHP General Mailing List
Hello,
Another test to ensure we don't have any automatic replies or bouncing
addresses. Please don't reply, or you will be removed.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Tadas,
PHP5 has very optimised code for loops, try upgrading and tell us how it
goes!
Also, if it's applicable, a plain foreach loop is actually faster.
Kind Regards,
Aidan
Xongoo!Com: Central Unit [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Holla,
Maybe someone knows how
Krzysztof,
Take a look at some PHP Profiling extensions, such as Advanced PHP Debugger
or XDebug. This will help you locate the slow parts of your script.
Krzysztof Gorzelak [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I'm trying my new php5 script, but it takes about 1.2s to
Sure, define them outside the function :)
Justin French [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I define a constant within a function, it appears that the constant
is only defined within the namespace of the function. Fair enough.
Can I globalise these definitions?
That's a mysql timestamp, if you want to manipulate dates in PHP you'll need
to use unix timestamps.
You have a couple of options,
select unix_timestamp(myFld) as myFld from myTbl
Then just add 60*60*24*7 to it.
Or, parse it with:
function convert_timestamp ($timestamp)
{
$timestring =
There was a little mistake in the code I posted before, try this one:
http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
Diff Fannehh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have this date in timestamp format:
$a= 20040810114155;
I want to add 7
Hi Tobias,
I don't really understand what you are asking, but if you want to send HTTP
headers please see:
www.php.net/header
If you need Arguments for http headers, see the protocol specification
http://www.faqs.org/rfcs/rfc2616
Tobias grønlund [EMAIL PROTECTED] wrote in message
news:[EMAIL
Alfonso,
Please stop sending crap to this list, or you will be unsubscribed.
We're more than happy you've been able to sign up, but we don't need 4
emails detailing your progress.
Kind Regards,
Aidan
Alfonso Baqueiro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If you are
Hi Vidyut,
This function will be replicated in userland code when I get some more time,
I'll add a note when it is done.
For more info, see http://pear.php.net/php_compat
Vidyut Luther [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I'm looking at the PHP manual which has
Please do not reply to this email, or you will be taken off the mailing list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Rosen,
It doesn't hurt to use google you know.
[Q:]
Is there going to be a version of PHP 4.x which is declared stable for use
with Apache 2.x or, is this feature going to be reserved for PHP5?
[A:]
The development of the Apache 2 module is completely disconnected from the
PHP 5 efforts. I
http://php.net/migration5
5.0.1 is coming out shortly, wait for that.
Gerard Samuel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sunday 01 August 2004 12:19 pm, Randall Perry wrote:
Any major gotchas going from 4 to 5? Any problems with PostgreSQL
connectivity? Will I have
Hi Ron,
Sounds like you've done everything correctly, just PHP wasn't installed as a
CLI. Just to be sure, do a $ find / -name php
Then, if it is found, $ lynx -source http://go-pear.org/ | /path/to/php
If it's not found, just grap a PHP rpm (make sure it's a CLI version,
or --with-cli) and
Hi Ulitin,
When a user visits your page, you can create a session. This session will
identify the user throughout his visit.
Most people tend to log all actions to an IP address, or a hostname, this is
probably easier.
To get the IP, browser, referer, etc, look at:
Rausch,
I've never seen this done before, I wouldn't bother. It's definitely not
possible without tapping into either the webserver or webserver log files.
Regards,
Aidan
Rausch Alexandru [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a script that creates automatically
Michael,
You need to gain some very basic debugging skills.
If you're trying to update a database:
1) Check the mysql_query is actually being run!
Add a line above mysql_query, die('hello');
If you see hello, the query is being run
2) Check there is no error on the query,
$query = some query;
Hi Scheidecker,
Try posting to [EMAIL PROTECTED], the author will be able to help
you with your question.
C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello all,
In order to use pear mimedecode.php I have a few questions that were not
answered by the
What is PHPEdit to do with this mailing list?
Please don't send useless stupid crap to the hundreds of users subscribed.
Ee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Sorry Guys,
I know that this is off-topic. In one of the sites,I saw the subject AD
{PHPEdit almost as good
When it's ready
Hopefully we'll see the stable release in the next 24 hours.
Gabriel Medina [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
So is there a date set yet or is it just to wait?
How is the progrese one the respons to RC3? Is it many bugs left?
Dear Reagrds
--
PHP
Sounds like you want to set up a proxy.
PHP is not the ideal language to use for this, although it would be
possible, though a lot of work.
Have a look on google for http proxies, see how you go.
Tristan Pretty [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi there...
My misses
Hi News (perhaps use your real name next time),
I run a .txt perl/cgi database/shopping cart which uses the command line
http://localhost/_uns/cgi-bin/store.cgi?command=listitemspos=0type=all
When you say command line, what's that have to do with the localhost (ie,
noone else can click it)
Please don't mail the list by clicking Reply to an existing post, it
causes problems with the news server (and anyone using it).
Bruce [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi...
got a simple question...
i have the following:
html
body
?
$test = p;
echo $test;
print $test;
I don't understand what you're asking.
If you want to return a portion of an array, simple return the element
holding it.
In your example:
POST[var1_arr][dim1][dim2]
return var1_arr;
Will return whatever lives in var1_arr.
Have a play around, you can see what a variable contains using
I don't see how these questions are related, please ask each question
separately next time.
If you want to put variables in your regex's, you must use preg_quote.
John Taylor-Johnston [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ok. This is not a numeral problem? strval did not
compatability I'd still advise you to use the newer
form, there are very few hosts that still run php4.1.0 (because it has many
dangerous bugs).
(P.S.: Aidan Lister, this may be a dumb question, but please don't bother
responding.)
Please, you asked a stupid question and got done for it - let's
What is a codebar?
Vicente Vives [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello everybody,
I'm looking for a way to generate codebars from the web. I found some
ActiveX for ASP but i want to generate them using PHP :-)
Do you know how?
Do you know any library to do it?
Did you look on the mambo forums as suggested?
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using Mambo Open Source CMS to run a site I'm building, and seem to
have a
problem logging into the Administration Tool. It comes up with:
Fatal error: session_start(): Failed to
Try cURL,
http://php.net/curl
Martin Schneider [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello! I want to use php to gather some informations on a website. You
have to login to this website. In a brwoser, a cookie is set at login
and identifies you.
How can I handle this
If you're receiving binary data back, this function may interest you:
http://aidan.dotgeek.org/lib/?file=function.hexdump.php
Also, why are you messing with chr etc?
$string = \x00\x01\xFF;
etc.
Coder_1024 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for the feedback. As
I use the following script:
http://aidan.dotgeek.org/lib/?file=Visitor.php
As you've been told about 400 times, there's no reliable way to get the
information.
The above script checks if the client connected using a proxy, then falls
back to what the webserver sends.
Rosen [EMAIL PROTECTED]
I suggest not using a regex.
There are better tools for parsing an email, for example formail.
$email = `formail -x Return-Path`;
See google.com for more information
Regards,
Aidan
Syed Ghouse [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All
will anyone give me a solution to
If you're asking which is faster, PHP or Java, it's a very difficult
question and I doubt anyone will give you a concrete answer.
I'd suggest writing the application in a much faster compiled language, c++
for example.
C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hi,
You've sent this email to a mailing list with a couple of thousand users.
I'm probably not alone when I say what on earth are you talking about?.
I don't know what PHP-Login is, if you have a problem using whatever
software that may be - please contact them about it.
You can find the PEAR
Did you restart your webserver to make sure the changes were loaded?
Tom Chubb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I ave a strange problem with my error reporting!
I have set php.ini to: error_reporting = E_ALL but I don't see any
errors.
(After I was happy things were
$_SERVER['QUERY_STRING'] has nothing to do with the refering website.
foo.php?bar=6
The QUERY_STRING for the above example is: bar=6
When someone visits your page, they visit foo.php (for example), thus your
QUERY_STRING will always be blank.
I believe you're looking for HTTP_REFERER
I.A.
It's a virus, duh
John Cashmore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
what are these posts and why do they keep getting posted with some
picutre with a password?
On Sun, 27 Jun 2004 17:53:49 +0100, Hitcho [EMAIL PROTECTED] wrote:
--
PHP General Mailing List
Think about it.
Step 1) Analyse the problem.
a) Set a cookie.
b) Test if the cookie has been set.
c) Display data from cookie
Step 2) Read the fucking manual
a) http://php.net/setcookie
b) http://php.net/setcookie
c) http://php.net/setcookie
If you can't work it out, and have actually done some
If you don't know what it is, why do you want to make one?
There's a lot more to this than simple PHP, I suggest you start on
google.com
Syed Ghouse [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All
will anybody explain me what is email autoresponder?.
and how to create in php?
Please read:
http://www.catb.org/~esr/faqs/smart-questions.html
Water_foul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i fixed it i had an endless loop oops :)
Water_foul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i dont know why but the following code kills
No, because that's not a standard format.
You'll have to write your own function (as you've done).
If you're looking to store an array as a string, look at serialize()
Pete Forman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is there a standard function that converts a string to
Please don't hype your post, or you'll find, as do many children, no one
will pay it any attention.
Jack Bauer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi,
i'm looking for a methode to use threads in php (on linux)
--
PHP General Mailing List (http://www.php.net/)
To
.
Anyway, stop flogging a dead horse. Stupid questions have stupid answers,
unfortunatly mine was one of the stupid answers - in hind site, I agree it
was an inapropriate thing to say.
Kind Regards,
Aidan
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Aidan Lister [EMAIL
Hehe Curt, point made :)
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Kathleen Ballard ([EMAIL PROTECTED]):
I have been asked to make a fact based comparison of
the pros and cons of asp.net and php. I am not trying
to start a war and apologize if this
This appears to be a really, really stupid question.
If they are indentical in operation, then ofcourse there will be no
noticeable difference to the user.
One may note that a switch statement is faster, because the condition is
only evaluated once. However you did not ask about the speed
- on the list, in front of
everyone, as you so boldly put it.
Rachel Rodriguez [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Aidan Lister [EMAIL PROTECTED] wrote:
This appears to be a really, really stupid question.
Is this level of condemnation of a poster necessary?
Whether
Hi,
You could use $_SERVER['DOCUMENT_ROOT']
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 2004-06-03 at 23:15, Stephen Craton wrote:
I've wondered for quite some time, and search just as long it seems
like,
for a way to get the current URL directory. For
Hi Dsx,
If you're unable to use classes from PHPLIB, I suggest you learn PHP first.
Using objects for the first time is very confusing, but there are some
excellent guides on the internet. I suggest you spend a couple of days just
experimenting, writing your own classes to do menial tasks, etc.
Hi Justin,
For future reference, your choice of subject is poor - be more descriptive,
your subject could apply to 99% of the questions asked on this list.
I have no idea what you've created in DW MX 2004, nor have you given us any
information about it.
If you have an authorisation level stored
I'd implement access control in the java object if possible, sounds easier.
Tom Playford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dear all knowing list,
I am trying to control the movement of a camera in real time from the web.
But I also need to make sure that only the user I
Try it?
(Yes, it works)
Bob Lockie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Should 'include $var;' work?
I need go to an HTML page after the form has been submitted.
page A - program B (no output) - page A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
PEAR doesn't need to be installed, so to speak.
PEAR is simply a set of classes, at heart, they can be downloaded and used
without problem from the pear.php.net website. However, PEAR does have an
installer program that allows you to install these packages from command
line.
To check if you have
PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks Aidan,
I get a list of installed packages.
What do I or one of my users need to do to access / use the DB package?
Any help, advice, example is very much appreciated.
Dave C
-Original Message-
From: Aidan Lister [mailto
Hi Phillip,
For future reference, PHP install questions are best asked on the
[EMAIL PROTECTED] mailing list, however I'm sure someone can answer
your question here also.
Khutjo Phillip Leremi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi I have recently installed gd-2.0.15 on
Hi Chris,
Please send your message to [EMAIL PROTECTED], you are more likely
to get a response there.
Chris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all. Hopefully someone here can show me what I am doing wrong. I am
trying to write a small script to ftp into a server
Yep, MDB2 is the best bet
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
David [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
I have been using mysql as the database for my PHP application.
Now my manager ordered me to use Microsoft SQL Server
There are many, many benchmarks done comparing PEAR::DB to PEAR::MDB to
AdoDB, PEAR::DB is much slower than the native API, AdoDB is the fastest but
least functional - I suggest you try PEAR::MDB2
http://pear.php.net/package/mdb2
once you get into it, you'll love it
Rainer müller [EMAIL
This doesn't sound like a very secure method of doing things at all. Also,
managing a file that big sounds like quite a nightmare.
Have you looked at using OOP stuff?
Use a couple of standard pear classes like Auth, MDB2, and you're well on
your way to having a very maintainable site.
Shaun
Nothing this big will be solid, if you're looking for a complete PHP website
system, try postnuke/phpnuke whatever.
Bruce [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
ryan...
we've seen apps that have had some of the functions we're looking for...
ie
dating apps, cms systems,
Do you have to access that variable statically?
If you're scope is the class:
echo $this-myInstance;
Otherwise,
echo C::$myInstance will access it outside the class (I think), even though
it's inherited.
Rudy Metzger [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dear all,
I
Handy function for this sort of stuff:
http://ircphp.com/users/imho/?file=function.hexview.php
René fournier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When reading from a Socket Server, my Socket Client retrieves data that
includes ASCII and binary data:
while(($buf =
Hi,
Richards email was kinda wierd, so I'll reply to your email directly
Hi, all --
I guess I need a primer on cookie usage. I've read the manual regarding
setcookie and have gone back to look at everything having to do with
cookies on this list in the past few months (it seems that I'm
Richard,
I think you need to read the questions more accurately - your last two
replies have been somewhat incorrect
Richard Harb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try
echo $obj-$varname;
-Original Message-
From: greg
Sent: Sunday, May 9, 2004, 9:21:52 AM
Ooops, actually he was pretty ambiguous, please disregard my previous
comment :)
Richard Harb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try
echo $obj-$varname;
-Original Message-
From: greg
Sent: Sunday, May 9, 2004, 9:21:52 AM
Hello,
I was just trying this
Greg [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I was just trying this but it doesn't work :
?php
class a {
public $foo = hello world;
}
$obj = new a();
$varname = foo;
echo $obj-$$varname;
$$varname is turned into $foo, what is the value of $foo?
If you're
Yep, check out:
http://pear.php.net/net_ping
News.Php.Net [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I was wondering if it's possible to issue a icmp echo / ping without
actually using the ping program supplied with the operating system.
Anyone has an idea?
Thanks in
Simple!
$i = 0;
foreach ($foos as $foo)
{
// do stuff
$i++;
if ($i 5) break;
}
Cheers
Verdon Vaillancourt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi :)
I'm trying to put a stop in a foreach statement following the user
suggestion here,
Hi,
I use the following class to get Path information:
http://ircphp.com/users/imho/?file=Path.php
Let me know if this is helpful at all
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello. I'm relying on the following code so that a script can
automatically
Hi guys,
I'm trying to compile a PHP5 RC2 RPM, does anyone know where I can get a
SPEC file from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Found it, it's generated by ./configure (I think)
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi guys,
I'm trying to compile a PHP5 RC2 RPM, does anyone know where I can get a
SPEC file from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi,
Make sure the charset of your document matches the charset sent by the
server - If you tell the browser the charset is A, and use characters from
charset B, you will get the problem observed.
The charset can be sent from Apache, PHP and the actual charset is set in
the document.
It's a pain
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Aidan Lister ([EMAIL PROTECTED]):
How _should_ this be done? In terms of best practice.
?php
function foobar ()
{
return new SomeObject;
}
?
Or:
?php
function barfoo
I found some more information about it here:
http://bugs.php.net/bug.php?id=24687
It looks like you should assign an object to a variable before returning it.
Justin Patrin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Aidan Lister wrote:
How _should_ this be done? In terms
How _should_ this be done? In terms of best practice.
?php
function foobar ()
{
return new SomeObject;
}
?
Or:
?php
function barfoo ()
{
$tempvar = new SomeObject;
return $tempvar
}
?
Please don't reply if you really, really don't know what you are talking
about.
--
PHP General
if (cond || cond2)
OR
if (cond OR cond2)
What do you use, and why?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, you are confusing javascript (client side) with PHP (server side).
T Umashankari [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Is it possible to call php function in the onclick event ?
REgards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I don't understand the question.
One should always check the existence of something before attempting to use
it.
If (isset($var) gettype($var) == boolean) is one way of type checking.
Christian Jul Jensen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
In PHP5 the behaviour
There's a nu-fork library or something around.
There's a pear package which provides an API to this. Have a look around.
Michal Migurski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
We have a web application that forks off an external program to inject
an email in the outgoing
Why do these functions wrap at approximately 80 chars? It's stupid! How can
this be worked around?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, PHP explicity inserts br at 80chars
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Red Wingate wrote:
Aidan Lister wrote:
Why do these functions wrap at approximately 80 chars? It's stupid! How
can this be worked around?
It doesn't check the source to see
It seems they've fixed this in php5, so I can't complain.
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Why do these functions wrap at approximately 80 chars? It's stupid! How
can
this be worked around?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
a testcase to check wether PHP does or not and it doesn't
even
if i have 1080 chars in a line :p
-- red
No, PHP explicity inserts br at 80chars
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Red Wingate wrote:
Aidan Lister wrote:
Why do these functions
Ofcourse
Andrew fenn [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have two text files with two rows of data on each line sperated by a tab
for about 20 lines in each file. Would it be faster accessing this data by
putting it in a mysql table?
-
I suggest you take everyone's advice and use one of the thousand database
abstraction objects.
At the very least, look at how they are put together.
This one is an excellent example:
http://pear.php.net/package/DB
Andy B [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
makes since...
Was that from a pear install xml_rpc ?
Electroteque [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Pear does not seem to be actually in the sources for some reason
[PEAR] XML_RPC: The following errors where found (use force option to
install an
yway):
missing package name
http://pear.php.net/package/db
Monty [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am trying to use fewer resources and processes when making database
connections in my scripts, so, upon the first call to make a DB
connection,
I store the Link Resource ID in a constant variable
It's quite easy to remove access to the mail function, simply put mail in
your php.ini under disable_functions
Hernan Marino [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
sorry. lazy me.
there is auto_prepend_file in php.ini
I'll see if it works.
Thanks!
On Fri, 2 Apr 2004 03:51:18
Wait until you have installed PHP5, then use the simplexml library.
You have not showed us any code, how are we to tell you if you are doing it
the right or wrong way?
Merlin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi there,
I think I am parsing xml documents the wrong way.
Yes, you'll need to parse the output of the page.
Dave [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is it possible to retrieve dir file list from an internet server folder
from
within a php program?
In the browser, the http:// page displays Index of and a list of files.
--
PHP
Please ask a specific question, not a jumble of poor English ramblings.
plz help is a stupid, stupid subject. Post again with a more appropriate
title.
Curlybraces Technologies Ltd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
- Original Message -
From:
1 - 100 of 123 matches
Mail list logo