Re: [PHP] Re: cheap PHP+SQL WebHosting

2003-06-02 Thread Saint Urho
I have been using phpwebhosting with no problems for the last year. They are also real good about responding to questions via email. Red Hat Linux, php, phpMyAdmin, PEAR, MySQL, secure shell access(ssh), and ftp access. Un-metered traffic, un-throttled, and true burstable bandwidth. Un-metered

Re: [PHP] Re: cheap PHP+SQL WebHosting

2003-06-02 Thread Ryan A
Hey there, I think i can offer you one of the best packages you will ever find 8.50$ a month or 8$ if you pay per year FEATURES -- One click to install Portals/CMS PHP-Nuke Post-Nuke phpWebSite Xoops Discussion Boards phpBB2 Invision Board Other scripts OS Commerce

Re: [PHP] Re: cheap PHP+SQL WebHosting

2003-06-02 Thread Brian V Bonini
On Sun, 2003-06-01 at 13:05, Ryan A wrote: Hey there, I think i can offer you one of the best packages you will ever find 8.50$ a month or 8$ if you pay per year I think you should take this private... FEATURES -- One click to install Portals/CMS PHP-Nuke

Re: [PHP] Re: cheap PHP+SQL WebHosting

2003-06-02 Thread Ryan A
oops sorry, was just trying to reply to the dude and didnt mean to also mail the whole list. Cheers, -Ryan - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: Ryan A [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; PHP Lists [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 5:25 PM

RE: [PHP] String Manipulation

2003-06-02 Thread Don Read
On 31-May-2003 S. Cole wrote: Hello all, I'm currently working on a site for my brother-in-law. I have written a script that will access a website (http://www.remax.nf.ca/listings.asp?a=163cp=1) and pull the page into a variable ($var). I have striped the page down to include only the

[PHP] imap_open()

2003-06-02 Thread buttoz
hi, i have problem with imap_open function, my code is : ?php $inbox = imap_open({pop.012.net.il:110/pop3}INBOX, user, password); $total = imap_num_msg($inbox); print $total; ? when i run i recive : Fatal error: Call to undefined function: imap_open() in

Re: [PHP] imap_open()

2003-06-02 Thread Haseeb Iqbal
check if you have complied php with imap support and if you are on windows then check if it is uncommencted in the ini Haseeb - Original Message - From: buttoz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:46 AM Subject: [PHP] imap_open() hi, i have problem

[PHP] Strange Behaviour of cookies

2003-06-02 Thread Haseeb Iqbal
Hi all, don't know for sure if this is heppening to me only or there are others who faced the same problem here is whats wrong when ever i set a cookie it didn't get set even i refresh the page (with php header function) but then i echo something on the page and then use HTML meta refresh the

[PHP] PHPAUCTION 2.1

2003-06-02 Thread chris prior
im having problems installing phpauction 2.1 i keep getting sevral errors on the script im new to php so any help or sugestions would be great please look at my site to see the error's http://www.abbytech.co.uk/phpauction/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] $_POST array

2003-06-02 Thread Steven Farrier
I have tried using $_POST array variables in the following ways $message = ($_POST['first_name']) ($_POST['last_name'])\n($_POST['address'])\n($_POST['city']) ($_POST['state']) ($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\ n($_POST['comments']); $message =

Re: [PHP] $_POST array

2003-06-02 Thread Rasmus Lerdorf
You should read this section of the manual: http://us2.php.net/manual/en/language.types.string.php Scroll down the the Variable parsing title and read from there and all will be clear. -Rasmus On Sun, 1 Jun 2003, Steven Farrier wrote: I have tried using $_POST array variables in the

[PHP] Re: PHPAUCTION 2.1

2003-06-02 Thread Ferhat BINGOL
you did not edit the config file. PHP script is trying to connect to database with user apache (which is default for the server) and since there is also no password it does not work. you must enter USRNAME PASSWORD DATABASE NAME to the config file. Read the README or INSTALL file. Chris Prior

[PHP] Re: PHPAUCTION 2.1

2003-06-02 Thread chris prior
i have dont that , but still it wont work ive trebble checked the config file , its also showing a parse error what is that ? Ferhat Bingol [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] you did not edit the config file. PHP script is trying to connect to database with user apache

[PHP] user login idle timeout feature

2003-06-02 Thread daniel
ok so i worked out the connection_status and connection_abort will only work if the script is actually running and a request to the server , so i wont be able to tell if someone had closed the browser or not , what i'd like to know is , how can i tell if a user has not accessed the script for a

[PHP] preventing your php search to goto google

2003-06-02 Thread daniel
if you have been making a search and press enter it will goto google and not return any results, i found making the search and pressing the arrow stayed on your mirror , hope this helps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Long screen display cut short.

2003-06-02 Thread Floyd Baker
Thanks for the guidance guys... Going on the idea that it was indeed a problem with script, arrays, etc., I found a few things. The display was well over 9000 characters before it failed, so that 8k max thing was unlikely in this case. But it seems to have been fixed by other things done.

[PHP] php auction 2.1

2003-06-02 Thread chris prior
im having problems with the script to include the password.inc.php file can anyone help ? these are the error's Warning: Failed opening '..//home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/passwd.inc.p hp' for inclusion (include_path='.:/usr/share/pear') in

[PHP] Re: $_POST array

2003-06-02 Thread zbranigan
Steven == Steven Farrier [EMAIL PROTECTED] writes: Steven I have tried using $_POST array variables in the following Steven ways $message = ($_POST['first_name']) Steven ($_POST['last_name'])\n($_POST['address'])\n($_POST['city']) Steven ($_POST['state']) Steven

[PHP] UBB to HTML

2003-06-02 Thread zavaboy
How can I strip ALL HTML tags, then turn UBB code to HTML. And I also want to know how to turn the HTML back to UBB? - Zavaboy [EMAIL PROTECTED] www.zavaboy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 2 Jun 2003 01:05:23 -0000 Issue 2092

2003-06-02 Thread php-general-digest-help
php-general Digest 2 Jun 2003 01:05:23 - Issue 2092 Topics (messages 149726 through 149744): Re: cheap PHP+SQL WebHosting 149726 by: Saint Urho 149727 by: Ryan A 149728 by: Brian V Bonini 149729 by: Ryan A Re: String Manipulation 149730 by: Don Read

[PHP] can't connect to mysql

2003-06-02 Thread Chin Hui
hi, i'm a newbie in php and mysql. i've just installed mysql 4.0.13 with a .tar.gz file. PHP 4.2.2 comes along with my redhat 9 installation. I can't seem to connect to mysql with any php scripts. I've noticed a package named php-mysql. I've tried to install, but it has a dependency on

[PHP] Re: UBB to HTML

2003-06-02 Thread Manuel Lemos
Hello, On 06/01/2003 10:05 PM, Zavaboy wrote: How can I strip ALL HTML tags, then turn UBB code to HTML. And I also want to know how to turn the HTML back to UBB? This class seems to do exactly what you want. Class: UBBCode http://www.phpclasses.org/ubb -- Regards, Manuel Lemos Free ready to

Re: [PHP] Strange Behaviour of cookies

2003-06-02 Thread Jaap van Ganswijk
At 2003-06-02 01:49 +0500, Haseeb Iqbal wrote: when ever i set a cookie it didn't get set even i refresh the page (with php header function) but then i echo something on the page and then use HTML meta refresh the cookie becomes availble on the next page. what is it that i am missing here. I'm

Re: [PHP] static vars question

2003-06-02 Thread Joel Rees
As I said, since I was recursing through the function by calling it numerous times in the middle of its execution, and since the function didn't explicitly return, I didn't expect it to continue past each call. That's all! Sounds like you're coming in from CoBOL or maybe BASIC? -- PHP

[PHP] cyrus c-client imap

2003-06-02 Thread Grigorian Arshavir
Hi, I am having some issues with PHP's IMAP support and was hoping that a kind soul on this list would point me in the right direction. First of all, I am confused how PHP provides IMAP support. Is '--with-cyrus' supposed to complement the functionality provided by the c-client? or is it a

Re: [PHP] user login idle timeout feature

2003-06-02 Thread Justin French
off the top of my head... have a column in your user table called last_active... it should hold a date-time, or a unix timestamp, or something like that. on each page request by a logged in user, you would update that value with a newer stamp on physical logout, you would set that to zero or

[PHP] PHP and POP3

2003-06-02 Thread Erich Kolb
I am somwhat aware of the ability to access email using php and IMAP, but is it at all possible to download email via pop3? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] caching variables and preloading functions

2003-06-02 Thread Lance Lovette
If you are not running PHP under a Windows platform and can compile extensions into PHP the most efficient way to solve problem #2 may be with a PHP extension I developed. It handles constants and provides a type of persistent variable too. It has been immensely useful for my projects.

Re: [PHP] PHP and POP3

2003-06-02 Thread Rasmus Lerdorf
Sure, all the imap_* functions in PHP also work for POP3. Read through http://php.net/imap On Sun, 1 Jun 2003, Erich Kolb wrote: I am somwhat aware of the ability to access email using php and IMAP, but is it at all possible to download email via pop3? -- PHP General Mailing List

[PHP] Use of undefined constant PHP_SELF - assumed 'PHP_SELF'

2003-06-02 Thread Øystein Håland
What's the difference (and what's correct)? With the use of error_reporting = E_ALL in php.ini I get an error as mentioned above. In the code I use $_SERVER[PHP_SELF]. Changing this to $_SERVER['PHP_SELF'] report no error but with error_reporting = E_ALL ~E_NOTICE anything goes. (Apache/2.0.46

[PHP] Re: php auction 2.1

2003-06-02 Thread Ferhat BINGOL
PEAR is a module for PHP, it is a common space. If you put a file there you can include it any file you want by just given the command include(file.php) in any file... you have to put the password.inc.php file to your php include directory otherwise it does not matter if you edit the config file

[PHP] redhat 9 compile of PHP

2003-06-02 Thread Greg Beaver
Hi, I'm trying to get an installation of PHP 4.3.2 with Apache 1.3.27 (SAPI), and mysql/zlib/xml-rpc support working with redhat 9's standard MySQL distribution 3.23.56-1.9 I have successfully compiled Apache and PHP so that normal programs work in both cases. However, I get an error when I

Re: [PHP] redhat 9 compile of PHP

2003-06-02 Thread Tariq Murtaza
Hi Greg, Make sure mysql is running. Regards, Tariq Greg Beaver wrote: Hi, I'm trying to get an installation of PHP 4.3.2 with Apache 1.3.27 (SAPI), and mysql/zlib/xml-rpc support working with redhat 9's standard MySQL distribution 3.23.56-1.9 I have successfully compiled Apache and PHP so

[PHP] GEnerating PDF's

2003-06-02 Thread Petre Agenbag
Hi List I'm investigating different possibilities to generate printable and read-only documents, and the best method seems to be generating PDF's, however, I have NO experience with working with PDF's, and the examples in the manual only list a simple one-liner text pdf. Where can I find more

[PHP] Making a PHP Script Very Cache Friendly

2003-06-02 Thread Gerard Samuel
Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite. I have a script that fetches css files. Im trying to add header() calls to it so that browsers can cache it like a normal css file. This is what I have at the top of the file -

Re: [PHP] Making a PHP Script Very Cache Friendly

2003-06-02 Thread Joshua Moore-Oliva
You can always store the file and every so often regenerate it, and if the regernation hasn't timed out jsut passtrhu the cache. On June 2, 2003 02:38 am, Gerard Samuel wrote: Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite.

Re: [PHP] Use of undefined constant PHP_SELF - assumed 'PHP_SELF'

2003-06-02 Thread Philip Olson
On Mon, 2 Jun 2003, Øystein Håland wrote: What's the difference (and what's correct)? With the use of error_reporting = E_ALL in php.ini I get an error as mentioned above. In the code I use $_SERVER[PHP_SELF]. Changing this to $_SERVER['PHP_SELF'] report no error but with error_reporting =

[PHP] TABLE COLUMNS

2003-06-02 Thread Ralph
I'm querying a database then printing the results in a TABLE. What I want to do is format the results in a TABLE with 4 columns per row. Any suggestions? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] TABLE COLUMNS

2003-06-02 Thread Veniamin Goldin
probably something like: echo table; $rs=mysql_query(select * from blabla;,$conn); while($row=mysql_fetch_row($rs)) { echo tr; echo td.$row[0]./td; echo td.$row[1]./td; echo td.$row[2]./td; echo td.$row[3]./td; echo /tr; } echo /table; R I'm querying a database then printing

RE: [PHP] Making a PHP Script Very Cache Friendly

2003-06-02 Thread Don Read
On 02-Jun-2003 Gerard Samuel wrote: Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite. I have a script that fetches css files. Im trying to add header() calls to it so that browsers can cache it like a normal css file.

Re: [PHP] GEnerating PDF's

2003-06-02 Thread Jason Wong
On Monday 02 June 2003 14:32, Petre Agenbag wrote: I'm investigating different possibilities to generate printable and read-only documents, and the best method seems to be generating PDF's, however, I have NO experience with working with PDF's, and the examples in the manual only list a

Re: [PHP] redhat 9 compile of PHP

2003-06-02 Thread Jason Wong
On Monday 02 June 2003 14:19, Greg Beaver wrote: I'm trying to get an installation of PHP 4.3.2 with Apache 1.3.27 (SAPI), and mysql/zlib/xml-rpc support working with redhat 9's standard MySQL distribution 3.23.56-1.9 I have successfully compiled Apache and PHP so that normal programs work

Re: [PHP] can't connect to mysql

2003-06-02 Thread Jason Wong
On Monday 02 June 2003 09:15, Chin Hui wrote: i'm a newbie in php and mysql. i've just installed mysql 4.0.13 with a .tar.gz file. PHP 4.2.2 comes along with my redhat 9 installation. I can't seem to connect to mysql with any php scripts. I've noticed a package named php-mysql. I've tried

[PHP] Resources consumption

2003-06-02 Thread Armand Turpel
Hi, How can I find out the resources consumption (memory waste) of a script? Thanks, Armand -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] POST Values

