php-general Digest 22 Dec 2006 11:47:59 -0000 Issue 4528

2006-12-22 Thread php-general-digest-help
php-general Digest 22 Dec 2006 11:47:59 - Issue 4528 Topics (messages 246138 through 246145): Re: Count empty array 246138 by: Robert Cummings 246139 by: Jon Anderson 246140 by: Martin Marques 246141 by: tg-php.gryffyndevelopment.com Re: parsing objects

php-general Digest 23 Dec 2006 00:01:15 -0000 Issue 4529

2006-12-22 Thread php-general-digest-help
php-general Digest 23 Dec 2006 00:01:15 - Issue 4529 Topics (messages 246146 through 246159): sessions vs domain problem 246146 by: Reinhart Viane 246147 by: Vincent DUPONT 246148 by: Robert Cummings 246151 by: Colin Guthrie 246152 by: Reinhart Viane

RE: [PHP] RegExp

2006-12-22 Thread WeberSites LTD
I'm not trying to pre-populate the text area. I just want to get the input from the user and make sure he can only insert chars that I allow. The only char I have a problem with is the (Quote). If I enter a into the text area the regexp bellow does not allow it in.

[PHP] sessions vs domain problem

2006-12-22 Thread Reinhart Viane
Hello, I have the folowing problem : Hosting of my site is at http://www.groep6049.ksjnet.be http://www.groep6049.ksjnet.be/ My domainname is www.ksachiropoelkapelle.be http://www.ksachiropoelkapelle.be/ I have forwarded www.ksachiropoelkapelle.be http://www.ksachiropoelkapelle.be/

RE: [PHP] sessions vs domain problem

2006-12-22 Thread Vincent DUPONT
Hello, As far as I know, the session will use a cookie, and the cookies are linked to one domain name. I don't know a way of using a cookie accross multiple domains, but I guess this should be possible. The question is : will PHP allow you to do that? I guess no because this could be a

RE: [PHP] sessions vs domain problem

2006-12-22 Thread Robert Cummings
On Fri, 2006-12-22 at 13:12 +0100, Vincent DUPONT wrote: Hello, As far as I know, the session will use a cookie, and the cookies are linked to one domain name. I don't know a way of using a cookie accross multiple domains, but I guess this should be possible. The question is : will PHP

[PHP] Excluding apostrophe's

2006-12-22 Thread RAFMTD \(Ian\)
Dear Sir/madam, I have a problem which I don't seem to be able to resolve, so I hope you can. I have a simple html form which 'posts' variables to the following script... --- ?php $username=***; $password=***; $database=***; $name =

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Stut
RAFMTD (Ian) wrote: Dear Sir/madam, I have a problem which I don't seem to be able to resolve, so I hope you can. I have a simple html form which 'posts' variables to the following script... --- ?php $username=***; $password=***; $database=***;

[PHP] Re: sessions vs domain problem

2006-12-22 Thread Colin Guthrie
Reinhart Viane wrote: I have the folowing problem : Hosting of my site is at http://www.groep6049.ksjnet.be http://www.groep6049.ksjnet.be/ My domainname is www.ksachiropoelkapelle.be http://www.ksachiropoelkapelle.be/ I have forwarded www.ksachiropoelkapelle.be

RE: [PHP] Re: sessions vs domain problem

2006-12-22 Thread Reinhart Viane
Something like: ?php session_set_cookie_params(0, '/', 'ksachiropoelkapelle.be'); session_start(); ... I inserted this code at the top: session_set_cookie_params(0, '/', '.ksachiropoelkapelle.be'); It did not solve the problem, still after logging in on www.ksachiropoelkapelle.be the session

Re: [PHP] sessions vs domain problem

2006-12-22 Thread Stut
Reinhart Viane wrote: I have the folowing problem : Hosting of my site is at http://www.groep6049.ksjnet.be http://www.groep6049.ksjnet.be/ My domainname is www.ksachiropoelkapelle.be http://www.ksachiropoelkapelle.be/ I have forwarded www.ksachiropoelkapelle.be

[PHP] Jump to a record when searching MYSQL with PHP Paging?

2006-12-22 Thread T.J. Mahaffey
I am working on a PHP/MySQL application where I am displaying and paging records from a MySQL database. The search functionality needs to be a bit different than I'm used to. Instead of returning only the records matching the query, it needs to return ALL records, BUT take the user to the

