hi!
i have a class called DB that i include in a page as include(classes/DB.php);
however when i run this page i get an error saying
Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open
stream: No such file or directory in /home/bikkar/public_html/ajay/index.php
on line 18
Hello ajay,
Sunday, February 22, 2004, 7:57:21 PM, you wrote:
a> hi!
a> i have a class called DB that i include in a page as include(classes/DB.php);
a> however when i run this page i get an error saying
a> Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open
a> stream: No s
hi!
the code is
print_header();
printf("");
$page->print_banner();
$page->print_menu();
$db = new DB("localhost", "usydbasketball", "", "");
$query = "SELECT * FROM updates ORDER BY ID DESC";
thanks
ajay
Quoting adwinwijaya <[EMAIL PROTECTED]>:
> Hel
Hello ajay,
Sunday, February 22, 2004, 9:05:52 PM, you wrote:
a> hi!
a> the code is
a> include("classes/DB.php");
a> include("classes/PageMaker.php");
hmm... may be you need to add '/' in front of classess
try this one:
include(dirname(__FILE__)."/classes/DB.php");
hope it wil
Hi,
Currently I'm working on a search engine for a website. A mysql table on which
searching should be done was created which contains Words of website articles:
CREATE TABLE docs_words (
crc32_word int(11) NOT NULL default '0',
id_doc int(11) NOT NULL default '0');
As you can see not the r
Found on http://search.mnogo.ru/doc/msearch-howstore.html#sql-stor-crc
According to our tests there are only 250 pairs of words have the same CRC
in the list of about 1.600.000 unique words. Most of these pairs (>90%) have
at least one misspelled word.
- Original Message -
From: "Armand
Thank You for the answer and the link.
I'm not sure that I want to start OOP-ing in my php code, but I will if
necessary.
I'l tell the problem I want to solve. It also will help me to understand the
problem:
There are two (or more) different functions on my web site, that have the
same name (an
No problems.
I recommend you, to use Apache 1.3.29 + php 4.3.4 + mysql 4.0.18 + mysqlfront 3.0
-
zerof
http://www.educar.pro.br/PAGES/
"Danny Cobbinah" <[EMAIL PROTECTED]> escreveu na mensagem
ews:[EMAIL PROTECTED]
> is it better to use apache 1.3.29 or apache 2.0.48? i am having the
I don't know about running it on Windows XP, but
on RH Linux I have had much better results using
1.3.29. RH Linux 8.0 comes with 2.0.48 as the
default version but I finally downloaded and built
the 1.3.29 version (as recommended by several
here) and have had much better results.
lk
www.theNewAg
From: Vivian Steller
> i now can use the following syntax to set the namespaceUri of a node:
>
> $element = new DomElement("tagname", "value",
"http://namespaceUri";);
> // or
> $element = new DomElement("pref:tagname", "value",
"http://namespaceUri";);
> // works
Sztankó Demeter wrote:
Hello!
Is there any way to delete (unset) a function?
I want to write some function with one constantyl defined name, then call a
function_manager function, that will gice this function an unique name, than
delete the original function, so I can start the process from the b
Can safe mode be turned off in the .htaccess file?
I don't know the gallery script but setting safe_mode_include_dir should
help. Ask the admin to set it to your directory for your virtual host.
Another option would be to use ftp functions to upload the images to
your directory, but you would
php-general Digest 22 Feb 2004 16:48:17 - Issue 2605
Topics (messages 178468 through 178492):
Objects and Arrays - need help?
178468 by: John Romero
PHP Error
178469 by: Tim Trimble
178471 by: John Nichel
running php through cron
178470 by: Pablo Gosse
I want to be able to use SQLlite on my hosted (virtual) site.
SQlite will be placed in my /home/www/bin.
And need to be exicutable by Apache user or group?
Would either safe_mode_gid or safe_mode_exec_dir accomplish this?
TIA,
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On Monday 23 February 2004 00:55, [EMAIL PROTECTED] wrote:
> >>> Can safe mode be turned off in the .htaccess file?
[snip]
> According the safe-mode page http://us4.php.net/features.safe-mode in
> http.conf :
>
>php_admin_value open_basedir /docroot
> # In your case safe_mode_include_dir
>
According the safe-mode page http://us4.php.net/features.safe-mode in
http.conf :
php_admin_value open_basedir /docroot
# In your case safe_mode_include_dir
Can "php_admin_value" be inlcuding in the *.php pages and/or .htaccess.
manual > ini_set()
It would seem form the ini_set() comments
Hi,
Is it possible that some functions in different php versions (4.1 .
4.1.2 ) has problems with type castings so that the following script has
different results in different php versions?
";
if(FALSE == is_file('a'))
echo "is_file == no file";
if(FALSE === file_exists('a
I'm using file_get_contents() to open URLs. Does anyone know if there is
a way to look at the result and determine if the file is binary? I'd
like to be able to block binaries from being processed without having to
try to think of all the possible binary extensions and omit them with a
function
Greetings!!
If you define a constant within a function, is it local or global?
Example:
function foo()
{
define('BAR', 0);
}
Robin Kopetzky
Black Mesa Computers/Internet Services, LLC
--
PHP General Mailing List (http://w
Hello!
I am new both to PHP and web dev, and I am wondering what ftp software
would be best for me to use.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1. Don't hijack threads. Always start with new message if you want to
ask a question, do not reply to an existing message.
2. Do some research before posting, you already wrote almost the whole
example, so run it an see for yourself.
Robin 'Sparky' Kopetzky wrote:
Greetings!!
If you define a
WS FTP is not bad.you cand download the LE version for free here: (the last
one at the end of the page!)
http://www.ipswitch.com/downloads/index.html
-Pooya
"Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello!
>
> I am new both to PHP and web dev, and I am wonde
www.smartftp.com
-Original Message-
From: Nathan McIntyre [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 8:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] ftp software
Hello!
I am new both to PHP and web dev, and I am wondering what ftp software
would be best for me to use.
-
-Original Message-
From: electroteque [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 12:19 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] ftp software
www.smartftp.com
Isnt it funny i assumed you were using windoze ? Unfortunately i had to port
back to my XP machine which i u
Is there any functions to pad the decimals in a number? There's round()
to put it down to two decimals, but what if I want to take it up to two?
Example:
5 -> 5.00
20 -> 20.00
4.3 -> 4.30
etc.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On Sun, 2004-02-22 at 21:14, Simon Fredriksson wrote:
> Is there any functions to pad the decimals in a number? There's round()
> to put it down to two decimals, but what if I want to take it up to two?
>
> Example:
>
> 5 -> 5.00
> 20 -> 20.00
> 4.3 -> 4.30
> etc.
I assume you mean adding zeros
yeah so i'm running 4.3.0 (other versions are problematic w/Abyss
(Bwebserver)
(B
(Bi can't seem to get my include() stuff to work -anymore-
(B
(Bused to work...not anymore after all the PHP changes
(B
(Bso my root directory for the webserver is F:\webpage\webpage\
(Bwhich would be http://
I would highly recomend filezilla:
http://filezilla.sourceforge.net/
It's open source, it works great and it doesn't have any ads or spyware like
some of the other 'free' windows ftp programs.
>
> "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello!
> >
Simon Fredriksson wrote:
Is there any functions to pad the decimals in a number? There's round()
to put it down to two decimals, but what if I want to take it up to two?
Example:
5 -> 5.00
20 -> 20.00
4.3 -> 4.30
etc.
//Simon
http://www.php.net/manual/en/function.sprintf.php
http://www.php.net/
I wonder if it's possible to write the MD5 or CRC checksum of my
scriptfile to the scriptfile. I know that if I change it, the value will
change, but is there any way to calculate what it will be?
Not just displaying it for the user, but actually having it written in
the file. Could be pretty u
On Sunday 22 February 2004 08:20 pm, Simon Fredriksson wrote:
> I wonder if it's possible to write the MD5 or CRC checksum of my
> scriptfile to the scriptfile. I know that if I change it, the value will
> change, but is there any way to calculate what it will be?
What you would have to do is find
php-general Digest 23 Feb 2004 05:09:19 - Issue 2606
Topics (messages 178493 through 178510):
[SQLite] safe_mode_gid or safe_mode_exec_dir
178493 by: user.domain.invalid
Re: Safe Mode
178494 by: Jason Wong
178495 by: user.domain.invalid
type casting problem
I described a situation where MSIE for Windows would not post all of a
form's fields under fairly unique circumstances. This problem occurs in
MSIE 5, 5.5, and 6 (with the most recent hotfixes applied). No other
browsers seem to be affected. When:
1. A form is submitted with the enctype attribute
33 matches
Mail list logo