[EMAIL PROTECTED] wrote:
On W3K you could use this as the run line in
Scheduled Tasks and probably the same in XP
although I have not tested this. The same
components exist in the W2K version although
may be in different locations/names.
Run: cmd /c c:\php\php.exe -q
joe Lovick wrote:
Thanks for your help Jason, yes aggregating methods was what i had in mind,
but now as i explore it as a option i realise that it would work best is if
their was a way for me to pull my object out of the database variables,
data,
This is certainly do-able. You serialize()
Zac Barton wrote:
Hi,
Does anyone have any good ideas of how to find out what extension was
loaded/enabled from what actual file.
For example the ming extension (thats its internal name) could come from
php_ming.dll in my extensions dir. But if the file name is say mingFlash.dll
how
Gerard Samuel wrote:
...
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
...
What Im looking for is something where the generated hashes can
be reproduced.
For example, md5('foo') today, will be equal to md5('foo') tomorrow.
Thanks
AFAIK crc32() is the fastest
Rowan Hick wrote:
...
Has anyone out there seen weird problems like this before ?
Many Thanks,
Rowan
The other suggestions are good. If they don't pan out, check to see if
you use the function strtotime(). It has been buggy in a few versions
of PHP and may not be acting properly in your
Juan Antonio Garrido wrote:
Hi everybody:
Does it exists someone library I can print html files to pdf without it loss
information about my property css classes(background,color,width...)?
With GPL library HTML_To_PDF3.3 it isn't possible...
If the library is GPL much better.
Thank
Mike Smith wrote:
...
TopMeasurment+1.6875+OutOfPlumbWall
...
static). Other formulas have 10 and 12 variables in them. How have
others gone about storing formulas that require such modifications?
TIA,
Mike Smith
If I was programming this I would probably create 16 functions for
Burhan Khalid wrote:
...
David:
You should really post this at the mhash manual entry in php.net. I'm
sure others would find it useful. Good find :)
Cheers,
Burhan
[ snippity snip snip ]
Agreed! I found it very, very useful.
--
Teach a man to fish...
NEW? |
William Stokes wrote:
Hello,
I need to create solution for user authentication/recognition in my web
page. I think it would be a good idea to use mysql database for storing the
user info because the user info is later used to determine what parts of
site the recognized user is allowed to update.
Richard Lynch wrote:
...
http://www.schneier.com/blog/archives/2005/02/sha1_broken.html
Before we get a hundred posts about SHA-1 being broken would eveyrbody
please read:
http://nuglops.com/blog/index.php?p=1021
and maybe *ALL* the contributions way down at the bottom of the original
post link?
joe Lovick wrote:
Hi,
forgive me if this is a complete noob question
What i want to do is create an object at runtime with members and
methods based on the result of queries from my db back end. is this (a)
Creating an object based on the result of a query shouldn't be a
problem.
Jad Madi wrote:
as I said, we are willing to have our product open source, but No
free. and that fair enough, thats why I'm asking about a good method
to protect our products from being used illegaly and keeping it open
source
It's a tough balancing act. Encoding / closing the source with one of
Mikael Andersson wrote:
Hi,
I've a case where I have to run a lots of php-scrips, in a short time, from
inside a delphi-application. Every script connects to the same databas.
Today I use CreateProcess to start php.exe and then I'm using pipes to get
the php-result. I'm doing this for each
Scott Fletcher wrote:
I created the token via Javascript where the billing can be controlled
better and to prevent the mixed up of the billing such as incorrect
statements or calculation. I use the billing lock file for that purpose. I
found that it doesn't alway work that way when the browser
Brian Dunning wrote:
Is there any way to specify a timeout on a file_get_contents()? I'm
trying to verify a URL but I don't want to spend more than a few seconds
on it.
- Brian
Note that using file_get_contents to do this is only going to work if
your php.ini has allow_url_fopen = 1. Actually I
serial number of some
sort but I don't see how.
Scott
Jason Barnett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://www.php.net/manual/en
Scott Fletcher wrote:
Never heard of the uniqid() before and looked it up on the php.net. It look
very promising. I can do that. That leave me with 2 questions. How do I
do (or how does it work) this with a token if
1) The webpage is submitted (goes from page 1 to page 2) with the uniqid().
2)
Shaun wrote:
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
?php
header('Content-type: text/csv');
header('Content-Disposition: attachment; filename=download.csv');
/** Now you perform the MySQL query, DECODE the information and echo it
to the screen.
Rgl wrote:
Question:
Has anybody else noticed session-only cookies not disappearing when using
Firefox? Is this a Firefox bug (should they be notified/ or I get latest
Firefox) ?
grinThey finally released 1.0, and yet you still use 0.8?/grin I
use Firefox quite regularly, but I don't experience
Darren Kirby wrote:
Hello all,
On the main page of my website I have written a very simple comments feature
that allows people to leave a message under my posts, much like a blog. I
have purposely kept this very simple...
On the main page I have simple text links that someone can click on if they
[EMAIL PROTECTED] wrote:
Can anyone show me how to call a function when submit is pressed or a form
is submitted.
When submit is pressed... as in instantly / on the web browser's side?
You need Javascript for that; PHP simply won't do that.
Or did you mean when a form gets posted to the server?
Tim Burgan wrote:
Hello,
How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that
are able to do this? (And where I can find them?)
Thanks
Tim
Please give the list longer than an hour to respond to your request
Jacques wrote:
I would like to indicate the particulars (from a MySQL database) of all
those users that are currently on-line (those whom have successfully signed
in). How should I go about achieving this? Does it have something to do with
Sessions?
Jacques: the best solutions that I have seen
Dave Bosky wrote:
I'm looking for an easy to read PHP book that will help me learn a solid
foundation in PHP.
I'm already familiar with the language but want to make sure I'm coding in
the most efficient manner.
What's a few of the better books out there?
HTC Disclaimer: The information
Chris W. Parker wrote:
Alex Gemmell mailto:[EMAIL PROTECTED]
on Monday, February 14, 2005 7:24 AM said:
Hello!
Hi!
Bonjour!
# Code:
beingfunnynotmean!Do you also have a label on your computer that says
Computer?/beingfunnynotmean!
No, but I do have a label that says My
Tim Burgan wrote:
Jason Barnett wrote:
Please give the list longer than an hour to respond to your request ;)
Thanks for the suggestion.. I've just given the list 6 hours at the moment.
Why do you say this?
Tim
Only because I saw your message listed twice... and there was only 50
minutes
PROTECTED]
To: php php-windows@lists.php.net, Jason Barnett
[EMAIL PROTECTED]
References: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Thanks Jason ! It'll be great if you could also tell me whether I can
launch applications like MS WORD using COM or any other technology.
Basically I want the user sitting
Ben Edwards wrote:
...
What exactly is a simble table?
Ben
The symbol table is the where, deep down inside the guts of the Zend
Engine, your variables are stored. There are symbol tables for
different scopes (function, class, global)
--
Teach a man to fish...
NEW? |
Richard Lynch wrote:
Steve Kaufman wrote:
Why does
quotemeta(pat:1$WRW)
return
pat:1
instead of
pat:1\$WRW
What am I misunderstanding about quotemeta function?
You usually would use quotemeta on data coming from the database, or the
user, or externally, or, errr,
Al wrote:
...
But, but, it doesn't work when my script is started from a cronjob, only
from a remote browser.
Any suggestions?
Thanks.
cURL extension:
http://www.php.net/manual/en/ref.curl.php
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
[EMAIL PROTECTED] wrote:
One more thing marketing person use Windows and he will probably use Winzip.
Is this still ok, or it's better to use some other application?
First of all I would suggest using 7zip on Windows. Its usage is 100%
free (you can of course donate to the project if you feel it
Jochem Maas wrote:
...
A better example code would be:
$string =
'period.backslash\\plus+star*question?lbracket[rbracket]carat^lparen(rparen)dollar$';
echo PRE, quotemeta($string), /PRE;
Interesting aside... with the test string above, I noticed that
backslash\\ only resolved to two backslashes.
Bob.
Copyright Jason Barnett and the NFL.
Unauthorized re-broadcast is a violation of Federal Law.
:-)
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://www.php.net/manual/en/index.php
STFW | http
Gh wrote:
Question. Does the Tabs and Divs work under Mozilla Based Browsers?
Generally speaking... if it's a part of a standard / RFC then it will be
supported by Mozilla. If not, then probably not.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Gerard Samuel wrote:
...
?php
$array = array(0 = array('world'));
class RecursiveArrayIterator extends ArrayIterator implements
RecursiveIterator
{
function hasChildren()
{
return (is_array($this-current()));
}
function getChildren()
{
return new self($this-current());
Mirco Blitz wrote:
Thank you for that huge code. I will try.
Greetings
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Matt M. [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 9. Februar 2005 22:39
An: Mirco Blitz
Cc: php-general@lists.php.net
Betreff: Re: [PHP] Parsing pdf file
did you try this?
Since you didn't post how you created the array, I went ahead and (ugh!)
did it myself. This works fine.
?php
$elementsarr = Array ('knr', 'subject', 'title', 'kat', 'pages',
'access', 'dofile', MAX_FILE_SIZE, 'pdf', 'dolink', 'link', 'erstam',
'endless', 'from', 'until', 'openbem', 'history',
Adi Pramadi wrote:
Dear Friends,
I'm new in PHP programing, and i need a way to add date in php.
here is the sample
If today is 29/01/2005 (dd/mm/yy)
and i need to make an apointment for another 10 days
the date recorded sould be 08/02/2005 and not 39/01/2005
is there a way to do it in just like
Sagar C Nannapaneni wrote:
I'm calling a php script with img tag
for ex: img src=http://localhost/test.php?img=asfd;
and the test.php is as follows...
test.php
?
some server side validations
readfile(abcd.gif);
?
---
Theres no
Brian Dunning wrote:
It's FAR less dangerous to implement
what you are suggesting than it is to simply pay for your dinner with a
credit card.
I agree with this. There is way too much paranoia about credit cards
online. 99% of stolen credit card numbers are acquired by phishing and
It depends
Ben Edwards wrote:
...
So something like
function_exists( cal_days_in_month() )
http://www.php.net/manual/en/function.function-exists.php
And to check if a specific extension is enabled:
http://www.php.net/manual/en/function.extension-loaded.php
--
Teach a man to fish...
NEW? |
Vivian Steller wrote:
...
Thanks for metioning this issue! This is another point where I think OO is
done the half way in PHP:
Why do we need some implicit type check, like
public method(Type $type)
if we then loose the optional parameter advantage?
I don't know *the* answer. So far as I
Yotam Ofek wrote:
I would like to create an object like this:
?php
class TestClass {
private $some_array;
public $just;
public $some;
public $public;
public $vars;
}
?
Is it possible, through SPL, to make the class accessible as
$testclass['array_key'], which will return the
Robin Vickery wrote:
On Mon, 31 Jan 2005 18:37:15 +0800, Wudi [EMAIL PROTECTED] wrote:
Can PHP attain autoflush?
(See attachments.)
Yes PHP can be set to automatically flush - see
http://de.php.net/outcontrol#ini.implicit-flush
No, we can't see attachments.
-robin
And don't even bother
Stoian Ivanov wrote:
Richard Lynch wrote:
Stoian Ivanov wrote:
I'm writing a wap download script involving dynamic image resizing and so
on. I've notice that some phones are quitting in the mids of http
transfer.
After looking further I found out that headers() is sometimes ignored or
stripped.
Chris wrote:
Hi,
Are there any places that might have instructions on compiling PECL
extensions on Windows? I tried going the pear install package route,
but fileinfo is not considered stable yet.
Chris
Trying a PEAR or PECL list might do you more good. That being said...
are you trying to
Jochem Maas wrote:
I had a parrot idea whilst writing this.. (see bottom)
...
---
ParrotTalk: I think that this topic of string interpolation/quotes
deserves 'parrot' attention which made me think that maybe the parrot
could parse for markers (that if added to an email by an autorized poster)
Tim Burgan wrote:
Hello,
Is there any way that I can do some image manipulation - resizing -
without the GD libraries?
I've always used the GD library and it's the only way that I'm aware of
to do resizing. Unless of course you're willing to do all the resizing
manually and just upload the new
Tom Rawson wrote:
I have many places where I use references like this:
if ($fields['flags']['someflag']) ...
or perhaps
if ($_POST['checkboxfieldname']) ...
if (isset($_POST['checkboxfieldname'])) {
/** do stuff */
}
--
Teach a man to fish...
NEW? |
T.J. Mahaffey wrote:
First time post, please be gentle.
I'd like to be able to extract search strings from referer urls that come from
search engines. (via php,
of course) For example, http://www.google.com/search?q=foo+barie=UTF-8oe=UTF-8
Now, I realize one might employ grep to pull out this
[EMAIL PROTECTED] wrote:
On 26 Jan 2005 Jennifer Goodie wrote:
if (isset($fields['flags']['someflag']) $fields['flags']['someflag'])
if (isset($_POST['checkboxfieldname']) $_POST['checkboxfieldname'])
The short-circuits, so the second part of the conditional only
gets evaluated if the first
Great list Jay. The only other thing that I would add is this:
The people on this list are not your paid support specialists that
*have* to answer you on your slightest whim. Most of this netiquette
is covered by http://www.catb.org/~esr/faqs/smart-questions.html, but
basically if you make it
Jay Blanchard wrote:
[snip]
JB It used to be, but it seems that it hasn't been posted in a while.
So I
JB retrieved it and posted it. I was thinking about setting up a cron
to
JB post it every other day or so.
I think once a week would be more than enough. You have to actually
hope the newbies
Jay Blanchard wrote:
[snip]
although.. .just having a sense humor here... i think every topic has
been covered a number of times... which means no one should be posting
questions at the php list... cause they are all in the archive :0)
[/snip]
Maybe...except for PHP5 :) !
That and XML / SOAP.
Jay Blanchard wrote:
[snip]
stuff...
[/snip]
This is interesting, I set up the mail line for the CRON to read
mail(php-general@lists.php.net, [NEWBIE GUIDE] - For benefit of new
list members, $msg, From: [EMAIL PROTECTED] . Reply-To:
[EMAIL PROTECTED] . X-Mailer: PHP/ . phpversion());
And the
Jay Blanchard wrote:
[snip]
Is it only me, or are the number of posts about posts now out-numbering
the number of 'real' posts?... :-^
[/snip]
I cannot be sure, so we must need a poll. And is a post about posts not
really real or does it have some sort of existential non-sameness?
We could always
Richard Lynch wrote:
Oh and by the way, whenever I'm creating the skeleton of a new class I
will usually insert the following code snippet into the functions to let
me know I have to come back and actually implement it later.
if ($class = __CLASS__) {
trigger_error(__CLASS__ . '::' .
[EMAIL PROTECTED] wrote:
Hey,
I need a particular type log in script. I'm not sure how to do it or
where I could find a tutorial that would help me, so I'll describe what I need
and then maybe someone could tell me what kind of script I need (sessions or
whatever) and where I could get
Matt Babineau wrote:
Ahh so the regex gods are pissed at me. This is simple (I think), but I need
to figure out how to strip out everything in a string that is not a number.
Any takers?
?php
$text = '[EMAIL PROTECTED]/.msg2g21vdbb 5g2g25g9 2 02025';
echo preg_replace('/[^0-9]/', '', $text);
?
Bruce Douglas wrote:
no..
he didn't.
Yes he did... he just used calculus to do it. I'm not going to give a
full calculus lesson here (you can google for that), but basically the
limit of 0.999 (repeating) as you go towards *infinity* decimal
places is 1
8.0 = 8.0
7. (repeating) =
Richard Lynch wrote:
Jochem Maas wrote:
Bruce Douglas wrote:
so...
you're saying that 7.9 (repeating) is equal to 8.0
i say prove it.. as i recall the numbers might be for all practical
purposes the same, they are in fact vastly different...
so, prove your assertion...
he did.
you have to
Jochem Maas wrote:
Bruce Douglas wrote:
so...
you're saying that 7.9 (repeating) is equal to 8.0
i say prove it.. as i recall the numbers might be for all practical
purposes the same, they are in fact vastly different...
so, prove your assertion...
he did.
you have to consider the two
Richard Lynch wrote:
...
Now, perhaps, an INTERESTING project for some of us to work on would be
that system:
Spec:
Robot subscriber to PHP-General.
Reads all incoming messages.
Discards anything that looks like a 'Reply:' including:
Has 'Re: ' or 'Fwd: in subject
Has Message ID in-reply-to
Jochem Maas wrote:
Jay Blanchard wrote:
...
Jay, great list BTW - I was thinking maybe we could drop it on a site/wiki
or something which could also contain stuff that comes up again and again,
or stuff that even the 6month y/o newbie finds trivial or just good stuff
thats been condensed from the
Tony Di Croce wrote:
Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?
I'm seeing a pg_connect() error... FATAL: no pg_hba.conf entry for
host 192.168.1.100
Any ideas?
The easiest way to get PG up and running on a Windows system is cygwin.
Matthew Weier O'Phinney wrote:
* Phillip S. Baker [EMAIL PROTECTED]:
...
The object *instance* only gets to access the overridden method (assuming
it's an instance of the child class):
$instance-someMethod();
This is 100% correct, but just to clarify: it is possible to do
something like this:
Tim Burgan wrote:
Hello,
I've just tried using heredocs [1] for the first time, but I am
receiving parse errors always on the very last line of my document.
The error is caused by my heredocs. Am I using it correctly? When I
replaced the heredoc with a string.. everything worked again.
Here's my
Mikey wrote:
Hi again - thought it best to keep the two topics separately...
I have just leased a virtual hosting package and want to provide GPRS
access to my email server using WML.
disclaimerI have never built a site that served WML, but I know a
small bit about it/disclaimer
Now I have a
Mikey wrote:
This link will probably help you out:
http://www.hawhaw.de/faq.htm
Lovely jubbly! That is all I need now.
I just got through with talking to Virgin (phone company) and they have told
me that they have been having problems with their GPRS gateway over the past
few days, and having
Marek wrote:
Hello
I'm trying to create a public static array within a class.(PHP5).
First - the following fails:
class yadayada {
public static $tester[0]=something;
public static $tester[1]=something 1;
Second - However the following works:
class yadayada {
Brent Baisley wrote:
You're absolutely correct. I was debating on whether to get into
inheritance and overloading. I just settled on what PEAR tends to use
rather than go into more detail.
Are you referring to the PEAR::isError (and similar function calls) that
you see all over the place in
Dustin Krysak wrote:
Hi there, I am pretty new to writing classes (and pretty new to PHP
itself), but I was wondering what was the best format for constructing
There are a few general patterns that show up time after time. They
happen so often that there are formal names for them. This isn't
Ben Edwards wrote:
On Thu, 20 Jan 2005 09:37:37 -0500, Jason Barnett
[EMAIL PROTECTED] wrote:
Dustin Krysak wrote:
Hi there, I am pretty new to writing classes (and pretty new to PHP
itself), but I was wondering what was the best format for constructing
There are a few general patterns that show
[UPDATE 1-20-2005]
Im making a minor additional note, just in case it comes up again.
From the lack of responses I got on this, I thought I may have missed
the point from your responses.
But I've found some information that may or may not be correct.
Speculation -
The SPL exceptions that I
Ben Edwards wrote:
...
http://phppatterns.com/index.php/article/archive/1/
Cool, thats the type of thing. Why don't you have a link at the top
with something like 'patterns directory' or alternativly have a 'about
us' link with the stuff at phppatterns and use phppatterns for the
paterns
Richard Lynch wrote:
Jason Barnett wrote:
Think of declaration of properties and methods as a contract. When
something is public it is available to all of PHP. When it is private
it is only usable by the class that you define it in. When it is
protected it is a hybrid; it is usable to the class
Sephiroth wrote:
Hi all,
How to access remote files with php?
For ex:
$sFile = http://www.php.net/123.txt;;
if (file_exists($sFile)) {
$hFile = fopen($sFile);
...
fclose($hFile);
}
Regards,
Sephiroth
You can use the file functions with URLs so long as you have
allow_url_fopen set to TRUE in
Dominic Schanen wrote:
I changed the scheduled task to use php.exe instead of php-win.exe and
that cleared up the errors with unloading the profile that were
appearing in the application log. Could this possibly be a bug with
php-win.exe and not cleaning up properly?
Thanks,
Dominic
Honestly,
Jeremiah Johnson wrote:
Hi All,
I'm wondering if anyone is planning on attending PHP Tropics
(www.phparch.com/tropics), and if so whether anyone would be
interested in splitting a room with a non-smoker.
Thanks,
Jeremiah
I feel really, really nerdy saying this but... I think this sounds like
a
Richard Lynch wrote:
Dominic Schanen wrote:
I've written several command line scripts to run as scheduled tasks on a
Windows 2000 Server machine. They run fine, no problems. However, the
application log is filling up with errors stating that windows was
unable to unload my registry profile. I know
Richard Lynch wrote:
Dominic Schanen wrote:
I changed the scheduled task to use php.exe instead of php-win.exe and
that cleared up the errors with unloading the profile that were
appearing in the application log. Could this possibly be a bug with
php-win.exe and not cleaning up properly?
I think
Valter Toffolo wrote:
ok i have one server with a single domain, each user have it's home
with a public_html so i get mydomain.com/~user1/ and
mydomain.com/~user2/ and so on. but each user might like to use
sessions so how can i make it work so that sessions would have each
one it's own variables
Rob Adams wrote:
Ok - Let me restate some of this:
I am creating these images in PHP. I have a script right now that accepts
two images. A main one, and the one that will be hidden. These can be
either jpg, gif, or png. It then outputs a png image like this:
http://imagineinc.net/images/
By
Gerard Samuel wrote:
Im currently using php 5.0.3 on a dev box,
trying to figure out how to correctly use
exceptions in my code.
Exceptions can be A Good Thing.
Per chance, I was monitoring the __autoload() function,
and Im noticing that calls are being made to
exception classes that I've setup.
Juan Antonio Garrido wrote:
Hi everybody:
I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining the
complete route of a file in my web server, but inserts a white space to
final char and i need remove it. I use the trim function but it continue
there. How can i remove it?
Gerard Samuel wrote:
Jason Barnett wrote:
Gerard Samuel wrote:
I've debugged it down to this -
//try
//{
$db-connect();
//}
//catch(databaseException $e)
//{
//throw $e;
//}
The ::connect() method is supposed to throw a databaseException if a
connection cannot be made.
In my tests
Shawn McKenzie wrote:
Thanks, but I'm not running Windows, I'm running just MS-DOS from a
bootable floppy. Hence my question :-)
PHP seems to actually be the php5ts.dll. Would there be binaries for
MS-DOS or is there a way to get this working?
Thanks!
-Shawn
You darn trickster... don't tell
Bennie Foreman wrote:
Hi,
I am new to the PHP world so don't give me too much grief if this has a
simple solution. My problem is that the $_POST array is not being
populated. I have created a form and the method of that form is POST. I
have started the session using session_start() but still
Jochem Maas wrote:
Jason Barnett wrote:
Gerard Samuel wrote:
I haven't checked the source on this one so I can't guarantee that
what I've said above is true, but I believe it to be true. Someone
correct me if I'm wrong (wouldn't be the first time ;)
seems to me like you 'on the money'.
I
Shawn McKenzie wrote:
I have not been successful with running PHP under DOS (no windows). Is
this possible?
TIA,
Shawn
For windows specific questions you are usually better off asking on the
php-windows list.
Yes this is possible. What is probably happening is your PHP script is
executing
Greg Donald wrote:
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
[EMAIL PROTECTED] wrote:
Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
Greg is right. Also it's
M. Sokolewicz wrote:
Kioto wrote:
Hi all and sorry for my ignorance.
I have used the Bcompiler to compiler a script into .exe file to
distribuited on Windows System but i don't have any result.
Can you explain how to realize with a simple example ?
not. PHP scripts don't need to be compiled.
M. Sokolewicz wrote:
Justin French wrote:
Hi all,
Pretty sure this can't be done, but thought I'd ask any way...
I have a function where the 3rd argument is an array..
function foo($a,$b,$c) {
echo $a.$b;
print_r($c);
}
Obviously the function does more than that, but anyway, I want the
Warning: session_start():
open(C:\WINDOWS\TEMP\\sess_8c53cb2382f75076c51ed4b3edece36b, O_RDWR)
Search the archives... seriously... guaranteed you will find the answer
to this.
--
Teach a person to fish...
Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual:
By tunnelling the call through Porsche's own drive() method
debug_backtrace() will contain two traces, one of them with the correct
class name.
I tried using reflection but reflecting car by using __CLASS__ doesn't
give any information about the classes that extend it. So this doesn't work
either.
Tom wrote:
Hi
I'm batting my head against a wall on this one...
I have a class that has a constructor which sets some initial
conditions, and then a public function that does some work. I want to be
able to call this function from an external array_walk call, but when I
try and reference it as
Ranjan K. Baisak wrote:
This might be a very generic question.
I am in a process of migrating my java based RPC
server to PHP. Luckily with the help of the list I
could able to make sure that all rpc and xml related
function are getting excuted in Apache server. I am
using Apache2 in WInXP.
But
indeed that page does not make it very clear,
it's the generic call_back syntax, which can be used practically
everywhere a callback function is expected, the array you pass can be in
the form of:
array($object, 'methodname')
or
array('classname', 'methodname')
the second version allows you to
Tim Burgan wrote:
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
sacred_cow_warningPlease do not flame me here, different strokes for
different folks!/sacred_cow_warning
If you're entirely new to coding in PHP ...
function encrypt( $string )
{
$key = '[EMAIL PROTECTED]';
No offense intended to you sir... but why do you use a static key in
this way instead of using mcrypt? Please forgive my naivete regarding
encryption.
$result = '';
for( $i = 1; $i = strlen( $string );
301 - 400 of 676 matches
Mail list logo