[PHP] Concatenate
how can i concatenate two strings? i cant seem to find the function... thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Concatenate
lol, thanks guys. i'm a complete idiot. i've already used .= and such like 5 times in this very script. i honestly have no idea what i was thinking. a total brainfart (excuse the expression) -Ryan Ryan Vennell[EMAIL PROTECTED] 06/30/03 10:31AM how can i concatenate two strings? i cant seem to find the function... thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] libphp4.so
ok, when i compile php i dont get libphp4.so. i'm not a linux Newb or anything but i'm not an extremely advanced user either so any help would be useful... i cant exactly run apache w/ php w/out this module. thanks for any help any of you can give me. Redhat 8/apache2 (ugh @ both) -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: libphp4.so
a little help? Ryan Vennell[EMAIL PROTECTED] 06/05/03 09:36AM ok, when i compile php i dont get libphp4.so. i'm not a linux Newb or anything but i'm not an extremely advanced user either so any help would be useful... i cant exactly run apache w/ php w/out this module. thanks for any help any of you can give me. Redhat 8/apache2 (ugh @ both) -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Error starting apache w/ php installed (or not?)
ok when i try to start apache2 (on redhat 8, php 4.2.2) i get this: Starting httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: libssl.so.4: cannot open shared object file: No such file or directory [FAILED] line 176 of the httpd.conf is this: LoadModule php4_module modules/libphp4.so if i go into the modules directory, libphp4.so is right there in the directory with all the other modules. but it can't find it? is there something i'm missing here? thanks for any help... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PGP?
chances are, if it's possible it'd be a plugin or script on the PGP homepage. try there. or maybe try http://php.resourceindex.com/ they may have something of use to you -Ryan Ben Cheng[EMAIL PROTECTED] 06/06/03 08:54AM Any way in PHP to grab form info and then encrypt it with PGP before sending it out as an email? -Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Ok, problem found, but that makes way for another...
ok, now where in that heck can i find the php entry in that file? i cant seem to find it anywhere. would it be with the CGI entry or in a different place? Marek Kilimajer[EMAIL PROTECTED] 04/03/03 04:37AM The old installation is likely in /usr, and you installed in /usr/local. Simply remove the old installation (man rm ;-) and change httpd.conf to look for php in the new place Ryan Vennell wrote: ok, my last post stated that i've tried reconfigureing.making/makeinstalling php 4.3.1 a tons of times. well, today when i typed php -v it told me that version 4.2.2 was the one that was installed. so apparently my installing has not been taking the place of the old one. The original root is that the original compile of php (not done by me) was installed w/out mysql and i need mysql for what i'm working on. now that i know the problem here, any suggestions? I'm running apache for what i'm working on, tomcat for other things that this server does, and the latest version of mysql now how do i get rid of hte old php and make sure this new one goes into its place? P.S.- i'm not a total linux newb but i'm not, NOT a newb either. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] httpd.conf - php entry?
my other post seems to be getting a ways down, so i'm posting this up top. where in the httpd.conf can i find the directory entry for PHP? i cant seem to find it anywhere in there and i need to change it. thanks for any help. -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: httpd.conf - php entry?
h ok i did a searh in it and found no reference to php. is there anywhere else i would find a place in apache settings that would be telling it where to find php? Thanks -Ryan Ryan Vennell[EMAIL PROTECTED] 04/03/03 03:29PM my other post seems to be getting a ways down, so i'm posting this up top. where in the httpd.conf can i find the directory entry for PHP? i cant seem to find it anywhere in there and i need to change it. thanks for any help. -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Ok, problem found, but that makes way for another...
ok, my last post stated that i've tried reconfigureing.making/makeinstalling php 4.3.1 a tons of times. well, today when i typed php -v it told me that version 4.2.2 was the one that was installed. so apparently my installing has not been taking the place of the old one. The original root is that the original compile of php (not done by me) was installed w/out mysql and i need mysql for what i'm working on. now that i know the problem here, any suggestions? I'm running apache for what i'm working on, tomcat for other things that this server does, and the latest version of mysql now how do i get rid of hte old php and make sure this new one goes into its place? P.S.- i'm not a total linux newb but i'm not, NOT a newb either. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: question: installing PHP with mysql isn't working?
you can try just straight --with-mysql without the = and it may be in the default path... Don[EMAIL PROTECTED] 04/02/03 03:18PM Hi, Trying to install PHP with the ability to interact with MySQL. In my configuration, I've included the option: --with-mysql=shared,/usr There are no compile errors. Any idea why PHP is not recognizing any MySQL functions? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with mysql.
yeah i did send it to the right place. everything was configured as it should have been. thats why i dont get this. nothing i try works for this. it's perplexing. -Ryan Tim Burden[EMAIL PROTECTED] 03/31/03 05:22PM Right, defaults to /usr/local/ for the source versions of MySQL, in that case, use --with-mysql=/usr/local - Original Message - From: Jon Haworth [EMAIL PROTECTED] Newsgroups: php.general To: Ryan Vennell [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:00 PM Subject: RE: [PHP] problem with mysql. Hi Ryan, when configuring php i use --with-mysql and it configures just fine. i've even added an =/path/to/php after it to no avail. Try --with-mysql=/path/to/mysql instead of --with-mysql=/path/to/php. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Using PHP Credit Card orders
php.resourceindex.com has some credit card handling scripts i believe. here: http://php.resourceindex.com/Complete_Scripts/Commerce_and_Finance/ is where you may find what you're looking for, but if you maybe want just a certain function or class for it they have a whole section for just stuff like that. this is usually the first place i go if i want something that i dont feel like writing. -Ryan Phil Schwarzmann[EMAIL PROTECTED] 04/01/03 08:29AM Where can I find information on using PHP along with secure online Credit Card orders? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Problem with mail
here's some things you can check out: - make sure the path to sendmail is correct/default - make sure sendmail is running - check: http://www.php.net/manual/en/function.mail.php and make sure that everything you're doing in that function is allowed and correct. Haseeb Iqbal[EMAIL PROTECTED] 04/01/03 09:49PM hi all while sending mail from php i keep getting this Server Error on line 2 and this is on line 2 mail([EMAIL PROTECTED], the subject, hi,From: [EMAIL PROTECTED].Reply-To: [EMAIL PROTECTED].X-Mailer: PHP/ . phpversion()); what is wrong with this what i am going wrong ?? regards Haseeb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help needed
make sure you have a semicolon on line 200 or it could cause an error on line 201. am i right in assuming that this is a switch? can you provide us with a small block of code before and after this line? maybe 5 lines on either side... -Ryan Andy[EMAIL PROTECTED] 04/01/03 08:17AM Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in /home/.sites/112/site***/web/Members/Login.php on line 201 But the only thing on line 201 is: default: I don't understand? I get the feeling i will need more help even if someone solves this for me :o) Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: I'ld like to submit teh ppts
talk to the php authors. just e-mail someone @php.net. those guys can most likely host your stuff under their documents area if they like them. -Ryan [EMAIL PROTECTED] 04/01/03 07:39AM Dear List, Recently I've conducted internal training program on PHP, MySQL in my company. I'ld like to submit the presentations and sample code prepared for that training program. How can I submit and where can I? I hope that might use to the people who are new to PHP. Let me contribute to my favorite scripting language.:) Regards Praveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: if statment
if ($HTTP_GET_VARS[pr_ID] = nothing ) { } else if ($HTTP_GET_VARS[pr_ID] = something) { } else { } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem with mysql.
ok i've reinstalled phpseveral times now, reinstalled mysql, and even reinstalled apache once but i am still getting this same problem. when configuring php i use --with-mysql and it configures just fine. i've even added an =/path/to/php after it to no avail. i keep getting this on pages that use MYSQL: PHP ERROR: PHP build incomplete: the prerequisite MySQL support required to read the alert database was not built into PHP. Please recompile PHP with the necessary library (--with-mysql) anyone else had this problem and found a fix? (also, i've rebooted the server and restarted httpd and that didnt start it working.) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: if statment
in addition to my last response, if you go to http://www.php.net/manual/en/ you can find more than you ever wanted to know about php. just use the search at the top. Tim Haskins[EMAIL PROTECTED] 03/31/03 01:56PM I'm used to asp and not php, but what would the code be for and if statement that was like: if $HTTP_GET_VARS[pr_ID] = nothing then there are no products end if Also does anyone know a great resource that lists different examples of php variables, if statements, and so on? Thanks so much! -- Tim Haskins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] problem with mysql.
Sorry about that. i did use /path/to/mysql. i wasnt paying attention when writing my pervious post. -Ryan Jon Haworth[EMAIL PROTECTED] 03/31/03 04:00PM Hi Ryan, when configuring php i use --with-mysql and it configures just fine. i've even added an =/path/to/php after it to no avail. Try --with-mysql=/path/to/mysql instead of --with-mysql=/path/to/php. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php