Re: [PHP] Re: cheap PHP+SQL WebHosting
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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: cheap PHP+SQL WebHosting
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 (e-Commerce) 4images Gallery PHPauction PHProjekt phpLinks (Web catalog) b2 Mail Manage Email Accounts (Add, Remove, ChangePassword) WebMail for all Accounts Auto Responders Custom Mail Filtering Forwaders Mailing Lists (mailman) Ability to Modify an MX Entry Spam Filtering Stats Webalizer Web Stats Webalizer Ftp Stats Analog Stats View Latest Visitors View Bandwidth Usage View Error Log Download a raw logfile Ftp Manage Ftp Accounts (Add, Remove, Change Password) Anonymous Ftp Control Ability to change ftp login message Ability to kill ftp sessions Site Tools Web Protect (htaccess editor) Ability to Change Site and Frontpage password Custom Error Pages Redirects Ability to Edit Mime Types Ability to Edit Apache Handlers Install Frontpage Extensions Uninstall Frontpage Extensions Search Engine Submit Tool File Manager Subdomains Ability to Add/Remove Subdomains Subdomain Redirects Advanced Tools SSH access $4. extra mo. (Cant help this, have to charge, sorry.) Manage GPG Keys Cron Jobs Pre-Installed Cgi Scripts Interchange Cart Agora Cart php BB Forum Board Java Chat Html Chat phpMyChat Cgi Wrapper (for non-suexec installs) Random HTML Generator Advanced Guestbook Counter Generator Java Clock Generator Java Countdown Generator Secure FormMail clone cgiemail Entropy Search Entropy Banner Network Tools Dns Lookup Traceroute Database Managment (2 DB's) Manage Mysql Databases (Add, Remove, Change Password, Add Access Hosts) phpMyAdmin Access Servlets/JSP,PHP,CGI etc End of features list, if you dont see something you want/need or if you think i forgot something tell me. NOTE: Two major rules,no spam and no porn (including adult cartoons) lf needed I can give you some sites that are being hosted by me and you can ask them how is the hosting. Cheers, -Ryan - Original Message - From: Saint Urho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:40 PM Subject: Re: [PHP] Re: cheap PHP+SQL WebHosting 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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: cheap PHP+SQL WebHosting
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 Post-Nuke phpWebSite Xoops Discussion Boards phpBB2 Invision Board Other scripts OS Commerce (e-Commerce) 4images Gallery PHPauction PHProjekt phpLinks (Web catalog) b2 Mail Manage Email Accounts (Add, Remove, ChangePassword) WebMail for all Accounts Auto Responders Custom Mail Filtering Forwaders Mailing Lists (mailman) Ability to Modify an MX Entry Spam Filtering Stats Webalizer Web Stats Webalizer Ftp Stats Analog Stats View Latest Visitors View Bandwidth Usage View Error Log Download a raw logfile Ftp Manage Ftp Accounts (Add, Remove, Change Password) Anonymous Ftp Control Ability to change ftp login message Ability to kill ftp sessions Site Tools Web Protect (htaccess editor) Ability to Change Site and Frontpage password Custom Error Pages Redirects Ability to Edit Mime Types Ability to Edit Apache Handlers Install Frontpage Extensions Uninstall Frontpage Extensions Search Engine Submit Tool File Manager Subdomains Ability to Add/Remove Subdomains Subdomain Redirects Advanced Tools SSH access $4. extra mo. (Cant help this, have to charge, sorry.) Manage GPG Keys Cron Jobs Pre-Installed Cgi Scripts Interchange Cart Agora Cart php BB Forum Board Java Chat Html Chat phpMyChat Cgi Wrapper (for non-suexec installs) Random HTML Generator Advanced Guestbook Counter Generator Java Clock Generator Java Countdown Generator Secure FormMail clone cgiemail Entropy Search Entropy Banner Network Tools Dns Lookup Traceroute Database Managment (2 DB's) Manage Mysql Databases (Add, Remove, Change Password, Add Access Hosts) phpMyAdmin Access Servlets/JSP,PHP,CGI etc End of features list, if you dont see something you want/need or if you think i forgot something tell me. NOTE: Two major rules,no spam and no porn (including adult cartoons) lf needed I can give you some sites that are being hosted by me and you can ask them how is the hosting. Cheers, -Ryan - Original Message - From: Saint Urho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:40 PM Subject: Re: [PHP] Re: cheap PHP+SQL WebHosting 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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: cheap PHP+SQL WebHosting
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 Subject: Re: [PHP] Re: cheap PHP+SQL WebHosting 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 Post-Nuke phpWebSite Xoops Discussion Boards phpBB2 Invision Board Other scripts OS Commerce (e-Commerce) 4images Gallery PHPauction PHProjekt phpLinks (Web catalog) b2 Mail Manage Email Accounts (Add, Remove, ChangePassword) WebMail for all Accounts Auto Responders Custom Mail Filtering Forwaders Mailing Lists (mailman) Ability to Modify an MX Entry Spam Filtering Stats Webalizer Web Stats Webalizer Ftp Stats Analog Stats View Latest Visitors View Bandwidth Usage View Error Log Download a raw logfile Ftp Manage Ftp Accounts (Add, Remove, Change Password) Anonymous Ftp Control Ability to change ftp login message Ability to kill ftp sessions Site Tools Web Protect (htaccess editor) Ability to Change Site and Frontpage password Custom Error Pages Redirects Ability to Edit Mime Types Ability to Edit Apache Handlers Install Frontpage Extensions Uninstall Frontpage Extensions Search Engine Submit Tool File Manager Subdomains Ability to Add/Remove Subdomains Subdomain Redirects Advanced Tools SSH access $4. extra mo. (Cant help this, have to charge, sorry.) Manage GPG Keys Cron Jobs Pre-Installed Cgi Scripts Interchange Cart Agora Cart php BB Forum Board Java Chat Html Chat phpMyChat Cgi Wrapper (for non-suexec installs) Random HTML Generator Advanced Guestbook Counter Generator Java Clock Generator Java Countdown Generator Secure FormMail clone cgiemail Entropy Search Entropy Banner Network Tools Dns Lookup Traceroute Database Managment (2 DB's) Manage Mysql Databases (Add, Remove, Change Password, Add Access Hosts) phpMyAdmin Access Servlets/JSP,PHP,CGI etc End of features list, if you dont see something you want/need or if you think i forgot something tell me. NOTE: Two major rules,no spam and no porn (including adult cartoons) lf needed I can give you some sites that are being hosted by me and you can ask them how is the hosting. Cheers, -Ryan - Original Message - From: Saint Urho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:40 PM Subject: Re: [PHP] Re: cheap PHP+SQL WebHosting 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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] String Manipulation
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 listings snip What I want to do, is to be able to work with this data. I don't want to keep it in the same format as it's on the original site. I would like to be able to pull the listings and it's components separately so that I can change the layout, color, size, font, etc, etc, etc. I'd start with : $var=preg_replace('!tr bgcolor=.+!m', '[breakhere]', $var); $listing=explode('[breakhere]', $var); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] imap_open()
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 c:\inetpub\wwwroot\besthd\mail\myemail.php on line 2 what this mean , please help me. thanks, zuhear -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] imap_open()
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 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 c:\inetpub\wwwroot\besthd\mail\myemail.php on line 2 what this mean , please help me. thanks, zuhear -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Strange Behaviour of cookies
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 cookie becomes availble on the next page. what is it that i am missing here. Haseeb
[PHP] PHPAUCTION 2.1
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, visit: http://www.php.net/unsub.php
[PHP] $_POST array
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 = $_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']; Neither of these have worked what am I doing wrong? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] $_POST array
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 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 = $_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']; Neither of these have worked what am I doing wrong? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHPAUCTION 2.1
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 [EMAIL PROTECTED], iletide þunu yazdý news:[EMAIL PROTECTED] 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, visit: http://www.php.net/unsub.php
[PHP] Re: PHPAUCTION 2.1
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 (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 [EMAIL PROTECTED], iletide þunu yazdý news:[EMAIL PROTECTED] 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, visit: http://www.php.net/unsub.php
[PHP] user login idle timeout feature
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 certain ammount of time , i need this to calculate the idle time to prevent multiple logins , although a static idle time will let a multiple login after that and then the first login will get kicked , any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] preventing your php search to goto google
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.
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. They all happened at more or less the same time so not sure which was the culprit. The first had to do with session_bug_compat_42. The ini is supposed to allow the error message to be shut off but doesn't. I started to get that error so the only way to eliminate it was to find the reason. It turned out it was an empty table that caused it. The next was a field name typo in an input query. Third, another table was corrupt to the point of being 'occupied', when looked at with phpMyAdmin. Even so, my program had seemed to run fine otherwise. All in all, I'm happy for finding all these things. We all should have more difficulties, eh? It would do us good. g Just kidding. I have not yet tried too hard to reintroduce the problem. If I take the time or have other news, I'll be sure to post it. Thanks again. Floyd On Fri, 30 May 2003 21:02:05 -0400, you wrote: Well, I don't know if this might be it, but a while back, I had problems with apache + php (forget which version) and a bug in php that cause memory problems. I was using an array to store fairly large amounts of data. What would happen is something similar to what you describe. Modifying the code to avoid using an array solved the problem. Have not had the problem since upgrading php. Martin Floyd Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello... I have a routine that works fine on local win98 but when it runs on linux online, the screen output is cut short. I have lengthened the 30 second script time max to 45 but that made no difference at all. Depending on the particulars, the routine stops at a certain spot. If it is rerun, it stops at the very same spot again. Putting in other particulars cause it to stop at a different point, further down. It seems that changes which affect the number of mysql calculations, make some difference in the length of the screen display, but it's only a minor amount. It cuts off somewhere around 4 pages. Any ideas please. Floyd -- -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php auction 2.1
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 /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 89 Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 93 Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 93 Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: MySQL: A link to the server could not be established in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/admin/login.php on line 42 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: $_POST array
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 ($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\ Steven n($_POST['comments']); Steven $message = $_POST['first_name'] Steven $_POST['last_name']\n$_POST['address']\n$_POST['city'] Steven $_POST['state'] Steven $_POST['zip']\n$_POST['country']\n$_POST['email']\n$_POST['design']\n$_POST[ Steven 'comments']; Steven Neither of these have worked what am I doing wrong? Steven Steve try it like this: $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 = {$_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']}; -- no toll on the internet; there are paths of many kinds; whoever passes this portal will travel freely in the world -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] UBB to HTML
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
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 imap_open() 149731 by: buttoz 149732 by: Haseeb Iqbal Strange Behaviour of cookies 149733 by: Haseeb Iqbal PHPAUCTION 2.1 149734 by: chris prior 149737 by: Ferhat BINGOL 149738 by: chris prior 149742 by: chris prior $_POST array 149735 by: Steven Farrier 149736 by: Rasmus Lerdorf 149743 by: zbranigan user login idle timeout feature 149739 by: daniel.electroteque.org preventing your php search to goto google 149740 by: daniel.electroteque.org Re: Long screen display cut short. 149741 by: Floyd Baker UBB to HTML 149744 by: zavaboy Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- ---BeginMessage--- 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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. ---End Message--- ---BeginMessage--- 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 (e-Commerce) 4images Gallery PHPauction PHProjekt phpLinks (Web catalog) b2 Mail Manage Email Accounts (Add, Remove, ChangePassword) WebMail for all Accounts Auto Responders Custom Mail Filtering Forwaders Mailing Lists (mailman) Ability to Modify an MX Entry Spam Filtering Stats Webalizer Web Stats Webalizer Ftp Stats Analog Stats View Latest Visitors View Bandwidth Usage View Error Log Download a raw logfile Ftp Manage Ftp Accounts (Add, Remove, Change Password) Anonymous Ftp Control Ability to change ftp login message Ability to kill ftp sessions Site Tools Web Protect (htaccess editor) Ability to Change Site and Frontpage password Custom Error Pages Redirects Ability to Edit Mime Types Ability to Edit Apache Handlers Install Frontpage Extensions Uninstall Frontpage Extensions Search Engine Submit Tool File Manager Subdomains Ability to Add/Remove Subdomains Subdomain Redirects Advanced Tools SSH access $4. extra mo. (Cant help this, have to charge, sorry.) Manage GPG Keys Cron Jobs Pre-Installed Cgi Scripts Interchange Cart Agora Cart php BB Forum Board Java Chat Html Chat phpMyChat Cgi Wrapper (for non-suexec installs) Random HTML Generator Advanced Guestbook Counter Generator Java Clock Generator Java Countdown Generator Secure FormMail clone cgiemail Entropy Search Entropy Banner Network Tools Dns Lookup Traceroute Database Managment (2 DB's) Manage Mysql Databases (Add, Remove, Change Password, Add Access Hosts) phpMyAdmin Access Servlets/JSP,PHP,CGI etc End of features list, if you dont see something you want/need or if you think i forgot something tell me. NOTE: Two major rules,no spam and no porn (including adult cartoons) lf needed I can give you some sites that are being hosted by me and you can ask them how is the hosting. Cheers, -Ryan - Original Message - From: Saint Urho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:40 PM Subject: Re: [PHP] Re: cheap PHP+SQL WebHosting 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 POP3 mailboxes, unlimited email addresses, unlimited auto-responders, and unlimited mailing lists. $9.95/month or $9.18/month if you pay by the year. I do not work for them - just a customer. http://www.phpwebhosting.com/ Arcadius A. wrote: Let me add that I don't want a totally free webhosting... Thanks. ARcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ---End Message--- ---BeginMessage--- On Sun,
[PHP] can't connect to mysql
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 mysql. It couldn't detect mysql installation that i did because i didn't install it with rpm binary package. Thus, if i try to install the php-mysql package, i would need to install mysql 3.23. Is there a way that i could get the functionality of php-mysql package? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: UBB to HTML
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 use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Strange Behaviour of cookies
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 not sure what you're trying to say, but please be aware that you can only set cookies and output header() info before any normal output has taken place. If for example an include file has an empty line after it's closing '?'-line it will output an empty line in HTML and no more cookies and header info can be send (in the main file). Check out the ob_start() (output-buffer start) function in the manual and also the sections about cookies and about the header() function. It is all being explained somewhere but it may be hard to find and piece together. It took me quite a while in an older version of the manual. (But currently Chapter 17 is very clear about it.) To make a fail-safe system, try this in your main .php file: ?php //make sure the previous line is the first line in the file ob_start(); include whatever.php; In the include file and the rest of the file you can use header() and setcookie() etc. as much as you like, as long as you don't flush the output buffer. Beware however that debugging scripts like these might get a lot tougher since all output is halted until the script ends and if something goes wrong it may not output it's data at all. Greetings, Jaap -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] static vars question
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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] cyrus c-client imap
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 complete replacement for the latter? I would much rather not have to use the c-client and was wondering whether I can get away just '--with-cyrus'. TIA for any pointers. Arsh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] user login idle timeout feature
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 null. on login, you would check that the value is either zero, or that there has been at least X seconds/minutes passed since the user was last active. if a user tries to log-in whilst still active, you'd need to tell them what happened, explain there's a wait time, or get them to force-logout via an email sent to their member email address or something. justin on 02/06/03 10:38 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: 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 certain ammount of time , i need this to calculate the idle time to prevent multiple logins , although a static idle time will let a multiple login after that and then the first login will get kicked , any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and POP3
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
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. http://pwee.sourceforge.net/ Lance -Original Message- From: ssamuel [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2003 7:05 PM To: [EMAIL PROTECTED] Subject: [PHP] caching variables and preloading functions Hi, I am looking for a way to do the following with PHP on Apache. 1) I have a list of functions that I would like loaded into memory when the Apache server starts so that other .PHPs can call these functions at any time. Somewhat of a way to expand the API set for PHP. i.e., Say I have a file named init.php which has many functions defined. When the Apache server loads, I want this file to be sourced so that these functions are visible to all other phps. 2) I have several variables, that I want to be cached at server init time. These variables are global variables and live until the server is restarted and can be accessed by any .phps. Are there any ways to do these? thanks, sunil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and POP3
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Use of undefined constant PHP_SELF - assumed 'PHP_SELF'
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 (Win32) PHP/4.3.2 on Win2000 pro) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php auction 2.1
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 or not. Chris Prior [EMAIL PROTECTED], iletide þunu yazdý news:[EMAIL PROTECTED] 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 /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 89 Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 93 Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 93 Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: MySQL: A link to the server could not be established in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php on line 97 Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/admin/login.php on line 42 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] redhat 9 compile of PHP
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 use mysql_connect() (no parameters or with 'localhost' or with a username). The error is somthing like couldn't connect to MySQL through /tmp/mysql.sock. (I'm sending this message from another system) my configure line was --with-mysql (no directory). Anyone with experience in this matter would be very helpful. Thanks, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] redhat 9 compile of PHP
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 that normal programs work in both cases. However, I get an error when I use mysql_connect() (no parameters or with 'localhost' or with a username). The error is somthing like couldn't connect to MySQL through /tmp/mysql.sock. (I'm sending this message from another system) my configure line was --with-mysql (no directory). Anyone with experience in this matter would be very helpful. Thanks, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] GEnerating PDF's
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 material that will explain in layman's terms how to generate pdf's from various sources. As example, I'd like to generate PDF's of a webpage on-the-fly or even from data in MySQL tables. It seems that you need to provide the pdf generation process with the co-ordinates and size of each element, but it is the location of the elements that I have trouble with, ie. what is needed to define each element? Thanks for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Making a PHP Script Very Cache Friendly
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 - -- header('Content-type: text/css'); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime('./foo.php')) . ' GMT'); For the life of me, according to the output of ethereal (a network sniffer), this file is always fetched from the server. Yes I did breeze by the HTTP 1.1 spec, but I didn't pick up on anything special that I should be doing. Is there a way to make the file be put into cache, or am I barking up the wrong tree. Thanks for your insight. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Making a PHP Script Very Cache Friendly
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. 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 - -- header('Content-type: text/css'); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime('./foo.php')) . ' GMT'); For the life of me, according to the output of ethereal (a network sniffer), this file is always fetched from the server. Yes I did breeze by the HTTP 1.1 spec, but I didn't pick up on anything special that I should be doing. Is there a way to make the file be put into cache, or am I barking up the wrong tree. Thanks for your insight. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Use of undefined constant PHP_SELF - assumed 'PHP_SELF'
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 = E_ALL ~E_NOTICE anything goes. (Apache/2.0.46 (Win32) PHP/4.3.2 on Win2000 pro) The manual talks about this, look for the section titled: Why is $foo[bar] wrong? http://us2.php.net/types.array You want to quote your array key as otherwise PHP will first look for a constant. Undefined variables/constants are E_NOTICE level errors. PHP throws this error but assumes you meant a string, so tries to be smart. Also, read about strings: http://us2.php.net/types.string Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] TABLE COLUMNS
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
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 the results in a TABLE. What I R want to do is format the results in a TABLE with 4 columns per row. R Any suggestions? R Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Making a PHP Script Very Cache Friendly
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. This is what I have at the top of the file - -- header('Content-type: text/css'); header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime('./foo.php')) . ' GMT'); For the life of me, according to the output of ethereal (a network sniffer), this file is always fetched from the server. Yes I did breeze by the HTTP 1.1 spec, but I didn't pick up on anything special that I should be doing. Is there a way to make the file be put into cache, or am I barking up the wrong tree. Try adding one more 'hint': header('Cache-Control: max-age=3600'); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] GEnerating PDF's
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 simple one-liner text pdf. Where can I find more material that will explain in layman's terms how to generate pdf's from various sources. There are several classes available which provide higher level functions making things much easier. One that I've used and can recommend is pc4p. As example, I'd like to generate PDF's of a webpage on-the-fly or even from data in MySQL tables. It seems that you need to provide the pdf generation process with the co-ordinates and size of each element, but it is the location of the elements that I have trouble with, ie. what is needed to define each element? Again, there are programs that convert HTML to PDF. But unless the page layout is fairly the simple the results can be pretty horrible. Your best bet is the hand code the page using one of the above mentioned classes. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] redhat 9 compile of PHP
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 in both cases. However, I get an error when I use mysql_connect() (no parameters or with 'localhost' or with a username). The error is somthing like couldn't connect to MySQL through /tmp/mysql.sock. (I'm sending this message from another system) Try specifying 'mysql.default_socket' in php.ini. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] can't connect to mysql
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 to install, but it has a dependency on mysql. It couldn't detect mysql installation that i did because i didn't install it with rpm binary package. Thus, if i try to install the php-mysql package, i would need to install mysql 3.23. Is there a way that i could get the functionality of php-mysql package? If you're comfortable with installing from tarballs I recommend that you remove RPMs of apache, mysql and php and install all three from source (google for LAMP guide or similar). This is much better in the long run as you can upgrade each of them independently without having to wait for RH to release the relevant RPMs. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Resources consumption
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
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: http://www.php.net/unsub.php
[PHP] Scandir Question
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 there any way to do this ?, or must i use the fisical directory ??? THankx for reading Stay happy Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] TABLE COLUMNS
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 (count($a) = $modulo) { echo \n trtd, implode('/tdtd', $a), '/td/tr'; unset($a); } $a[]=$row['blah'] .'nbsp;' .$row['foo']; } while (count($a) $modulo) { $a[]='nbsp;'; } echo \n trtd, implode('/tdtd', $a), '/td/tr'; echo \n/table\n; Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] user login idle timeout feature
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 PROTECTED] Subject: Re: [PHP] user login idle timeout feature 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 null. on login, you would check that the value is either zero, or that there has been at least X seconds/minutes passed since the user was last active. if a user tries to log-in whilst still active, you'd need to tell them what happened, explain there's a wait time, or get them to force-logout via an email sent to their member email address or something. justin on 02/06/03 10:38 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: 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 certain ammount of time , i need this to calculate the idle time to prevent multiple logins , although a static idle time will let a multiple login after that and then the first login will get kicked , any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] trikky authentication question
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 appears your at a different location message, for security we'll need you to log in again. Now if they have dial up that might be a pain in the rear as the IP can change on each dial up, but for most broadband accounts and business that the user could go to, IE public library, etc.. they'd still only have one IP (assuming it's static) for each terminal(ramblin) but you get the idea, This is just another suggestion as I don't see it was one used yet. BTW, I'm only a newbie, so don't ask me how you'd do it, cuz I'm still learning the art of PHP yet. ;) I can log ips into a database though, so it shouldn't be that hard to pull them out and confirm that $newIp==$loggedIp. If you coupled this idea some of the other expiration techniques mentioned you could have one hell of a login monitoring system. Best of luck in your solution. David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 9:11 PM To: [EMAIL PROTECTED] Subject: [PHP] trikky authentication question hi guys i have an authentication class , there is one last big issue to fix , i am trying to prevent multiple logins , it does this ok except , the first login gets kicked instead of the second one , i have a last_login date entry to work with , what else should i have so on the login check if the user is logged in , there is an issue using the logged in feature , ok u give it an interval of say 2 hours , this may prevent that person reloggin in for two hours right ?? :| , or say its a few minutes , i can log bak in after a few minutes and still kick the first login, what are my options -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: POST Values
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 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: http://www.php.net/unsub.php
[PHP] Re: $_POST array
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 news:[EMAIL PROTECTED] 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 ($_POST['zip'])\n($_POST['country'])\n($_POST['email'])\n($_POST['design'])\ Steven n($_POST['comments']); Steven $message = $_POST['first_name'] Steven $_POST['last_name']\n$_POST['address']\n$_POST['city'] Steven $_POST['state'] Steven $_POST['zip']\n$_POST['country']\n$_POST['email']\n$_POST['design']\n$_POST[ Steven 'comments']; Steven Neither of these have worked what am I doing wrong? Steven Steve try it like this: $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['des ign']})\ n({$_POST['comments']}); $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']}; -- no toll on the internet; there are paths of many kinds; whoever passes this portal will travel freely in the world -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Adding a particalar POST value to a string
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
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 the browser to timeout (worst case). 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. Thanks, Roland -- Roland Welker PHP Developer MMS Graphics 6 Tyock Ind. Est Elgin, Moray IV30 1XY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sending a http body
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
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 retrieves data very slowly, and causes the browser to timeout (worst case). 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. Thanks, Roland -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Adding a particalar POST value to a string
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 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] session
hi this code cant print the value ? session_start(); $name = $_POST['name']; session_register('name'); echo $_SESSION['name']; ?
RE: [PHP] session
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 cant print the value ? session_start(); $name = $_POST['name']; session_register('name'); echo $_SESSION['name']; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Cookies - recomendation please
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 (google) and asked him about cookies in PHP, the problem is I got a hell of a lot of answers from himwhich one is good? I am a total newbie when it comes to cookies so can you recomend any one (or two) URL/s which gives a step by step totural on using cookies in PHP? hopefully in baby steps if cookies are too complicated. Thanks, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cookies - recomendation please
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 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 (google) and asked him about cookies in PHP, the problem is I got a hell of a lot of answers from himwhich one is good? I am a total newbie when it comes to cookies so can you recomend any one (or two) URL/s which gives a step by step totural on using cookies in PHP? hopefully in baby steps if cookies are too complicated. Thanks, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpauction 2.1
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
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 MUST be some info about that. Please read it.. PEAR is at -- pear.php.net Chris Prior [EMAIL PROTECTED], iletide þunu yazdý news:[EMAIL PROTECTED] 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