Since i see from your code, you are trying to create an object which
maintains a list (collection) of instances of another object. Is that
correct? Or you are trying to inherit a class from a parent class? Then
it's a little bit different story. If this is the case, just tell me and
I'll provi
Hey guys, you can extend a _class_ from an existing _class_ but not from
a _string_constant_ (Ex1 - MY_BASE_CLASS is evaluated to constant of
type string) neither from a _string_variable_ (Ex2 - $my_base_class_var
is a variable of type string).
To be able to use different base classes with the
es/old/
http://www.scripps.edu/~jesusmc/cachedtpl/CachedTemplate.html
http://zend.com/zend/trick/tricks-nov-2001.php
Cheers,
Boyan Nedkov
--
Pedro Pais wrote:
Hi!
I've coded in PHP for a while, but I had to leave it for some time. Now
I'm back, and I'd like to know what
This time your script is ok, the connection to the SMTP server is
established, but because the host name of the machine that executes your
php script is not a valid host name in the SMTP server's local network,
the server refuses to accept your request for security reasons (smtp
relaying blocke
the firewall is configured to block pings from outside - security reasons - so
called stealth mode
Dan Anderson wrote:
Some domain names on .net.au are not being resolved when I use
gethostbyname. I can whois them on http://whois.ausregistry.net.au/and
fine them, but they can't be pinged.
A
[snip]
... I can whois them on http://whois.ausregistry.net.au/and
fine them, but they can't be pinged.
Anybody know why this might be?
[snip]
I'm just answering your question why they can't be pinged.
You are perfectly right that 'gethostbyname($hostname) has nothing to do with
pings as a matter
Suppose we have a recordset $rs returned by query like that:
SELECT mediaID, filename, languageID
FROM yabady a
INNER JOIN yohoho b on a.ID = b.ID
ORDER BY mediaID
then to build the array you can write:
for ($i = 0; $i <= $rs->getRowCount() - 1; $i++) {
$row = $rs->getRow();
$data = array('mediaI
http://phpdocu.sourceforge.net/
http://www.callowayprints.com/phpdoc/
http://sourceforge.net/projects/phpdocu/
http://www.stack.nl/~dimitri/doxygen/
Ahbaid Gaffoor wrote:
Is there any utility that can be run against a php script to generate
documentation of the functions in that script?
Sort
try to do this here:
http://www.php.net/mailing-lists.php
[EMAIL PROTECTED] wrote:
Unsubscribe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For getting up and running php on WinXX box you need only:
LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll
AddType application/x-httpd-php .php
To avoid the problem with removing 'mod_php4.c' try to find
'ClearModuleList' directive in httpd.conf and comment it, then restart
the server onc
One possible solution could be to write a simple class that will hold
all data you need at one single place:
class MyData {
var $_resultArray;
var $_rows;
var $_fields;
function MyData($resultArray, $rows, $fields) {
$this->data = $data;
$this->rowcounr = $rowcount;
$this->fil
[snip]
> ... Someone also suggested I use
> a new class. Sounds like a good idea, but might be overkill
> for what I'm doing.
[/snip]
.. if you spend some time moving closer to the object oriented
approach (php classes in this case) you may find that the development
could be much more clear and e
sure, no point to discuss that issue here
--
Robert Cummings wrote:
On Wed, 2003-11-05 at 21:22, Andre Volmensky wrote:
[snip]
.. if you spend some time moving closer to the object oriented approach
(php classes in this case) you may find that the development could be
much more clear and easy
[snip]
> ... Short of any severe bugs in PHP's core, there is no way for a
> user of your Web application to modify session data ...
[/snip]
It seems that statement is not completely correct considering the topic
discussed in the paper 'Session Fixation Vulnerability in Web-based
Applications'
Yes, you are right, it was my misunderstanding, sorry guys.
Anyway, hope that posting was useful concerning the subject
of the discussion.
Boyan
--
CPT John W. Holmes wrote:
From: "Boyan Nedkov" <[EMAIL PROTECTED]>
[snip]
> ... Short of any severe bugs in PHP's cor
Dimitri Marshall wrote:
Hi there,
Here's my situation:
I'm making a message board and I've decided the best way to go about the
structure is to have 3 tables, two of them will be "Posts" and "Replys".
Now, in order for this ti work, each post has to have a UniqueID - same with
the replys. Looking a
Rolf Brusletto wrote:
Mark wrote:
Sorry guys, I have tried all the suggestions so far with no luck.
Regards,
Mark
Mark - After the mysql_query($query); line add the following line
echo mysql_error();
run the script and try to add something again, if there is an error, it
will tell yo
Robert Ian Smit wrote:
I am trying to implement a generic form handler that is capable of
printing the form and checking the user input.
I want this application to be useful in the end, but I also use it
to explore OOP in PHP.
..
I'd like the zipcode object to ask a question to find
Jen wrote:
Hi there. New to the PHP space here and I'm trying to set things up. (if
I'm on the wrong newsgroup, please let me know...)
I've got Apache 1.3.27 running and I have downloaded PHP 4.3.4 on my
computer. Next, I created a test.php file which contains:
phpinfo();
?>
That's it - re
[EMAIL PROTECTED] wrote:
Hi there i am having problems using a functions from a base class in a sub
class. I am using a perticular function from the base class which is
private in a public function in the sub class which is checking for a
variable which is set in a function in the base class. Anyw
module list
thanks for any help. bye.
I answered your question few days ago but didn't hear any reaction, so I'm
reposting the same text with hope this time it will be more useful
Cheers,
Boyan
--
Original Message
Subject: Re: [PHP] Apache1.3.28 vs PHP4.3.3
Date: Thu, 06
Ryan, Pavel,
Pavel Jartsev wrote:
Ryan A wrote:
...
>
class ads_DB extends DB_Sql {
var $Host = $MR_Host;
var $Database = $MR_Database;
var $User = $MR_User;
var $Password = $MR_Password;
}
>
I think, Your problem is here. If i remember correctly, then PHP4
doesn't allow to
Frank Keessen wrote:
Hi Guys,
Sorry to trouble you on a saturday night (at least in The Netherlands...)..
Get a parse error on line 42, but i can't see what is causing the trouble. (Parse error: parse error in /home/.sites/95/site92/web/admin/editreis.php on line 42)
if(is_array($_POST['accomoda
Try something like that:
";
echo "width="; echo $size; echo ";";
echo "";
?>
Cheers, boyan
--
Boyan Nedkov
[EMAIL PROTECTED]
> -Original Message-
> From: burak delice [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 27, 2002 11:59 PM
24 matches
Mail list logo