hello list,
My php script works fine with local mysql database.
however when try to use some remote database it fails and gives follwing
error ..
Warning: mysql_connect(): Unknown MySQL Server Host 'http' (2) in
/usr/local/apache2/htdocs/gowtham/forphp/db_qry_4repeat.php on line 86
the mysql_con
Just for the record, (and archives), This can be accomplished by:
dirname( __FILE__);
This allowes me to put the following into an application's config file,
to be included via the prepend, the following localized, global values:
(assuming the application's files are kept OUT of the document root
Red Wingate wrote:
Allmost, after having a quick look at the source i tell you they
do it like that:
... loading stuff here ...
. page loading here
done?
JS: document.getElementByid('loading').display='none';
take a look for yourself :-)
The idea is great IMHO. But what if someone ha
Hi :)
I am on my second week of php so be gentle
I am creating an XML file out of a mysql query with nested arrays.
Currently I can get 1 element and 1 child with a properly formatted XML
file with the below script .
My question is: How do I add 3 to 4 more child elements to the below
'playlis
Try var_dump($GrandChildClass) or print_r($GrandChildClass) everytime
you need to inspect variable content. Not echo...
PS: Hi there Vietnamese guy, same here ;)
Chris wrote:
Because /$GrandChildClass;/ Is an object. So when you go to echo it, PHP
tries to convert it to a string.
Pham Cong Dinh
Because /$GrandChildClass;/ Is an object. So when you go to echo it, PHP
tries to convert it to a string.
Pham Cong Dinh wrote:
Hi all,
I tested Chris's code:
class *ParentClass*
{
function __construct()
{
echo 'ParentClass::__construct()',"\r\n";
}
}
class *ChildClass *extends P
Well, when you instantiate Class4 PHP will check for it's constructor.
If it has one, it will call it. If not it will check Class3, then
Class2, then Class1.
Once it finds a constructor, it stops looking for more, but if you want
it to resume checking the the parents for constructors you must c
"Maldiv" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I want to make a password protected download possibility on my site. I
know
> how can I handle normal user login, but how can I protect a download from
> guests?
> I mean if user navigate to www.demo.com/mydownload.zi
Luca Spiller wrote:
I am having a few problems compiling PHP 5 RC 3. I am following the
tutorial at http://uk.php.net/install.apache2 and everything works up
until I start to compile PHP. It all seems to work fine but then when
running make at the end I get:
ln: creating hard link 'libxml.o' to 'li
Maldiv wrote:
Hello,
hi
I want to make a password protected download possibility on my site. I know
how can I handle normal user login, but how can I protect a download from
guests?
This question has been often asked in the past, the archives are rich
with solutions. One solution is NOT to c
Hello,
I want to make a password protected download possibility on my site. I know
how can I handle normal user login, but how can I protect a download from
guests?
I mean if user navigate to www.demo.com/mydownload.zip than he can download
the file without login. How can I prevent this downloads?
Hi James,
"James Harrell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
[...]
> If you want to forcefully remove this PHPSESSION (which is sometimes
> a good idea since search engine spiders will catalog the links with
> the session id if you don't remove it), try this:
>
> i
Hei,
Regarding the jpg compression, we did some testing along with our customers
press buereu's (I think thats the name, the ones that do all the prints and
designs the logoes and such). Here we did som testing on the images
and the quality.
What we experienced was that if we converted the images
Yeah you understood me, thanks god :D but not fully :(
But the problem is right in your code (sorry :D)
What if I create an instance of ChildClass, its constructor won't be
called (since it commented out), but if I un-comment its constructor, it
will be called even if I create an instance of Gran
FrzzMan wrote:
Hi guys, hey don't laugh at the subject, in fact I don't what to call
it, so let's call it super constructor :D
Let's see following code...
class Base
{
__construct()
{
// Do something
}
}
class One extends Base
{
__construct()
{
// Do nothing
Chris Shiflett wrote:
--- Steve Douville <[EMAIL PROTECTED]> wrote:
I do like CF's ability to just name data sources on the server and
reference them that way.
You won't be able to reproduce the "cfadmin" stuff with PHP, simply
because PHP isn't a persistent process, but I think great strides will
I am having a few problems compiling PHP 5 RC 3. I am following the
tutorial at http://uk.php.net/install.apache2 and everything works up
until I start to compile PHP. It all seems to work fine but then when
running make at the end I get:
ln: creating hard link 'libxml.o' to 'libxml.lo': Operation
On Jun 12, 2004, at 4:36 PM, Kim Steinhaug wrote:
well, there are formats that have impressed me. The Mpg-4 format
which requires plugins all over the place is really amazing, from
e-vue.
They also provide a plugin atleast for IE to browse the images.
I dont know if you can compress images outsid
18 matches
Mail list logo