Re: [PHP] Jump to a record when searching MYSQL with PHP Paging?

2006-12-22 Thread tg-php
I would guess this would depend highly on how you're displaying the data. Let's set up a scenario: 1. Full results come out to say, 100 records. 2. Searched item is #53 in the result set. Your choices for displaying the data could be one of the following: * One big web page, jumping to the

[PHP] upload max error

2006-12-22 Thread ibanex22
Hey all, I am new to PHP and have been having issues on max filesize uploads. I can currently upload small files but I wish to make my max upload size huge. Here is what I have configured in php.ini: max_execution_time = 3000 max_input_time = 6000 memory_limit = 8000M post_max_size = 8000M

Re: [PHP] upload max error

2006-12-22 Thread David Giragosian
On 12/22/06, ibanex22 [EMAIL PROTECTED] wrote: Hey all, I am new to PHP and have been having issues on max filesize uploads. I can currently upload small files but I wish to make my max upload size huge. Here is what I have configured in php.ini: max_execution_time = 3000 max_input_time =

Re: [PHP] Jump to a record when searching MYSQL with PHP Paging?

2006-12-22 Thread Børge Holen
On Friday 22 December 2006 20:11, T.J. Mahaffey wrote: I am working on a PHP/MySQL application where I am displaying and paging records from a MySQL database. The search functionality needs to be a bit different than I'm used to. Instead of returning only the records matching the query, it

Re: [PHP] Jump to a record when searching MYSQL with PHP Paging?

2006-12-22 Thread Børge Holen
On Friday 22 December 2006 20:11, T.J. Mahaffey wrote: I am working on a PHP/MySQL application where I am displaying and paging records from a MySQL database. The search functionality needs to be a bit different than I'm used to. Instead of returning only the records matching the query, it

Re: [PHP] upload max error

2006-12-22 Thread ibanex22
Thanks guys, I boosted a bunch of values in my configuration files and got it to work... unfortunetly it only worked once. I'm sure it worked, but I have tried to recreate it and I cannot get it to work again. This is very confusing to me. If there is any value that fluxuates... or anything...

Re: [PHP] upload max error

2006-12-22 Thread ibanex22
I've got it... it looks like I had boosted something too high. Thanks for the replies. ibanex22 wrote: Thanks guys, I boosted a bunch of values in my configuration files and got it to work... unfortunetly it only worked once. I'm sure it worked, but I have tried to recreate it and I

[PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-22 Thread Shanon Swafford
Hi Guys, I just cut my website over to Apache2 and PHP5 on FC5. So now I'm clean up all the PHP Notices. Does anybody know the config directives I can put in my /etc/php.ini or etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so that I could separate the php errors file from the apache

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Paul Novitski
RAFMTD (Ian) wrote: ... $name = mysql_real_escape_string ($_POST['name']); ... mysql_connect(humbug,$username,$password); ... the script fails with the following report Warning: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

[PHP] Apache 2.2 + PHP5.2 + php_oci8.dll

2006-12-22 Thread james tanhs
Hi, I saw numerous posting on this type of posting and no one seems to have a consistent solution to it. Lately, I am quite disapointed with the pain of going thru this configuration and testing. I need to access the oracle 8i server db using XP + Oracle client 8i + Apache 2.2 + PHP5.2 and I

Re: [PHP] How to Separate PHP Errors to a file different than Apache Errors

2006-12-22 Thread chris smith
On 12/23/06, Shanon Swafford [EMAIL PROTECTED] wrote: Hi Guys, I just cut my website over to Apache2 and PHP5 on FC5. So now I'm clean up all the PHP Notices. Does anybody know the config directives I can put in my /etc/php.ini or etc/httpd/conf.d/php.conf or /etc/httpd/conf/httpd.conf so

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Casey Chu
It should be like this: ?php $username=***; $password=***; $database=***; mysql_connect(humbug,$username,$password); @mysql_select_db($database) or die( Unable to select database); $name = mysql_real_escape_string($_POST['name']); $email = mysql_real_escape_string($_POST['email']); $comments

[PHP] New User Sign up Notification

2006-12-22 Thread JMCS Niagara \(Jeff\)
hi there. I'm looking to create a new user signup. So when someone signs up, it emails admin the Username, Real Name, and IP address. I have this code called newusersignupnotification.php ?php $to = '[EMAIL PROTECTED]'; // The email address you want the notification sent to $subject = 'Member