RE: [PHP] tinyweb and PHP4

2001-09-04 Thread hue micheal
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

[PHP] variable arguments wish list

2001-09-04 Thread Chris Lee
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("', '",

[PHP] Undefined class name 'parent'

2001-09-04 Thread Jeroen Olthof
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

[PHP] GOOD web hosting

2001-09-04 Thread Seb Frost
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

Re: [PHP] GOOD web hosting

2001-09-04 Thread Jason Bell
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.

RE: [PHP] GOOD web hosting

2001-09-04 Thread Chris Bailey
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

RE: [PHP] GOOD web hosting

2001-09-04 Thread Chris Mulcahy
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

Re: [PHP] GOOD web hosting

2001-09-04 Thread Michelle Marcicki
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

Re: [PHP] GOOD web hosting

2001-09-04 Thread ERISEN, Mehmet Kamil
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

Re: [PHP] Am I doing this right? (PHP3/Login system)

2001-09-04 Thread Joel Ricker
: 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

Re: [PHP] Undefined class name 'parent'

2001-09-04 Thread Sean C. McCarthy
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

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Ryan Fischer
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,

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Rasmus Lerdorf
> 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

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Mark Maggelet
>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.

[PHP] stripslashes

2001-09-04 Thread Gary
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

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread David Robley
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

RE: [PHP] GOOD web hosting

2001-09-04 Thread Chris Bailey
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,

[PHP] PHP Web Mail Service?

2001-09-04 Thread Jon Shoberg
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

[PHP] Newbie ?: why this error?

2001-09-04 Thread Vicki
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

RE: [PHP] Newbie ?: why this error?

2001-09-04 Thread Jason Murray
> 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]

RE: [PHP] Newbie ?: why this error?

2001-09-04 Thread Jack Dempsey
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

Re: [PHP] stripslashes

2001-09-04 Thread David Robley
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,

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Egan
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

Re: [PHP] Newbie ?: why this error?

2001-09-04 Thread Vicki
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

[PHP] Image Question

2001-09-04 Thread Jeff Oien
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

[PHP] accessing a global in a function???

2001-09-04 Thread Aaron Moore
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

Re: [PHP] accessing a global in a function???

2001-09-04 Thread ERISEN, Mehmet Kamil
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

Re: [PHP] accessing a global in a function???

2001-09-04 Thread Rasmus Lerdorf
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

[PHP] an error "Maximum execution time of 30 seconds exceeded in C:\...

2001-09-04 Thread nyon
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

Re: [PHP] Newbie ?: why this error?

2001-09-04 Thread CC Zona
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

Re: [PHP] an error "Maximum execution time of 30 seconds exceeded in C:\...

2001-09-04 Thread pierre-yves
>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

Re: [PHP] an error "Maximum execution time of 30 seconds exceededin C:\...

2001-09-04 Thread Christopher William Wesley
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:

[PHP] search engine

2001-09-04 Thread Richard Kurth
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

[PHP] Problem with header()

2001-09-04 Thread Alex Shi
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

[PHP] image problem

2001-09-04 Thread nate
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] Re: Question about mail()

2001-09-04 Thread Robert Lindgren
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 >

[PHP] command line parser

2001-09-04 Thread Robert Lindgren
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] Re: Does PHP supports ..BMP images...

2001-09-04 Thread Richard Lynch
> 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

Re: [PHP] Re: probs with exec, pls help (still again)

2001-09-04 Thread Richard Lynch
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

[PHP] Re: Attaching stuff

2001-09-04 Thread Richard Lynch
> 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

[PHP] Re: insert into problems.

2001-09-04 Thread Richard Lynch
> > $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

[PHP] Re: Question about mail()

2001-09-04 Thread Richard Lynch
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

<    1   2