2003-06-02 Thread Shaun
Hi, I have a page with 78 textfields on, is there a way of picking out the field names and values that the user has filled in as they are very unlikey to be filling in all of them? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Scandir Question

2003-06-02 Thread Miguel Angelo
Hi All, I have a little question, i would like to load up a array with the file list of a virtual directory... example http://my_server/my_directory I have seen the scandir function and it looks great, but i would prefer load the thing using the virtual directory not the real directory Is

RE: [PHP] TABLE COLUMNS

2003-06-02 Thread Don Read
On 02-Jun-2003 Ralph wrote: I'm querying a database then printing the results in a TABLE. What I want to do is format the results in a TABLE with 4 columns per row. Any suggestions? Thanks. $modulo=4; unset($a); echo \ntable; while($row = $r-FetchRow()) { if

RE: [PHP] user login idle timeout feature

2003-06-02 Thread electroteque
thats what i was thinking of logic but i may be having about 10 users logged in doing full text searching on a 200 meg + database will that affect it ? -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:21 AM To: [EMAIL PROTECTED]; [EMAIL

RE: [PHP] trikky authentication question

2003-06-02 Thread PHP4 Emailer
Daniel, What about using IP Logging? If the user is already logged in with the same IP you can let them on, if its a new IP you could ask them if they are a returning user? If so, make them log in a second time for verification, and close the other logged in user/account. Make some fancy It

[PHP] Re: POST Values

2003-06-02 Thread sven
take a look at the $_POST array (or $_REQUEST). they contain all submitted values. if there are still empty fields, try foreach() and !empty(). Shaun [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi, I have a page with 78 textfields on, is there a way of picking out the

[PHP] Re: $_POST array

2003-06-02 Thread sven
this works too: $message = $_POST['first_name']. .$_POST['last_name'].\n. $_POST['address'].\n. $_POST['city']. .$_POST['state']. $_POST['zip'].\n. $_POST['country'].\n. $_POST['email'].\n. $_POST['design'].\n. $_POST['comments']; Zbranigan [EMAIL PROTECTED] schrieb im Newsbeitrag

[PHP] Adding a particalar POST value to a string

2003-06-02 Thread Shaun
Hi, I have many textfields on my page. How can I add to a string the name of a textfield that ends in the same number as another textfield i.e. 5? Thanks for your help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sending a http body

2003-06-02 Thread Roland Welker
Hi, I am a bit of a newby in php, so I hope the group my forgive me, if I ask a question answered before. The presumtion: php is first evaluating the complete script, before sending anything back to the browser. The situation: I have got a script, which retrieves data very slowly, and causes

Re: [PHP] Sending a http body

2003-06-02 Thread Axel Tietje
Hi, Is it possible, to send the elements, so far outputed, to the browser, and use that as keep alive, i.e. give the user already something to see:-) And, of course, do that regular, out of my data retrieval loop. http://www.php.net/ob_implicit_flush is your friend. HTH, Axel.

Re: [PHP] Sending a http body

2003-06-02 Thread Leif K-Brooks
www.php.net/flush Roland Welker wrote: Hi, I am a bit of a newby in php, so I hope the group my forgive me, if I ask a question answered before. The presumtion: php is first evaluating the complete script, before sending anything back to the browser. The situation: I have got a script, which

Re: [PHP] Adding a particalar POST value to a string

2003-06-02 Thread Evan Nemerson
Taking into account your earlier post: $string = ''; foreach ( array_keys($_POST) as $var ) { if ( !is_empty($_POST[$var]) ) { string .= $var.' '; } } trim($string); On Monday 02 June 2003 03:22 am, Shaun wrote: Hi, I have many textfields on my page. How can

[PHP] session

2003-06-02 Thread Aris Santillan
hi this code cant print the value ? session_start(); $name = $_POST['name']; session_register('name'); echo $_SESSION['name']; ?

RE: [PHP] session

2003-06-02 Thread Adrian Portsmouth
The value isn't available until the next page and you should register with $_SESSION[name]=$_POST[name]; HTH Ade www.phpscriptsearch.com -Original Message- From: Aris Santillan [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 11:55 To: Php (E-mail) Subject: [PHP] session hi this code

[PHP] Cookies - recomendation please

2003-06-02 Thread Ryan A
Hi everyone, Some time back I had no idea about sessions and I asked this list to give me a few links on the web where i can learn about them, thanks to you guys I understand sessions and use them without any problem. Now I have the same problem with cookies, I of course first went to our friend

Re: [PHP] Cookies - recomendation please

2003-06-02 Thread Awlad Hussain
PHP Manual has good section on cookie... have you tried the manual? good luck awlad - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:56 PM Subject: [PHP] Cookies - recomendation please Hi everyone, Some time back I had no idea

[PHP] phpauction 2.1

2003-06-02 Thread chris prior
i havent got a pear for a common space im using a virtual host , can i get pear and install it ? if so were can i get it from ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: phpauction 2.1

2003-06-02 Thread Ferhat BINGOL
pear looks like already installed ... your include diretory is mentined in the error message soput the necassary files there.. I think your answer MUST be in the README or INSTALL documentation. I mean they cannot let a package out without tellin people which files will be located where. There