[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 ". "Username: ".$_SESSION['username']. "". "Real Name: ".$_SESSION['firstname']. " ".$_SESSION['lastname'].

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Casey Chu
It should be like this: On 12/22/06, Paul Novitski <[EMAIL PROTECTED]> wrote: >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()

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 th

[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 hav

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] 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 er

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 c

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] 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 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 =

[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 fil

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 res

[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 pag

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 My domainname is www.ksachiropoelkapelle.be I have forwarded www.ksachiropoelkapelle.be

RE: [PHP] Re: sessions vs domain problem

2006-12-22 Thread Reinhart Viane
Something like: http://www.groep6049.ksjnet.be/ it does not work anymore (appearently the cookie domain is not recognized anymore). Any other ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 > > > My domainname is www.ksachiropoelkapelle.be > > > > > I have forwarded www.ksachiropoelkapelle.be >

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... --- -- Thi

[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... --- -- This in turn sends the da

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

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 security

[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 My domainname is www.ksachiropoelkapelle.be I have forwarded www.ksachiropoelkapelle.be

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. preg_match("/^[à-úA-Za-z0-9_