I have my reason, and yes you are absolutely right, one reason tinyweb is
small and does what I need and does it well, and this setup is for a small 2
pc internal network. Anyway, it works fine with perl and java stuff etc.
I have tried to set the required tinyweb env and associate .php with p
I the Sears Christmas catologe is out, Im going to make a christmas wish
too.
I wish I could just do this
function test()
{
somefunc(func_get_args(), 'one more arg');
}
but I cant, I have todo this, ouch
function test()
{
$args = func_get_args();
eval("somefunc( '". implode("', '",
when I use parrent::function() to use parent class function from the child
(extended one) I get
Undefined class name 'parent'
What I'm I doing wrong
kind regards
Jeroen Olthof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
I thought I had good web hosting, but I don't. They're often very slow and
frequently (I'd say at least an hour every day) my site is inaccessable.
Today I've barely been able to get on it at all.
So I'm moving.
I'm in the UK. Is it stupid for me to go with a US hoster? And either way
who do
I recently moved all of my domains to www.prohosters.com and have been
nothing but pleased with them.
They offer unlimited (within reason):
space (their plans list disk quotas but they will be the first to tell
you that they ignore them)
pop3 accounts
MySQL Databases
Domain Names.
If anyone knows of such a setup in the US that achieves that cost with that
amount of space, I too would be interested.
But, short of that, at least one solution is Hurricane Electric. They have
a variety of "self serve" web plans, ranging from $10/month on up. It
includes PHP and MySQL, runs o
Greetings, Seb.
I've had good luck with csoft.net in Canada. Plenty of space, extremely
good uptime though they've had a few outages, but mostly due to problems
out of their control, ie. upstream provider.
They meet all of your requirements and quite a bit more.
hth
Happy Programming!
Chris M
Seb,
If you don't mind Canadian... we use http://www.nl2k.ab.ca/ for both our
business and for a number of our customer sites.
Go to http://www.nl2k.ab.ca/services/website_hosting.html for pricing and
details. They are a smaller company, but their downtime is very minimal (I
can't recall any
Hello,
You may want to check out connecticut-web.com
I use their $36/year plan for several domains. They are
always up and running.
They provide mysql+php support.
--- Jason Bell <[EMAIL PROTECTED]> wrote:
> I recently moved all of my domains to www.prohosters.com
> and have been
> nothing but p
: Some people's REMOTE_ADDR changes every time they make a web request...
:
: For example a ISP i use, uses a array of invisible proxys, that change my
IP
: on each request..
Thanks for the advice. That would have been rather embarassing if people
couldn't login! Then is just the session id sec
Hi Again,
Maybe you are using "parrent" instead of "parent" (one 'R')? If it is
not that no clue? It works perfect for me. Have you tried chapter 13 of
the manual?
Sean C. McCarthy
SCI, S.L. (www.sci-spain.com)
Jeroen Olthof wrote:
>
> when I use parrent::function() to use pare
You wrote:
> ($var1, $var2) is magic. I hate magic.
It's not magic. It's just simpler.
> What do you look up in the Perl
> manual when you hit syntax like that?
http://www.perldoc.com/perl5.6/pod/perldata.html
> In PHP the equivalent syntax is:
>
> list($var1, $var2) = ...
Which is longer,
> You wrote:
> > ($var1, $var2) is magic. I hate magic.
>
> It's not magic. It's just simpler.
>
> > What do you look up in the Perl
> > manual when you hit syntax like that?
>
> http://www.perldoc.com/perl5.6/pod/perldata.html
I said "what" not "where". I still maintain that if you don't know
>I use list context a lot in PHP and Perl, and I prefer Perl's way of
>doing it *because* it allows you to be as verbose or terse as you
>like.
>PHP, unfortunately, doesn't give you that freedom.
Hmm... the freedom to write unreadable, unmaintainable code, yes this
is a very important feature.
Hi,
Could someone give me an example of using stripslashes with echo and
one with .msg in a mail function.
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
On Wed, 5 Sep 2001 06:59, Rasmus Lerdorf wrote:
> > In perl I can say something like:
> >
> >($var1, $var2) = $sqh->fetchrow_array()
> >
> >
> > to assign column values to more than one variable at a time. So I
> > tried similar syntax with PHP:
> >
> >
> > ($var1, $var2) = mysql_fetch_r
Someone else just mentioned this one to me, looks very inexpensive:
http://www.simonweb.com/standardunix/index.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
Please reply, privately or at least CC ...
Can anyone suggest/recoment/point to a PHP suite for doing web mail ala
Hotmail or Yahoo! mail? Something with a simple interface and easy to
maintain.
Can anyone suggest/recoment/point to a PHP suite for maintaining a mail
server? Agai
Not only am I new to PHP, I'm new to programming altogether. I'm trying
to take it step by step, and my first big experiment was the script
below, used to enter info from a form into a mySQL database. I get the
following error message when it runs:
Parse error: parse error, expecting `','' or
> I've been stuck on this all afternoon. The opening PHP tag is
> what's on line 8.
You may have disabled the "short" PHP tags - namely, .
These tags conflict with XML specs.
Try http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Vicki,
try this:
"; #<-- you
need a semi colon here and
echo "Please go back and try again."; #<-- another echo here.
exit;
}
you could also do this:
Please go back
and try again.";
exit;
}
Jack
-Original Message-
From: Vicki [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September
On Wed, 5 Sep 2001 11:20, Gary wrote:
> Hi,
> Could someone give me an example of using stripslashes with echo and
echo stripslashes($variable_to_strip_slashes_from);
> one with .msg in a mail function.
Not quite sure what you mean by this?
--
David Robley Techno-JoaT, Web Maintainer,
On Tue, 4 Sep 2001 14:29:42 -0700 (PDT), Rasmus Lerdorf
<[EMAIL PROTECTED]> wrote:
>> In perl I can say something like:
>>
>>($var1, $var2) = $sqh->fetchrow_array()
>($var1, $var2) is magic. I hate magic. What do you look up in the Perl
>manual when you hit syntax like that? In PHP the eq
Well this is progress! My sloppy semicolons seem to have been the
problem. The error message has now moved down to line 14, which in
Dreamweaver 4 is the closing "}" of that code block.
Since the line numbers in the error messages don't seem to be exact, the
problem is probably in the lines im
I have some images in a photo album type thing of charts with a black
background. Some users have complained that when they print this
they use a lot of ink. I was wondering if it were possible to convert
an image to black and white (b&w only, no grayscale) and then reverse
it so the background w
Sorry about the newbie question. I have a config.php file which contains a
string which I would like a function to access. How do i make it global so
that it can do so.
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I have seen people using
include ("config.php");
in the begining of the page for that purpose.
--- Aaron Moore <[EMAIL PROTECTED]> wrote:
> Sorry about the newbie question. I have a config.php file
> which contains a
> string which I would like a function to access. How do i
> make it global so
http://www.php.net/manual/en/language.variables.scope.php
On Tue, 4 Sep 2001, Aaron Moore wrote:
> Sorry about the newbie question. I have a config.php file which contains a
> string which I would like a function to access. How do i make it global so
> that it can do so.
>
> Thanks for your help
Hi,
I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
while
accessing a PHP page tie to a Mysql database.
1. Is 30 seconds the normal setting before it times out ?
2. Is this error is due to PHP or Mysql ?
3. How to I set it to 60 seconds ?
Thanks
Nyon
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Vicki) wrote:
> $db = mysql_connect ("hostname", "user", "password");
>
> if (!$db)
> {
> echo "Error: Could not connect to database. Please try again later.";
> exit;
> }
BTW, you can reduce that block down to a single line:
$db = mysql_con
>I got an error "Maximum execution time of 30 seconds exceeded in C:\... on
line 224" while
>accessing a PHP page tie to a Mysql database.
>1. Is 30 seconds the normal setting before it times out ?
It is the default settings. It's rarely normal that a script last that long.
My longest scripts is
On Wed, 5 Sep 2001, nyon wrote:
> I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
>while
> accessing a PHP page tie to a Mysql database.
>
> 3. How to I set it to 60 seconds ?
This is the default PHP configuration.
In your php.ini file, look for this line:
Has anybody wrote a quality search engine in Php Something like
goto.com or googly. Not a site search engine. Preferably one that is a
pay per click search that pulls from a mysql database and also will
pull from other search engines. I am looking for one if you know were
there is one I would real
Hi,
Can anyone tell me why header() cannot been used after any network
operation?
In my script, there are following steps:
1).a socket is opened for smtp;
2).send email;
3).closed the socket;
4).use header() to redirect to another page.
If no 1), 2) and 3), 4) can be processed without any p
I'm not sure if this is a problem with my php coding or html or the server or what,
but I made a simple photo album that just basically lets users add a pic of themselves
through a form and it records the url of their pic in a sql db and then i just display
it on a page. Now the problem is only
Php uses sendmail, atleast on Unix systems.
Alex Shi wrote:
> Hi,
>
> I have a question regarding to mail() function:
> Does mail() function use sendmail, or just use a mail program of php?
> If it uses a mail program other than sendmail, how can configure it to
> work correctly?
>
> Alex
>
Hi
Does anyone know if there's a php command line parser,
that lets you run php-scripts from the command prompt instead of running
them over http. (much like perl)
Regards
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
> PHP is not able to load bmp images... is there any setting to be
>done in ini file???
PHP does not support BMP.
If you can find an OpenSource implementation of BMP functions, you could
probably add BMP support.
However, I think BMP is a Microsoft proprietary format, so there may be no
ho
Are you using full path for every file?
Are you sure you've got the correct syntax to MySQL doesn't prompt you for
the password?
Any messages in your HTTP error_log file?
Use the optional args to exec() to get back any output and also an error
code, and then use man errno to look up the error c
> I want to be able to include a graphic or something of that sort in a form
> mail (using mail() from ). Is this possible?
You can figure out a whole lot of gnarly MIME stuff, or you can get a
pre-written function/class that does it for you from one of the sites linked
here:
http://php.net/links
>
> $text = "yadayada";
>
> $date= "today...";
>
> $connectionstring = odbc_connect("MYSKODB", "Sa", "");
>
#> odbc_do($connectionstring, "INSERT INTO lappar (text,datum) VALUES
#> ('$text','$date')");
$query = "INSERT INTO lappar (text,datum) VALUES('$text','$date')";
echo $query, "\n";
odbc_do
It uses sendmail by default.
You can change that in php.ini to anything you want.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer
101 - 142 of 142 matches
Mail list logo